diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/github_api/validations.rb b/lib/github_api/validations.rb index abc1234..def5678 100644 --- a/lib/github_api/validations.rb +++ b/lib/github_api/validations.rb @@ -18,6 +18,7 @@ VALID_API_KEYS = [ 'page', 'per_page', + 'auto_pagination', 'jsonp_callback' ]
Allow auto pagination through params filter.
diff --git a/lib/figurine/collaborator.rb b/lib/figurine/collaborator.rb index abc1234..def5678 100644 --- a/lib/figurine/collaborator.rb +++ b/lib/figurine/collaborator.rb @@ -14,11 +14,11 @@ attributes = attributes.slice(*whitelist) unless whitelist.empty? @attributes = (given[:id] ? attributes.merge!(:i...
Use send to call define_method
diff --git a/lib/modules/autocompletion.rb b/lib/modules/autocompletion.rb index abc1234..def5678 100644 --- a/lib/modules/autocompletion.rb +++ b/lib/modules/autocompletion.rb @@ -1,34 +1,29 @@ module Autocompletion - AUTOCOMPLETION_KEY = "autocompletion" + AUTOCOMPLETION_KEY = "autocompletion".freeze + IDENTIFIER_...
Refactor autocomplete to use ElasticSearch and without limit
diff --git a/lib/perspectives/responder.rb b/lib/perspectives/responder.rb index abc1234..def5678 100644 --- a/lib/perspectives/responder.rb +++ b/lib/perspectives/responder.rb @@ -1,13 +1,13 @@ module Perspectives class Responder < ActionController::Responder def to_html - return super unless resource.is_...
Use perspectives_enabled_action? instead of type check
diff --git a/lib/nylas/current_account.rb b/lib/nylas/current_account.rb index abc1234..def5678 100644 --- a/lib/nylas/current_account.rb +++ b/lib/nylas/current_account.rb @@ -16,5 +16,6 @@ attribute :organization_unit, :string attribute :provider, :string attribute :sync_state, :string + attribute :l...
Add new `linked_at` field to CurrentAccount
diff --git a/lib/tty/prompt/reader/mode.rb b/lib/tty/prompt/reader/mode.rb index abc1234..def5678 100644 --- a/lib/tty/prompt/reader/mode.rb +++ b/lib/tty/prompt/reader/mode.rb @@ -19,7 +19,7 @@ # # @api public def echo(is_on = true, &block) - if is_on + if is_on || @input.tt...
Change to check if tty is available.
diff --git a/lib/volt/extra_core/object.rb b/lib/volt/extra_core/object.rb index abc1234..def5678 100644 --- a/lib/volt/extra_core/object.rb +++ b/lib/volt/extra_core/object.rb @@ -1,3 +1,5 @@+require 'volt/utils/ejson' + class Object # Setup a default pretty_inspect # alias_method :pretty_inspect, :inspect @@ -...
Support dates in deep_clone (to fix query issue)
diff --git a/doc/ex/watermark.rb b/doc/ex/watermark.rb index abc1234..def5678 100644 --- a/doc/ex/watermark.rb +++ b/doc/ex/watermark.rb @@ -7,19 +7,15 @@ # Make a watermark from the word "RMagick" mark = Magick::Image.new(140, 40) {self.background_color = "none"} gc = Magick::Draw.new -if RUBY_PLATFORM =~ /mswin32/ ...
Use same offset for both *nix an Win32.
diff --git a/lib/ruboty/handlers/snack.rb b/lib/ruboty/handlers/snack.rb index abc1234..def5678 100644 --- a/lib/ruboty/handlers/snack.rb +++ b/lib/ruboty/handlers/snack.rb @@ -19,7 +19,7 @@ on( /お腹すいた\z/i, name: "feed_snack", - description: "おやつくれます" + description: "Gives you some...
:pencil2: Fix description for a handler
diff --git a/lib/custodian/samplers/darwin/ram.rb b/lib/custodian/samplers/darwin/ram.rb index abc1234..def5678 100644 --- a/lib/custodian/samplers/darwin/ram.rb +++ b/lib/custodian/samplers/darwin/ram.rb @@ -0,0 +1,29 @@+module Custodian + module Samplers + + class RAM < Custodian::Samplers::Sampler + describ...
Implement RAM sampler for darwin
diff --git a/lib/formalist/form/validity_check.rb b/lib/formalist/form/validity_check.rb index abc1234..def5678 100644 --- a/lib/formalist/form/validity_check.rb +++ b/lib/formalist/form/validity_check.rb @@ -41,7 +41,9 @@ def visit_many(node) _name, _type, errors, _attributes, _child_template, children ...
Fix issue with validity check and `many` elements
diff --git a/lib/less/rails/semantic_ui/engine.rb b/lib/less/rails/semantic_ui/engine.rb index abc1234..def5678 100644 --- a/lib/less/rails/semantic_ui/engine.rb +++ b/lib/less/rails/semantic_ui/engine.rb @@ -9,7 +9,7 @@ %w(stylesheets javascripts fonts images).each do |sub| app.config.assets.pat...
Add gif extension to precompile
diff --git a/app/controllers/georgia/concerns/revisioning.rb b/app/controllers/georgia/concerns/revisioning.rb index abc1234..def5678 100644 --- a/app/controllers/georgia/concerns/revisioning.rb +++ b/app/controllers/georgia/concerns/revisioning.rb @@ -7,8 +7,6 @@ include Helpers included do - - b...
Fix double instantiation of @page and @revision
diff --git a/test/data_mapper/schema_test.rb b/test/data_mapper/schema_test.rb index abc1234..def5678 100644 --- a/test/data_mapper/schema_test.rb +++ b/test/data_mapper/schema_test.rb @@ -0,0 +1,13 @@+require 'test_helper' + +class DataMapperSchemaTest < ActiveSupport::TestCase + test 'required explicitly set to fals...
Add test for explicitly setting required option to false in apply_schema Not sure if this is the best way to test it, but seems to work.
diff --git a/app/jobs/welcome_email_job.rb b/app/jobs/welcome_email_job.rb index abc1234..def5678 100644 --- a/app/jobs/welcome_email_job.rb +++ b/app/jobs/welcome_email_job.rb @@ -2,7 +2,7 @@ queue_as :mailer def perform(user_id) - user = User.find(user_id) - UserMailer.welcome_email(user).deliver_now + ...
Make minor fixes in WelcomeEmailJob
diff --git a/app/models/services/tumblr.rb b/app/models/services/tumblr.rb index abc1234..def5678 100644 --- a/app/models/services/tumblr.rb +++ b/app/models/services/tumblr.rb @@ -1,4 +1,5 @@ class Services::Tumblr < Service + include Rails.application.routes.url_helpers include SocialHelper::TumblrMethods de...
Fix `Services::Tumblr` not being able to post
diff --git a/app/models/wisdom/question.rb b/app/models/wisdom/question.rb index abc1234..def5678 100644 --- a/app/models/wisdom/question.rb +++ b/app/models/wisdom/question.rb @@ -8,9 +8,5 @@ validates :text, :presence => true validates :title, :presence => true - before_save do - self.slug = slug.d...
Fix broken model, Question slug is not a thing.
diff --git a/lib/pakyow/app/routes/file_routes.rb b/lib/pakyow/app/routes/file_routes.rb index abc1234..def5678 100644 --- a/lib/pakyow/app/routes/file_routes.rb +++ b/lib/pakyow/app/routes/file_routes.rb @@ -32,6 +32,11 @@ data = Pakyow::Console::FileStore.instance.data(params[:file_id], request_context: s...
Set cache headers in production
diff --git a/lib/travis/nightly_builder/runner.rb b/lib/travis/nightly_builder/runner.rb index abc1234..def5678 100644 --- a/lib/travis/nightly_builder/runner.rb +++ b/lib/travis/nightly_builder/runner.rb @@ -22,7 +22,9 @@ "#{Time.now.utc.strftime('%Y-%m-%d-%H-%M-%S')}" config = {} - unless ...
Address a rubocop gripe for unless
diff --git a/lib/warden/jwt_auth/token_decoder.rb b/lib/warden/jwt_auth/token_decoder.rb index abc1234..def5678 100644 --- a/lib/warden/jwt_auth/token_decoder.rb +++ b/lib/warden/jwt_auth/token_decoder.rb @@ -7,6 +7,9 @@ include JWTAuth::Import['secret'] # Decodes the payload from a JWT as a hash + ...
Add a note about exceptions that can be raised when decoding
diff --git a/lib/skynet/splitter.rb b/lib/skynet/splitter.rb index abc1234..def5678 100644 --- a/lib/skynet/splitter.rb +++ b/lib/skynet/splitter.rb @@ -4,10 +4,10 @@ module Splitter def self.clean(path_info) path_info_string = path_info.to_s - raise SkynetMethodError unless path_info_string.includ...
Add patch for mutli-word routes
diff --git a/lib/solid/arguments.rb b/lib/solid/arguments.rb index abc1234..def5678 100644 --- a/lib/solid/arguments.rb +++ b/lib/solid/arguments.rb @@ -28,8 +28,8 @@ # Context var var, *methods = arg.split('.') - object = Solid.unproxify(context[var]) - return methods.inject(object) { |obj, method| ob...
Fix unproxify only the result of context var attributes access
diff --git a/lib/tasks/webpack.rake b/lib/tasks/webpack.rake index abc1234..def5678 100644 --- a/lib/tasks/webpack.rake +++ b/lib/tasks/webpack.rake @@ -6,6 +6,6 @@ webpack_bin = Rails.root.join("node_modules", ".bin", "webpack") FileUtils.mkdir_p destdir - system "#{webpack_bin} --json > #{destdir}/manif...
Use sh, not system, in rake task so it dies if it fails
diff --git a/test/bonk_test.rb b/test/bonk_test.rb index abc1234..def5678 100644 --- a/test/bonk_test.rb +++ b/test/bonk_test.rb @@ -18,5 +18,16 @@ assert_equal @object, temp_obj end + + def test_bonk_returns_the_value_of_the_block + assert_equal :funky_monkey, @object.bonk{ :funky_monkey } + end + + def...
Define bonk semantics completely via tests.
diff --git a/test/gcloud/pubsub/subscription/test_delete.rb b/test/gcloud/pubsub/subscription/test_delete.rb index abc1234..def5678 100644 --- a/test/gcloud/pubsub/subscription/test_delete.rb +++ b/test/gcloud/pubsub/subscription/test_delete.rb @@ -0,0 +1,66 @@+# Copyright 2015 Google Inc. All rights reserved. +# +# Li...
Add test coverage for lazy Subscription delete
diff --git a/test/integration/engine_test.rb b/test/integration/engine_test.rb index abc1234..def5678 100644 --- a/test/integration/engine_test.rb +++ b/test/integration/engine_test.rb @@ -6,10 +6,9 @@ include RouteTranslator::ConfigurationHelper def test_with_engine_inside_localized_block - skip 'Regression ...
Change test as per Rails 5.1.3 change We are going to assume that Rails is providing the correct behaviour for this use case, so we change the test accordingly to make it pass. Ref: ccfa785535d912c3529b0562d9f2e7a2dc4b7ed7@ff7f4a7 rails/rails#29662 Close: #172
diff --git a/Casks/phpstorm-eap.rb b/Casks/phpstorm-eap.rb index abc1234..def5678 100644 --- a/Casks/phpstorm-eap.rb +++ b/Casks/phpstorm-eap.rb @@ -2,19 +2,28 @@ version '141.1717' sha256 'af6087323b15205d10ede18e4aea176c6dab569adc47d0eb00d4de07ad88693d' - url "http://download.jetbrains.com/webide/PhpStorm-EAP...
Upgrade PhpStorm EAP to 141.1717 Upgrade PhpStorm EAP to 141.1717 - feedback from @sebroeder & @vitorgalvao
diff --git a/lib/vagrant-butcher.rb b/lib/vagrant-butcher.rb index abc1234..def5678 100644 --- a/lib/vagrant-butcher.rb +++ b/lib/vagrant-butcher.rb @@ -11,14 +11,12 @@ begin require "hashie" require "hashie/logger" - # Based on Hashie's recommendation to disable warnings: - # https://github.com/intridea/hashie...
Fix logger spam by silencing the Hashie logger We cannot `disable_warnings` in a subclass because Hashie::Mash is used directly in the Ridley dependency: https://github.com/berkshelf/ridley/search?q=Hashie&unscoped_q=Hashie Hashie's recommendation to disable warnings requires subclassing: https://github.com/intridea/...
diff --git a/lib/yarn/error_page.rb b/lib/yarn/error_page.rb index abc1234..def5678 100644 --- a/lib/yarn/error_page.rb +++ b/lib/yarn/error_page.rb @@ -4,7 +4,8 @@ def serve_404_page @response.status = 404 - @response.body = ["<html><head><title>404</title></head><body><h1>File: #{@request[:uri][:pat...
Fix for error page if parse failes
diff --git a/bosh_deployment_resource.gemspec b/bosh_deployment_resource.gemspec index abc1234..def5678 100644 --- a/bosh_deployment_resource.gemspec +++ b/bosh_deployment_resource.gemspec @@ -10,6 +10,7 @@ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ["lib"] + s...
Add bosh_cli gem to gemspec
diff --git a/spec/magic_lamp_config.rb b/spec/magic_lamp_config.rb index abc1234..def5678 100644 --- a/spec/magic_lamp_config.rb +++ b/spec/magic_lamp_config.rb @@ -1,23 +1,26 @@-require "database_cleaner" +require 'database_cleaner' require 'factory_girl' -FactoryGirl.find_definitions #It looks like requiring factory...
Stop factory girl loading twice
diff --git a/spec/models/image_spec.rb b/spec/models/image_spec.rb index abc1234..def5678 100644 --- a/spec/models/image_spec.rb +++ b/spec/models/image_spec.rb @@ -1,7 +1,17 @@ require 'rails_helper' RSpec.describe Image, :type => :model do - pending "add some examples to (or delete) #{__FILE__}" + + describe 'va...
Test required attributes on Image
diff --git a/spec/unit/support_spec.rb b/spec/unit/support_spec.rb index abc1234..def5678 100644 --- a/spec/unit/support_spec.rb +++ b/spec/unit/support_spec.rb @@ -3,26 +3,41 @@ before do @app = TestDelegate.new @screen = BasicScreen.new + @tab_screen = TabScreen.new + @table_screen = TestTableScreen...
Make sure the support methods make it into all screens
diff --git a/lib/human_error/errors/crud_errors/resource_persistence_error.rb b/lib/human_error/errors/crud_errors/resource_persistence_error.rb index abc1234..def5678 100644 --- a/lib/human_error/errors/crud_errors/resource_persistence_error.rb +++ b/lib/human_error/errors/crud_errors/resource_persistence_error.rb @@ ...
Bugfix: Remove a manual reference to `knowledgebase_article_id` We changed this a while back to be performed in the base class, we just missed removing this one. -------------------------------------------------------------------------------- Change-Id: I98ec5a71a704fbc7e98ac0bc97816fd2368bad02 Signed-off-by: Jef...
diff --git a/spec/controllers/welcome_controller_spec.rb b/spec/controllers/welcome_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/welcome_controller_spec.rb +++ b/spec/controllers/welcome_controller_spec.rb @@ -0,0 +1,27 @@+require 'rails_helper' + +describe WelcomeController do + let(:user) ...
Add the test suite for the Welcome Controller. 100 test coverage; all tests passing.
diff --git a/spec/knapsack_pro/test_file_cleaner_spec.rb b/spec/knapsack_pro/test_file_cleaner_spec.rb index abc1234..def5678 100644 --- a/spec/knapsack_pro/test_file_cleaner_spec.rb +++ b/spec/knapsack_pro/test_file_cleaner_spec.rb @@ -1,19 +1,11 @@ describe KnapsackPro::TestFileCleaner do describe '.clean' do + ...
Revert "remove , from end of the test file path" This reverts commit 77320671361585abd43ef793a9a20628f51c87ba.
diff --git a/NuimoSwift.podspec b/NuimoSwift.podspec index abc1234..def5678 100644 --- a/NuimoSwift.podspec +++ b/NuimoSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "NuimoSwift" - s.version = "0.5.1" + s.version = "0.6.0" s.summary = "Swift library for connecting and communi...
Set podspec version to 0.6.0
diff --git a/tinyforth.gemspec b/tinyforth.gemspec index abc1234..def5678 100644 --- a/tinyforth.gemspec +++ b/tinyforth.gemspec @@ -20,4 +20,5 @@ spec.add_development_dependency "bundler", "~> 1.5" spec.add_development_dependency "rake" + spec.add_development_dependency "rspec" end
Add rspec as a dev dependency
diff --git a/Maths/07-Multiplication-Tables/solutions/josh-lang-multiplication-tables.rb b/Maths/07-Multiplication-Tables/solutions/josh-lang-multiplication-tables.rb index abc1234..def5678 100644 --- a/Maths/07-Multiplication-Tables/solutions/josh-lang-multiplication-tables.rb +++ b/Maths/07-Multiplication-Tables/solu...
Add solution for multiplication tables
diff --git a/lazy_resource.gemspec b/lazy_resource.gemspec index abc1234..def5678 100644 --- a/lazy_resource.gemspec +++ b/lazy_resource.gemspec @@ -18,5 +18,5 @@ gem.add_dependency 'activemodel', '~> 3.1' gem.add_dependency 'activesupport', '~> 3.1' gem.add_dependency 'json', '>= 1.5.2' - gem.add_dependency '...
Update Typhoeus to the latest version.
diff --git a/homebrew/gh.rb b/homebrew/gh.rb index abc1234..def5678 100644 --- a/homebrew/gh.rb +++ b/homebrew/gh.rb @@ -10,13 +10,13 @@ homepage "https://github.com/jingweno/gh" head "https://github.com/jingweno/gh.git" - url "https://github.com/jingweno/gh/releases/download/v#{VERSION}/gh_#{VERSION}-snapshot_...
Fix homebrew download url and autocomplete scripts url
diff --git a/railsdav.gemspec b/railsdav.gemspec index abc1234..def5678 100644 --- a/railsdav.gemspec +++ b/railsdav.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'railsdav' - s.version = '0.0.8' + s.version = '0.0.9' s.date = Time.now s.authors = ['Willem van Kerkhof'] s.licen...
Fix missing file in gemspec
diff --git a/SubCommander.podspec b/SubCommander.podspec index abc1234..def5678 100644 --- a/SubCommander.podspec +++ b/SubCommander.podspec @@ -8,9 +8,25 @@ s.homepage = "http://github.com/substantial/SubCommander" s.license = 'MIT' s.author = { "Mike Judge" => "mikelovesrobots@gmail.com" } - ...
Fix podspec to get rid of frustrating AFNetworking warnings
diff --git a/lib/mymoip/request.rb b/lib/mymoip/request.rb index abc1234..def5678 100644 --- a/lib/mymoip/request.rb +++ b/lib/mymoip/request.rb @@ -2,7 +2,7 @@ class Request include HTTParty - attr_reader :id, :data, :response + attr_reader :id, :response def initialize(id) @id = id
Remove unused data attribute accessor from Request class
diff --git a/lib/tasks/report.rake b/lib/tasks/report.rake index abc1234..def5678 100644 --- a/lib/tasks/report.rake +++ b/lib/tasks/report.rake @@ -20,11 +20,11 @@ task email_mixpanel_usage: :environment do # Heroku scheduler can only trigger daily, so this only emails # a report once a week. - return u...
Fix return in rake task
diff --git a/protokoll.gemspec b/protokoll.gemspec index abc1234..def5678 100644 --- a/protokoll.gemspec +++ b/protokoll.gemspec @@ -19,5 +19,5 @@ s.add_dependency("rails", "~> 4.0", "> 4.0") - s.add_development_dependency "sqlite3", '~> 0' + s.add_development_dependency "sqlite3", '~> 1' end
Fix sqlite3 dependency issue in development
diff --git a/nokogiri/google_finance/spec/stock_trend_spec.rb b/nokogiri/google_finance/spec/stock_trend_spec.rb index abc1234..def5678 100644 --- a/nokogiri/google_finance/spec/stock_trend_spec.rb +++ b/nokogiri/google_finance/spec/stock_trend_spec.rb @@ -3,6 +3,8 @@ describe StockTrend do let(:s) { StockTrend.ne...
Remove 'Popular searches...' from data and add headers constant'
diff --git a/test/api/group_sets_api_test.rb b/test/api/group_sets_api_test.rb index abc1234..def5678 100644 --- a/test/api/group_sets_api_test.rb +++ b/test/api/group_sets_api_test.rb @@ -11,12 +11,22 @@ Rails.application end - def test_get_all_groups_in_unit + def test_get_all_groups_in_unit_with_authoriza...
FIX: Change get tests for group_sets_api
diff --git a/Casks/plex-media-server.rb b/Casks/plex-media-server.rb index abc1234..def5678 100644 --- a/Casks/plex-media-server.rb +++ b/Casks/plex-media-server.rb @@ -1,7 +1,7 @@ class PlexMediaServer < Cask - url 'http://downloads.plexapp.com/plex-media-server/0.9.8.4.125-ffe2a5d/PlexMediaServer-0.9.8.4.125-ffe2a5d...
Update Plex Media Server to 0.9.8.14.263
diff --git a/Apic.podspec b/Apic.podspec index abc1234..def5678 100644 --- a/Apic.podspec +++ b/Apic.podspec @@ -8,9 +8,10 @@ s.platform = :ios, "8.0" s.source = { :git => "https://github.com/JuanjoArreola/Apic.git", :tag => "version_1.1" } - s.source_files = "Apic/*.swift" + s.source_files = "Apic/...
Fix properties file in podspec
diff --git a/examples/console/spec/console_spec.rb b/examples/console/spec/console_spec.rb index abc1234..def5678 100644 --- a/examples/console/spec/console_spec.rb +++ b/examples/console/spec/console_spec.rb @@ -36,6 +36,8 @@ it "can handle panics" do expect { console.freak_out }.to raise_error(RuntimeError, ...
Add failing test for rb_raise leaks
diff --git a/chbs.gemspec b/chbs.gemspec index abc1234..def5678 100644 --- a/chbs.gemspec +++ b/chbs.gemspec @@ -14,4 +14,6 @@ gem.name = "chbs" gem.require_paths = ["lib"] gem.version = Chbs::VERSION + + gem.add_development_dependency('nokogiri') end
Add dev dependency on nokogiri (for corpuscle)
diff --git a/lib/hatchet.rb b/lib/hatchet.rb index abc1234..def5678 100644 --- a/lib/hatchet.rb +++ b/lib/hatchet.rb @@ -17,6 +17,7 @@ end def self.git_branch + return ENV['TRAVIS_BRANCH'] if ENV['TRAVIS_BRANCH'] out = `git describe --contains --all HEAD`.strip raise "Attempting to find current bran...
Use travis branch if present
diff --git a/lib/hostess.rb b/lib/hostess.rb index abc1234..def5678 100644 --- a/lib/hostess.rb +++ b/lib/hostess.rb @@ -2,7 +2,7 @@ class Hostess < Sinatra::Base def serve - send_file(File.expand_path(File.join(Geminabox.data, *request.path_info))) + send_file(File.expand_path(File.join(Geminabox.data, *req...
Fix 'Unknown media type: ".rz"' Errors. Sinatra 1.1.0 bails violently when mime type not given explicitly.
diff --git a/lib/iso8601.rb b/lib/iso8601.rb index abc1234..def5678 100644 --- a/lib/iso8601.rb +++ b/lib/iso8601.rb @@ -1,6 +1,8 @@ module ISO8601 VERSION = "0.1" end + +require "time" require "iso8601/errors" require "iso8601/atoms"
ADD require time for dateTime
diff --git a/lib/judopay.rb b/lib/judopay.rb index abc1234..def5678 100644 --- a/lib/judopay.rb +++ b/lib/judopay.rb @@ -6,7 +6,7 @@ module Judopay class << self - attr_accessor :configuration + attr_accessor :configuration, :logger end def self.configure
Allow Judopay.logger to be set
diff --git a/lib/dimples/page.rb b/lib/dimples/page.rb index abc1234..def5678 100644 --- a/lib/dimples/page.rb +++ b/lib/dimples/page.rb @@ -12,6 +12,7 @@ attr_accessor :extension attr_accessor :layout attr_accessor :contents + attr_accessor :output_directory def initialize(site, path = nil) ...
Simplify the output_path and write methods, add an output_directory accessor and inspect method.
diff --git a/Casks/android-studio.rb b/Casks/android-studio.rb index abc1234..def5678 100644 --- a/Casks/android-studio.rb +++ b/Casks/android-studio.rb @@ -1,8 +1,8 @@ class AndroidStudio < Cask - version '0.8.3 build-135.1281642' - sha256 'fcc6a0b4817e83bc6251764637041e90db7c8df65e7a362e50b9083664cee0f9' + version...
Upgrade Android Studio.app to v0.8.4 build-135.1295215
diff --git a/Casks/beyond-compare.rb b/Casks/beyond-compare.rb index abc1234..def5678 100644 --- a/Casks/beyond-compare.rb +++ b/Casks/beyond-compare.rb @@ -8,6 +8,8 @@ license :commercial app 'Beyond Compare.app' + binary 'Beyond Compare.app/Contents/MacOS/BCompare' + binary 'Beyond Compare.app/Contents/MacOS...
Add binaries for Beyond Compare
diff --git a/rails_template.rb b/rails_template.rb index abc1234..def5678 100644 --- a/rails_template.rb +++ b/rails_template.rb @@ -12,6 +12,7 @@ gem_group :development, :test do gem 'irbtools', require: 'irbtools/binding' + gem 'awesome_print' end run("bundle install")
Make awesome_print a default gem in rails
diff --git a/lib/juici/routes.rb b/lib/juici/routes.rb index abc1234..def5678 100644 --- a/lib/juici/routes.rb +++ b/lib/juici/routes.rb @@ -1,33 +1,34 @@ module Juici module Router include Routes + URL_PART = /[\w\/. %]+/ def build_new_path "/builds/new" end def build_list_path - ...
Handle spaces and dots in project names
diff --git a/recipes/server.rb b/recipes/server.rb index abc1234..def5678 100644 --- a/recipes/server.rb +++ b/recipes/server.rb @@ -23,8 +23,8 @@ include_recipe 'gluster::server_setup' include_recipe 'gluster::server_extend' if node['gluster']['server']['server_extend_enabled'] include_recipe 'gluster::volume_extend...
Update lvm cookbook ruby-lvm dependency As Stated in the chef-lvm cookbook, the now used lvm dependency is not the same. This change works now on my environment and (as a bonus) bring the reproducibility of my gluster cookbook usage on bento/fedora-26. Thank you for this cookbook, it's really easy to use and is very...
diff --git a/lib/scorm/errors.rb b/lib/scorm/errors.rb index abc1234..def5678 100644 --- a/lib/scorm/errors.rb +++ b/lib/scorm/errors.rb @@ -1,10 +1,14 @@ module Scorm module Errors class InvalidManifest < RuntimeError; end - class NoMetadataError < InvalidManifest; end - class DuplicateMe...
Add RequiredItemMissing and DuplicateItem exceptions. NoMetadataError/NoOrganizationsError and their related "too-many" exceptions is too specific, and we would like to avoid adding those kinds of exceptions every time the standard requires one, and only one, of some kind of element. Therefore, introduce the Required...
diff --git a/lib/troy/helpers.rb b/lib/troy/helpers.rb index abc1234..def5678 100644 --- a/lib/troy/helpers.rb +++ b/lib/troy/helpers.rb @@ -6,8 +6,8 @@ CGI.escapeHTML(content) end - def t(*args) - I18n.t(*args) + def t(*args, **kwargs) + I18n.t(*args, **kwargs) end def partial(...
Fix I18n issue with named args.
diff --git a/deploy/before_bundle.rb b/deploy/before_bundle.rb index abc1234..def5678 100644 --- a/deploy/before_bundle.rb +++ b/deploy/before_bundle.rb @@ -7,5 +7,5 @@ sudo "echo 'date.timezone = America/Los_Angeles' > /etc/php/fpm-php5.4/ext-active/timezone.ini" # kick composer install -#run "curl -s https://getco...
Revert "[ey] Let engineyard run composer" This reverts commit b9dbe457b0430fc17beb7fb29961713e8919bad0.
diff --git a/lib/generators/unread/polymorphic_reader_migration/templates/unread_polymorphic_reader_migration.rb b/lib/generators/unread/polymorphic_reader_migration/templates/unread_polymorphic_reader_migration.rb index abc1234..def5678 100644 --- a/lib/generators/unread/polymorphic_reader_migration/templates/unread_p...
Use unique index in upgrade migration, too Belongs to #78
diff --git a/spec/rack/rejector_spec.rb b/spec/rack/rejector_spec.rb index abc1234..def5678 100644 --- a/spec/rack/rejector_spec.rb +++ b/spec/rack/rejector_spec.rb @@ -1,11 +1,57 @@ require 'spec_helper' +require 'rack' describe Rack::Rejector do - it 'has a version number' do - expect(Rack::Rejector::VERSION)....
Add First Tests for Rejector Class
diff --git a/log-courier.gemspec b/log-courier.gemspec index abc1234..def5678 100644 --- a/log-courier.gemspec +++ b/log-courier.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |gem| gem.name = 'log-courier' - gem.version = '0.12' + gem.version = '0.13' gem.description =...
Mark versions as 0.13, add extra file to gem spec, and update change log
diff --git a/Formula/bats-support.rb b/Formula/bats-support.rb index abc1234..def5678 100644 --- a/Formula/bats-support.rb +++ b/Formula/bats-support.rb @@ -4,7 +4,7 @@ url "https://github.com/ztombol/bats-support/archive/v0.2.0.tar.gz" sha256 "9bfa93d2db046e375e31e4c6cbbe834b015c695862c2dca1b46b71401de1038d" h...
Update dependency from bats to bats-core
diff --git a/mail_logger.gemspec b/mail_logger.gemspec index abc1234..def5678 100644 --- a/mail_logger.gemspec +++ b/mail_logger.gemspec @@ -4,7 +4,7 @@ require 'mail/logger/version' Gem::Specification.new do |spec| - spec.name = "email_logger" + spec.name = "mail-logger" spec.version = ...
Rename gem to not conflict with an existing gem
diff --git a/lib/spree/authentication_helpers.rb b/lib/spree/authentication_helpers.rb index abc1234..def5678 100644 --- a/lib/spree/authentication_helpers.rb +++ b/lib/spree/authentication_helpers.rb @@ -2,25 +2,30 @@ module AuthenticationHelpers def self.included(receiver) receiver.send :helper_method, ...
Add guard for frontend-based AuthenticationHelpers These Spree::AuthenticationHelpers methods should only be available for apps that have `solidus_frontend` available, as they are simply proxies for route helpers provided by that gem. Closes #59.
diff --git a/test/integration/flow_visualisation_test.rb b/test/integration/flow_visualisation_test.rb index abc1234..def5678 100644 --- a/test/integration/flow_visualisation_test.rb +++ b/test/integration/flow_visualisation_test.rb @@ -0,0 +1,12 @@+require_relative '../integration_test_helper' + +class FlowVisualisati...
Add test to ensure all flows are visualisable We've gone to quite some effort to ensure that the graph visualisation continues to work while we've been refactoring Smart Answers. I'm adding this test to ensure that we don't undo that work in future. This was highlighted by a proposed refactoring of benefit-cap-calcul...
diff --git a/test/integration/integration_test_helper.rb b/test/integration/integration_test_helper.rb index abc1234..def5678 100644 --- a/test/integration/integration_test_helper.rb +++ b/test/integration/integration_test_helper.rb @@ -1,13 +1,13 @@ require File.expand_path(File.join(File.dirname(__FILE__), '../test_h...
Set Braintree configurations through BraintreeRails in integration test helper
diff --git a/lib/catissue/domain/hash_code.rb b/lib/catissue/domain/hash_code.rb index abc1234..def5678 100644 --- a/lib/catissue/domain/hash_code.rb +++ b/lib/catissue/domain/hash_code.rb @@ -7,9 +7,7 @@ # @return [Integer] a unique hash code # @see #== def hash - # JRuby alert - JRuby 1.5 object_id...
Use caruby-core JRuby 1.5 bug work-around
diff --git a/config/schedule.rb b/config/schedule.rb index abc1234..def5678 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -11,3 +11,7 @@ every :day, at: ['3:30am', '1:15pm'] do rake 'import:whitehall:mappings' end + +every :hour do + rake 'import:dns_details' +end
Update Host CNAMEs every hour This will mean that the transition status for a site will be more up-to-date if it has transitioned today. Currently this happens at midnight when data is imported from Redirector.
diff --git a/lib/traffic_light_controller/cli.rb b/lib/traffic_light_controller/cli.rb index abc1234..def5678 100644 --- a/lib/traffic_light_controller/cli.rb +++ b/lib/traffic_light_controller/cli.rb @@ -6,6 +6,7 @@ class << self def run + change_program_name cli = self.new cli.pr...
Add version to program name
diff --git a/lib/context/controller_helper.rb b/lib/context/controller_helper.rb index abc1234..def5678 100644 --- a/lib/context/controller_helper.rb +++ b/lib/context/controller_helper.rb @@ -14,7 +14,7 @@ # end def context_page(path=nil) # TODO: Should restrict to published pages - Page.find_by...
Use request.fullpath as the last resort for finding a path This is for paths that are exclusively '/', so it may just be better to hardcode it to that.
diff --git a/lib/yard/handlers/method_handler.rb b/lib/yard/handlers/method_handler.rb index abc1234..def5678 100644 --- a/lib/yard/handlers/method_handler.rb +++ b/lib/yard/handlers/method_handler.rb @@ -3,7 +3,7 @@ def process mscope = scope - meth = statement.tokens.to_s[/^def\s+([\s\w\:\.]+)/, 1].gs...
Add support for non-alphanum methods.. specs to come
diff --git a/lib/hubble_api_client/request.rb b/lib/hubble_api_client/request.rb index abc1234..def5678 100644 --- a/lib/hubble_api_client/request.rb +++ b/lib/hubble_api_client/request.rb @@ -28,7 +28,7 @@ if response.code == '200' JSON.parse response.body, symbolize_names: true else - rai...
Update error class name with camel case
diff --git a/lib/language_pack/no_lockfile.rb b/lib/language_pack/no_lockfile.rb index abc1234..def5678 100644 --- a/lib/language_pack/no_lockfile.rb +++ b/lib/language_pack/no_lockfile.rb @@ -1,7 +1,7 @@ require "language_pack" -require "language_pack/base" +require "language_pack/ruby" -class LanguagePack::NoLockfi...
Allow Nolockfile to get to compile phase Nolockfile does not define a number of things that base needs in terms of subclass overrides. By simply changing the parent class, we get reasonable versions of those things and allow the build to get as far as compile, so that the error can be emitted. The error output with...
diff --git a/Casks/kobito.rb b/Casks/kobito.rb index abc1234..def5678 100644 --- a/Casks/kobito.rb +++ b/Casks/kobito.rb @@ -0,0 +1,7 @@+class Kobito < Cask + url 'http://kobito.qiita.com/download/Kobito_v1.8.2.zip' + homepage 'http://kobito.qiita.com/' + version '1.8.2' + sha1 'eac47edd574380391044ea89486b14a0ec2b...
Add new cask for Kobito
diff --git a/config/initializers/new_relic.rb b/config/initializers/new_relic.rb index abc1234..def5678 100644 --- a/config/initializers/new_relic.rb +++ b/config/initializers/new_relic.rb @@ -1,4 +1,4 @@ # Ensure the agent is started using Unicorn # This is needed when using Unicorn and preload_app is not set to true...
Use new style hash syntax.
diff --git a/lib/active_record_mysql_gone_patch.rb b/lib/active_record_mysql_gone_patch.rb index abc1234..def5678 100644 --- a/lib/active_record_mysql_gone_patch.rb +++ b/lib/active_record_mysql_gone_patch.rb @@ -0,0 +1,18 @@+require 'active_record/connection_adapters/mysql_adapter' + +module ActiveRecord::ConnectionAd...
Patch for server gone away
diff --git a/lib/dm-core/adapters/mysql_adapter.rb b/lib/dm-core/adapters/mysql_adapter.rb index abc1234..def5678 100644 --- a/lib/dm-core/adapters/mysql_adapter.rb +++ b/lib/dm-core/adapters/mysql_adapter.rb @@ -13,14 +13,6 @@ # @api private def supports_default_values? #:nodoc: false - ...
Remove special quoting case for MySQL * DO MySQL driver configures connection to allow ANSI compliant quotes to be used. SQL should always be generated as ANSI compliant when possible, and only when there is no other choice should we support a special case.
diff --git a/test/servers/rackapp_6511.rb b/test/servers/rackapp_6511.rb index abc1234..def5678 100644 --- a/test/servers/rackapp_6511.rb +++ b/test/servers/rackapp_6511.rb @@ -12,6 +12,11 @@ [200, {"Content-Type" => "application/json"}, ["[\"Stan\",\"is\",\"on\",\"the\",\"scene!\"]"]] } end + ma...
Add an error path that returns 500
diff --git a/spec/puppet-lint/check_conditionals_spec.rb b/spec/puppet-lint/check_conditionals_spec.rb index abc1234..def5678 100644 --- a/spec/puppet-lint/check_conditionals_spec.rb +++ b/spec/puppet-lint/check_conditionals_spec.rb @@ -3,7 +3,9 @@ describe PuppetLint::Plugins::CheckConditionals do subject do k...
Add column numbers to CheckConditionals tests
diff --git a/scripts/resolve_dropbox_conflicts.rb b/scripts/resolve_dropbox_conflicts.rb index abc1234..def5678 100644 --- a/scripts/resolve_dropbox_conflicts.rb +++ b/scripts/resolve_dropbox_conflicts.rb @@ -0,0 +1,17 @@+require 'fileutils' +include FileUtils + +conflicts = `find ~/Dropbox -name "*conflicted*"`.split(...
[meta] Add a script for resolving Dropbox conflicts
diff --git a/activesupport/lib/active_support/configuration_file.rb b/activesupport/lib/active_support/configuration_file.rb index abc1234..def5678 100644 --- a/activesupport/lib/active_support/configuration_file.rb +++ b/activesupport/lib/active_support/configuration_file.rb @@ -32,7 +32,7 @@ require "erb" ...
Fix ConfigurationFile check for non-breaking space The regular expression used to check for non-breaking spaces is invalid, but prints a warning ("Unknown escape \U is ignored: /\U+A0/") instead of raising an error. This commit fixes the check (and the warning).
diff --git a/Casks/crashplan.rb b/Casks/crashplan.rb index abc1234..def5678 100644 --- a/Casks/crashplan.rb +++ b/Casks/crashplan.rb @@ -2,6 +2,7 @@ version '4.7.0' sha256 'c36d7280038e576f70bce12f11cdfe6c2519c34d4b21f1681c59bac439a2c283' + # crashplan.com was verified as official when first introduced to the c...
Fix `url` stanza comment for CrashPlan.
diff --git a/Casks/insomniax.rb b/Casks/insomniax.rb index abc1234..def5678 100644 --- a/Casks/insomniax.rb +++ b/Casks/insomniax.rb @@ -1,8 +1,8 @@ class Insomniax < Cask - version '2.1.3' - sha256 '50f41f5f40bd7a8896139c838b48d07abc0ad28419650865187383d1b9165707' + version '2.1.4' + sha256 'c6594f663b90a1aab8187a...
Upgrade Insomniax to 2.1.4 Changed download link from MacUpdate to original source since MacUpdate simply redirects users to the original source.
diff --git a/lib/active_record/validations/string_truncator.rb b/lib/active_record/validations/string_truncator.rb index abc1234..def5678 100644 --- a/lib/active_record/validations/string_truncator.rb +++ b/lib/active_record/validations/string_truncator.rb @@ -17,6 +17,7 @@ if value.length > limit ...
Add return true to make clear the callback chain will never halt when using this in before_save instead of before_validation.
diff --git a/adamantium.gemspec b/adamantium.gemspec index abc1234..def5678 100644 --- a/adamantium.gemspec +++ b/adamantium.gemspec @@ -13,7 +13,7 @@ gem.require_paths = %w[lib] gem.files = `git ls-files`.split($/) - gem.test_files = `git ls-files spec/{unit,integration}`.split($/) + gem.t...
Update git ls-files to use a separator after the options
diff --git a/app/overrides/add_print_invoice_to_admin_configuration_sidebar.rb b/app/overrides/add_print_invoice_to_admin_configuration_sidebar.rb index abc1234..def5678 100644 --- a/app/overrides/add_print_invoice_to_admin_configuration_sidebar.rb +++ b/app/overrides/add_print_invoice_to_admin_configuration_sidebar.rb...
Correct menu hook for Spree v3.0.0.beta
diff --git a/app/controllers/users/omniauth_callbacks_controller.rb b/app/controllers/users/omniauth_callbacks_controller.rb index abc1234..def5678 100644 --- a/app/controllers/users/omniauth_callbacks_controller.rb +++ b/app/controllers/users/omniauth_callbacks_controller.rb @@ -23,8 +23,8 @@ private def no_ema...
Add missing space on sign in no_email_error flash
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -54,7 +54,7 @@ doctype 5 html head - meta charset='utf-8' + meta(charset='utf-8') title = @title body == yield
Change meta tag to use parentheses around charset attribute
diff --git a/configs.rb b/configs.rb index abc1234..def5678 100644 --- a/configs.rb +++ b/configs.rb @@ -8,7 +8,7 @@ PAAS_VENDOR_FOLDER = "vendor/cloudcontrol" LIBYAML_VERSION = "0.1.4" LIBYAML_PATH = "libyaml-#{LIBYAML_VERSION}" - BUNDLER_VERSION = "1.6.3" + BUNDLER_VERSION = "1.7.13" ...
Update bundler (1.6.3 -> 1.7.13)
diff --git a/spec/lib/assignments_manager_spec.rb b/spec/lib/assignments_manager_spec.rb index abc1234..def5678 100644 --- a/spec/lib/assignments_manager_spec.rb +++ b/spec/lib/assignments_manager_spec.rb @@ -0,0 +1,37 @@+require 'rails_helper' +require "#{Rails.root}/lib/assignments_manager" + +describe AssignmentsMan...
Add unit tests for AssignmentsManager
diff --git a/spec/routing/root_to_routing_spec.rb b/spec/routing/root_to_routing_spec.rb index abc1234..def5678 100644 --- a/spec/routing/root_to_routing_spec.rb +++ b/spec/routing/root_to_routing_spec.rb @@ -0,0 +1,9 @@+require 'rails_helper' + +describe 'root' do + describe 'routing' do + it 'routes to home#index...
Add route spec for root url
diff --git a/app/controllers/mpa_controller.rb b/app/controllers/mpa_controller.rb index abc1234..def5678 100644 --- a/app/controllers/mpa_controller.rb +++ b/app/controllers/mpa_controller.rb @@ -15,8 +15,8 @@ def pept2data peptides = params[:peptides] || [] - missed = params[:missed] - @equate_il = par...
Fix equate_il must be boolean error
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -14,6 +14,6 @@ end def find_and_replace_note_refs(text) - text.gsub(/\s#(\d+)\s?/) { link_to "##{$1}", book_note_p...
Add space before note refs