diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/Casks/chromatic.rb b/Casks/chromatic.rb index abc1234..def5678 100644 --- a/Casks/chromatic.rb +++ b/Casks/chromatic.rb @@ -0,0 +1,7 @@+class Chromatic < Cask + url 'http://download.mrgeckosmedia.com/Chromatic.zip' + homepage 'https://mrgeckosmedia.com/applications/info/Chromatic' + version '0.2.3' + s...
Add cask for Chromatic version 0.2.3
diff --git a/Casks/connectiq.rb b/Casks/connectiq.rb index abc1234..def5678 100644 --- a/Casks/connectiq.rb +++ b/Casks/connectiq.rb @@ -0,0 +1,15 @@+cask :v1 => 'connectiq' do + version '1.1.4' + sha256 '9994f96668615ad7a5ce875b1db81475c240ffb9934cb16e822bd01e22c5d8c4' + + url "http://developer.garmin.com/downloads...
Add Garmin Connect IQ SDK v1.1.4
diff --git a/xp.gemspec b/xp.gemspec index abc1234..def5678 100644 --- a/xp.gemspec +++ b/xp.gemspec @@ -6,8 +6,8 @@ s.version = "2.0.0" s.authors = ["Jikku Jose"] s.email = ['jikkujose@gmail.com'] - s.summary = "Gem that enables String class to help quick & dirty scraping tasks." - s.description = "Provides ...
Update gemspec's summary & description
diff --git a/config.rb b/config.rb index abc1234..def5678 100644 --- a/config.rb +++ b/config.rb @@ -1,19 +1,3 @@-### -# Compass -### - -# Change Compass configuration -# compass_config do |config| -# config.output_style = :compact -# end - -### -# Helpers -### - -# Automatic image dimensions on image_tag helper -# a...
Enable asset hashing of files; set default caching policy on newly created s3 files
diff --git a/spec/controllers/best_boy/events_controller_spec.rb b/spec/controllers/best_boy/events_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/best_boy/events_controller_spec.rb +++ b/spec/controllers/best_boy/events_controller_spec.rb @@ -1,44 +1,46 @@ require 'spec_helper' describe Bes...
Use engine routes in functional specs
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 @@ -27,7 +27,7 @@ def append_info_to_payload(payload) super # More info for Lograge...
Fix customer_id in payload for loggin
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 @@ -20,6 +20,10 @@ end def after_sign_in_path_for(resource) - admin_notas_path + i...
Fix redirect after login method.
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 @@ -9,11 +9,11 @@ # redirect users after login def after_sign_in_path_for(_resource) - ...
Update after sign up and sign in path
diff --git a/Casks/wacom-graphire4-tablet.rb b/Casks/wacom-graphire4-tablet.rb index abc1234..def5678 100644 --- a/Casks/wacom-graphire4-tablet.rb +++ b/Casks/wacom-graphire4-tablet.rb @@ -0,0 +1,19 @@+cask :v1 => 'wacom-graphire4-tablet' do + version '5.3.0-3' + sha256 '0299398282cf86d56bd8f0701ef9c3140e901b8ea72ec6...
Add Wacom Graphire4 legacy drivers
diff --git a/spec/helpers/weather_symbol.rb b/spec/helpers/weather_symbol.rb index abc1234..def5678 100644 --- a/spec/helpers/weather_symbol.rb +++ b/spec/helpers/weather_symbol.rb @@ -0,0 +1,34 @@+module Helpers + module WeatherSymbol + def sunny + ' + \ / + -- ⚪ -- + / \ + ...
Create a folder to store helper methods for rspec Created a module weather symbol added method cloudy, sunny, partial_rainy, partial_cloudy
diff --git a/spec/support/custom_helpers.rb b/spec/support/custom_helpers.rb index abc1234..def5678 100644 --- a/spec/support/custom_helpers.rb +++ b/spec/support/custom_helpers.rb @@ -11,4 +11,8 @@ end connection end + + def regexp_matcher(regexp) + RSpec::Mocks::ArgumentMatchers::RegexpMatcher.new(reg...
Create a helper to match regular expressions.
diff --git a/lib/commands/package_command.rb b/lib/commands/package_command.rb index abc1234..def5678 100644 --- a/lib/commands/package_command.rb +++ b/lib/commands/package_command.rb @@ -11,7 +11,7 @@ # do not check for configured # rubygems in external ruby scripts called during packaging ...
Remove TODO at "make -f Makefile.cvs" invocation There is no CMake-based module among the translated ones, so we won't be adding CMake support.
diff --git a/app/controllers/spree/base_controller_decorator.rb b/app/controllers/spree/base_controller_decorator.rb index abc1234..def5678 100644 --- a/app/controllers/spree/base_controller_decorator.rb +++ b/app/controllers/spree/base_controller_decorator.rb @@ -1,15 +1,14 @@ Spree::BaseController.class_eval do - ...
Add the ability to use a global content snipperts page.
diff --git a/spec/integration/mapping_relations_spec.rb b/spec/integration/mapping_relations_spec.rb index abc1234..def5678 100644 --- a/spec/integration/mapping_relations_spec.rb +++ b/spec/integration/mapping_relations_spec.rb @@ -0,0 +1,35 @@+# encoding: utf-8 + +require 'spec_helper' + +describe 'Mapping relations'...
Add integration spec showing relation mapping
diff --git a/spec/requests/api/drops_controller_spec.rb b/spec/requests/api/drops_controller_spec.rb index abc1234..def5678 100644 --- a/spec/requests/api/drops_controller_spec.rb +++ b/spec/requests/api/drops_controller_spec.rb @@ -1,5 +1,4 @@ require 'rails_helper' -require 'net/http' RSpec.describe Api::DropsCont...
Revert "Add dummy test for power hour" This reverts commit e1f82e117be009f4208fee0aa209c4db304e95aa.
diff --git a/db/migrate/20140502125220_migrate_repo_size.rb b/db/migrate/20140502125220_migrate_repo_size.rb index abc1234..def5678 100644 --- a/db/migrate/20140502125220_migrate_repo_size.rb +++ b/db/migrate/20140502125220_migrate_repo_size.rb @@ -1,19 +1,26 @@ class MigrateRepoSize < ActiveRecord::Migration def up...
Use raw SQL commands for 20140502125220 MigrateRepoSize Partial fix for #15210
diff --git a/lib/tasks/remove_bot_users.rake b/lib/tasks/remove_bot_users.rake index abc1234..def5678 100644 --- a/lib/tasks/remove_bot_users.rake +++ b/lib/tasks/remove_bot_users.rake @@ -7,7 +7,7 @@ .where("initcap(first_name) != first_name and initcap(last_name) != last_name") puts "...
Fix name listing in rake task
diff --git a/lib/acts_as_having_string_id/railtie.rb b/lib/acts_as_having_string_id/railtie.rb index abc1234..def5678 100644 --- a/lib/acts_as_having_string_id/railtie.rb +++ b/lib/acts_as_having_string_id/railtie.rb @@ -1,13 +1,13 @@ module ActsAsHavingStringId class Railtie < Rails::Railtie initializer "railt...
Include module direclty even if spring is present
diff --git a/src/app/controllers/sessions_controller.rb b/src/app/controllers/sessions_controller.rb index abc1234..def5678 100644 --- a/src/app/controllers/sessions_controller.rb +++ b/src/app/controllers/sessions_controller.rb @@ -10,7 +10,7 @@ return_to = session.delete(:return_to) || root_url redirect_...
Fix flash message for invalid credentials. fixes #52
diff --git a/lib/multi_json/convertible_hash_keys.rb b/lib/multi_json/convertible_hash_keys.rb index abc1234..def5678 100644 --- a/lib/multi_json/convertible_hash_keys.rb +++ b/lib/multi_json/convertible_hash_keys.rb @@ -2,40 +2,40 @@ module ConvertibleHashKeys private - def symbolize_keys(object) - pr...
Use more precise variable and method names
diff --git a/spec/unit/ldap/filter_parser_spec.rb b/spec/unit/ldap/filter_parser_spec.rb index abc1234..def5678 100644 --- a/spec/unit/ldap/filter_parser_spec.rb +++ b/spec/unit/ldap/filter_parser_spec.rb @@ -0,0 +1,20 @@+# encoding: utf-8 +require 'spec_helper' + +describe Net::LDAP::Filter::FilterParser do + + descr...
Add spec to reproduce FilterPraser.parse fails with multibyte char
diff --git a/FuntastyKit.podspec b/FuntastyKit.podspec index abc1234..def5678 100644 --- a/FuntastyKit.podspec +++ b/FuntastyKit.podspec @@ -15,6 +15,7 @@ s.osx.deployment_target = "10.9" s.watchos.deployment_target = "2.0" s.tvos.deployment_target = "9.0" + s.swift_version = "4.2" s.source = { :git => "htt...
Add Swift version to Podspec
diff --git a/lib/substation/processor/transformer.rb b/lib/substation/processor/transformer.rb index abc1234..def5678 100644 --- a/lib/substation/processor/transformer.rb +++ b/lib/substation/processor/transformer.rb @@ -8,8 +8,8 @@ # A transformer used to transform an incoming request class Incoming + ...
Align {Transformer, Wrapper} for future de-duplication
diff --git a/config/initializers/asset_tag_helper_asset_path.rb b/config/initializers/asset_tag_helper_asset_path.rb index abc1234..def5678 100644 --- a/config/initializers/asset_tag_helper_asset_path.rb +++ b/config/initializers/asset_tag_helper_asset_path.rb @@ -0,0 +1,24 @@+# A monkey-patch to AssetTagHelper that pr...
Allow for versioned asset paths to get automatic cache busting of assets using a CDN that ignores querystrings
diff --git a/spec/lita/handlers/diceman_spec.rb b/spec/lita/handlers/diceman_spec.rb index abc1234..def5678 100644 --- a/spec/lita/handlers/diceman_spec.rb +++ b/spec/lita/handlers/diceman_spec.rb @@ -12,4 +12,11 @@ expect(answers.include?(reply)) end + it "gives an random answer when using ?dice" do ...
Add a "real" test for ?dice
diff --git a/spec/mailers/member_mailer_spec.rb b/spec/mailers/member_mailer_spec.rb index abc1234..def5678 100644 --- a/spec/mailers/member_mailer_spec.rb +++ b/spec/mailers/member_mailer_spec.rb @@ -1,19 +1,19 @@-require "rails_helper" - -RSpec.describe MemberMailer, :type => :mailer do - describe "notify" do - l...
Disable mailer tests due to ongoing configuration
diff --git a/test/unit/active_model/default_serializer_test.rb b/test/unit/active_model/default_serializer_test.rb index abc1234..def5678 100644 --- a/test/unit/active_model/default_serializer_test.rb +++ b/test/unit/active_model/default_serializer_test.rb @@ -7,7 +7,6 @@ assert_equal(nil, DefaultSerializer.new...
Remove useless test that behaves differently in different Rails versions
diff --git a/lib/compass/app_integration/rails.rb b/lib/compass/app_integration/rails.rb index abc1234..def5678 100644 --- a/lib/compass/app_integration/rails.rb +++ b/lib/compass/app_integration/rails.rb @@ -0,0 +1,10 @@+module Compass + module AppIntegration + module Rails + extend self + def initialize...
Handle upgraded projects with an old initializer with a nice warning.
diff --git a/lib/es6-module-mapper/transformer.rb b/lib/es6-module-mapper/transformer.rb index abc1234..def5678 100644 --- a/lib/es6-module-mapper/transformer.rb +++ b/lib/es6-module-mapper/transformer.rb @@ -4,7 +4,8 @@ module ES6ModuleMapper class Transformer VERSION = '1' - TRANSFORMER_CMD = 'node '+ File...
Handle different names for nodejs executable Signed-off-by: Jesse Stuart <a5c95b3d7cb4d0ae05a15c79c79ab458dc2c8f9e@jessestuart.ca>
diff --git a/lib/hal_api/controller/exceptions.rb b/lib/hal_api/controller/exceptions.rb index abc1234..def5678 100644 --- a/lib/hal_api/controller/exceptions.rb +++ b/lib/hal_api/controller/exceptions.rb @@ -0,0 +1,43 @@+require 'action_dispatch/http/request' +require 'action_dispatch/middleware/exception_wrapper' + +...
Add new exception handling methods
diff --git a/yesman.gemspec b/yesman.gemspec index abc1234..def5678 100644 --- a/yesman.gemspec +++ b/yesman.gemspec @@ -12,8 +12,9 @@ gem.summary = %q{Yesman creates project directory structures, downloads and builds GTest for C++ development projects} gem.homepage = "" - gem.add_dependency 'mixlib-...
Add versionomy and version nums
diff --git a/lib/lita/handlers/wotd.rb b/lib/lita/handlers/wotd.rb index abc1234..def5678 100644 --- a/lib/lita/handlers/wotd.rb +++ b/lib/lita/handlers/wotd.rb @@ -5,6 +5,8 @@ module Lita module Handlers class Wotd < Handler + WOTD_URL = 'https://wordsmith.org/awad/rss1.xml'.freeze + route(/wotd/, ...
Use wordsmith.org since dictionary.com no longer has RSS feed
diff --git a/lib/second_mate/finder.rb b/lib/second_mate/finder.rb index abc1234..def5678 100644 --- a/lib/second_mate/finder.rb +++ b/lib/second_mate/finder.rb @@ -37,11 +37,11 @@ File.join root, relative_path end - def log(message) + def log(*messages) if request.env['rack.errors'] && reques...
Allow multiple messages in log calls
diff --git a/spec/fragmenter/wrapper_spec.rb b/spec/fragmenter/wrapper_spec.rb index abc1234..def5678 100644 --- a/spec/fragmenter/wrapper_spec.rb +++ b/spec/fragmenter/wrapper_spec.rb @@ -5,11 +5,13 @@ let(:engine_class) { double(:engine_class, new: engine) } let(:engine) { double(:engine) } - subject(:b...
Update expectation syntax for wrapper specs
diff --git a/spec/git_tracker/branch_spec.rb b/spec/git_tracker/branch_spec.rb index abc1234..def5678 100644 --- a/spec/git_tracker/branch_spec.rb +++ b/spec/git_tracker/branch_spec.rb @@ -4,6 +4,7 @@ subject { described_class } def stub_branch(ref, exit_status = 0) + allow_message_expectations_on_nil su...
Allow stubs on nil, again. But just here.
diff --git a/lib/wkhtmltopdf-heroku.rb b/lib/wkhtmltopdf-heroku.rb index abc1234..def5678 100644 --- a/lib/wkhtmltopdf-heroku.rb +++ b/lib/wkhtmltopdf-heroku.rb @@ -1,4 +1,5 @@ # config/initializers/pdfkit.rb +require 'pdfkit' PDFKit.configure do |config| config.wkhtmltopdf = File.expand_path "../../bin/wkhtmltopdf...
Add missing require for pdfkit
diff --git a/toadhopper-sinatra.gemspec b/toadhopper-sinatra.gemspec index abc1234..def5678 100644 --- a/toadhopper-sinatra.gemspec +++ b/toadhopper-sinatra.gemspec @@ -10,7 +10,7 @@ s.require_path = "lib" s.rubyforge_project = "th-sinatra" s.files = %w( - Readme.md + ...
Update the gemspec with the correct readme
diff --git a/lib/activerecord-human-id/extension/persistence.rb b/lib/activerecord-human-id/extension/persistence.rb index abc1234..def5678 100644 --- a/lib/activerecord-human-id/extension/persistence.rb +++ b/lib/activerecord-human-id/extension/persistence.rb @@ -7,7 +7,8 @@ if Generation.ready_to_generate?(...
Update attr directly in db
diff --git a/lib/rspec-puppet/example/function_example_group.rb b/lib/rspec-puppet/example/function_example_group.rb index abc1234..def5678 100644 --- a/lib/rspec-puppet/example/function_example_group.rb +++ b/lib/rspec-puppet/example/function_example_group.rb @@ -12,6 +12,7 @@ node_name = nodename(:function) ...
Set main scope for function calls
diff --git a/tunefish.gemspec b/tunefish.gemspec index abc1234..def5678 100644 --- a/tunefish.gemspec +++ b/tunefish.gemspec @@ -21,6 +21,8 @@ spec.add_development_dependency "bundler", "~> 1.6" spec.add_development_dependency "rake" spec.add_development_dependency "minitest" + spec.add_development_dependency ...
Add webmock and vcr to gemspec dev dependencies
diff --git a/lib/scss_lint/linter/property_format_linter.rb b/lib/scss_lint/linter/property_format_linter.rb index abc1234..def5678 100644 --- a/lib/scss_lint/linter/property_format_linter.rb +++ b/lib/scss_lint/linter/property_format_linter.rb @@ -17,7 +17,8 @@ def description 'Property declarations s...
Improve message for property format linter Changes the lint error description for the property format linter to suggest that the user is missing a semi-colon, as that usually is the reason they are seeing the lint, and the more general language of the error can be confusing the read at times. Change-Id: I58dcb2845ba2...
diff --git a/modules/daptiv/files/chefdk/knife.rb b/modules/daptiv/files/chefdk/knife.rb index abc1234..def5678 100644 --- a/modules/daptiv/files/chefdk/knife.rb +++ b/modules/daptiv/files/chefdk/knife.rb @@ -2,14 +2,15 @@ home_dir = ENV['HOME'] || ENV['HOMEDRIVE'] org = ENV['CHEF_ORG'] || 'daptiv' k...
Fix Ridley error when reading client_key
diff --git a/spec/features/resources_spec.rb b/spec/features/resources_spec.rb index abc1234..def5678 100644 --- a/spec/features/resources_spec.rb +++ b/spec/features/resources_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' module DbdDataEngine - describe 'Resources' do + describe ResourcesController do descri...
Use class in describe for spec
diff --git a/spec/requests/customers_spec.rb b/spec/requests/customers_spec.rb index abc1234..def5678 100644 --- a/spec/requests/customers_spec.rb +++ b/spec/requests/customers_spec.rb @@ -0,0 +1,19 @@+require 'rails_helper' + +RSpec.describe 'Customers', type: :request do + describe 'GET /customers' do + it 'succe...
Add spec for customers API endpoint
diff --git a/spec/yelp/client/search_spec.rb b/spec/yelp/client/search_spec.rb index abc1234..def5678 100644 --- a/spec/yelp/client/search_spec.rb +++ b/spec/yelp/client/search_spec.rb @@ -23,7 +23,7 @@ end it 'should search the yelp api and get results' do - response.businesses.size.should be > 0 + ...
Fix incorrect variable in search test
diff --git a/Casks/acorn3.rb b/Casks/acorn3.rb index abc1234..def5678 100644 --- a/Casks/acorn3.rb +++ b/Casks/acorn3.rb @@ -2,8 +2,8 @@ version '3.5.2' sha256 'ffc4cd551b9eb2ebadfe8e59c95e84b1f59538d7915eff63dd6c3efdca7858e6' - url "http://flyingmeat.com/download/Acorn-#{version}.zip" - homepage 'http://flyin...
Update Acorn3 URL and hompage
diff --git a/Casks/perian.rb b/Casks/perian.rb index abc1234..def5678 100644 --- a/Casks/perian.rb +++ b/Casks/perian.rb @@ -14,6 +14,6 @@ caveats <<-EOS.undent Perian development officially stopped as of 2012, and 1.2.3 was the final released version. - See the Perian homepage for more information. + Se...
Add homepage url to Perian caveat to assist users in finding a replacement. (Perian is no longer maintained.)
diff --git a/app/controllers/monologue/author_posts_controller.rb b/app/controllers/monologue/author_posts_controller.rb index abc1234..def5678 100644 --- a/app/controllers/monologue/author_posts_controller.rb +++ b/app/controllers/monologue/author_posts_controller.rb @@ -0,0 +1,7 @@+class Monologue::AuthorPostsControl...
Add controller for blog author page
diff --git a/app/services/course/group_manager_preload_service.rb b/app/services/course/group_manager_preload_service.rb index abc1234..def5678 100644 --- a/app/services/course/group_manager_preload_service.rb +++ b/app/services/course/group_manager_preload_service.rb @@ -13,7 +13,7 @@ # Returns all managers of the g...
Fix typo: CoruseUser -> CourseUser
diff --git a/spec/cabinet/cloud_spec.rb b/spec/cabinet/cloud_spec.rb index abc1234..def5678 100644 --- a/spec/cabinet/cloud_spec.rb +++ b/spec/cabinet/cloud_spec.rb @@ -5,4 +5,35 @@ credentials = YAML.load_file(File.expand_path(File.join(File.dirname(__FILE__), '..', 'cloud_credentials.yml'))) @cc ...
Add basic tests for cloud spec
diff --git a/lib/guard/helpers.rb b/lib/guard/helpers.rb index abc1234..def5678 100644 --- a/lib/guard/helpers.rb +++ b/lib/guard/helpers.rb @@ -13,6 +13,7 @@ end def ui(method, msg, options) + UI.clear if options.delete(:clear) UI.__send__(method, "#{self.class.name} #{msg}", options) end ...
Fix a change in Guard::UI api
diff --git a/lib/identity/main.rb b/lib/identity/main.rb index abc1234..def5678 100644 --- a/lib/identity/main.rb +++ b/lib/identity/main.rb @@ -16,7 +16,7 @@ http_only: true, path: '/', expire_after: Config.cookie_expire_after, - key: 'identity-sso-session' + key: 'identity-session' ...
Rename cookie key to `identity-session` (Identity is not used for SSO.)
diff --git a/test/integration/multisite_test.rb b/test/integration/multisite_test.rb index abc1234..def5678 100644 --- a/test/integration/multisite_test.rb +++ b/test/integration/multisite_test.rb @@ -29,7 +29,7 @@ assert_select 'body', /1 person found/ assert_select 'body', /Jim Williams/ assert_select '...
Fix old url in test.
diff --git a/test/shared/spec/container_spec.rb b/test/shared/spec/container_spec.rb index abc1234..def5678 100644 --- a/test/shared/spec/container_spec.rb +++ b/test/shared/spec/container_spec.rb @@ -24,6 +24,16 @@ it { should_not be_running } end + describe docker_container('busybox-container', 'sleep 7777'...
Add Serverspec tests for busybox-container 7777/8888
diff --git a/week-6/nested_data_solution.rb b/week-6/nested_data_solution.rb index abc1234..def5678 100644 --- a/week-6/nested_data_solution.rb +++ b/week-6/nested_data_solution.rb @@ -0,0 +1,83 @@+# RELEASE 2: NESTED STRUCTURE GOLF +# Hole 1 +# Target element: "FORE" + +array = [[1,2], ["inner", ["eagle", "par", ["FOR...
Add code for 6.5 exercise
diff --git a/lib/plugins/lyric.rb b/lib/plugins/lyric.rb index abc1234..def5678 100644 --- a/lib/plugins/lyric.rb +++ b/lib/plugins/lyric.rb @@ -24,7 +24,7 @@ end def help(m) - m.reply 'returns song that includes the specified lyric' + m.reply 'returns song that includes the specified lyric...
Update help response to include source of results
diff --git a/lib/qbfc/qb_types.rb b/lib/qbfc/qb_types.rb index abc1234..def5678 100644 --- a/lib/qbfc/qb_types.rb +++ b/lib/qbfc/qb_types.rb @@ -8,7 +8,7 @@ # Query types support Query requests only and return an itemized list of some sort; # most of these may be integrated as special finders for their types. -QB...
Delete double generation of SalesTaxPaymentCheck class
diff --git a/backend/spree_backend.gemspec b/backend/spree_backend.gemspec index abc1234..def5678 100644 --- a/backend/spree_backend.gemspec +++ b/backend/spree_backend.gemspec @@ -21,6 +21,7 @@ s.add_dependency 'spree_api', version s.add_dependency 'spree_core', version + s.add_dependency 'deface', '>= 0.9.0' ...
Remove rails from frontend and backend gemspecs.
diff --git a/lib/tasks/dumps.rake b/lib/tasks/dumps.rake index abc1234..def5678 100644 --- a/lib/tasks/dumps.rake +++ b/lib/tasks/dumps.rake @@ -5,12 +5,12 @@ end desc 'Backups a transaction dump file to a remote provider. '\ - 'Accepts an argument to specify the dump date (defaults to today)' + 'Acc...
Set yesterday as the default backup/restore date
diff --git a/libraries/helpers.rb b/libraries/helpers.rb index abc1234..def5678 100644 --- a/libraries/helpers.rb +++ b/libraries/helpers.rb @@ -44,6 +44,8 @@ def home_basedir if platform_family?('mac_os_x') '/Users' + elsif platform_family?('solaris2') + '/export/home' else ...
Add home directory base for solaris Signed-off-by: Jaymala Sinha <a04666c8f252cd920997ac90b34d2eff29d09ccc@chef.io>
diff --git a/chef-repo/site-cookbooks/sysbench/recipes/install.rb b/chef-repo/site-cookbooks/sysbench/recipes/install.rb index abc1234..def5678 100644 --- a/chef-repo/site-cookbooks/sysbench/recipes/install.rb +++ b/chef-repo/site-cookbooks/sysbench/recipes/install.rb @@ -1,5 +1,8 @@-# Update package index (Ubuntu or D...
Add platform dependent package update to sysbench cookbook
diff --git a/lita-imgflip.gemspec b/lita-imgflip.gemspec index abc1234..def5678 100644 --- a/lita-imgflip.gemspec +++ b/lita-imgflip.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "lita-imgflip" - spec.version = "1.0.1" + spec.version = "1.0.2" spec.authors = ["H...
Update lita gem version requirement to support version 3, bump version.
diff --git a/lib/banzai/filter/external_link_filter.rb b/lib/banzai/filter/external_link_filter.rb index abc1234..def5678 100644 --- a/lib/banzai/filter/external_link_filter.rb +++ b/lib/banzai/filter/external_link_filter.rb @@ -15,7 +15,7 @@ # Skip internal links next if link.start_with?(internal_...
Add noreferrer value to rel attribute for external links
diff --git a/app/decorators/user_decorator.rb b/app/decorators/user_decorator.rb index abc1234..def5678 100644 --- a/app/decorators/user_decorator.rb +++ b/app/decorators/user_decorator.rb @@ -18,7 +18,7 @@ end def image_link(size = 40) - link_to image_tag(image, class: 'thumb dib', height: size, width: size)...
Remove stupid leftover source calls
diff --git a/app/uploaders/avatar_uploader.rb b/app/uploaders/avatar_uploader.rb index abc1234..def5678 100644 --- a/app/uploaders/avatar_uploader.rb +++ b/app/uploaders/avatar_uploader.rb @@ -25,7 +25,7 @@ # uploaded avatar for the model. # # Returns nothing of interest. - def purge_from_cdn(file) + def purg...
Fix avatar uploader error once and for all.
diff --git a/bundler-update_stdout.gemspec b/bundler-update_stdout.gemspec index abc1234..def5678 100644 --- a/bundler-update_stdout.gemspec +++ b/bundler-update_stdout.gemspec @@ -18,6 +18,6 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_development_...
Set more strict minimum version
diff --git a/app/models/competitions/oregon_junior_mountain_bike_series/overall.rb b/app/models/competitions/oregon_junior_mountain_bike_series/overall.rb index abc1234..def5678 100644 --- a/app/models/competitions/oregon_junior_mountain_bike_series/overall.rb +++ b/app/models/competitions/oregon_junior_mountain_bike_s...
Add Oregon Junior Mountain Bike Series
diff --git a/server.rb b/server.rb index abc1234..def5678 100644 --- a/server.rb +++ b/server.rb @@ -3,7 +3,7 @@ require 'bundler/setup' Bundler.require(:default) -REAL_GARAGE = !!(`uname -a` =~ /raspberrypi/) +REAL_GARAGE = !!(`uname -a` =~ /armv6l/) require 'logger' require 'garage'
Use GPIO based on architecture
diff --git a/wordless.gemspec b/wordless.gemspec index abc1234..def5678 100644 --- a/wordless.gemspec +++ b/wordless.gemspec @@ -2,7 +2,7 @@ require File.expand_path('../lib/wordless/version', __FILE__) Gem::Specification.new do |gem| - gem.authors = ["Étienne Després"] + gem.authors = ["Étienne Despré...
Add Ju Liu as an author.
diff --git a/workless.gemspec b/workless.gemspec index abc1234..def5678 100644 --- a/workless.gemspec +++ b/workless.gemspec @@ -20,7 +20,7 @@ s.summary = %q{Use delayed job workers only when theyre needed on Heroku} s.add_runtime_dependency(%q<rails>) - s.add_runtime_dependency(%q<heroku>) + s.add_runtime_dep...
Upgrade dependency to the heroku-api gem This gem is better up to date for interacting with the Heroku API. This gem is better supported.
diff --git a/spec/flipper/redis_spec.rb b/spec/flipper/redis_spec.rb index abc1234..def5678 100644 --- a/spec/flipper/redis_spec.rb +++ b/spec/flipper/redis_spec.rb @@ -3,7 +3,15 @@ require 'flipper/spec/shared_adapter_specs' describe Flipper::Adapters::Redis do - let(:client) { Redis.new } + let(:client) { + o...
Use boxen redis if available.
diff --git a/spec/http/response_spec.rb b/spec/http/response_spec.rb index abc1234..def5678 100644 --- a/spec/http/response_spec.rb +++ b/spec/http/response_spec.rb @@ -0,0 +1,37 @@+require 'spec_helper' + +describe Http::Response do + + let(:subject){ Http::Response.new } + + describe "the response headers" do + + ...
Add a spec for Http::Response
diff --git a/spec/models/device_spec.rb b/spec/models/device_spec.rb index abc1234..def5678 100644 --- a/spec/models/device_spec.rb +++ b/spec/models/device_spec.rb @@ -1,6 +1,10 @@ require "spec_helper" describe Device do + it { should respond_to(:surveys) } + it { should respond_to(:danger_zone?) } + it { shoul...
Add method specs for device spec
diff --git a/spec/models/payout_spec.rb b/spec/models/payout_spec.rb index abc1234..def5678 100644 --- a/spec/models/payout_spec.rb +++ b/spec/models/payout_spec.rb @@ -14,4 +14,6 @@ Payout.complete(1, 3) end end + + after(:all) { PaymentEngine.destroy_all } end
Destroy payment engines after specs on payout
diff --git a/spec/rails_reseed_spec.rb b/spec/rails_reseed_spec.rb index abc1234..def5678 100644 --- a/spec/rails_reseed_spec.rb +++ b/spec/rails_reseed_spec.rb @@ -8,7 +8,7 @@ expect(task_name).to eq(subject.name) end - it "executes its dependant rake tasks" do + it "executes its prerequisites rake tasks" d...
Fix what we're actually testing
diff --git a/spec/routing/game_spec.rb b/spec/routing/game_spec.rb index abc1234..def5678 100644 --- a/spec/routing/game_spec.rb +++ b/spec/routing/game_spec.rb @@ -0,0 +1,27 @@+require 'spec_helper' + +describe "routing to games" do + it "routes /games to game#index" do + {:get, "/games"}.should route_to(:action =...
Add the start of routing specs.
diff --git a/spec/api_classes/library_spec.rb b/spec/api_classes/library_spec.rb index abc1234..def5678 100644 --- a/spec/api_classes/library_spec.rb +++ b/spec/api_classes/library_spec.rb @@ -2,10 +2,10 @@ describe LastFM::Library do it "should define unrestricted methods" do - LastFM::Library.unrestricted_met...
Check restricted method definitions for Library
diff --git a/spec/features/clubs/view_spec.rb b/spec/features/clubs/view_spec.rb index abc1234..def5678 100644 --- a/spec/features/clubs/view_spec.rb +++ b/spec/features/clubs/view_spec.rb @@ -1,28 +1,23 @@ require 'spec_helper.rb' -cl1attrs = FactoryGirl::attributes_for(:club) -cl2attrs = FactoryGirl::attributes_for...
Improve clubs view feature spec
diff --git a/db/feature_migrate/20120426073305_create_backlogs.rb b/db/feature_migrate/20120426073305_create_backlogs.rb index abc1234..def5678 100644 --- a/db/feature_migrate/20120426073305_create_backlogs.rb +++ b/db/feature_migrate/20120426073305_create_backlogs.rb @@ -14,7 +14,6 @@ backlog = Backlog.cr...
Remove new issues list from migration
diff --git a/config/initializers/apipie.rb b/config/initializers/apipie.rb index abc1234..def5678 100644 --- a/config/initializers/apipie.rb +++ b/config/initializers/apipie.rb @@ -4,4 +4,5 @@ config.doc_base_url = '/documentation' # where is your API defined? config.api_controllers_matcher = "#{Rail...
Fix APIPIE documentation on Heroku. Set config.reload_controllers = true in Apiepie initializer because it doesn't automatically load documentation for each controller in test and production.
diff --git a/app/models/pet.rb b/app/models/pet.rb index abc1234..def5678 100644 --- a/app/models/pet.rb +++ b/app/models/pet.rb @@ -6,7 +6,7 @@ attr_accessor :form_step validates :name, :owner_name, presence: true, if: -> { required_for_step?(:identity) } - validates :identifying_characteristics, presence: tru...
Validate presence of colour on characteristics step
diff --git a/spec/cukeforker/vnc_server_pool_spec.rb b/spec/cukeforker/vnc_server_pool_spec.rb index abc1234..def5678 100644 --- a/spec/cukeforker/vnc_server_pool_spec.rb +++ b/spec/cukeforker/vnc_server_pool_spec.rb @@ -9,6 +9,14 @@ pool = VncServerPool.new(3, SpecHelper::FakeVnc) pool.size.should == 3 ...
Add spec for launching the VncServerPool
diff --git a/spec/controllers/statistics_controller_spec.rb b/spec/controllers/statistics_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/statistics_controller_spec.rb +++ b/spec/controllers/statistics_controller_spec.rb @@ -0,0 +1,95 @@+require 'spec_helper' + +describe StatisticsController do ...
Add tests for JSON output
diff --git a/spec/support/active_record/postgresql_setup.rb b/spec/support/active_record/postgresql_setup.rb index abc1234..def5678 100644 --- a/spec/support/active_record/postgresql_setup.rb +++ b/spec/support/active_record/postgresql_setup.rb @@ -14,6 +14,7 @@ @encoding = default_config['encoding'] || ENV['CHARSE...
Drop Postgres database with AR connection 1. Works faster than issuing shell commands. 2. Attempts to drop the database before creating it. This fixes some ugly test output which warns that given database already exists.
diff --git a/spec/perpetuity/data_injectable_spec.rb b/spec/perpetuity/data_injectable_spec.rb index abc1234..def5678 100644 --- a/spec/perpetuity/data_injectable_spec.rb +++ b/spec/perpetuity/data_injectable_spec.rb @@ -1,13 +1,11 @@ require 'perpetuity/data_injectable' module Perpetuity - class InjectableClass - ...
Declare DataInjectable test class at runtime
diff --git a/qa/qa/page/project/new.rb b/qa/qa/page/project/new.rb index abc1234..def5678 100644 --- a/qa/qa/page/project/new.rb +++ b/qa/qa/page/project/new.rb @@ -4,7 +4,7 @@ class New < Page::Base view 'app/views/projects/_new_project_fields.html.haml' do element :project_namespace_select -...
Fix click on incorrect namespace in certain conditions. And `first` was causing it to succeed even though the criteria were ambiguous.
diff --git a/1_codility/0_training/7_1_brackets.rb b/1_codility/0_training/7_1_brackets.rb index abc1234..def5678 100644 --- a/1_codility/0_training/7_1_brackets.rb +++ b/1_codility/0_training/7_1_brackets.rb @@ -0,0 +1,20 @@+# 100/100 +def solution(str) + char_mappings = { + "}" => "{", + "]" => "[", + ")" =...
Add codility training - brackets
diff --git a/AHKSlider.podspec b/AHKSlider.podspec index abc1234..def5678 100644 --- a/AHKSlider.podspec +++ b/AHKSlider.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "AHKSlider" s.version = "0.1.0" - s.summary = "UISlider subclass that improves value precision of the value ...
Improve the summary in the .podspec
diff --git a/APIClient.podspec b/APIClient.podspec index abc1234..def5678 100644 --- a/APIClient.podspec +++ b/APIClient.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "APIClient" - s.version = "0.2.0-pre" + s.version = "0.1.0" s.summary = "Convention over configuration REST API cl...
Revert "Update the version number in the podspec" This reverts commit 7ce8c93b07f367d8072a37c08ff5a3f725b757cd.
diff --git a/Alamofire.podspec b/Alamofire.podspec index abc1234..def5678 100644 --- a/Alamofire.podspec +++ b/Alamofire.podspec @@ -8,6 +8,8 @@ s.authors = { 'Alamofire Software Foundation' => 'info@alamofire.org' } s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version } + s.depe...
Add dependency on Result to podspec
diff --git a/lib/zero_downtime_migrations/validation/find_each.rb b/lib/zero_downtime_migrations/validation/find_each.rb index abc1234..def5678 100644 --- a/lib/zero_downtime_migrations/validation/find_each.rb +++ b/lib/zero_downtime_migrations/validation/find_each.rb @@ -10,7 +10,7 @@ def correction <...
Update FindEach validation error message
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index abc1234..def5678 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -14,10 +14,12 @@ def self.redis_url config = begin YAML.load(File.read(Rails.root.join('config/redis.yml'))) - ...
Return empty hash when no config for environment
diff --git a/config/initializers/sneakers.rb b/config/initializers/sneakers.rb index abc1234..def5678 100644 --- a/config/initializers/sneakers.rb +++ b/config/initializers/sneakers.rb @@ -5,7 +5,8 @@ amqp: Pomegranate.config["events"]["server"], exchange: Pomegranate.config["events"]["exchange"], exchange_type...
Increase Sneakers sync job timeout Reindexing some items after getting a message was taking longer than the 60 second timeout, resulting in the connection getting cut.
diff --git a/Library/Homebrew/test/language/java_spec.rb b/Library/Homebrew/test/language/java_spec.rb index abc1234..def5678 100644 --- a/Library/Homebrew/test/language/java_spec.rb +++ b/Library/Homebrew/test/language/java_spec.rb @@ -14,15 +14,15 @@ end describe "#self.overridable_java_home_env" do - let(:...
Set java environment var to test overriding
diff --git a/Library/Formula/oxygen-icons.rb b/Library/Formula/oxygen-icons.rb index abc1234..def5678 100644 --- a/Library/Formula/oxygen-icons.rb +++ b/Library/Formula/oxygen-icons.rb @@ -1,9 +1,9 @@ require 'formula' class OxygenIcons <Formula - url 'ftp://ftp.kde.org/pub/kde/stable/4.4.2/src/oxygen-icons-4.4.2.t...
Update Oxygen icons to 4.5.2.
diff --git a/spec/acceptance/acceptance_helper.rb b/spec/acceptance/acceptance_helper.rb index abc1234..def5678 100644 --- a/spec/acceptance/acceptance_helper.rb +++ b/spec/acceptance/acceptance_helper.rb @@ -1,4 +1,4 @@-require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") +require "spec_helper" requir...
Fix RSpec deprecation and load "spec_helper" library correctly.
diff --git a/spec/ec2/snapshot/replicator_spec.rb b/spec/ec2/snapshot/replicator_spec.rb index abc1234..def5678 100644 --- a/spec/ec2/snapshot/replicator_spec.rb +++ b/spec/ec2/snapshot/replicator_spec.rb @@ -1,11 +1,7 @@ require 'spec_helper' -describe Ec2::Snapshot::Replicator do +describe EC2::Snapshot::Replicator...
Delete a spec generated by bundler.
diff --git a/Formula/bazaar.rb b/Formula/bazaar.rb index abc1234..def5678 100644 --- a/Formula/bazaar.rb +++ b/Formula/bazaar.rb @@ -9,6 +9,7 @@ def install ENV.minimal_optimization + inreplace 'setup.py', 'man/man1', 'share/man/man1' system "python", "setup.py", "build" system "python", "setup.py...
Fix installation of man file by replacing the path hardcoded in setup.py. Signed-off-by: David Höppner <017ae80272b4e52efdec6713a2cb2af11a9c7ddd@gmail.com>
diff --git a/Formula/o-make.rb b/Formula/o-make.rb index abc1234..def5678 100644 --- a/Formula/o-make.rb +++ b/Formula/o-make.rb @@ -0,0 +1,34 @@+require 'formula' + +class OMake <Formula + url 'http://omake.metaprl.org/downloads/omake-0.9.8.5-3.tar.gz' + homepage 'http://omake.metaprl.org/' + md5 'd114b3c4201808aac...
Add OMake (OCaml build system) formula Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Renamed to match naming conventions
diff --git a/mtask.rb b/mtask.rb index abc1234..def5678 100644 --- a/mtask.rb +++ b/mtask.rb @@ -11,6 +11,7 @@ enable :method_override configure do + FileUtils.mkdir_p("./db") GrnMini::create_or_open("db/tasks.db") $tasks = GrnMini::Array.new("Tasks")
Make db/ directory when it doesn't exist already before Groonga db creating