diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/rb/lib/selenium/webdriver/chrome/profile.rb b/rb/lib/selenium/webdriver/chrome/profile.rb index abc1234..def5678 100644 --- a/rb/lib/selenium/webdriver/chrome/profile.rb +++ b/rb/lib/selenium/webdriver/chrome/profile.rb @@ -13,14 +13,11 @@ @model = verify_model(model) end - def ...
JariBakken: Add some docs to Chrome::Profile git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@13146 07704840-8298-11de-bf8c-fd130f914ac9
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -13,7 +13,7 @@ link = page.css('td.cafename')[item_num].css('a').first['href'] members = page.css('td.member')[item_num].text.gsub(/,/, '').to_f # members = 0 if members < 1 - @cafe = Cafe.where(...
Check for url instead of name
diff --git a/Casks/istat-menus.rb b/Casks/istat-menus.rb index abc1234..def5678 100644 --- a/Casks/istat-menus.rb +++ b/Casks/istat-menus.rb @@ -1,6 +1,6 @@ cask :v1 => 'istat-menus' do - version '5.10' - sha256 'cde4c1b69201dbaa7a7f2adcf9ee5294d7b4201d141a3fde647a6bf90edc902b' + version '5.11' + sha256 'cb02606a90...
Upgrade iStat Menus.app to v5.11.
diff --git a/test/test_rice.rb b/test/test_rice.rb index abc1234..def5678 100644 --- a/test/test_rice.rb +++ b/test/test_rice.rb @@ -1,15 +1,18 @@ require 'test/unit' +require 'rbconfig' class RiceTest < Test::Unit::TestCase # TODO: probably a better way to find this out... VERBOSE = ARGV.include?('-v') + E...
Append EXEEXT to executable names. git-svn-id: 81de8714785daa4de355a86eff9ce8518e4b389c@166 e2d4e900-5bc4-4db4-8b5f-7ecdbb188e69
diff --git a/features/support/env.rb b/features/support/env.rb index abc1234..def5678 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1,3 +1,5 @@+require 'vim-flavor' + class FakeUserEnvironment def create_file virtual_path, content File.open(expand(virtual_path), 'w') do |f|
Load vim-flavor before running tests
diff --git a/lib/rbplusplus/builders/allocation_strategy.rb b/lib/rbplusplus/builders/allocation_strategy.rb index abc1234..def5678 100644 --- a/lib/rbplusplus/builders/allocation_strategy.rb +++ b/lib/rbplusplus/builders/allocation_strategy.rb @@ -20,13 +20,13 @@ end def write - includes << "#inc...
Update allocation strategies with updated Rice API
diff --git a/lib/vagrant-cloudstack/action/stop_instance.rb b/lib/vagrant-cloudstack/action/stop_instance.rb index abc1234..def5678 100644 --- a/lib/vagrant-cloudstack/action/stop_instance.rb +++ b/lib/vagrant-cloudstack/action/stop_instance.rb @@ -17,7 +17,7 @@ env[:ui].info(I18n.t("vagrant_cloudstack.alre...
Fix Fog deprecation for stop call [fog][DEPRECATION] Passing force as a boolean option has been deprecated. Please pass a hash with 'force' => (true|false)
diff --git a/app/grid.rb b/app/grid.rb index abc1234..def5678 100644 --- a/app/grid.rb +++ b/app/grid.rb @@ -4,28 +4,43 @@ def initialize @cells = LooplessArray.new end + # - def living_neighbor_cells(x, y) - @x = x - @y = y - neighbors.compact().rmap(&:status).reduce(:+) + def each_cell_count(&...
Implement each cell with count
diff --git a/lib/puppet/provider/network_command_ssh/ce.rb b/lib/puppet/provider/network_command_ssh/ce.rb index abc1234..def5678 100644 --- a/lib/puppet/provider/network_command_ssh/ce.rb +++ b/lib/puppet/provider/network_command_ssh/ce.rb @@ -31,7 +31,7 @@ def flush return unless exists? - Puppet::NetDev:...
Add description of LICENSE and Modify
diff --git a/lib/rspec/rails/example/cell_example_group.rb b/lib/rspec/rails/example/cell_example_group.rb index abc1234..def5678 100644 --- a/lib/rspec/rails/example/cell_example_group.rb +++ b/lib/rspec/rails/example/cell_example_group.rb @@ -7,14 +7,13 @@ include RSpec::Rails::RailsExampleGroup include Cell...
Make it work with rspec-rails 2.6
diff --git a/lib/coffeelint/config.rb b/lib/coffeelint/config.rb index abc1234..def5678 100644 --- a/lib/coffeelint/config.rb +++ b/lib/coffeelint/config.rb @@ -7,8 +7,8 @@ locations = default_locations # handle environment variables - locations << ENV['COFFEELINT_CONFIG'] if ENV['COFFEELINT_CONFIG'...
Use Array methods to modify locations
diff --git a/features/support/env.rb b/features/support/env.rb index abc1234..def5678 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1 +1,9 @@+#!/usr/bin/env ruby + +$: << File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib')) + require 'cucumber/nagios/steps' + +World do + Web...
Load up Webrat into World. Put the bundled cucumber/nagios/steps on the load path
diff --git a/features/step_definitions/repository_steps.rb b/features/step_definitions/repository_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/repository_steps.rb +++ b/features/step_definitions/repository_steps.rb @@ -0,0 +1,5 @@+When(/^I enter the Git URL of a public repository$/) do + visi...
Add step for entering a repository URL
diff --git a/recipes/postgres_user.rb b/recipes/postgres_user.rb index abc1234..def5678 100644 --- a/recipes/postgres_user.rb +++ b/recipes/postgres_user.rb @@ -11,16 +11,20 @@ if @configs.key?("activerecord") && @configs["activerecord"].key?('database') @chosen_database = @configs["activerecord"]['database']; ...
Add rescue block to PostgreSQL user creation
diff --git a/lib/app.rb b/lib/app.rb index abc1234..def5678 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -27,7 +27,7 @@ end error 500 do - Bugsnag.auto_notify($ERROR_INFO) + Bugsnag.auto_notify($ERROR_INFO, nil, request) msg = "So sorry! We've been notified of the error and will investigate."...
Add more information to bugsnag errors
diff --git a/lib/calvin/evaluator.rb b/lib/calvin/evaluator.rb index abc1234..def5678 100644 --- a/lib/calvin/evaluator.rb +++ b/lib/calvin/evaluator.rb @@ -15,15 +15,15 @@ # Just return expression, for now. expression when :- - Evaluator::Helpers.negate expression + Eval...
Refactor mapping of monads, by passing lambdas into an `apply` function.
diff --git a/lib/class2/exercise4.rb b/lib/class2/exercise4.rb index abc1234..def5678 100644 --- a/lib/class2/exercise4.rb +++ b/lib/class2/exercise4.rb @@ -1,7 +1,7 @@ # 5 points # # Write a program that asks for a person's first name, then middle name, and -# then last name. Finally, it should greet the person usin...
Fix a typo with class 2 exercise 4
diff --git a/lib/dancer/factories.rb b/lib/dancer/factories.rb index abc1234..def5678 100644 --- a/lib/dancer/factories.rb +++ b/lib/dancer/factories.rb @@ -13,7 +13,7 @@ def self.extent(start_at, size, step, exclude_end = false) offset = exclude_end ? 0 : 1 - end_at = if size.negative? + end_at = if siz...
Remove method to support Ruby 2.2
diff --git a/test/integration/default/serverspec/influxdb_spec.rb b/test/integration/default/serverspec/influxdb_spec.rb index abc1234..def5678 100644 --- a/test/integration/default/serverspec/influxdb_spec.rb +++ b/test/integration/default/serverspec/influxdb_spec.rb @@ -8,11 +8,9 @@ it { should be_running } end ...
Test if the InfluxDB ports are listening
diff --git a/lib/web.rb b/lib/web.rb index abc1234..def5678 100644 --- a/lib/web.rb +++ b/lib/web.rb @@ -3,6 +3,7 @@ require_relative 'shields' DEFAULT_SUBJECT = 'maven central' +MAVEN_SEARCH_URI = 'http://search.maven.org' PROJECT_SITE = 'https://github.com/jirutka/maven-badges' configure :production do @@ -15,...
Add resource for redirect to search.maven.org
diff --git a/lib/hashery/core_ext.rb b/lib/hashery/core_ext.rb index abc1234..def5678 100644 --- a/lib/hashery/core_ext.rb +++ b/lib/hashery/core_ext.rb @@ -0,0 +1,82 @@+module Hashery + + # This module is included into Ruby's core Hash class. + # + # These method derive from Ruby Facets. + module CoreExt + + # ...
Add CoreExt module inlcuded in Hash.
diff --git a/lib/rfreeimage/image.rb b/lib/rfreeimage/image.rb index abc1234..def5678 100644 --- a/lib/rfreeimage/image.rb +++ b/lib/rfreeimage/image.rb @@ -33,6 +33,17 @@ to_bpp 8 end + def bgra? + bpp == ImageBPP::BGRA + end + + def to_bgra + return self if bgra? + to_bpp 32 + end + + alias_metho...
Add methods for rmagick compatability
diff --git a/plugins/guests/freebsd/cap/mount_nfs_folder.rb b/plugins/guests/freebsd/cap/mount_nfs_folder.rb index abc1234..def5678 100644 --- a/plugins/guests/freebsd/cap/mount_nfs_folder.rb +++ b/plugins/guests/freebsd/cap/mount_nfs_folder.rb @@ -8,6 +8,8 @@ nfs_version_mount_option="-o nfsv#{opts[:nfs_...
Add back creation of mount point Accidentally removed in ad4b30dd
diff --git a/ASCFlatUIColor.podspec b/ASCFlatUIColor.podspec index abc1234..def5678 100644 --- a/ASCFlatUIColor.podspec +++ b/ASCFlatUIColor.podspec @@ -3,8 +3,7 @@ s.version = "0.1.0" s.summary = "A collection of all Flat UI Colors." s.homepage = "https://github.com/schneiderandre/ASC...
Use gif as podspec screenshot.
diff --git a/test/bench/client_integration/write_batch.rb b/test/bench/client_integration/write_batch.rb index abc1234..def5678 100644 --- a/test/bench/client_integration/write_batch.rb +++ b/test/bench/client_integration/write_batch.rb @@ -30,10 +30,12 @@ 2.times do |i| i += 1 - event_data = eval("read_dat...
Update tests to expect event data with Symbol keys
diff --git a/Casks/appcleaner.rb b/Casks/appcleaner.rb index abc1234..def5678 100644 --- a/Casks/appcleaner.rb +++ b/Casks/appcleaner.rb @@ -2,6 +2,6 @@ url 'http://www.freemacsoft.net/downloads/AppCleaner_2.2.1.zip' homepage 'http://www.freemacsoft.net/appcleaner/' version '2.2.1' - sha1 'd52dfbed9903799d2175...
Switch AppCleaner to no checksum #2160 #2158
diff --git a/FWTDragView.podspec b/FWTDragView.podspec index abc1234..def5678 100644 --- a/FWTDragView.podspec +++ b/FWTDragView.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = "FWTDragView" - s.version = "0.2.6" + s.version = "0.2.7" s.summary = "A tinder style dr...
Fix podfile HTTPS auth not working
diff --git a/zebra-zpl.gemspec b/zebra-zpl.gemspec index abc1234..def5678 100644 --- a/zebra-zpl.gemspec +++ b/zebra-zpl.gemspec @@ -1,7 +1,7 @@ # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'lib/zebra/zpl/version' +require 'zebra/zpl/versi...
Fix bad require path on gemspec
diff --git a/Casks/data-science-studio.rb b/Casks/data-science-studio.rb index abc1234..def5678 100644 --- a/Casks/data-science-studio.rb +++ b/Casks/data-science-studio.rb @@ -1,11 +1,11 @@ cask 'data-science-studio' do - version '2.0.0' - sha256 '97a2e10d14a26d337ba71170ddc5e4ad6e2b3eafe36adcd02048c7da2d402774' + ...
Update Data Science Studio to 2.2.2 and add gratis license
diff --git a/CloudMine.podspec b/CloudMine.podspec index abc1234..def5678 100644 --- a/CloudMine.podspec +++ b/CloudMine.podspec @@ -2,7 +2,7 @@ s.name = "CloudMine" s.version = "1.7.5" s.summary = "The iOS Framework for interacting with the CloudMine platform." - s.homepage = "https://cl...
Change to new doc URL for 1.7.5
diff --git a/lib/did_you_mean/no_method_error_extension.rb b/lib/did_you_mean/no_method_error_extension.rb index abc1234..def5678 100644 --- a/lib/did_you_mean/no_method_error_extension.rb +++ b/lib/did_you_mean/no_method_error_extension.rb @@ -1,6 +1,19 @@ module DidYouMean module NoMethodErrorExtension attr_r...
Exclude backtrace coming from this gem
diff --git a/lib/payments/client/operations/settlements.rb b/lib/payments/client/operations/settlements.rb index abc1234..def5678 100644 --- a/lib/payments/client/operations/settlements.rb +++ b/lib/payments/client/operations/settlements.rb @@ -12,7 +12,7 @@ include GetOperation def path - "/settl...
Update account donation transaction detail report path
diff --git a/DMCircularScrollView.podspec b/DMCircularScrollView.podspec index abc1234..def5678 100644 --- a/DMCircularScrollView.podspec +++ b/DMCircularScrollView.podspec @@ -3,9 +3,9 @@ s.version = '1.0.0' s.summary = 'Infinite/Circular Scrol...
Update podspec s.source to point to original repo
diff --git a/app/controllers/base_controller_decorator.rb b/app/controllers/base_controller_decorator.rb index abc1234..def5678 100644 --- a/app/controllers/base_controller_decorator.rb +++ b/app/controllers/base_controller_decorator.rb @@ -3,10 +3,10 @@ def save_search - suggest_on = Spree::Suggestion::Config...
Save searches by @searcher.keywords instead params
diff --git a/db/migrate/20150429184106_create_user_types.rb b/db/migrate/20150429184106_create_user_types.rb index abc1234..def5678 100644 --- a/db/migrate/20150429184106_create_user_types.rb +++ b/db/migrate/20150429184106_create_user_types.rb @@ -2,9 +2,10 @@ def change create_table :user_types do |t| t...
Add foreign key to user type table
diff --git a/db/migrate/20160104234733_create_activities.rb b/db/migrate/20160104234733_create_activities.rb index abc1234..def5678 100644 --- a/db/migrate/20160104234733_create_activities.rb +++ b/db/migrate/20160104234733_create_activities.rb @@ -3,11 +3,11 @@ # Create table def self.up create_table :activi...
Use ruby 1.9 hash syntax
diff --git a/app/controllers/people_network_controller.rb b/app/controllers/people_network_controller.rb index abc1234..def5678 100644 --- a/app/controllers/people_network_controller.rb +++ b/app/controllers/people_network_controller.rb @@ -5,6 +5,7 @@ def destroy @people_network = PeopleNetwork.find(params[:id]...
Save to event log if relationship broken
diff --git a/app/presenters/event_presenter/push_event.rb b/app/presenters/event_presenter/push_event.rb index abc1234..def5678 100644 --- a/app/presenters/event_presenter/push_event.rb +++ b/app/presenters/event_presenter/push_event.rb @@ -4,6 +4,14 @@ def action action_for_event(:event_pushed, :link => r...
Return blank body for push events with no commits
diff --git a/test/support/test_case.rb b/test/support/test_case.rb index abc1234..def5678 100644 --- a/test/support/test_case.rb +++ b/test/support/test_case.rb @@ -14,6 +14,7 @@ Byebug.handler = Byebug::CommandProcessor.new(Byebug::TestInterface.new) Byebug.breakpoints.clear if Byebug.breakpoints B...
Make sure .byebugrc's don't interfere with tests
diff --git a/cookbooks/chef/attributes/default.rb b/cookbooks/chef/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/chef/attributes/default.rb +++ b/cookbooks/chef/attributes/default.rb @@ -5,7 +5,7 @@ default[:chef][:server][:version] = "12.0.8-1" # Set the default client version -default[:chef][...
Update chef client to 12.4.2
diff --git a/cookbooks/chef/attributes/default.rb b/cookbooks/chef/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/chef/attributes/default.rb +++ b/cookbooks/chef/attributes/default.rb @@ -5,4 +5,4 @@ default[:chef][:server][:version] = "12.9.1-1" # Set the default client version -default[:chef][...
Update chef client to 12.17.44
diff --git a/BHCDatabase/app/controllers/initiatives_controller.rb b/BHCDatabase/app/controllers/initiatives_controller.rb index abc1234..def5678 100644 --- a/BHCDatabase/app/controllers/initiatives_controller.rb +++ b/BHCDatabase/app/controllers/initiatives_controller.rb @@ -39,5 +39,10 @@ end column(:location, :...
Add area field to initative table.
diff --git a/Casks/coda.rb b/Casks/coda.rb index abc1234..def5678 100644 --- a/Casks/coda.rb +++ b/Casks/coda.rb @@ -6,12 +6,19 @@ appcast 'http://www.panic.com/updates/update.php' name 'Coda' homepage 'https://panic.com/Coda/' - license :unknown # todo: change license and remove this comment; ':unknown' is...
Add license, vendor and zap for Coda 2.app
diff --git a/RxAlamofire.podspec b/RxAlamofire.podspec index abc1234..def5678 100644 --- a/RxAlamofire.podspec +++ b/RxAlamofire.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'RxAlamofire' - s.version = '3.0.2' + s.version = '3.0.3' s.license = 'MIT' s.summary = 'RxSwift wrapper around the elegant ...
Update pod spec with new version
diff --git a/ChattoAdditions.podspec b/ChattoAdditions.podspec index abc1234..def5678 100644 --- a/ChattoAdditions.podspec +++ b/ChattoAdditions.podspec @@ -16,5 +16,5 @@ s.requires_arc = true s.swift_version = '5.3' s.resources = ["ChattoAdditions/Source/**/*.xib", "ChattoAdditions/Source/**/*.storyboard", "Ch...
Add Chatto version in spec declaration
diff --git a/rb/lib/selenium/webdriver/android/bridge.rb b/rb/lib/selenium/webdriver/android/bridge.rb index abc1234..def5678 100644 --- a/rb/lib/selenium/webdriver/android/bridge.rb +++ b/rb/lib/selenium/webdriver/android/bridge.rb @@ -3,7 +3,7 @@ module Android class Bridge < Remote::Bridge - DEFA...
JariBakken: Fix default URL in the Ruby Android driver. git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@13650 07704840-8298-11de-bf8c-fd130f914ac9
diff --git a/request.rb b/request.rb index abc1234..def5678 100644 --- a/request.rb +++ b/request.rb @@ -32,7 +32,7 @@ # Will need to study the 'recv' method more carefully to figure out why I need to specify the content_length instead of trying to # read everything, line by line def extract_content(client, conten...
Implement 'recv_nonblock' instead of recv This solves Issue #4.
diff --git a/db/seeds/demo/demo_educator.seeds.rb b/db/seeds/demo/demo_educator.seeds.rb index abc1234..def5678 100644 --- a/db/seeds/demo/demo_educator.seeds.rb +++ b/db/seeds/demo/demo_educator.seeds.rb @@ -4,9 +4,11 @@ Educator.create!([{ email: "demo@example.com", password: "demo-password", + local_id: '350'...
Update demo task to respect newly added validation for local_id
diff --git a/robot_name/robot_name.rb b/robot_name/robot_name.rb index abc1234..def5678 100644 --- a/robot_name/robot_name.rb +++ b/robot_name/robot_name.rb @@ -9,15 +9,7 @@ def initialize(args = {}) @@registry ||= [] @name_generator = args[:name_generator] - - if @name_generator - @name = @name_gen...
Move name generation code out of initialize There is still a part of this that I don't like. It seems that the generate_name method should handle the naming errors. However, the bouncer methods currently depend on the @name instance variable being set. I see two alternatives: (1) change bouncer methods to use a passed...
diff --git a/features/step_definitions/audit_trail_steps.rb b/features/step_definitions/audit_trail_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/audit_trail_steps.rb +++ b/features/step_definitions/audit_trail_steps.rb @@ -4,7 +4,7 @@ assert page.has_content?('An frequently changed publicati...
Fix broken Audit Trail feature test
diff --git a/box_score.rb b/box_score.rb index abc1234..def5678 100644 --- a/box_score.rb +++ b/box_score.rb @@ -8,7 +8,7 @@ BS_URI = "http://scores.espn.go.com/nba/gamecast12/master?xhr=1&gameId=%s&lang=en&init=true&setType=true&confId=null" def initialize (gid) - json = JSON.parse(open(BS_URI % gid.to_s).re...
Remove non-printable characters from JSON string
diff --git a/spec/javascripts/support/jasmine_helper.rb b/spec/javascripts/support/jasmine_helper.rb index abc1234..def5678 100644 --- a/spec/javascripts/support/jasmine_helper.rb +++ b/spec/javascripts/support/jasmine_helper.rb @@ -1,5 +1,10 @@ #Use this file to set/override Jasmine configuration options +#You can rem...
Allow PhantomJS to be auto-installed again The [phantomjs gem] can automatically install PhantomJS if it isn't already available on the system. This functionality was disabled in commit b938bff6f76bc23232b523e0d2a688d34b9d6e22. This was done for security reasons – because at the time, the gem would auto-install from ...
diff --git a/Library/Formula/p0f.rb b/Library/Formula/p0f.rb index abc1234..def5678 100644 --- a/Library/Formula/p0f.rb +++ b/Library/Formula/p0f.rb @@ -6,7 +6,7 @@ sha1 'ae2c4fbcddf2a5ced33abd81992405b93207e7c8' def install - inreplace 'config.h', 'p0f.fp', "#{etc}/p0f/p0f.fp" + inreplace "config.h", "p0f...
Use double-quotes on lines w/ string interpolation
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -5,14 +5,17 @@ def call(env) status, headers, response = @file_server.call(env) if status == 404 - if env["PATH_INFO"] == "/" + ori_path = env["PATH_INFO"] + if ori_path == "/" ...
B: Fix posts/index.html is not found
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -2,5 +2,6 @@ use Rack::Session::Cookie use Rack::ShowExceptions +use Rack::Static, :urls => [ '/favicon.ico', '/css' ], :root => "public" run Application
Use the Rack::Static middleware for serving the static public folder.
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -10,7 +10,7 @@ config.ignore << "Sinatra::NotFound" end -use Honeybadger::Rack +use Honeybadger::Rack::ErrorNotifier require './no_phone' configure { set :server, :puma }
Use newer Honeybadger middleware Old one is deprecated.
diff --git a/app/controllers/devices/computers_controller.rb b/app/controllers/devices/computers_controller.rb index abc1234..def5678 100644 --- a/app/controllers/devices/computers_controller.rb +++ b/app/controllers/devices/computers_controller.rb @@ -5,8 +5,7 @@ def new @computer = Computer.new - pu...
Make the autofill of the mac address work with proxies
diff --git a/dpl-cloud_files.gemspec b/dpl-cloud_files.gemspec index abc1234..def5678 100644 --- a/dpl-cloud_files.gemspec +++ b/dpl-cloud_files.gemspec @@ -1,7 +1,3 @@ require './gemspec_helper' -if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.3.0") - gemspec_for 'cloud_files', [['net-ssh'], ['mime-types'],...
Fix cloud_files gemspec: nokogiri < 1.10
diff --git a/recipes/google-chrome.rb b/recipes/google-chrome.rb index abc1234..def5678 100644 --- a/recipes/google-chrome.rb +++ b/recipes/google-chrome.rb @@ -9,6 +9,7 @@ apt_repository 'google-chrome-unstable' do uri 'http://dl.google.com/linux/chrome/deb/' + arch 'amd64' components ['stable', 'main'] ke...
Update google chrome repo to be amd64-only
diff --git a/lib/identity/importer/tasks/civicrm/members.rb b/lib/identity/importer/tasks/civicrm/members.rb index abc1234..def5678 100644 --- a/lib/identity/importer/tasks/civicrm/members.rb +++ b/lib/identity/importer/tasks/civicrm/members.rb @@ -8,7 +8,7 @@ def self.sql(sync_since=nil) if sy...
Fix passing datetime param to sql
diff --git a/lib/rails_soft_deletable/rails/associations.rb b/lib/rails_soft_deletable/rails/associations.rb index abc1234..def5678 100644 --- a/lib/rails_soft_deletable/rails/associations.rb +++ b/lib/rails_soft_deletable/rails/associations.rb @@ -5,15 +5,17 @@ extend ActiveSupport::Concern included do - ...
Use alias_method_chain instead of reimplementing method
diff --git a/spec/perf/size_spec.rb b/spec/perf/size_spec.rb index abc1234..def5678 100644 --- a/spec/perf/size_spec.rb +++ b/spec/perf/size_spec.rb @@ -6,19 +6,19 @@ RSpec.describe TTY::Screen, ".size" do include RSpec::Benchmark::Matchers - it "detectes size 15x slower than io-console" do + it "detectes size 1...
Change perf tests to new boundaries
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -3,9 +3,16 @@ require 'word_bunny' get '/' do + @sample_text_title = "Example: President Duterte's State of the Nation Address 2017" + @speech = File.read('./SONA2017.txt') + @results = tally! @speech + haml :index, format: :...
Add 2017 State of the Nation Address and polish markup.
diff --git a/stash_datacite.gemspec b/stash_datacite.gemspec index abc1234..def5678 100644 --- a/stash_datacite.gemspec +++ b/stash_datacite.gemspec @@ -1,24 +1,24 @@-$:.push File.expand_path("../lib", __FILE__) +$:.push File.expand_path('../lib', __FILE__) # Maintain your gem's version: -require "stash_datacite/ver...
Use single quotes for non-interpolated strings
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -11,6 +11,6 @@ private def set_raven_context - Raven.extra_context(params: params....
Raven: Use to_unsafe_h instead of to_hash whichi is deprecated. Former-commit-id: cf4f069b658e8d4c705cd0a42a8d64a8e3c0c994
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,20 @@ class ApplicationController < ActionController::Base + + before_filter :redir...
Add 301 redirect for heroku domain
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,13 +1,22 @@ class ApplicationController < ActionController::Base # Prevent CSRF attack...
Set access headers to all (todo: revert)
diff --git a/app/controllers/team_invite_controller.rb b/app/controllers/team_invite_controller.rb index abc1234..def5678 100644 --- a/app/controllers/team_invite_controller.rb +++ b/app/controllers/team_invite_controller.rb @@ -6,9 +6,9 @@ @team = current_team if @team_invite_submissions.valid? - TeamI...
Make use of current_team helper
diff --git a/app/decorators/gameye_server_decorator.rb b/app/decorators/gameye_server_decorator.rb index abc1234..def5678 100644 --- a/app/decorators/gameye_server_decorator.rb +++ b/app/decorators/gameye_server_decorator.rb @@ -21,8 +21,17 @@ end def locations - { "londen" => {name: "London", flag: "en"}, - ...
Prepare decorator for all locations
diff --git a/app/models/concerns/primary_attachment.rb b/app/models/concerns/primary_attachment.rb index abc1234..def5678 100644 --- a/app/models/concerns/primary_attachment.rb +++ b/app/models/concerns/primary_attachment.rb @@ -1,3 +1,6 @@+# +# == PrimaryAttachment Concerns +# module PrimaryAttachment extend Activ...
Add top level documentation for concerns
diff --git a/lib/patches/controller/previews_controller_patch.rb b/lib/patches/controller/previews_controller_patch.rb index abc1234..def5678 100644 --- a/lib/patches/controller/previews_controller_patch.rb +++ b/lib/patches/controller/previews_controller_patch.rb @@ -14,7 +14,7 @@ elsif @notes if Pwfmt::Con...
Fix NoMethodError on journal preview without JavaScript
diff --git a/spec/integration/arel/many_to_one_spec.rb b/spec/integration/arel/many_to_one_spec.rb index abc1234..def5678 100644 --- a/spec/integration/arel/many_to_one_spec.rb +++ b/spec/integration/arel/many_to_one_spec.rb @@ -0,0 +1,27 @@+require 'spec_helper_integration' + +describe '[Arel] Many To One with generat...
Add explicit many_to_one integration spec for arel
diff --git a/spec/resampling/hybrid_resampling_spec.rb b/spec/resampling/hybrid_resampling_spec.rb index abc1234..def5678 100644 --- a/spec/resampling/hybrid_resampling_spec.rb +++ b/spec/resampling/hybrid_resampling_spec.rb @@ -8,7 +8,7 @@ sample_rate = 400 test_freq = 10.0 size = 64 - upsampl...
Fix typo in commented code.
diff --git a/lib/livereload-rails.rb b/lib/livereload-rails.rb index abc1234..def5678 100644 --- a/lib/livereload-rails.rb +++ b/lib/livereload-rails.rb @@ -7,4 +7,5 @@ require "livereload-rails/engine" if defined?(Rails) module Livereload + class Error < StandardError; end end
Add a specific error class.
diff --git a/lib/nehm/http_client.rb b/lib/nehm/http_client.rb index abc1234..def5678 100644 --- a/lib/nehm/http_client.rb +++ b/lib/nehm/http_client.rb @@ -34,7 +34,7 @@ end if response['status'] =~ /302/ - get_hash(response['location']) + get_hash(URI(response['location'])) end ...
Fix 'undefined method `hostname' for String'
diff --git a/lib/rigor/middleware.rb b/lib/rigor/middleware.rb index abc1234..def5678 100644 --- a/lib/rigor/middleware.rb +++ b/lib/rigor/middleware.rb @@ -15,11 +15,11 @@ session_id = request.cookies['rigor.session_id'] || Digest::SHA256.hexdigest(rand.to_s) session = Rigor::Middleware::Session.new(sessi...
Fix handling of the subject - treatments should stick now
diff --git a/lib/ruby/cabar/error.rb b/lib/ruby/cabar/error.rb index abc1234..def5678 100644 --- a/lib/ruby/cabar/error.rb +++ b/lib/ruby/cabar/error.rb @@ -10,8 +10,8 @@ msg = [ ] msg << Cabar.yaml_header(:error) msg << " message: #{err.inspect.inspect}" - msg << " backtrace: " if...
Print backtrace: only if err responds to it. git-svn-id: 55dab261027a0615fa60e6fe1b42a29d056462f7@84 3b289f47-807e-410a-85af-7ee1d5ead6e2
diff --git a/lib/tasks/teaspoon.rake b/lib/tasks/teaspoon.rake index abc1234..def5678 100644 --- a/lib/tasks/teaspoon.rake +++ b/lib/tasks/teaspoon.rake @@ -9,5 +9,7 @@ driver_options: ENV["driver_options"], } + options.delete_if { |k, v| v.nil? } + abort("rake teaspoon failed") if Teaspoon::Console.new(op...
Remove rake args that don't have a value Fixes #413
diff --git a/lib/twat/actions/add.rb b/lib/twat/actions/add.rb index abc1234..def5678 100644 --- a/lib/twat/actions/add.rb +++ b/lib/twat/actions/add.rb @@ -15,7 +15,7 @@ oauth = OAuth::Consumer.new( v[0], v[1], oauth_options ) token_request = oauth.get_request_token() - puts "Please authenticate th...
Make link to auth clickable
diff --git a/config/initializers/forbid_sidekiq_in_transactions.rb b/config/initializers/forbid_sidekiq_in_transactions.rb index abc1234..def5678 100644 --- a/config/initializers/forbid_sidekiq_in_transactions.rb +++ b/config/initializers/forbid_sidekiq_in_transactions.rb @@ -1,22 +1,24 @@ module Sidekiq module Work...
Allow scheduling from after_commit hooks
diff --git a/lib/invenio/reviewer.rb b/lib/invenio/reviewer.rb index abc1234..def5678 100644 --- a/lib/invenio/reviewer.rb +++ b/lib/invenio/reviewer.rb @@ -0,0 +1,23 @@+module Invenio + class Reviewer + + attr_reader :client, :pull_requests + + def self.run + reviewer = new + reviewer.fetch + rev...
Add Reviewer so Invenio can fetch and review Pull Requests
diff --git a/lib/json/merge_patch.rb b/lib/json/merge_patch.rb index abc1234..def5678 100644 --- a/lib/json/merge_patch.rb +++ b/lib/json/merge_patch.rb @@ -18,10 +18,19 @@ if merge_patch.is_a? Hash document.merge!(merge_patch) - document.delete_if {|k, v| v.nil? } + document.delete_if(&method(:r...
Implement a basic recursive_delete_if that passes the failing test.
diff --git a/lib/mtgox/connection.rb b/lib/mtgox/connection.rb index abc1234..def5678 100644 --- a/lib/mtgox/connection.rb +++ b/lib/mtgox/connection.rb @@ -1,4 +1,5 @@ require 'faraday_middleware' +require 'mtgox/version' module MtGox module Connection @@ -6,9 +7,11 @@ def connection options = { + ...
Add version to user agent
diff --git a/lib/tasks/ckeditor.rake b/lib/tasks/ckeditor.rake index abc1234..def5678 100644 --- a/lib/tasks/ckeditor.rake +++ b/lib/tasks/ckeditor.rake @@ -16,6 +16,7 @@ copy_assets(/ckeditor\/styles.js/) copy_assets(/ckeditor\/skins\/moono\/.+png/) copy_assets(/ckeditor\/skins\/moono\/.+css/) + copy_...
Add plugins to asset copying
diff --git a/spec/shared/presenters/tree_node/common.rb b/spec/shared/presenters/tree_node/common.rb index abc1234..def5678 100644 --- a/spec/shared/presenters/tree_node/common.rb +++ b/spec/shared/presenters/tree_node/common.rb @@ -10,6 +10,14 @@ describe '#image' do it "returns with #{image}" do expect(...
Add a spec shared_example for testing TreeNode:: icons
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index abc1234..def5678 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,6 +1,4 @@ class HomeController < ApplicationController - - decorates_assigned :directory_categories, with: CategoryD...
Remove forgotten decorates_assigned call in HomeController.
diff --git a/db/migrations/20161121185614_create_tasks.rb b/db/migrations/20161121185614_create_tasks.rb index abc1234..def5678 100644 --- a/db/migrations/20161121185614_create_tasks.rb +++ b/db/migrations/20161121185614_create_tasks.rb @@ -5,6 +5,7 @@ column :title, String column :body, String,...
Add new column for task model
diff --git a/app/services/action/user/signin.rb b/app/services/action/user/signin.rb index abc1234..def5678 100644 --- a/app/services/action/user/signin.rb +++ b/app/services/action/user/signin.rb @@ -32,6 +32,9 @@ def find_or_create_user(auth) user = ::User.find_or_create_with_omniauth(auth) us...
Update GitHub user information on sign in
diff --git a/Library/Formula/clay.rb b/Library/Formula/clay.rb index abc1234..def5678 100644 --- a/Library/Formula/clay.rb +++ b/Library/Formula/clay.rb @@ -1,8 +1,8 @@ require 'formula' class Clay < Formula - url 'http://tachyon.in/clay/binaries/clay-macosx-2011.04.18.zip' - homepage 'http://claylanguage.org' + ...
Clay: Use current binary and homepage URLs The Clay homepage has moved to http://claylabs.com/clay/. The claylanguage.org hostname still redirects to the old site, so that should be changed as well. Closes #8935. Signed-off-by: Charlie Sharpsteen <828d338a9b04221c9cbe286f50cd389f68de4ecf@sharpsteen.net>
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index abc1234..def5678 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -5,7 +5,7 @@ end def available?(event) - event.owner == nil + event.owner == nil && event.pending end end
Remove events from the events index if they are booked
diff --git a/app/models/arcade_machine.rb b/app/models/arcade_machine.rb index abc1234..def5678 100644 --- a/app/models/arcade_machine.rb +++ b/app/models/arcade_machine.rb @@ -37,7 +37,8 @@ def as_json(opts = {}) super(opts).merge({ latitude: location.latitude, - longitude: location.longitude + ...
Add location to ArcadeMachine json.
diff --git a/app/models/dto_collection.rb b/app/models/dto_collection.rb index abc1234..def5678 100644 --- a/app/models/dto_collection.rb +++ b/app/models/dto_collection.rb @@ -28,6 +28,7 @@ end def find(manager_uuid) + raise "Trying to find #{manager_uuid} in a non saved DtoCollection #{self}" unless saved? ...
Allow for find only in saved DtoCollection Allow for find only in saved DtoCollection
diff --git a/app/views/topics/show.atom.builder b/app/views/topics/show.atom.builder index abc1234..def5678 100644 --- a/app/views/topics/show.atom.builder +++ b/app/views/topics/show.atom.builder @@ -13,7 +13,7 @@ #entry.updated(msg.updated_at.strftime("%Y-%m-%dT%H:%M:%SZ")) entry.author do |author| - ...
Fix use of login when no user associated
diff --git a/app/workers/extract_extension_version_worker.rb b/app/workers/extract_extension_version_worker.rb index abc1234..def5678 100644 --- a/app/workers/extract_extension_version_worker.rb +++ b/app/workers/extract_extension_version_worker.rb @@ -46,7 +46,7 @@ return body, ext rescue Octokit::NotFound - ...
Update default missing README text
diff --git a/Framezilla.podspec b/Framezilla.podspec index abc1234..def5678 100644 --- a/Framezilla.podspec +++ b/Framezilla.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "Framezilla" - spec.version = "2.5.0" + spec.version = "2.6.0" spec.summary = "Comfortab...
Change the podspec version -> 2.6.0
diff --git a/app/controllers/saml_controller.rb b/app/controllers/saml_controller.rb index abc1234..def5678 100644 --- a/app/controllers/saml_controller.rb +++ b/app/controllers/saml_controller.rb @@ -9,7 +9,7 @@ end def request_post - x_forwarded_for = headers.fetch("X-Forwarded-For", UNDETERMINED_IP) + x...
3321: Fix getting principal IP from headers Authors: 72d0743fa974f1b94d0389ab43a06cc7eebf90ac@chrisholmes
diff --git a/simple_datatable.gemspec b/simple_datatable.gemspec index abc1234..def5678 100644 --- a/simple_datatable.gemspec +++ b/simple_datatable.gemspec @@ -9,9 +9,9 @@ s.version = SimpleDatatable::VERSION s.authors = ["An Cao"] s.email = ["ancv.it@gmail.com"] - s.homepage = "TODO" - s.su...
Update gemspec file: homepage, summary and description
diff --git a/lib/buildbox/result.rb b/lib/buildbox/result.rb index abc1234..def5678 100644 --- a/lib/buildbox/result.rb +++ b/lib/buildbox/result.rb @@ -23,11 +23,11 @@ end def append(chunk) - @output += chunk + @output += Buildbox::UTF8.clean(chunk) end def output - Buildbox::UTF8...
Clean up utf8 as we go.
diff --git a/lib/doccy/documents.rb b/lib/doccy/documents.rb index abc1234..def5678 100644 --- a/lib/doccy/documents.rb +++ b/lib/doccy/documents.rb @@ -3,7 +3,8 @@ class Documents def self.create(auth_token, template_id, document_params) - options = { query: { auth_token: auth_token, document: docume...
Fix issue with 414 error when posting to create a document
diff --git a/app/models/metrics/link_checker.rb b/app/models/metrics/link_checker.rb index abc1234..def5678 100644 --- a/app/models/metrics/link_checker.rb +++ b/app/models/metrics/link_checker.rb @@ -0,0 +1,24 @@+require 'typhoeus' + +module Metrics + + class LinkChecker < Metric + attr_reader :score + + def in...
Create Link Checker metric class with initializer Similar to the Accuracy metric I have added code for the Link Checker metric initializer. Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>