diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -11,7 +11,7 @@ recipe 'rsyslog::server', 'Sets up an rsyslog server' supports 'ubuntu', '>= 12.04' -supports 'debian', '>= 5.0' +supports 'debian', '>= 7.0' supports ...
Clarify we need at least Debian 7 Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -8,5 +8,4 @@ description 'Installs/Configures resource_from_hash' version '1.2.2' -supports 'centos', '~> 6.0' supports 'centos', '~> 7.0'
Remove Centos 6 from this Cookbook
diff --git a/azure-chef-extension.gemspec b/azure-chef-extension.gemspec index abc1234..def5678 100644 --- a/azure-chef-extension.gemspec +++ b/azure-chef-extension.gemspec @@ -18,7 +18,7 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib", "spec"] - s.a...
Add chef as a dev dependency
diff --git a/lib/parsley_simple_form/validators/base.rb b/lib/parsley_simple_form/validators/base.rb index abc1234..def5678 100644 --- a/lib/parsley_simple_form/validators/base.rb +++ b/lib/parsley_simple_form/validators/base.rb @@ -23,5 +23,3 @@ end end end - -Status API Training Shop Blog About Pricing
Fix copy and paste error.
diff --git a/lib/puppet-lint/plugins/no_erb_template.rb b/lib/puppet-lint/plugins/no_erb_template.rb index abc1234..def5678 100644 --- a/lib/puppet-lint/plugins/no_erb_template.rb +++ b/lib/puppet-lint/plugins/no_erb_template.rb @@ -2,7 +2,7 @@ def check functions = ['template', 'inline_template'] - tokens....
Fix compatibility with puppet-lint 2.2 puppet-lint 2.2 introduced the :FUNCTION_NAME token type, effectively breaking the existing simple checking for :NAME. Here we check for either token, so the plugin will continue to work pre 2.2.
diff --git a/spec/default_search_spec.rb b/spec/default_search_spec.rb index abc1234..def5678 100644 --- a/spec/default_search_spec.rb +++ b/spec/default_search_spec.rb @@ -2,29 +2,33 @@ describe "Default search" do - it "Should match popular items" do - default_search('b3340555', 'Pubmed', 3) + describe "Popu...
Add groups for default searches.
diff --git a/api/spree_api.gemspec b/api/spree_api.gemspec index abc1234..def5678 100644 --- a/api/spree_api.gemspec +++ b/api/spree_api.gemspec @@ -22,6 +22,6 @@ s.add_dependency 'spree_core', s.version s.add_dependency 'rabl', '~> 0.13.1' s.add_dependency 'versioncake', '~> 3.4.0' - s.add_dependency 'fast_js...
Bump fast_json_api to 1.5 and loosen dependency requirement
diff --git a/app/views/forums/index.atom.builder b/app/views/forums/index.atom.builder index abc1234..def5678 100644 --- a/app/views/forums/index.atom.builder +++ b/app/views/forums/index.atom.builder @@ -9,7 +9,7 @@ @nodes.each do |node| post = node.content - feed.entry(post, :url => url_for([post.forum, p...
Fix relative links in the forums feed
diff --git a/spec/optimus_binary_spec.rb b/spec/optimus_binary_spec.rb index abc1234..def5678 100644 --- a/spec/optimus_binary_spec.rb +++ b/spec/optimus_binary_spec.rb @@ -1,4 +1,10 @@ require 'spec_helper' + +root = Pathname.new(__FILE__).parent.parent +bin_folder = root.join('bin').to_s +path_separator = File::PATH_...
Load optimus.rb in path and remove calls to bundle exec
diff --git a/spec/support/dummy_login.rb b/spec/support/dummy_login.rb index abc1234..def5678 100644 --- a/spec/support/dummy_login.rb +++ b/spec/support/dummy_login.rb @@ -10,6 +10,8 @@ def current_user nil end + + helper_method :current_user STRING end @@ -25,5 +27,7 @@ User.new(attri...
Make the fake current_user available as a helper
diff --git a/app/models/project.rb b/app/models/project.rb index abc1234..def5678 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1,6 +1,5 @@ class Project include Mongoid::Document - include Mongoid::Slugify field :name field :vcs_url @@ -13,13 +12,11 @@ attr_accessible :name, :vcs_u...
Clean URLs can be done with just to_param, we don't need slugify for it.
diff --git a/app/representers/service_representer.rb b/app/representers/service_representer.rb index abc1234..def5678 100644 --- a/app/representers/service_representer.rb +++ b/app/representers/service_representer.rb @@ -5,6 +5,7 @@ include Roar::Representer::JSON include Roar::Representer::Feature::Hypermedia +...
Add service id to representer To be able to update services, the API needs to expose the ID
diff --git a/Casks/deezer.rb b/Casks/deezer.rb index abc1234..def5678 100644 --- a/Casks/deezer.rb +++ b/Casks/deezer.rb @@ -2,7 +2,7 @@ version '1.1_4191' sha256 'f9d491fb8d4b055a60b3d4a13a4e8b19e4b9b8d70dc8740df734afeee5482a34' - url "https://cdns-content.deezer.com/builds/mac/Deezer_#{version.sub(%r{^[^_]*_(...
Fix urls in Deezer.app Cask The old url pointed to an outdated https Deezer domain for which the SSL certificate has expired. This resulted in the following error when trying to run brew cask install deezer: curl: (60) SSL certificate problem: Invalid certificate chain More details here: http://curl.haxx.se/docs/sslc...
diff --git a/Casks/vienna.rb b/Casks/vienna.rb index abc1234..def5678 100644 --- a/Casks/vienna.rb +++ b/Casks/vienna.rb @@ -1,6 +1,6 @@ class Vienna < Cask - version '3.0.0_rc7' - sha256 '5a7b4b20883beb8e99ec331c09892a27b3f1340d90ddb6226fa11bee24643677' + version '3.0.0_rc8' + sha256 'e707769442e3064234bbd0450a22d...
Upgrade Vienna to 3.0.0 RC8
diff --git a/Casks/mpeg-streamclip-beta.rb b/Casks/mpeg-streamclip-beta.rb index abc1234..def5678 100644 --- a/Casks/mpeg-streamclip-beta.rb +++ b/Casks/mpeg-streamclip-beta.rb @@ -0,0 +1,11 @@+cask :v1 => 'mpeg-streamclip-beta' do + version '1.9.3b8' + sha256 '42459e262e46df81228ef3859aba102d9368be3a5710514a3055dd9f...
Add a new version of the Cask "mpeg-streamclip". * MPEG Streamclip 1.9.3b8
diff --git a/Casks/phpstorm-bundled-jdk.rb b/Casks/phpstorm-bundled-jdk.rb index abc1234..def5678 100644 --- a/Casks/phpstorm-bundled-jdk.rb +++ b/Casks/phpstorm-bundled-jdk.rb @@ -1,8 +1,8 @@ cask :v1 => 'phpstorm-bundled-jdk' do - version '9.0.2' - sha256 '38030261bb8ee17e0238b92f7d1f49671e6dc54b2b69aeaf25cbd20b94f...
Update Phpstorm to version 10.0
diff --git a/Casks/texnicle.rb b/Casks/texnicle.rb index abc1234..def5678 100644 --- a/Casks/texnicle.rb +++ b/Casks/texnicle.rb @@ -1,7 +1,7 @@ class Texnicle < Cask - url 'http://www.bobsoft-mac.de/resources/TeXnicle/2.2/TeXnicle.app.2.2.9.zip' + url 'http://www.bobsoft-mac.de/resources/TeXnicle/2.2/TeXnicle.app.2....
Update TeXnicle to latest version 2.2.11
diff --git a/core/spec/integration/tour_spec.rb b/core/spec/integration/tour_spec.rb index abc1234..def5678 100644 --- a/core/spec/integration/tour_spec.rb +++ b/core/spec/integration/tour_spec.rb @@ -16,7 +16,7 @@ assume_unchanged_screenshot 'extension' end - it 'Let''s create your first factlink page should...
Put the tour 'create your first factlink page' screenshot on pending Build has to succeed, someone is going to fix this later.
diff --git a/core/spec/screenshots/feed_spec.rb b/core/spec/screenshots/feed_spec.rb index abc1234..def5678 100644 --- a/core/spec/screenshots/feed_spec.rb +++ b/core/spec/screenshots/feed_spec.rb @@ -13,7 +13,7 @@ visit feed_path find('label[for=FeedChoice_Personal]').click - find('.feed-activity:first-c...
Fix random fails by waiting until the loading indicator has gone
diff --git a/DMCustomModalViewController.podspec b/DMCustomModalViewController.podspec index abc1234..def5678 100644 --- a/DMCustomModalViewController.podspec +++ b/DMCustomModalViewController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DMCustomModalViewController' - s.version = '1.0' + s.v...
Fix podspec for iOS 7 only
diff --git a/config/schedule.rb b/config/schedule.rb index abc1234..def5678 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -19,7 +19,9 @@ # Learn more: http://github.com/javan/whenever -set :output, '/home/shakaman/dev/deliciousletter/tmp/cron_log.log' +@root_path = File.expand_path('../..', __FILE__) ...
Use root_path for crontab generation.
diff --git a/app/controllers/contact_messages_controller.rb b/app/controllers/contact_messages_controller.rb index abc1234..def5678 100644 --- a/app/controllers/contact_messages_controller.rb +++ b/app/controllers/contact_messages_controller.rb @@ -1,27 +1,9 @@-class ContactMessagesController < ApplicationController +c...
Use inherited resources to handle validation and send the email message.
diff --git a/app/controllers/kracken/sessions_controller.rb b/app/controllers/kracken/sessions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/kracken/sessions_controller.rb +++ b/app/controllers/kracken/sessions_controller.rb @@ -2,6 +2,7 @@ module Kracken class SessionsController < ActionContro...
Fix issue flagged by brakeman Confidence: High Category: Cross-Site Request Forgery Check: ForgerySetting Message: 'protect_from_forgery' should be called in Kracken::SessionsController File: app/controllers/kracken/sessions_controller.rb Line: 4 Per the suggestion we set it to raise an exception. If apps...
diff --git a/ball_gag.gemspec b/ball_gag.gemspec index abc1234..def5678 100644 --- a/ball_gag.gemspec +++ b/ball_gag.gemspec @@ -8,8 +8,8 @@ s.authors = ['Duncan Beevers'] s.email = ['duncan@dweebd.com'] s.homepage = '' - s.summary = 'Pluggable Content Sanitization' - s.description = 'Sanitiz...
Update gemspec summary and description
diff --git a/decorators.gemspec b/decorators.gemspec index abc1234..def5678 100644 --- a/decorators.gemspec +++ b/decorators.gemspec @@ -18,7 +18,7 @@ readme.md ] - s.add_dependency "railties", ">= 4.0.0", "< 5.1" + s.add_dependency "railties", ">= 4.0.0", "< 6" s.add_development_d...
Add support for Rails < 6
diff --git a/test/unit/services/service_listeners/attachment_access_limited_updater_test.rb b/test/unit/services/service_listeners/attachment_access_limited_updater_test.rb index abc1234..def5678 100644 --- a/test/unit/services/service_listeners/attachment_access_limited_updater_test.rb +++ b/test/unit/services/service...
Test that service listener calls worker when attachment data present
diff --git a/attributes/default.rb b/attributes/default.rb index abc1234..def5678 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -3,8 +3,9 @@ # Path to tzdata directory default['timezone']['tzdata_dir'] = '/usr/share/zoneinfo' -# Path to file used by kernerl for local timezone's data +# Path to fi...
Fix spelling and add a little more info
diff --git a/spec/overcommit/hook/post_commit/submodule_status_spec.rb b/spec/overcommit/hook/post_commit/submodule_status_spec.rb index abc1234..def5678 100644 --- a/spec/overcommit/hook/post_commit/submodule_status_spec.rb +++ b/spec/overcommit/hook/post_commit/submodule_status_spec.rb @@ -0,0 +1,38 @@+require 'spec_...
Add specs for SubmoduleStatus post-commit hook
diff --git a/redistry.gemspec b/redistry.gemspec index abc1234..def5678 100644 --- a/redistry.gemspec +++ b/redistry.gemspec @@ -16,6 +16,8 @@ s.required_rubygems_version = ">= 1.3.6" s.rubyforge_project = "redistry" + s.add_dependency("redis", ">= 2.2.1") + s.add_development_dependency "rspec" ...
Add redis gem as dependency
diff --git a/lib/steam_valve.rb b/lib/steam_valve.rb index abc1234..def5678 100644 --- a/lib/steam_valve.rb +++ b/lib/steam_valve.rb @@ -3,4 +3,10 @@ require "exceptions/api_key_missing_error" module SteamValve + attr_reader :api_key + + def initialize + API_KEY = SteamAPIKey.api_key + puts API_KEY + end e...
Add initialize method to SteamValve
diff --git a/lib/tasks/npm.rake b/lib/tasks/npm.rake index abc1234..def5678 100644 --- a/lib/tasks/npm.rake +++ b/lib/tasks/npm.rake @@ -7,14 +7,15 @@ output_file_path = ::Rails.root.join(::Rails.configuration.npm.output_file) browserify_options = ::Rails.configuration.npm.browserify_options Npm::Rails::P...
Split the sh command in the rake task
diff --git a/swift-tsao.podspec b/swift-tsao.podspec index abc1234..def5678 100644 --- a/swift-tsao.podspec +++ b/swift-tsao.podspec @@ -19,5 +19,5 @@ s.watchos.deployment_target = "2.0" s.tvos.deployment_target = "9.0" s.source = { :git => "https://github.com/kballard/swift-tsao.git", :tag => "v#{s.versi...
Fix the podspec source files pattern
diff --git a/lib/gir_ffi/in_pointer.rb b/lib/gir_ffi/in_pointer.rb index abc1234..def5678 100644 --- a/lib/gir_ffi/in_pointer.rb +++ b/lib/gir_ffi/in_pointer.rb @@ -5,8 +5,8 @@ class InPointer < FFI::Pointer def self.from_array type, ary return nil if ary.nil? - return self.from_utf8_array ary if typ...
Make special-case creation methods private. This allows nil check to be skipped.
diff --git a/config/deploy.rb b/config/deploy.rb index abc1234..def5678 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -3,7 +3,7 @@ set :domain, "lugia.jbhannah.net" set :application, "jbhannah" -set :repository, "git://github.com/jbhannah/jbhannah.git" +set :repository, "git@github.com:jbhannah/jbhannah....
Use GitHub SSH repository address in Capistrano
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,7 +5,7 @@ resources :members, only: [:index, :show] do collection do get :popular - get :search + match :search, via: [:get, :post] end end
Add post method for search
diff --git a/lib/log_weasel/railtie.rb b/lib/log_weasel/railtie.rb index abc1234..def5678 100644 --- a/lib/log_weasel/railtie.rb +++ b/lib/log_weasel/railtie.rb @@ -5,7 +5,7 @@ initializer "log_weasel.configure" do |app| LogWeasel.configure do |config| - config.key = app.config.log_weasel[:key] || self.ap...
Change from class method to instance method
diff --git a/wateringServer/spec/controllers/waterings_controller_spec.rb b/wateringServer/spec/controllers/waterings_controller_spec.rb index abc1234..def5678 100644 --- a/wateringServer/spec/controllers/waterings_controller_spec.rb +++ b/wateringServer/spec/controllers/waterings_controller_spec.rb @@ -0,0 +1,20 @@+re...
Add GET test for watering controller
diff --git a/lib/now_playing_client.rb b/lib/now_playing_client.rb index abc1234..def5678 100644 --- a/lib/now_playing_client.rb +++ b/lib/now_playing_client.rb @@ -8,7 +8,12 @@ @server = 'test.mosquitto.org' @topic = 'bbc/nowplaying/#' @callbacks = [] + @current = {} connect! + end + + ...
Refactor NowPlayingClient to cache now playing messages
diff --git a/recipes/user_management.rb b/recipes/user_management.rb index abc1234..def5678 100644 --- a/recipes/user_management.rb +++ b/recipes/user_management.rb @@ -16,6 +16,6 @@ roles user['roles'] database user['database'] connection node['mongodb'] - action :add + action user['action'] or :ad...
Use action from user object, default :add In the user_management recipe, use the action from the user object if one exists, or :add if there isn't. This allows us to specify in the collection that we want to, for example, delete users if they exist.
diff --git a/config.rb b/config.rb index abc1234..def5678 100644 --- a/config.rb +++ b/config.rb @@ -33,7 +33,7 @@ activate :blog do |blog| blog.prefix = 'blog' blog.layout = 'blog_layout' - blog.permalink = '{title}' + blog.permalink = '{title}.html' blog.summary_separator = /\n\n/ end
Revert "Drop the .html blog links" This reverts commit 3c18be6b539169534e1d0ced18786f2adc0d445a.
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -10,8 +10,8 @@ set :app_file, File.join(root_dir, 'app.rb') disable :run -FileUtils.mkdir_p 'log' unless File.exist?('log') -log = File.new("#{root_dir}/log/sinatra.log", "a") -$stderr.reopen(log) +#FileUtils.mkdir_p ...
Disable special log handling since we will deploy with Dokku
diff --git a/whenever.gemspec b/whenever.gemspec index abc1234..def5678 100644 --- a/whenever.gemspec +++ b/whenever.gemspec @@ -9,7 +9,7 @@ s.authors = ["Javan Makhmali"] s.email = ["javan@javan.us"] s.license = "MIT" - s.homepage = "" + s.homepage = "https://github.com/javan/whenever" ...
Set homepage to github repo url
diff --git a/gitlab-runner.rb b/gitlab-runner.rb index abc1234..def5678 100644 --- a/gitlab-runner.rb +++ b/gitlab-runner.rb @@ -26,6 +26,6 @@ end test do - assert_match /gitlab-runner version #{version} (.*)/, shell_output("gitlab-runner --version") + assert_match /gitlab-runner version #{version}/, shell...
Update tests, remove unnecessary (.*)
diff --git a/Library/Formula/kde-phonon.rb b/Library/Formula/kde-phonon.rb index abc1234..def5678 100644 --- a/Library/Formula/kde-phonon.rb +++ b/Library/Formula/kde-phonon.rb @@ -1,9 +1,9 @@ require 'formula' class KdePhonon <Formula - url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.0/phonon-4.4.0.tgz' + url 'f...
Update KDE Phonon to 4.4.2 and add QUuid compilation fix.
diff --git a/lib/wishETL/tube/mssql.rb b/lib/wishETL/tube/mssql.rb index abc1234..def5678 100644 --- a/lib/wishETL/tube/mssql.rb +++ b/lib/wishETL/tube/mssql.rb @@ -4,7 +4,7 @@ attr_reader :res def initialize(opts = {}) - ENV['MSSQLPORT'] ||= 1433 + ENV['MSSQLPORT'] ||= '1433' @conn = TinyTds::Client....
Switch to string for port default
diff --git a/csv2avro.gemspec b/csv2avro.gemspec index abc1234..def5678 100644 --- a/csv2avro.gemspec +++ b/csv2avro.gemspec @@ -24,5 +24,5 @@ spec.add_development_dependency "pry", "~> 0.10" spec.add_development_dependency "bump", "~> 0.5" - spec.add_dependency "avro", "~> 1.7" + spec.add_runtime_dependency "...
Fix runtime dependency in gemspec
diff --git a/lib/buildr_plus/features/dbt.rb b/lib/buildr_plus/features/dbt.rb index abc1234..def5678 100644 --- a/lib/buildr_plus/features/dbt.rb +++ b/lib/buildr_plus/features/dbt.rb @@ -24,6 +24,10 @@ module ProjectExtension include Extension + first_time do + Dbt::Config.driver = 'p...
Make sure DbtDriver is set of postgres build
diff --git a/lib/convection/control/cloud.rb b/lib/convection/control/cloud.rb index abc1234..def5678 100644 --- a/lib/convection/control/cloud.rb +++ b/lib/convection/control/cloud.rb @@ -36,9 +36,13 @@ def diff(&block) @cloudfile.deck.each do |stack| - block.call(Model::Event.new(:diff, "Com...
Add more logging to diff task
diff --git a/lib/fabrique/bean_definition.rb b/lib/fabrique/bean_definition.rb index abc1234..def5678 100644 --- a/lib/fabrique/bean_definition.rb +++ b/lib/fabrique/bean_definition.rb @@ -6,7 +6,7 @@ def initialize(attrs = {}) @id = attrs["id"] type_name = attrs["class"] - @type = type_name.is_a...
Fix Module as type in bean definitions Also renamed a method for clarity. I found it hard to understand after a long absence from the code: naming it for its side effect helps.
diff --git a/lib/feed2email/feed_analyzer.rb b/lib/feed2email/feed_analyzer.rb index abc1234..def5678 100644 --- a/lib/feed2email/feed_analyzer.rb +++ b/lib/feed2email/feed_analyzer.rb @@ -13,8 +13,6 @@ Feedzirra::Feed.parse(response.body).title rescue nil end - # Based from - # https://github.com/yu...
Remove acknowledgement link to original feed detection code It has changed significantly since then.
diff --git a/lib/mollie/api/object/issuer.rb b/lib/mollie/api/object/issuer.rb index abc1234..def5678 100644 --- a/lib/mollie/api/object/issuer.rb +++ b/lib/mollie/api/object/issuer.rb @@ -2,7 +2,7 @@ module API module Object class Issuer < Base - attr_accessor :id, :name, :method + attr_acc...
Add image and resource accessors to Mollie::API::Object::Issuer
diff --git a/lib/sirius/semester_calendar.rb b/lib/sirius/semester_calendar.rb index abc1234..def5678 100644 --- a/lib/sirius/semester_calendar.rb +++ b/lib/sirius/semester_calendar.rb @@ -11,8 +11,7 @@ def plan(teaching_time) week_offset = teaching_time.week_offset(@first_week_parity) - - scheduling_...
Fix scheduling issue with seconds_since_midnight on DST transition day.
diff --git a/lib/zabbixapi/classes/errors.rb b/lib/zabbixapi/classes/errors.rb index abc1234..def5678 100644 --- a/lib/zabbixapi/classes/errors.rb +++ b/lib/zabbixapi/classes/errors.rb @@ -1,11 +1,20 @@ class ZabbixApi class BaseError < RuntimeError - attr_accessor :response + attr_accessor :response, :error...
Add error hash and error_message to exception
diff --git a/template.rb b/template.rb index abc1234..def5678 100644 --- a/template.rb +++ b/template.rb @@ -1,4 +1,5 @@-# template.rb +# Use this template when generating new Rails apps as follows: +# rails new my_application --template=https://raw.githubusercontent.com/liquid/rails-template/master/template.rb gem_...
Add note on how to use this
diff --git a/spec/classes/mod/jk_spec.rb b/spec/classes/mod/jk_spec.rb index abc1234..def5678 100644 --- a/spec/classes/mod/jk_spec.rb +++ b/spec/classes/mod/jk_spec.rb @@ -22,11 +22,8 @@ } end - let :params do - { - :log_file => '/var/log/httpd/mod_jk.log', - :shm_file => '/var/log/h...
Use precondition to inherit params in spec test for mod::jk
diff --git a/spec/commands/build_spec.rb b/spec/commands/build_spec.rb index abc1234..def5678 100644 --- a/spec/commands/build_spec.rb +++ b/spec/commands/build_spec.rb @@ -17,30 +17,27 @@ it { should raise_error } end - context 'building each format' do - Polytexnic::FORMATS.each do |format| - subjec...
Use message expectations to speed up the build spec This commit also removes some (very slow) tests for `build!` that are already tested in the tests for individual builders. [#52758883]
diff --git a/test/mock/mocked_audit_lib.rb b/test/mock/mocked_audit_lib.rb index abc1234..def5678 100644 --- a/test/mock/mocked_audit_lib.rb +++ b/test/mock/mocked_audit_lib.rb @@ -0,0 +1,37 @@+require 'logger' +require 'pp' + +# Mocked for Audit library +class MockedAuditLib + + attr_reader :results + + def initiali...
Update 'Copy AMI' sample script
diff --git a/src/devilry_theme/devilry_theme/static/devilry_theme/resources/config.rb b/src/devilry_theme/devilry_theme/static/devilry_theme/resources/config.rb index abc1234..def5678 100644 --- a/src/devilry_theme/devilry_theme/static/devilry_theme/resources/config.rb +++ b/src/devilry_theme/devilry_theme/static/devil...
devilry_theme: Use django_extjs4 instead of extjshelpers.
diff --git a/endpoint.gemspec b/endpoint.gemspec index abc1234..def5678 100644 --- a/endpoint.gemspec +++ b/endpoint.gemspec @@ -4,8 +4,8 @@ Gem::Specification.new do |gem| gem.authors = ['Adam Williams'] gem.email = ['adam@thewilliams.ws'] - gem.description = %q{TODO: Write a gem description} - ...
Remove TODOs causing gemspec errors.
diff --git a/examples/playground.rb b/examples/playground.rb index abc1234..def5678 100644 --- a/examples/playground.rb +++ b/examples/playground.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require '../OSXMemory' require 'sys/proctable' +require_relative '../OSXMemory' matches = Sys::ProcTable.ps.select{|p| p.comm =~ /...
Split threads and tasks into Classes
diff --git a/lib/atpay_rest/dashboard.rb b/lib/atpay_rest/dashboard.rb index abc1234..def5678 100644 --- a/lib/atpay_rest/dashboard.rb +++ b/lib/atpay_rest/dashboard.rb @@ -18,5 +18,10 @@ _response = session.conn.post("/api/v4/rest/organizations/#{organization_sid}/plan", args) _response.body end ...
Add support for forth-coming managed account endpoint.
diff --git a/DTMHeatmap.podspec b/DTMHeatmap.podspec index abc1234..def5678 100644 --- a/DTMHeatmap.podspec +++ b/DTMHeatmap.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "DTMHeatmap" - s.version = "1" + s.version = "1.0" s.summary = "An MKMapView overlay to visualize location dat...
Change the version from 1 to 1.0
diff --git a/lib/karat_sleuth/storage.rb b/lib/karat_sleuth/storage.rb index abc1234..def5678 100644 --- a/lib/karat_sleuth/storage.rb +++ b/lib/karat_sleuth/storage.rb @@ -14,23 +14,30 @@ # This will store classifications into the sequel database module Bayes - # Save the current Bayesian categories into the Kar...
Create the database table on init of Bayes
diff --git a/lib/risu/web/application.rb b/lib/risu/web/application.rb index abc1234..def5678 100644 --- a/lib/risu/web/application.rb +++ b/lib/risu/web/application.rb @@ -1,8 +1,11 @@ module Risu module Web class Application < Sinatra::Base + set :bind, 'localhost' set :port, 8969 set :haml, :format =>...
Set some Sinatra defaults, listen on localhost only for now.
diff --git a/app/helpers/fields_helper.rb b/app/helpers/fields_helper.rb index abc1234..def5678 100644 --- a/app/helpers/fields_helper.rb +++ b/app/helpers/fields_helper.rb @@ -9,6 +9,14 @@ end def field_presenter(item, field, options={}) + field = resolve_field(item, field) "#{field.class.name}Presenter...
Allow slug to be used to display a field value
diff --git a/lib/CheckfrontAPI/client.rb b/lib/CheckfrontAPI/client.rb index abc1234..def5678 100644 --- a/lib/CheckfrontAPI/client.rb +++ b/lib/CheckfrontAPI/client.rb @@ -0,0 +1,26 @@+require 'net/http' +require 'yaml' + +module CheckfrontAPI + class Client + + config = YAML.load_file(File.expand_path(File....
Load config and then test connection to API
diff --git a/lib/smartsheet/constants.rb b/lib/smartsheet/constants.rb index abc1234..def5678 100644 --- a/lib/smartsheet/constants.rb +++ b/lib/smartsheet/constants.rb @@ -9,6 +9,8 @@ EXCEL_TYPE = 'application/vnd.ms-excel'.freeze PDF_TYPE = 'application/pdf'.freeze CSV_TYPE = 'text/csv'.freeze + OPEN...
Add a constant for OpenXML spreadsheet MIME types.
diff --git a/app/models/oauth_provider.rb b/app/models/oauth_provider.rb index abc1234..def5678 100644 --- a/app/models/oauth_provider.rb +++ b/app/models/oauth_provider.rb @@ -4,7 +4,7 @@ class Base include HandlerActions - attr_accessor :return_url, :session + attr_accessor :return_url def self....
Index the session by the handler name.
diff --git a/lib/tasks/factory_girl.rake b/lib/tasks/factory_girl.rake index abc1234..def5678 100644 --- a/lib/tasks/factory_girl.rake +++ b/lib/tasks/factory_girl.rake @@ -9,7 +9,7 @@ DatabaseCleaner.clean end else - sh "bundle exec rake factory_girl:lint RAILS_ENV='test'" + sh 'rake fact...
Remove unnecessary cruft from shell line
diff --git a/features/support/capybara.rb b/features/support/capybara.rb index abc1234..def5678 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -1,16 +1,19 @@ require 'spinach/capybara' require 'capybara/poltergeist' +# Give CI some extra time +timeout = (ENV['CI'] || ENV['CI_SERVER']...
Reduce timeout for non-CI features
diff --git a/spec/models/assignment_score_level_spec.rb b/spec/models/assignment_score_level_spec.rb index abc1234..def5678 100644 --- a/spec/models/assignment_score_level_spec.rb +++ b/spec/models/assignment_score_level_spec.rb @@ -1,8 +1,11 @@ require "active_record_spec_helper" describe AssignmentScoreLevel do + ...
Test coverage for assignment score level
diff --git a/Analytics.podspec b/Analytics.podspec index abc1234..def5678 100644 --- a/Analytics.podspec +++ b/Analytics.podspec @@ -15,4 +15,5 @@ "QuartzCore", "CFNetwork", "CoreTelephony", "Security", "CoreGraphics" s.libraries = "sqlite3", "z" s.xcconfig = { "OTHER_LDFLAGS" =...
Update the pod to require arc
diff --git a/lib/wash_out.rb b/lib/wash_out.rb index abc1234..def5678 100644 --- a/lib/wash_out.rb +++ b/lib/wash_out.rb @@ -15,7 +15,7 @@ controller_class_name = [options[:module], controller_name].compact.join("/") match "#{controller_name}/wsdl" => "#{controller_name}#_generate_wsdl", :via => :get, ...
Use namespaced controller name in action route.
diff --git a/lib/codes/itunes_connect.rb b/lib/codes/itunes_connect.rb index abc1234..def5678 100644 --- a/lib/codes/itunes_connect.rb +++ b/lib/codes/itunes_connect.rb @@ -1,10 +1,64 @@ require 'fastlane_core/itunes_connect/itunes_connect' +require 'deliver' +require 'deliver/app' module FastlaneCore class Itune...
Implement downloading of promo codes
diff --git a/lib/course_alert_manager.rb b/lib/course_alert_manager.rb index abc1234..def5678 100644 --- a/lib/course_alert_manager.rb +++ b/lib/course_alert_manager.rb @@ -1,6 +1,6 @@ class CourseAlertManager def create_no_students_alerts - courses_to_check = Course.current + courses_to_check = Course.strictl...
Use 'strictly_current' scope for NoEnrolledStudentAlert
diff --git a/Casks/duckietv.rb b/Casks/duckietv.rb index abc1234..def5678 100644 --- a/Casks/duckietv.rb +++ b/Casks/duckietv.rb @@ -2,7 +2,7 @@ version '1.1.3' sha256 '4c4ee965cf39db6333dad65fe2b56ebf412af490a1b091487ef5d1fe8989b359' - # schizoduckie.github.io/DuckieTV was verified as official when first intro...
Fix `url` stanza comment for duckieTV.
diff --git a/spec/migrations/20170115140217_update_ems_in_miq_alert_status_spec.rb b/spec/migrations/20170115140217_update_ems_in_miq_alert_status_spec.rb index abc1234..def5678 100644 --- a/spec/migrations/20170115140217_update_ems_in_miq_alert_status_spec.rb +++ b/spec/migrations/20170115140217_update_ems_in_miq_aler...
Remove factory girl from migration script A refrence to factory girl can fail due to validations on columns that are added in app/model after this migration. Seen in https://github.com/ManageIQ/manageiq/pull/13567
diff --git a/spec/support/directories.rb b/spec/support/directories.rb index abc1234..def5678 100644 --- a/spec/support/directories.rb +++ b/spec/support/directories.rb @@ -22,7 +22,7 @@ yield end ensure - FileUtils.rm_rf(dir) + FileUtils.rm_rf(dir) unless ENV['CLEAR_TMP'].eql?('...
Stop clearing tmp if special env key is set
diff --git a/lib/rom/header/attribute.rb b/lib/rom/header/attribute.rb index abc1234..def5678 100644 --- a/lib/rom/header/attribute.rb +++ b/lib/rom/header/attribute.rb @@ -4,7 +4,7 @@ class Attribute include Equalizer.new(:name, :key, :type) - attr_reader :name, :key, :meta + attr_reader :name, ...
Set important ivars in the constructor
diff --git a/lib/rest_in_peace/template_sanitizer.rb b/lib/rest_in_peace/template_sanitizer.rb index abc1234..def5678 100644 --- a/lib/rest_in_peace/template_sanitizer.rb +++ b/lib/rest_in_peace/template_sanitizer.rb @@ -8,6 +8,7 @@ def initialize(url_template, params) @url_template = url_template @pa...
Initialize @url to prevent warnings
diff --git a/db/migrate/20141208201414_add_admin_to_user.rb b/db/migrate/20141208201414_add_admin_to_user.rb index abc1234..def5678 100644 --- a/db/migrate/20141208201414_add_admin_to_user.rb +++ b/db/migrate/20141208201414_add_admin_to_user.rb @@ -0,0 +1,14 @@+class AddAdminToUser < ActiveRecord::Migration + def up +...
Make admin a column for user model
diff --git a/db/data_migration/20171003133232_discard_non_english_wl_news.rb b/db/data_migration/20171003133232_discard_non_english_wl_news.rb index abc1234..def5678 100644 --- a/db/data_migration/20171003133232_discard_non_english_wl_news.rb +++ b/db/data_migration/20171003133232_discard_non_english_wl_news.rb @@ -0,0...
Discard drafts of WL news page with wrong base paths
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,4 +4,5 @@ resources :listings, :phrases get '/discriminatory', to: 'listings#discriminatory' get '/visualization', to: 'listings#visualization' + get '/tools/stats', to: 'stats#get...
Make route for 'get stats'
diff --git a/lib/inline_svg/transform_pipeline/transformations/aria_attributes.rb b/lib/inline_svg/transform_pipeline/transformations/aria_attributes.rb index abc1234..def5678 100644 --- a/lib/inline_svg/transform_pipeline/transformations/aria_attributes.rb +++ b/lib/inline_svg/transform_pipeline/transformations/aria_a...
Handle documents without SVG root elements
diff --git a/MOAspects.podspec b/MOAspects.podspec index abc1234..def5678 100644 --- a/MOAspects.podspec +++ b/MOAspects.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = "MOAspects" - s.version = "0.2.2" + s.version = "0.9.0" s.summary = "AOP Library." s.homepage = "htt...
Change pod spec files to swift
diff --git a/attribute.gemspec b/attribute.gemspec index abc1234..def5678 100644 --- a/attribute.gemspec +++ b/attribute.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'attribute' - s.version = '0.1.1' + s.version = '0.1.2' s.summary = 'Define an attribute on a class u...
Package version is increased from 0.1.1 to 0.1.2
diff --git a/app/assets/javascripts/models/pathpuz/monorail/application.js.rb b/app/assets/javascripts/models/pathpuz/monorail/application.js.rb index abc1234..def5678 100644 --- a/app/assets/javascripts/models/pathpuz/monorail/application.js.rb +++ b/app/assets/javascripts/models/pathpuz/monorail/application.js.rb @@ ...
Fix memory leak by removing the old handler when switching puzzles.
diff --git a/week-4/address/my_solution.rb b/week-4/address/my_solution.rb index abc1234..def5678 100644 --- a/week-4/address/my_solution.rb +++ b/week-4/address/my_solution.rb @@ -0,0 +1,13 @@+# Format an Address + +# I worked on this challenge [by myself, with: ]. + + +# Your Solution Below +def make_address(street, ...
Add solution for challenge 4.3 release 4 formatting address
diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index abc1234..def5678 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -26,6 +26,6 @@ end def set_games - @games = @query.present? ? Game.search(@query).includes(:categories, :r...
Stop search from timing out
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index abc1234..def5678 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -7,18 +7,22 @@ def index if params[:perspective] trust_graph_root_user = User.find_by(uport_address: p...
Stop crash if user not found; remove `@` symbols
diff --git a/app/models/project_search_result.rb b/app/models/project_search_result.rb index abc1234..def5678 100644 --- a/app/models/project_search_result.rb +++ b/app/models/project_search_result.rb @@ -19,8 +19,13 @@ @status = search_result.status @latest_release_number = search_result.latest_release_number...
Handle nil dates in search results
diff --git a/app/models/spree/store_decorator.rb b/app/models/spree/store_decorator.rb index abc1234..def5678 100644 --- a/app/models/spree/store_decorator.rb +++ b/app/models/spree/store_decorator.rb @@ -11,8 +11,8 @@ has_attached_file :logo, styles: { mini: '48x48>', small: '100x100>', medium: '250x250>' }, ...
Update paperclip paths for store model What I changed is inline with what is on solidus core for regular images: https://github.com/solidusio/solidus/blob/e15ca73e8f7083633343f0678023695a96e24d31/core/app/models/spree/image.rb#L9 Moreover, how it was would not correctly path to an image, since it was the root direc...
diff --git a/test/models/article_test.rb b/test/models/article_test.rb index abc1234..def5678 100644 --- a/test/models/article_test.rb +++ b/test/models/article_test.rb @@ -12,6 +12,6 @@ title: 'title', content: 'content <div></div><a lmao href="url">a link</a>', user_id: 1) - assert_equal(a.cont...
Fix failing article model test
diff --git a/app/views/papers/index.atom.builder b/app/views/papers/index.atom.builder index abc1234..def5678 100644 --- a/app/views/papers/index.atom.builder +++ b/app/views/papers/index.atom.builder @@ -3,7 +3,9 @@ feed.updated(@papers[0].created_at) if @papers.length > 0 @papers.each do |paper| + next if p...
Hide papers that have not made it to review yet
diff --git a/app/workers/status_update_worker.rb b/app/workers/status_update_worker.rb index abc1234..def5678 100644 --- a/app/workers/status_update_worker.rb +++ b/app/workers/status_update_worker.rb @@ -1,9 +1,9 @@ class StatusUpdateWorker include Sidekiq::Worker + sidekiq_options :retry => false def perform...
Disable retry option for sidekiq's job. Re-enable before and after create actions.
diff --git a/db/migrate/20150107130615_change_type_for_url_on_feed_entries.rb b/db/migrate/20150107130615_change_type_for_url_on_feed_entries.rb index abc1234..def5678 100644 --- a/db/migrate/20150107130615_change_type_for_url_on_feed_entries.rb +++ b/db/migrate/20150107130615_change_type_for_url_on_feed_entries.rb @@ ...
Change type for url on feed_entries from string to text
diff --git a/filesize.gemspec b/filesize.gemspec index abc1234..def5678 100644 --- a/filesize.gemspec +++ b/filesize.gemspec @@ -8,7 +8,7 @@ s.summary = s.description s.email = "dominikh@fork-bomb.org" - s.extra_rdoc_files = ["README.markdown", "lib/filesize.rb"] + s.has_rdoc = "yard" s.files = ["README.mar...
Set has_rdoc="yard" and remove extra_rdoc_files
diff --git a/lib/fluffy_paws/app.rb b/lib/fluffy_paws/app.rb index abc1234..def5678 100644 --- a/lib/fluffy_paws/app.rb +++ b/lib/fluffy_paws/app.rb @@ -46,8 +46,6 @@ request.body.rewind req_data = JSON.parse request.body.read - puts req_data - data_kind = req_data['pc_data']['kind'] p...
Revert "Just testing on live, nothing to see here" This reverts commit 1478750dd2b4a20337db7e30b46f7c27da1805e1.
diff --git a/bosh-director/db/migrations/director/20160511191928_ephemeral_blobs.rb b/bosh-director/db/migrations/director/20160511191928_ephemeral_blobs.rb index abc1234..def5678 100644 --- a/bosh-director/db/migrations/director/20160511191928_ephemeral_blobs.rb +++ b/bosh-director/db/migrations/director/2016051119192...
Make blobstore_id and sha1 as strings [#118957819] https://www.pivotaltracker.com/story/show/118957819 Signed-off-by: Ivan Rodriguez <489d99cb1180510ba868a41f5ab2ce6b721fdf5f@pivotal.io>
diff --git a/level_1/implied_nil/implied_nil.rb b/level_1/implied_nil/implied_nil.rb index abc1234..def5678 100644 --- a/level_1/implied_nil/implied_nil.rb +++ b/level_1/implied_nil/implied_nil.rb @@ -0,0 +1,11 @@+# Implied nil +# Let's implement a simple search feature - for our naive implementation, we search for a g...
Add the implied nil problem