diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/chess_consts.rb b/chess_consts.rb index abc1234..def5678 100644 --- a/chess_consts.rb +++ b/chess_consts.rb @@ -0,0 +1,14 @@+module Chess + W_KING = "\u2654" + W_QUEEN = "\u2655" + W_ROOK = "\u2656" + W_BISHOP = "\u2657" + W_KNIGHT = "\u2658" + W_PAWN = "\u2659" + B_KING = "\u...
Add constants for Unicode symbols
diff --git a/app/controllers/admin/application_controller.rb b/app/controllers/admin/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/admin/application_controller.rb +++ b/app/controllers/admin/application_controller.rb @@ -1,6 +1,6 @@ class Admin::ApplicationController < ActionController::...
Fix for namespace issue, causes occasionally problems with rails missing constants: Admin is not missing constant DefaultActions! (ArgumentError)
diff --git a/app/controllers/api/v1/activities_controller.rb b/app/controllers/api/v1/activities_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/activities_controller.rb +++ b/app/controllers/api/v1/activities_controller.rb @@ -12,7 +12,7 @@ private def render_rubygems(versions) - rub...
Include gem_downloads to remove n+1 for versions.downloads_count
diff --git a/app/models/carto/helpers/data_import_commons.rb b/app/models/carto/helpers/data_import_commons.rb index abc1234..def5678 100644 --- a/app/models/carto/helpers/data_import_commons.rb +++ b/app/models/carto/helpers/data_import_commons.rb @@ -4,12 +4,14 @@ module Carto module DataImportCommons + GENER...
Use constant for special error code
diff --git a/app/models/spree/app_configuration_decorator.rb b/app/models/spree/app_configuration_decorator.rb index abc1234..def5678 100644 --- a/app/models/spree/app_configuration_decorator.rb +++ b/app/models/spree/app_configuration_decorator.rb @@ -1,3 +1,3 @@ Spree::AppConfiguration.class_eval do - preference :us...
Change preference type from float to decimal Fixes #57
diff --git a/lib/generators/sunrise/templates/models/mongoid/structure.rb b/lib/generators/sunrise/templates/models/mongoid/structure.rb index abc1234..def5678 100644 --- a/lib/generators/sunrise/templates/models/mongoid/structure.rb +++ b/lib/generators/sunrise/templates/models/mongoid/structure.rb @@ -9,13 +9,13 @@ ...
Rename columns for mongoid orm
diff --git a/lib/rr/adapters/test_unit_1.rb b/lib/rr/adapters/test_unit_1.rb index abc1234..def5678 100644 --- a/lib/rr/adapters/test_unit_1.rb +++ b/lib/rr/adapters/test_unit_1.rb @@ -34,7 +34,9 @@ alias_method :teardown_without_rr, :teardown def teardown_with_rr RR.verify + ...
Fix Test::Unit adapters to ensure teardown is run if RR.verify borks
diff --git a/config/environments/development.rb b/config/environments/development.rb index abc1234..def5678 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -11,7 +11,6 @@ # Show full error reports and disable caching config.consider_all_requests_local = true - c...
Remove debug RJS as recommended in RC
diff --git a/lib/tasks/stagehand_tasks.rake b/lib/tasks/stagehand_tasks.rake index abc1234..def5678 100644 --- a/lib/tasks/stagehand_tasks.rake +++ b/lib/tasks/stagehand_tasks.rake @@ -1,7 +1,8 @@ namespace :stagehand do desc "Polls the commit entries table for changes to sync to production" task :auto_sync, [:de...
Fix error due to calling sleep with a string. args come in off the command line as strings. We need to turn them into integers before passing them to `sleep`.
diff --git a/lib/gluer/registration.rb b/lib/gluer/registration.rb index abc1234..def5678 100644 --- a/lib/gluer/registration.rb +++ b/lib/gluer/registration.rb @@ -13,18 +13,23 @@ end def commit - commit_hook.call(registry, context, *args, &block) - committed + registry.tap do |registry| + ...
Rollback should happen in the same registry that received commit
diff --git a/lib/httpalooza/request.rb b/lib/httpalooza/request.rb index abc1234..def5678 100644 --- a/lib/httpalooza/request.rb +++ b/lib/httpalooza/request.rb @@ -1,5 +1,7 @@ module HTTPalooza class Request + STANDARD_METHODS = [:get, :post, :put, :patch, :delete, :options, :head] + attr_reader :url, :meth...
Add HTTP verb predicates to Request
diff --git a/core/kernel/__dir___spec.rb b/core/kernel/__dir___spec.rb index abc1234..def5678 100644 --- a/core/kernel/__dir___spec.rb +++ b/core/kernel/__dir___spec.rb @@ -12,7 +12,7 @@ end end - ruby_version_is ""..."2.7" do + ruby_version_is ""..."2.8" do context "when used in eval with top level bin...
Fix version guard in __dir__ spec
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,6 @@ # Redirects get "/releases/2016/12/12/new-backend", to: redirect('/blogs/2016/12/12/new-backend') - get "/login", to: 'login_page#index' # S...
Delete /login for now; implement it later
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,8 +1,7 @@ Fox::Application.routes.draw do - resources :posts + resources :posts, :as => :p - match 'p/:id' => 'posts#show', :as => :p match '/help' => 'posts#help', :as => :help ...
Make real alias for posts resources To have shorter urls for posts, we add an alias for posts to it.
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,6 +8,7 @@ resources :employees do resources :timesheets + resources :activities end resources :people do
Add nested resource definition to employees.
diff --git a/connpass.gemspec b/connpass.gemspec index abc1234..def5678 100644 --- a/connpass.gemspec +++ b/connpass.gemspec @@ -21,6 +21,7 @@ spec.required_ruby_version = '>= 1.9.3' spec.add_dependency "hashie" spec.add_development_dependency "bundler" + spec.add_development_dependency "minitest" spec.add_...
Add minitest to development dependency Now, minitest is gemified (not included in ruby-core) ``` $ bundle exec rake test /Users/sue445/.rbenv/versions/3.0.3/bin/ruby -w -I"lib" /Users/sue445/workspace/github.com/deeeki/connpass/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "spec/connpass_spec...
diff --git a/resources/chef-repo/site-cookbooks/cloudconductor_init/recipes/default.rb b/resources/chef-repo/site-cookbooks/cloudconductor_init/recipes/default.rb index abc1234..def5678 100644 --- a/resources/chef-repo/site-cookbooks/cloudconductor_init/recipes/default.rb +++ b/resources/chef-repo/site-cookbooks/cloudc...
Add resouce 70-persistent-net.rules to correct device names.
diff --git a/lib/panther/authorizer.rb b/lib/panther/authorizer.rb index abc1234..def5678 100644 --- a/lib/panther/authorizer.rb +++ b/lib/panther/authorizer.rb @@ -19,7 +19,7 @@ ) unless authorize( model: model, params: params, - operation: operation.operation_name + operation: op...
Fix operation name being passed instead of operation
diff --git a/box_view.gemspec b/box_view.gemspec index abc1234..def5678 100644 --- a/box_view.gemspec +++ b/box_view.gemspec @@ -6,10 +6,10 @@ Gem::Specification.new do |spec| spec.name = "box_view" spec.version = BoxView::VERSION - spec.authors = ["reillyforshaw"] + spec.authors = ["...
Update my name, description and summary
diff --git a/lib/resync/xml_factory.rb b/lib/resync/xml_factory.rb index abc1234..def5678 100644 --- a/lib/resync/xml_factory.rb +++ b/lib/resync/xml_factory.rb @@ -19,8 +19,9 @@ def self.parse(xml:) root_element = XML.element(xml) capability = REXML::XPath.first(root_element, CAPABILITY_ATTRIBUTE).va...
Use alternate mapping when parsing sitemapindex
diff --git a/test/integration/default/serverspec/default_spec.rb b/test/integration/default/serverspec/default_spec.rb index abc1234..def5678 100644 --- a/test/integration/default/serverspec/default_spec.rb +++ b/test/integration/default/serverspec/default_spec.rb @@ -6,12 +6,41 @@ expect(package 'dsc20').to be_ins...
Add tests for cassandra user, sadly comment out test that C* is actually running.
diff --git a/Casks/mini-metro.rb b/Casks/mini-metro.rb index abc1234..def5678 100644 --- a/Casks/mini-metro.rb +++ b/Casks/mini-metro.rb @@ -1,7 +1,7 @@ class MiniMetro < Cask - url 'http://static.dinopoloclub.com/minimetro/builds/alpha11/MiniMetro-alpha11-osx.zip' + url 'http://static.dinopoloclub.com/minimetro/buil...
Update Mini Metro to alpha12
diff --git a/Casks/torbrowser.rb b/Casks/torbrowser.rb index abc1234..def5678 100644 --- a/Casks/torbrowser.rb +++ b/Casks/torbrowser.rb @@ -1,6 +1,6 @@ cask :v1 => 'torbrowser' do - version '4.0.3' - sha256 'abe638633449835e6c4f35379635d4c3a8d34337abab4503c3dad28fa6d1327c' + version '4.0.4' + sha256 'c47bcb38f75f3...
Update Tor Browser to 4.0.4.
diff --git a/examples/stream-rx.rb b/examples/stream-rx.rb index abc1234..def5678 100644 --- a/examples/stream-rx.rb +++ b/examples/stream-rx.rb @@ -7,6 +7,9 @@ uber = RUbertooth::Ubertooth.new puts "Found device: '#{uber.device.inspect}'" + +# set sweep mode +uber.set_channel 9999 puts "Waiting for data ...\n\n"...
Set sweep mode on startup
diff --git a/config/logging.rb b/config/logging.rb index abc1234..def5678 100644 --- a/config/logging.rb +++ b/config/logging.rb @@ -1,6 +1,7 @@ require "logger" -Log = LOGGER if defined?(LOGGER) -Log ||= Logger.new(STDOUT) +unless defined?(LOGGER) + LOGGER = Logger.new("/dev/null") +end ActiveRecord::Base.logger...
Fix failing specs due to LOGGER not being defined.
diff --git a/config/unicorn.rb b/config/unicorn.rb index abc1234..def5678 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -0,0 +1,7 @@+def load_file_if_exists(config, file) + config.instance_eval(File.read(file)) if File.exist?(file) +end +load_file_if_exists(self, "/etc/govuk/unicorn.rb") + +working_directo...
Increase the number of workers to 4 per box
diff --git a/changit.gemspec b/changit.gemspec index abc1234..def5678 100644 --- a/changit.gemspec +++ b/changit.gemspec @@ -4,11 +4,14 @@ Gem::Specification.new do |gem| gem.authors = ["aaooki"] gem.email = ["aaooki7@gmail.com"] - gem.description = %q{Change git config for multiple projects at...
Update description && remove tests from gem.files
diff --git a/RDHOrderedDictionary.podspec b/RDHOrderedDictionary.podspec index abc1234..def5678 100644 --- a/RDHOrderedDictionary.podspec +++ b/RDHOrderedDictionary.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'RDHOrderedDictionary' - s.version = '1.0.0' + s.version = '0.0.1' s.license = 'MIT' s...
Set podspec version to 0.0.1 for inital tests
diff --git a/consensus.gemspec b/consensus.gemspec index abc1234..def5678 100644 --- a/consensus.gemspec +++ b/consensus.gemspec @@ -8,8 +8,8 @@ spec.version = Consensus::VERSION spec.authors = ["Steve Jorgensen"] spec.email = ["stevej@stevej.name"] - spec.summary = %q{A data stransfe...
Fix typo in description in gemspec.
diff --git a/spec/dummy/config/initializers/secret_token.rb b/spec/dummy/config/initializers/secret_token.rb index abc1234..def5678 100644 --- a/spec/dummy/config/initializers/secret_token.rb +++ b/spec/dummy/config/initializers/secret_token.rb @@ -4,4 +4,6 @@ # If you change this key, all old signed cookies will becom...
Fix rails4 secret token config option.
diff --git a/spec/controllers/sessions_controller_spec.rb b/spec/controllers/sessions_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/sessions_controller_spec.rb +++ b/spec/controllers/sessions_controller_spec.rb @@ -0,0 +1,23 @@+require 'spec_helper' + +describe SessionsController do + describ...
Add Spec for SessionsController for Subscription Add a spec to test the SessionsController routing based on whether a subscription is present in the session.
diff --git a/spec/dummy/config/initializers/doorkeeper.rb b/spec/dummy/config/initializers/doorkeeper.rb index abc1234..def5678 100644 --- a/spec/dummy/config/initializers/doorkeeper.rb +++ b/spec/dummy/config/initializers/doorkeeper.rb @@ -12,4 +12,10 @@ # admin_authenticator do # Admin.find_by_id(session[:admi...
Add authorization scopes to dummy app
diff --git a/spec/metric_fu/metric_spec.rb b/spec/metric_fu/metric_spec.rb index abc1234..def5678 100644 --- a/spec/metric_fu/metric_spec.rb +++ b/spec/metric_fu/metric_spec.rb @@ -1,19 +1,25 @@ require 'spec_helper' describe MetricFu::Metric do + before do + @metric = MetricFu::Metric.get_metric(:flog) + @or...
Clean up spec with side effect.
diff --git a/event_store-messaging.gemspec b/event_store-messaging.gemspec index abc1234..def5678 100644 --- a/event_store-messaging.gemspec +++ b/event_store-messaging.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'event_store-messaging' s.summary = 'Messaging primitives for EventStore using the...
Package version increased from 0.2.0.1 to 0.2.0.2
diff --git a/app/controllers/albums.rb b/app/controllers/albums.rb index abc1234..def5678 100644 --- a/app/controllers/albums.rb +++ b/app/controllers/albums.rb @@ -18,6 +18,8 @@ @path = directory.path # Convert the path to UTF-8 if Ruby 1.9 @path.force_encoding('utf-8') if @path.respond_to?(:force_encodi...
Use album path as Album page title
diff --git a/app/models/email_setup.rb b/app/models/email_setup.rb index abc1234..def5678 100644 --- a/app/models/email_setup.rb +++ b/app/models/email_setup.rb @@ -3,7 +3,35 @@ @key = key end - def go - # do stuff + def save! + create_catch_all + write_config + end + + private + + def api + @...
Add some more to the EmailSetup process
diff --git a/config/deploy/dynamic.rb b/config/deploy/dynamic.rb index abc1234..def5678 100644 --- a/config/deploy/dynamic.rb +++ b/config/deploy/dynamic.rb @@ -9,6 +9,7 @@ set :deploy_to, ENV['DEPLOY_TO'] set :hls_dir, ENV['HLS_DIR'] set :user, ENV['USER'] +set :yarn_flags, "--#{ENV['RAILS_ENV']}" server ENV['APP_H...
Add yarn flag to capistrano
diff --git a/Casks/moneymoney.rb b/Casks/moneymoney.rb index abc1234..def5678 100644 --- a/Casks/moneymoney.rb +++ b/Casks/moneymoney.rb @@ -2,8 +2,8 @@ version :latest sha256 :no_check - url 'http://moneymoney-app.com/download/MoneyMoney.zip' - appcast 'http://moneymoney-app.com/update/appcast.xml' + url 'ht...
Fix url and appcast to use SSL in MoneyMoney Cask The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly makes it more secure and saves a HTTP round-trip.
diff --git a/Casks/parallels9.rb b/Casks/parallels9.rb index abc1234..def5678 100644 --- a/Casks/parallels9.rb +++ b/Casks/parallels9.rb @@ -0,0 +1,20 @@+class Parallels < Cask + version '9.0.24237.1028877' + sha256 'da71645ff1f0076ab5b2f8fa5eefb63bcd921e5f52161fd4dd85e6fb19ae2c57' + + url "http://download.parallels...
Move Parallels 9 to Cask versions repo
diff --git a/Casks/tower-beta.rb b/Casks/tower-beta.rb index abc1234..def5678 100644 --- a/Casks/tower-beta.rb +++ b/Casks/tower-beta.rb @@ -0,0 +1,24 @@+cask :v1 => 'tower-beta' do + version '2.2.2-281' + sha256 '83fdbb887c394ed0f76bf91c66972d28bc6d36f144c21dfd582ccb09d5e19864' + + # amazonaws.com is the official d...
Add Tower beta channel (currently v2.2.2) This commit adds the Tower beta channel to Versions. It is based on the main `tower.rb` in `homebrew-cask`, with updates for the beta appcast.
diff --git a/config/initializers/services.rb b/config/initializers/services.rb index abc1234..def5678 100644 --- a/config/initializers/services.rb +++ b/config/initializers/services.rb @@ -17,6 +17,6 @@ dashboards = YAML.load(File.read(services_yaml_path))["dashboards"] -services = dashboards.map {|properties| Serv...
Simplify service parsing by using index_by.
diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb index abc1234..def5678 100644 --- a/test/functional/application_controller_test.rb +++ b/test/functional/application_controller_test.rb @@ -5,7 +5,7 @@ setup do @request.env["devise.mapping"] = Devise.m...
Create an admin to use for dev purposes
diff --git a/actionview/lib/action_view/helpers/tags/datetime_field.rb b/actionview/lib/action_view/helpers/tags/datetime_field.rb index abc1234..def5678 100644 --- a/actionview/lib/action_view/helpers/tags/datetime_field.rb +++ b/actionview/lib/action_view/helpers/tags/datetime_field.rb @@ -14,7 +14,7 @@ priva...
Fix typo in exception class name
diff --git a/lib/juicy/helpers/url_helpers.rb b/lib/juicy/helpers/url_helpers.rb index abc1234..def5678 100644 --- a/lib/juicy/helpers/url_helpers.rb +++ b/lib/juicy/helpers/url_helpers.rb @@ -2,7 +2,7 @@ case project when String "/builds/#{project}" - when Juicy::Build + when ::Juicy::Project "/builds...
Fix incorrect type detection in helper
diff --git a/lib/authpds-nyu/session/callbacks.rb b/lib/authpds-nyu/session/callbacks.rb index abc1234..def5678 100644 --- a/lib/authpds-nyu/session/callbacks.rb +++ b/lib/authpds-nyu/session/callbacks.rb @@ -8,7 +8,7 @@ # Try to establish a PDS SSO session one time def attempt_sso? if controller....
Use true instead of "true" for the attempted sso store :department_store:.
diff --git a/examples/show_some_emoji.rb b/examples/show_some_emoji.rb index abc1234..def5678 100644 --- a/examples/show_some_emoji.rb +++ b/examples/show_some_emoji.rb @@ -1,3 +1,5 @@+# to run this, just do +# rspec -r emoji_test_love/rspec examples/show_some_emoji.rb --format EmojiTestLove::SmileyFacesFormatter desc...
Add example of how to run it to the example file
diff --git a/rails/app/controllers/feeds_controller.rb b/rails/app/controllers/feeds_controller.rb index abc1234..def5678 100644 --- a/rails/app/controllers/feeds_controller.rb +++ b/rails/app/controllers/feeds_controller.rb @@ -15,6 +15,6 @@ end def mpdream_info - @policy_member_distances = PolicyMemberDista...
Add join so we get the right number of results
diff --git a/cookbook-release.gemspec b/cookbook-release.gemspec index abc1234..def5678 100644 --- a/cookbook-release.gemspec +++ b/cookbook-release.gemspec @@ -23,7 +23,7 @@ spec.add_dependency 'highline' spec.add_dependency 'mixlib-shellout' spec.add_dependency 'chef' - spec.add_dependency 'git' + spec.add_...
Use git-ng gem (fork of git) git gem is not maintained. Change-Id: I71bb822864568ded0452e160f5df804bafb80569
diff --git a/lib/output/last_measurement_store.rb b/lib/output/last_measurement_store.rb index abc1234..def5678 100644 --- a/lib/output/last_measurement_store.rb +++ b/lib/output/last_measurement_store.rb @@ -21,7 +21,8 @@ stroom_dal: measurement.stroom_dal.to_f, stroom_piek: measurement.stroom_...
Store water value in LastMeasurementStore.
diff --git a/lib/puppet/provider/nodejs/nodenv.rb b/lib/puppet/provider/nodejs/nodenv.rb index abc1234..def5678 100644 --- a/lib/puppet/provider/nodejs/nodenv.rb +++ b/lib/puppet/provider/nodejs/nodenv.rb @@ -14,7 +14,13 @@ command << "--source" if @resource[:compile] - execute command, command_opts + if ...
Use withenv for Puppet 2.x
diff --git a/lib/stack_master/commands/outputs.rb b/lib/stack_master/commands/outputs.rb index abc1234..def5678 100644 --- a/lib/stack_master/commands/outputs.rb +++ b/lib/stack_master/commands/outputs.rb @@ -11,6 +11,7 @@ def perform if stack + tp.set :max_width, 80 tp stack.output...
Increase the maximum allowed width of output
diff --git a/decorators.gemspec b/decorators.gemspec index abc1234..def5678 100644 --- a/decorators.gemspec +++ b/decorators.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = %q{decorators} - s.version = %q{2.0.2} + s.version ...
Add support for Rails 5.1
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,7 +3,7 @@ get 'organizations/show' - resources :pages + resources :pages, except: [:index] namespace :admin do DashboardManifest::DASHBOARDS.each do |dashboard_resource|
Remove index route for pages
diff --git a/rack-chrome_frame.gemspec b/rack-chrome_frame.gemspec index abc1234..def5678 100644 --- a/rack-chrome_frame.gemspec +++ b/rack-chrome_frame.gemspec @@ -18,5 +18,6 @@ gem.add_dependency 'rack' gem.add_development_dependency 'bundler' + gem.add_development_dependency 'rake' gem.add_development_dep...
Add rake to development dependencies
diff --git a/japanese_calendar.gemspec b/japanese_calendar.gemspec index abc1234..def5678 100644 --- a/japanese_calendar.gemspec +++ b/japanese_calendar.gemspec @@ -1,4 +1,3 @@-# coding: utf-8 # frozen_string_literal: true lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(...
Remove unnecessary utf-8 encoding comment
diff --git a/refinerycms-testimonials.gemspec b/refinerycms-testimonials.gemspec index abc1234..def5678 100644 --- a/refinerycms-testimonials.gemspec +++ b/refinerycms-testimonials.gemspec @@ -12,8 +12,8 @@ s.authors = 'tsdbrown - Luke Brown- magpieuk, Lee Irving - http://www.transcendit.co.uk, Anita Graham...
Update Rails version to match Refinery
diff --git a/specs/duraction_spec.rb b/specs/duraction_spec.rb index abc1234..def5678 100644 --- a/specs/duraction_spec.rb +++ b/specs/duraction_spec.rb @@ -35,5 +35,10 @@ result.size.must_equal 1 result.first[:service].must_match /^TEST APP/ end + + it "should have a state of 'info'" do + d = RailsRiem...
Add spec for the state to default to info Check that the state is info.
diff --git a/app/services/metrics/content_distribution_metrics.rb b/app/services/metrics/content_distribution_metrics.rb index abc1234..def5678 100644 --- a/app/services/metrics/content_distribution_metrics.rb +++ b/app/services/metrics/content_distribution_metrics.rb @@ -2,7 +2,7 @@ class ContentDistributionMetrics ...
Switch around the content_tagged metrics Use level_N.content_tagged, rather than content_tagged.level_N as the former is a bit clearer.
diff --git a/ice_cube.gemspec b/ice_cube.gemspec index abc1234..def5678 100644 --- a/ice_cube.gemspec +++ b/ice_cube.gemspec @@ -19,7 +19,7 @@ s.add_development_dependency('rake') s.add_development_dependency('rspec', '~> 2.12.0') - s.add_development_dependency('activesupport', '>= 3.0.0') + s.add_development_...
Fix tests on older rubies Don't try to bring in new activesupport on versions of Ruby that don't support it
diff --git a/providers/profile.rb b/providers/profile.rb index abc1234..def5678 100644 --- a/providers/profile.rb +++ b/providers/profile.rb @@ -23,8 +23,8 @@ template new_resource.filename do variables profile: { path: new_resource.path_prepend + \ - new_resource.path + \ - new_resource.pat...
C: Align the operands of an expression spanning multiple lines.
diff --git a/qa/qa/page/admin/menu.rb b/qa/qa/page/admin/menu.rb index abc1234..def5678 100644 --- a/qa/qa/page/admin/menu.rb +++ b/qa/qa/page/admin/menu.rb @@ -3,15 +3,10 @@ module Admin class Menu < Page::Base def go_to_license - within_middle_menu { click_link 'License' } - end - ...
Fix Admin -> License selector for GitLab QA specs Closes gitlab-qa#68
diff --git a/ausalib.rb b/ausalib.rb index abc1234..def5678 100644 --- a/ausalib.rb +++ b/ausalib.rb @@ -1,6 +1,6 @@ class Ausalib < Formula - version_number = "1" + version_number = "16.3.1" desc "AarhusSubatom analysis library" homepage "https://git.kern.phys.au.dk/ausa/ausalib" url "https://git.kern.phy...
Revert tag 1 and update to 16.3.1
diff --git a/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb b/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb index abc1234..def5678 100644 --- a/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb +++ b/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb @@ -20,6 +20,10 @@ end d...
Add comment about checking for two different attributes in service_enabled?
diff --git a/flann.rb b/flann.rb index abc1234..def5678 100644 --- a/flann.rb +++ b/flann.rb @@ -2,8 +2,8 @@ class Flann < Formula homepage 'http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN' - url 'http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-1.8.2-src.zip' - sha1 '62ace1c41365dfc8ceabde1381febc5c8b71...
Update to the latest version of FLANN Fixes some bad memory [leaking](https://github.com/mariusmuja/flann/commit/b0425ef5d4d6174270f7503ddd32b1ff345bd59c) Closes #197
diff --git a/data_objects/spec/spec_helper.rb b/data_objects/spec/spec_helper.rb index abc1234..def5678 100644 --- a/data_objects/spec/spec_helper.rb +++ b/data_objects/spec/spec_helper.rb @@ -1,5 +1,5 @@ require 'rubygems' require 'spec' -require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib',...
Fix data_objects.rb reference in spec helper.
diff --git a/lib/ember-cli/build_server.rb b/lib/ember-cli/build_server.rb index abc1234..def5678 100644 --- a/lib/ember-cli/build_server.rb +++ b/lib/ember-cli/build_server.rb @@ -8,7 +8,7 @@ def start symlink_to_assets_root - + add_assets_to_precompile_list @pid = spawn(command) at_exi...
Add ember assets to precompile list
diff --git a/app/helpers/devise_helper.rb b/app/helpers/devise_helper.rb index abc1234..def5678 100644 --- a/app/helpers/devise_helper.rb +++ b/app/helpers/devise_helper.rb @@ -4,6 +4,13 @@ # Retain this method for backwards compatibility, deprecated in favour of modifying the # devise/shared/error_messages partia...
Add a deprecation warn for `DeviseHelper.devise_error_messages!` To customize the error style one should modifying the `devise/shared/error_messages` partial.
diff --git a/lib/axiom/types/object.rb b/lib/axiom/types/object.rb index abc1234..def5678 100644 --- a/lib/axiom/types/object.rb +++ b/lib/axiom/types/object.rb @@ -6,11 +6,11 @@ # Represents an object type class Object < Type accept_options :primitive, :coercion_method - primitive ::Object ...
Fix code to work with BasicObject descendants * In Ruby 1.9 BasicObject is the top-most object, and it does not have #kind_of? so we use BasicObject#=== instead.
diff --git a/lib/linkedin/api/companies.rb b/lib/linkedin/api/companies.rb index abc1234..def5678 100644 --- a/lib/linkedin/api/companies.rb +++ b/lib/linkedin/api/companies.rb @@ -21,6 +21,37 @@ execute root, opts.merge(selector: selector) end + + + # to call this, + # client.company_search ...
Add missing company search method to company api wrapper
diff --git a/lib/cocoaseeds/command.rb b/lib/cocoaseeds/command.rb index abc1234..def5678 100644 --- a/lib/cocoaseeds/command.rb +++ b/lib/cocoaseeds/command.rb @@ -1,9 +1,13 @@+require 'json' +require 'net/http' + module Seeds class Command def self.run(argv) case argv[0] when 'install' ...
Check for update before installing seeds.
diff --git a/dm-core.gemspec b/dm-core.gemspec index abc1234..def5678 100644 --- a/dm-core.gemspec +++ b/dm-core.gemspec @@ -11,7 +11,7 @@ gem.files = `git ls-files`.split("\n") gem.test_files = `git ls-files -- {spec}/*`.split("\n") - gem.extra_rdoc_files = %w[LICENSE README.rdoc] + gem.extra_rdoc_...
Update gemspec to reflect renaming to README.md
diff --git a/ffi_gen.gemspec b/ffi_gen.gemspec index abc1234..def5678 100644 --- a/ffi_gen.gemspec +++ b/ffi_gen.gemspec @@ -9,7 +9,7 @@ s.email = "mail@richard-musiol.de" s.homepage = "https://github.com/neelance/ffi_gen" - s.add_dependency "ffi", ">= 1.0.0" + s.add_dependency "ffi", "~> 1.0" s.files = Dir...
Change ffi dependency to ~> 1.0.
diff --git a/lib/sensu/plugin/check/cli.rb b/lib/sensu/plugin/check/cli.rb index abc1234..def5678 100644 --- a/lib/sensu/plugin/check/cli.rb +++ b/lib/sensu/plugin/check/cli.rb @@ -31,7 +31,7 @@ end def run - unknown "No check implemented! You should override Sensu::Check::CLI#run." + ...
Fix class name in unimplemented run method
diff --git a/docker_tools.gemspec b/docker_tools.gemspec index abc1234..def5678 100644 --- a/docker_tools.gemspec +++ b/docker_tools.gemspec @@ -18,9 +18,9 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_dependency "bundler", "~> 1.3" + spec.add_depen...
Upgrade docker-api, remove version restriction on bundler.
diff --git a/geohash.gemspec b/geohash.gemspec index abc1234..def5678 100644 --- a/geohash.gemspec +++ b/geohash.gemspec @@ -1,8 +1,6 @@-require 'lib/geohash' - Gem::Specification.new do |s| s.name = "geohash" - s.version = GeoHash::VERSION + s.version = '1.1.0' s.date = "2008-11-27" s.summary = ...
Make gemspec not rely on lib for version info
diff --git a/lib/letscert/io_plugin.rb b/lib/letscert/io_plugin.rb index abc1234..def5678 100644 --- a/lib/letscert/io_plugin.rb +++ b/lib/letscert/io_plugin.rb @@ -0,0 +1,116 @@+module LetsCert + + # Input/output plugin + class IOPlugin + + # Plugin name + # @return [String] + attr_reader :name + + # All...
Add IOPlugin, FileIOPlugin and AccountKey classes.
diff --git a/AAPLCollectionView.podspec b/AAPLCollectionView.podspec index abc1234..def5678 100644 --- a/AAPLCollectionView.podspec +++ b/AAPLCollectionView.podspec @@ -0,0 +1,17 @@+Pod::Spec.new do |spec| + spec.name = 'AAPLCollectionView' + spec.version = '0.0.1' + spec.summary = 'This is a copy of the framewo...
Add a pod spec so this can be used as a cocoa pod
diff --git a/lib/ami_manager/deployer.rb b/lib/ami_manager/deployer.rb index abc1234..def5678 100644 --- a/lib/ami_manager/deployer.rb +++ b/lib/ami_manager/deployer.rb @@ -1,7 +1,7 @@ module AmiManager class Deployer def deploy(ami_file, aws_access_key:, aws_secret_key:, ssh_key_name:) - aws_ami_id = File...
Remove newlines from AMI name
diff --git a/lib/capistrano/rsync_scm.rb b/lib/capistrano/rsync_scm.rb index abc1234..def5678 100644 --- a/lib/capistrano/rsync_scm.rb +++ b/lib/capistrano/rsync_scm.rb @@ -10,7 +10,7 @@ # The Capistrano default strategy for git. You should want to use this. module GitStrategy def check - File.exists?(Fi...
Use git ls-remote to check for remote branch existence
diff --git a/lib/cf_deployer/defaults.rb b/lib/cf_deployer/defaults.rb index abc1234..def5678 100644 --- a/lib/cf_deployer/defaults.rb +++ b/lib/cf_deployer/defaults.rb @@ -7,6 +7,5 @@ RaiseErrorForUnusedInputs = false KeepPreviousStack = true Platform = 'AWS' - Platform = 'Openstack' end end
Fix default platform to be AWS
diff --git a/spec/active_record/model_spec.rb b/spec/active_record/model_spec.rb index abc1234..def5678 100644 --- a/spec/active_record/model_spec.rb +++ b/spec/active_record/model_spec.rb @@ -11,6 +11,18 @@ it "connect to default" do expect(Item.connection.pool.spec.config[:port]).to eq 3306 + end + + descr...
Add spec write master, read slave databases
diff --git a/spec/dmm-crawler/ranking_spec.rb b/spec/dmm-crawler/ranking_spec.rb index abc1234..def5678 100644 --- a/spec/dmm-crawler/ranking_spec.rb +++ b/spec/dmm-crawler/ranking_spec.rb @@ -21,7 +21,7 @@ let(:term) { '24' } it { is_expected.not_to be_empty } - it { is_expected.to all(include(:tit...
Add a attribute for description to an example
diff --git a/spec/features/disclosure_spec.rb b/spec/features/disclosure_spec.rb index abc1234..def5678 100644 --- a/spec/features/disclosure_spec.rb +++ b/spec/features/disclosure_spec.rb @@ -35,7 +35,19 @@ click_on "Create Disclosure" expect(page).to have_content "Disclosure was successfully created" -...
Add test for disclosures index page, ensuring links to each disclosure page
diff --git a/spec/lib/resume/pdf/font_spec.rb b/spec/lib/resume/pdf/font_spec.rb index abc1234..def5678 100644 --- a/spec/lib/resume/pdf/font_spec.rb +++ b/spec/lib/resume/pdf/font_spec.rb @@ -0,0 +1,68 @@+require 'resume/pdf/font' + +module Resume + module PDF + RSpec.describe Font do + describe '.configure' ...
Add specs for font since due to the conditional of updating font families if resume font is not included in the Prawn built-ins
diff --git a/spec/optparse/subcommand_spec.rb b/spec/optparse/subcommand_spec.rb index abc1234..def5678 100644 --- a/spec/optparse/subcommand_spec.rb +++ b/spec/optparse/subcommand_spec.rb @@ -1,7 +1,7 @@ require 'optparse/subcommand' describe OptionParser do - def run(args) + def parse(args) options.parse(ar...
Rename 'run' as 'parse' to better describe its role
diff --git a/lib/spec/rails/version.rb b/lib/spec/rails/version.rb index abc1234..def5678 100644 --- a/lib/spec/rails/version.rb +++ b/lib/spec/rails/version.rb @@ -1,7 +1,7 @@ module Spec module Rails module VERSION #:nodoc: - BUILD_TIME_UTC = 20080503223441 + BUILD_TIME_UTC = 20080503234232 ...
Add before_suite and after_suite callbacks to ExampleGroupMethods and Options
diff --git a/lib/spirit/device/base.rb b/lib/spirit/device/base.rb index abc1234..def5678 100644 --- a/lib/spirit/device/base.rb +++ b/lib/spirit/device/base.rb @@ -5,6 +5,10 @@ def initialize(params = {}) @adapter = params.fetch(:adapter, default_adapter) @configuration = params.fetch(:configuration,...
Allow devices to updated by mass assigning attributes
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 @@ -2,4 +2,5 @@ # Prevent CSRF attacks by raising an exception. # For APIs, you may want t...
Include session helper in all application controllers
diff --git a/app/controllers/queue_items_controller.rb b/app/controllers/queue_items_controller.rb index abc1234..def5678 100644 --- a/app/controllers/queue_items_controller.rb +++ b/app/controllers/queue_items_controller.rb @@ -1,6 +1,7 @@ # API for Queue status data class QueueItemsController < ApplicationController...
Add raw query parameter in queue items API for debugging Raw option simply fetches and prints the raw data from SOAP API bypassing cache and all formatting.
diff --git a/lib/whatsup/collectors.rb b/lib/whatsup/collectors.rb index abc1234..def5678 100644 --- a/lib/whatsup/collectors.rb +++ b/lib/whatsup/collectors.rb @@ -16,7 +16,9 @@ rack_env: ENV['RACK_ENV'], config: { allow_concurrency: Rails.configuration.allow_concurrency, - time_zo...
Add more ruby and rails stats
diff --git a/lib/gretel/trails/stores/active_record_store.rb b/lib/gretel/trails/stores/active_record_store.rb index abc1234..def5678 100644 --- a/lib/gretel/trails/stores/active_record_store.rb +++ b/lib/gretel/trails/stores/active_record_store.rb @@ -53,6 +53,8 @@ rec.expires_at = expires_at ...
Add retry for race conditions
diff --git a/Casks/intellij-idea-eap.rb b/Casks/intellij-idea-eap.rb index abc1234..def5678 100644 --- a/Casks/intellij-idea-eap.rb +++ b/Casks/intellij-idea-eap.rb @@ -1,9 +1,9 @@ cask :v1 => 'intellij-idea-eap' do - version '139.872.1' - sha256 'f9ea80b72d0d1aa78685cda89eb6e7a1719636901957193b167fb884e40e47c4' + v...
Upgrade Intellij Idea EAP to v140.2110.5
diff --git a/Casks/omnioutliner-beta.rb b/Casks/omnioutliner-beta.rb index abc1234..def5678 100644 --- a/Casks/omnioutliner-beta.rb +++ b/Casks/omnioutliner-beta.rb @@ -1,6 +1,6 @@ cask :v1 => 'omnioutliner-beta' do - version '4.4.x-r244801' - sha256 '45b7636ef8ab3c28aad9280fdf5317b7bf2ddda559673e1ae331b4fa982438e5' ...
Update OmniOutliner Beta to version 4.4.x-r244801 This commit updates the version and sha256 stanzas.
diff --git a/lib/silencer/environment.rb b/lib/silencer/environment.rb index abc1234..def5678 100644 --- a/lib/silencer/environment.rb +++ b/lib/silencer/environment.rb @@ -1,8 +1,9 @@ module Silencer module Environment - RAILS_2_3 = /^2.3/ - RAILS_3_2 = /^3.2/ RAILS_4 = /^4/ + RAILS_5 = /^5/ + + mo...
Remove references to Rails 2 and 3
diff --git a/lib/tasks/compile_docs.rake b/lib/tasks/compile_docs.rake index abc1234..def5678 100644 --- a/lib/tasks/compile_docs.rake +++ b/lib/tasks/compile_docs.rake @@ -1,6 +1,6 @@ namespace :enki do desc "Generate AST files" - task :generate_ast do + task :generate_ast => :environment do Enki::Snowcrashe...
Load the rails environment before running rake tasks
diff --git a/example/blog.rb b/example/blog.rb index abc1234..def5678 100644 --- a/example/blog.rb +++ b/example/blog.rb @@ -12,9 +12,6 @@ belongs_to :author layout :all - - validates(:title){ presence and length :within => (3..100) } - validates(:text){ presence } save # submit design docs to CouchDB en...
Remove last traces of NotNaughty from example
diff --git a/spec/authentication_spec.rb b/spec/authentication_spec.rb index abc1234..def5678 100644 --- a/spec/authentication_spec.rb +++ b/spec/authentication_spec.rb @@ -4,9 +4,30 @@ RSpec.describe WebBouncer::Authentication do let(:action) { Action.new(account: account) } - let(:account){ Account.new(nil) } +...
Add more tests for controller helpers
diff --git a/spec/docker_toolbox_spec.rb b/spec/docker_toolbox_spec.rb index abc1234..def5678 100644 --- a/spec/docker_toolbox_spec.rb +++ b/spec/docker_toolbox_spec.rb @@ -16,3 +16,11 @@ describe command('which docker-compose') do its(:exit_status) { should eq 0 } end + +describe file('/etc/systemd/system/docker.s...
Add a spec about Docker option.
diff --git a/spec/models/product_spec.rb b/spec/models/product_spec.rb index abc1234..def5678 100644 --- a/spec/models/product_spec.rb +++ b/spec/models/product_spec.rb @@ -15,4 +15,10 @@ product.categories.create(name: 'Travel Gear') expect(product.categories.last.name).to eq('Travel Gear') end + + it 'sh...
Add spec for number sold for a product
diff --git a/spec/sinatra/twilio_spec.rb b/spec/sinatra/twilio_spec.rb index abc1234..def5678 100644 --- a/spec/sinatra/twilio_spec.rb +++ b/spec/sinatra/twilio_spec.rb @@ -1,41 +1,31 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') -describe Sinatra do +describe Sinatra::Application do + let(...
Remove cruft which really only tested Sinatra behaviour