diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/petfinder.rb b/petfinder.rb index abc1234..def5678 100644 --- a/petfinder.rb +++ b/petfinder.rb @@ -15,3 +15,10 @@ names = pets.map { |pet| pet.name } {:names => names}.to_json end + +get '/pets/:shelter_id' do + options = {count:1000} + pets = petfinder.shelter_pets(params['shelter_id'], options) ...
Add endpoint to find all pets by shelter id
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/alpha9/MiniMetro-alpha9e-osx.zip' + url 'http://static.dinopoloclub.com/minimetro/build...
Upgrade Mini Metro to alpha10
diff --git a/ultracart_connector.rb b/ultracart_connector.rb index abc1234..def5678 100644 --- a/ultracart_connector.rb +++ b/ultracart_connector.rb @@ -1,7 +1,7 @@ require 'json' -HUB_ENDPOINT = 'https://push.hubapp.io' -HUB_TIMEOUT = 240 +HUB_ENDPOINT = ENV['HUB_ENDPOINT'] || 'https://wombat.co/push' +HUB_TIMEOUT =...
Allow configuration via HUB_ENDPOINT environmental variable
diff --git a/lib/generators/doorkeeper/install_generator.rb b/lib/generators/doorkeeper/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/doorkeeper/install_generator.rb +++ b/lib/generators/doorkeeper/install_generator.rb @@ -3,6 +3,7 @@ class Doorkeeper::InstallGenerator < Rails::Generators::Bas...
Add description to install generator
diff --git a/lib/rails_locale_detection/locale_accessors.rb b/lib/rails_locale_detection/locale_accessors.rb index abc1234..def5678 100644 --- a/lib/rails_locale_detection/locale_accessors.rb +++ b/lib/rails_locale_detection/locale_accessors.rb @@ -1,11 +1,11 @@ module RailsLocaleDetection module LocaleAccessors + ...
Add an available locales accessor
diff --git a/app/controllers/organisations_controller.rb b/app/controllers/organisations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/organisations_controller.rb +++ b/app/controllers/organisations_controller.rb @@ -6,7 +6,7 @@ def new if Setting[:theme] == 'cooperatives_uk' - redir...
Fix broken redirect from organisations/new to coops/intro.
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -6,6 +6,6 @@ end def account_update_params - params.require(:user).permit(...
Fix typo in registrations controller.
diff --git a/app/lib/api_entreprise/exercices_adapter.rb b/app/lib/api_entreprise/exercices_adapter.rb index abc1234..def5678 100644 --- a/app/lib/api_entreprise/exercices_adapter.rb +++ b/app/lib/api_entreprise/exercices_adapter.rb @@ -23,6 +23,10 @@ end def attr_to_fetch - [:ca, :date_fin_exercice, :date_fi...
Format all attr_to_fetch methods the same way
diff --git a/app/importers/educator_row.rb b/app/importers/educator_row.rb index abc1234..def5678 100644 --- a/app/importers/educator_row.rb +++ b/app/importers/educator_row.rb @@ -12,6 +12,7 @@ full_name: row[:full_name], staff_type: row[:staff_type], admin: is_admin?, + email: row[:login_name...
Build educator email from login name
diff --git a/app/jobs/build_attempt_job.rb b/app/jobs/build_attempt_job.rb index abc1234..def5678 100644 --- a/app/jobs/build_attempt_job.rb +++ b/app/jobs/build_attempt_job.rb @@ -1,9 +1,12 @@ require 'job_base' +# Keep this interface so we can easily enqueue new jobs. +# The job is handled by kochiku-worker class ...
Add warning about accidental processing to BuildAttemptJob shim
diff --git a/lib/mobility/backend/active_record/dirty.rb b/lib/mobility/backend/active_record/dirty.rb index abc1234..def5678 100644 --- a/lib/mobility/backend/active_record/dirty.rb +++ b/lib/mobility/backend/active_record/dirty.rb @@ -1,5 +1,11 @@ module Mobility module Backend +=begin + +Dirty tracking for AR mod...
Add documentation for AR::Dirty module [ci skip]
diff --git a/app/models/common/language.rb b/app/models/common/language.rb index abc1234..def5678 100644 --- a/app/models/common/language.rb +++ b/app/models/common/language.rb @@ -10,7 +10,7 @@ property :name, String, :required => true # locale string like 'en-US' - validates_format_of :code, :with => /^[a-z]{...
Use \A and \z in regexp for stricter matching * While \A and ^ are the same, there is a difference between \z and $ Using $ it will match the "end of line", which means that this would match strings like: "en-US\n". While \z means "end of string" and it will not match that, and will only match "en-US". I wou...
diff --git a/lib/nehm/user_control.rb b/lib/nehm/user_control.rb index abc1234..def5678 100644 --- a/lib/nehm/user_control.rb +++ b/lib/nehm/user_control.rb @@ -30,8 +30,8 @@ end def self.user(permalink) - user = Client.get('/resolve', url: "https://soundcloud.com/#{permalink}") - if user_exist?(user) + ...
Fix UserControl.user and UserControl.user_exist? methods
diff --git a/test/models/order_item_test.rb b/test/models/order_item_test.rb index abc1234..def5678 100644 --- a/test/models/order_item_test.rb +++ b/test/models/order_item_test.rb @@ -1,7 +1,13 @@ require 'test_helper' class OrderItemTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # en...
Add tests for OrderItem model
diff --git a/lib/retina_tag/engine.rb b/lib/retina_tag/engine.rb index abc1234..def5678 100644 --- a/lib/retina_tag/engine.rb +++ b/lib/retina_tag/engine.rb @@ -16,7 +16,6 @@ retina_path = "#{retina_els.join('.')}@2x.#{extension}" if !Rails.application.assets.find_asset(retina_path).nil? - ...
Remove debug puts (cleans up test output)
diff --git a/spec/rails_admin/config/fields/types/uuid_spec.rb b/spec/rails_admin/config/fields/types/uuid_spec.rb index abc1234..def5678 100644 --- a/spec/rails_admin/config/fields/types/uuid_spec.rb +++ b/spec/rails_admin/config/fields/types/uuid_spec.rb @@ -2,6 +2,8 @@ describe RailsAdmin::Config::Fields::Types::U...
Replace old stub syntax with newest RSpec 3
diff --git a/puppet-lint-duplicate_class_parameters-check.gemspec b/puppet-lint-duplicate_class_parameters-check.gemspec index abc1234..def5678 100644 --- a/puppet-lint-duplicate_class_parameters-check.gemspec +++ b/puppet-lint-duplicate_class_parameters-check.gemspec @@ -22,7 +22,7 @@ spec.add_development_dependency...
Update rubocop requirement from ~> 0.77.0 to ~> 0.78.0 Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](h...
diff --git a/app/models/webmail/extensions/imap_settings.rb b/app/models/webmail/extensions/imap_settings.rb index abc1234..def5678 100644 --- a/app/models/webmail/extensions/imap_settings.rb +++ b/app/models/webmail/extensions/imap_settings.rb @@ -13,11 +13,11 @@ def mongoize(object) case object - ...
[rubocop] C: Indent when as deep as case.
diff --git a/app/presenters/tree_builder_service_catalog.rb b/app/presenters/tree_builder_service_catalog.rb index abc1234..def5678 100644 --- a/app/presenters/tree_builder_service_catalog.rb +++ b/app/presenters/tree_builder_service_catalog.rb @@ -21,7 +21,8 @@ end def x_get_tree_roots(count_only, _options) - ...
Include :tenant to remove N+1 query tenant is touched here: https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/presenters/tree_node/service_template_catalog.rb#L5
diff --git a/IGIdenticon.podspec b/IGIdenticon.podspec index abc1234..def5678 100644 --- a/IGIdenticon.podspec +++ b/IGIdenticon.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "IGIdenticon" - s.version = "0.5" + s.version = "0.6" s.summary = "Swift i...
Update library version to 0.6
diff --git a/app/controllers/password_resets_controller.rb b/app/controllers/password_resets_controller.rb index abc1234..def5678 100644 --- a/app/controllers/password_resets_controller.rb +++ b/app/controllers/password_resets_controller.rb @@ -27,8 +27,8 @@ return end - @user.password_confirmation = pa...
Fix bug of password_reset: Use member instead of user
diff --git a/app/presenters/tree_builder_roles_by_server.rb b/app/presenters/tree_builder_roles_by_server.rb index abc1234..def5678 100644 --- a/app/presenters/tree_builder_roles_by_server.rb +++ b/app/presenters/tree_builder_roles_by_server.rb @@ -8,7 +8,7 @@ end def override(node, _object) - if @sb[:diag_se...
Build the selected node key from the session stored model in RBS 🌳🐞 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1734393
diff --git a/core/spec/integration/confirm_user_spec.rb b/core/spec/integration/confirm_user_spec.rb index abc1234..def5678 100644 --- a/core/spec/integration/confirm_user_spec.rb +++ b/core/spec/integration/confirm_user_spec.rb @@ -0,0 +1,39 @@+require 'integration_helper' + +describe 'When a username is reserved', ty...
Add integration spec which covers the whole confirmation process
diff --git a/Interstellar.podspec b/Interstellar.podspec index abc1234..def5678 100644 --- a/Interstellar.podspec +++ b/Interstellar.podspec @@ -10,6 +10,8 @@ s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9' + s.watchos.deployment_target = '2.0' + s.tvos.deployment_target = '9.0' s.source_...
Add tvOS and watchOS support to the podspec
diff --git a/todoist-api.gemspec b/todoist-api.gemspec index abc1234..def5678 100644 --- a/todoist-api.gemspec +++ b/todoist-api.gemspec @@ -18,5 +18,5 @@ spec.require_paths = ["lib"] spec.add_development_dependency "rspec", "~> 3" - spec.add_development_dependency "webmock" + spec.add_development_dependency "...
Update gemspec with webmock dependency
diff --git a/test/daemon_test.rb b/test/daemon_test.rb index abc1234..def5678 100644 --- a/test/daemon_test.rb +++ b/test/daemon_test.rb @@ -1,5 +1,5 @@ require File.dirname(__FILE__) + '/test_helper.rb' -context "APND Daemon" do - -end +# context "APND Daemon" do +# +# end
Comment this out for now
diff --git a/spec/rule_spec.rb b/spec/rule_spec.rb index abc1234..def5678 100644 --- a/spec/rule_spec.rb +++ b/spec/rule_spec.rb @@ -0,0 +1,18 @@+require_relative 'spec_helper' + +describe Picobot::RuleParser do + def format_rules(arr) + arr.map { |r| "#{r}\n" }.join('') + end + + it 'should round-trip simple rul...
Add spec for rule parsing. Signed-off-by: brian m. carlson <738bdd359be778fee9f0fc4e2934ad72f436ceda@crustytoothpaste.net>
diff --git a/spy_glass.gemspec b/spy_glass.gemspec index abc1234..def5678 100644 --- a/spy_glass.gemspec +++ b/spy_glass.gemspec @@ -20,6 +20,7 @@ spec.add_development_dependency 'bundler', '~> 1.5' spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec', '~> 3.1' + spec.add_development_...
Add sinatra as development dependency
diff --git a/core/dir/shared/pwd.rb b/core/dir/shared/pwd.rb index abc1234..def5678 100644 --- a/core/dir/shared/pwd.rb +++ b/core/dir/shared/pwd.rb @@ -2,9 +2,6 @@ with_feature :encoding do before :each do @fs_encoding = Encoding.find('filesystem') - if @fs_encoding == Encoding::US_ASCII - @f...
Allow both US_ASCII and ASCII_8BIT if fs encoding is unset (LANG=C)
diff --git a/db/seeds/super_admin.rb b/db/seeds/super_admin.rb index abc1234..def5678 100644 --- a/db/seeds/super_admin.rb +++ b/db/seeds/super_admin.rb @@ -1 +1,7 @@-Administration.create(email: SUPERADMIN.email, password: SUPERADMIN.password)+begin + Administration.create!(email: SUPERADMIN.email, password: SUPERADM...
Fix seeds superadmin password changement
diff --git a/spec/views/shared/milestones/_top.html.haml.rb b/spec/views/shared/milestones/_top.html.haml.rb index abc1234..def5678 100644 --- a/spec/views/shared/milestones/_top.html.haml.rb +++ b/spec/views/shared/milestones/_top.html.haml.rb @@ -0,0 +1,35 @@+require 'spec_helper' + +describe 'shared/milestones/_top....
Add view spec for top
diff --git a/spec/models/order_spec.rb b/spec/models/order_spec.rb index abc1234..def5678 100644 --- a/spec/models/order_spec.rb +++ b/spec/models/order_spec.rb @@ -13,6 +13,7 @@ end it 'has many products' do - expect(order.products).to be_truthy + order.products.create(name: 'Settlers of Catan') + expe...
Modify spec for order and products assocation
diff --git a/priority_test.gemspec b/priority_test.gemspec index abc1234..def5678 100644 --- a/priority_test.gemspec +++ b/priority_test.gemspec @@ -19,6 +19,6 @@ s.require_paths = ["lib"] # specify any dependencies here; for example: - s.add_runtime_dependency "rspec" s.add_runtime_dependency "sequel" + s....
Change rspec to development dependency
diff --git a/test/test_map.rb b/test/test_map.rb index abc1234..def5678 100644 --- a/test/test_map.rb +++ b/test/test_map.rb @@ -4,18 +4,12 @@ def setup @window = Window.new - @map_file = <<-eos - V....g...V - V....g...V - {'.'=>0, 'V'=>1, 'g'=>2} - eos - - @map = Map.new(window: @windo...
Use mapfile that is in place
diff --git a/app/helpers/venues_helper.rb b/app/helpers/venues_helper.rb index abc1234..def5678 100644 --- a/app/helpers/venues_helper.rb +++ b/app/helpers/venues_helper.rb @@ -9,10 +9,10 @@ end def options_for_purpose - ['Trek', 'Trail', 'Jungle Safari', 'Ghaat', 'Valley', 'Waterfall', 'Beach', 'Sanctuary', ...
Add more options in helpers
diff --git a/DateRangePicker.podspec b/DateRangePicker.podspec index abc1234..def5678 100644 --- a/DateRangePicker.podspec +++ b/DateRangePicker.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DateRangePicker' - s.version = '2.0.1' + s.version = '2.1' ...
Update the Podspec to version 2.1.
diff --git a/test/test_basic.rb b/test/test_basic.rb index abc1234..def5678 100644 --- a/test/test_basic.rb +++ b/test/test_basic.rb @@ -2,12 +2,7 @@ class BasicTest < IWNGTest def test_basic - code = IronWorkerNG::Code::Base.new do - name 'test_basic' - exec(File.dirname(__FILE__) + '/hello.rb') - ...
Cover with tests all new IronWorker features (label,tasks on pause)
diff --git a/static_deploy.gemspec b/static_deploy.gemspec index abc1234..def5678 100644 --- a/static_deploy.gemspec +++ b/static_deploy.gemspec @@ -18,9 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_dependency "tty" + spec.add_dependency "tty...
Change to fix tty dependency.
diff --git a/config/initializers/new_framework_defaults.rb b/config/initializers/new_framework_defaults.rb index abc1234..def5678 100644 --- a/config/initializers/new_framework_defaults.rb +++ b/config/initializers/new_framework_defaults.rb @@ -18,6 +18,3 @@ # Require `belongs_to` associations by default. Previous ve...
Drop deprecated Rails configuration param
diff --git a/thermite.gemspec b/thermite.gemspec index abc1234..def5678 100644 --- a/thermite.gemspec +++ b/thermite.gemspec @@ -17,11 +17,11 @@ # Mostly due to tomlrb s.required_ruby_version = '>= 2.0.0' - s.add_runtime_dependency 'minitar', '~> 0.5' + s.add_runtime_dependency 'minitar', '~> 0.6' s.add_run...
Raise dependency versions due to vulnerabilities
diff --git a/raygun_client.gemspec b/raygun_client.gemspec index abc1234..def5678 100644 --- a/raygun_client.gemspec +++ b/raygun_client.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'raygun_client' - s.version = '0.3.2.0' + s.version = '0.4.0.0' s.summary = 'Client f...
Package version increased from 0.3.2.0 to 0.4.0.0
diff --git a/WireCompiler.podspec b/WireCompiler.podspec index abc1234..def5678 100644 --- a/WireCompiler.podspec +++ b/WireCompiler.podspec @@ -9,8 +9,8 @@ s.module_name = 'WireCompiler' s.prepare_command = <<-CMD - ./gradlew -p wire-library :wire-compiler:jar - cp ./wire-library/wire-compiler/build/lib...
Use correct compiler artifact for Swift podspec We want to use the fully assembled jar, not the one containing just the main classes.
diff --git a/Blockfile.rb b/Blockfile.rb index abc1234..def5678 100644 --- a/Blockfile.rb +++ b/Blockfile.rb @@ -9,17 +9,17 @@ dependency efx.route 'engine' block 'accordion' do - scss_file 'accordion.scss' + scss_file 'accordion.css' js_file 'accordion.js' end block 'tabs' do - ...
Update scss_file defs to use .css extension per WebBlocks update
diff --git a/lib/fake-resque/faker.rb b/lib/fake-resque/faker.rb index abc1234..def5678 100644 --- a/lib/fake-resque/faker.rb +++ b/lib/fake-resque/faker.rb @@ -5,7 +5,13 @@ def fake_push(queue, item) if @forward payload = decode(encode(item)) - Resque::Job.new(queue, payload).perform + ...
Put failed jobs in the failure back end
diff --git a/lib/ghi/commands/show.rb b/lib/ghi/commands/show.rb index abc1234..def5678 100644 --- a/lib/ghi/commands/show.rb +++ b/lib/ghi/commands/show.rb @@ -22,6 +22,10 @@ else if patch_path i = throb { Web.new(repo).curl patch_path } + unless i.start_with? 'From' + ...
Abort with error when patch isn't found This should fix #98. Signed-off-by: Stephen Celis <06fa905d7f2aaced6dc72e9511c71a2a51e8aead@stephencelis.com>
diff --git a/test/test_pedantic.rb b/test/test_pedantic.rb index abc1234..def5678 100644 --- a/test/test_pedantic.rb +++ b/test/test_pedantic.rb @@ -32,6 +32,18 @@ end end + def test_heuristics_are_sorted + file = File.expand_path("../../lib/linguist/heuristics.rb", __FILE__) + heuristics = open(file).e...
Add checks to keep heuristics alphabetised.
diff --git a/lib/rack/handler/reel.rb b/lib/rack/handler/reel.rb index abc1234..def5678 100644 --- a/lib/rack/handler/reel.rb +++ b/lib/rack/handler/reel.rb @@ -30,7 +30,7 @@ rescue Interrupt Celluloid.logger.info "Interrupt received... shutting down" supervisor.terminate - Cellul...
Join toplevel supervisor after terminating it
diff --git a/lib/saas_pulse/client.rb b/lib/saas_pulse/client.rb index abc1234..def5678 100644 --- a/lib/saas_pulse/client.rb +++ b/lib/saas_pulse/client.rb @@ -22,7 +22,8 @@ end def track(data={}) - Thread.new {open(build_url(data))} + url = build_url(data) + Thread.new {open(url)} end ...
Validate args sent to SaasPulse.track before making the actual call
diff --git a/lib/serverspec/helper.rb b/lib/serverspec/helper.rb index abc1234..def5678 100644 --- a/lib/serverspec/helper.rb +++ b/lib/serverspec/helper.rb @@ -7,7 +7,7 @@ options = Net::SSH::Config.for(host) user = options[:user] || Etc.getlogin - ret = {} + ret = nil Net::SSH.start...
Change default value of ret For easy error handling
diff --git a/lib/travis/config/url.rb b/lib/travis/config/url.rb index abc1234..def5678 100644 --- a/lib/travis/config/url.rb +++ b/lib/travis/config/url.rb @@ -19,6 +19,8 @@ end end + Ampqs = Amqp + class << self def parse(url) return Generic.new if url.nil? || url.empt...
Patch in AMQPS support from travis-core since its vendored here
diff --git a/lib/twitter2fleep/cli.rb b/lib/twitter2fleep/cli.rb index abc1234..def5678 100644 --- a/lib/twitter2fleep/cli.rb +++ b/lib/twitter2fleep/cli.rb @@ -6,19 +6,51 @@ class Twitter2Fleep::CLI < Thor desc "start", "Start the bot" option :config_file, :default => "#{Dir.home}/.twitter2fleep/config.yml" + o...
Add option to load config from environment variables.
diff --git a/cloud_conductor_utils.gemspec b/cloud_conductor_utils.gemspec index abc1234..def5678 100644 --- a/cloud_conductor_utils.gemspec +++ b/cloud_conductor_utils.gemspec @@ -24,5 +24,4 @@ spec.add_dependency "rest-client" spec.add_dependency "json" - spec.add_dependency "base64" end
Fix gemspec to remove unnecessary dependency.
diff --git a/Casks/satellite-eyes.rb b/Casks/satellite-eyes.rb index abc1234..def5678 100644 --- a/Casks/satellite-eyes.rb +++ b/Casks/satellite-eyes.rb @@ -1,10 +1,10 @@ cask :v1 => 'satellite-eyes' do - version '1.2.4' - sha256 'adc1554c9095e3f316474e0f3712fa2a086d9405d126eca6359b8ebdc7451902' + version '1.4.0' + ...
Upgrade Satellite Eyes.app to v1.4.0
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index abc1234..def5678 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -1,10 +1,12 @@ ActionMailer::Base.default_content_type = 'text/html' class Mailer < ActionMailer::Base + FROM = "Starbuck <noreply@#{ENV['APP_HOST']}>" + def star(star) ...
Send email from a noreply@
diff --git a/tasks/pws-update-buildpack/run.rb b/tasks/pws-update-buildpack/run.rb index abc1234..def5678 100644 --- a/tasks/pws-update-buildpack/run.rb +++ b/tasks/pws-update-buildpack/run.rb @@ -19,7 +19,7 @@ FileUtils.mv(orig_filename, filename) -puts filename +puts "\ncf update-buildpack #{ENV['BUILDPACK_NAME']...
Change update PWS task logging for enhanced clarity [#147749883] Signed-off-by: Keaty Gross <ba27100af1ae477f2abedd28f15b1dd208b1f48a@pivotal.io>
diff --git a/db/migrate/20150716211149_create_chat_rooms.rb b/db/migrate/20150716211149_create_chat_rooms.rb index abc1234..def5678 100644 --- a/db/migrate/20150716211149_create_chat_rooms.rb +++ b/db/migrate/20150716211149_create_chat_rooms.rb @@ -1,8 +1,8 @@ class CreateChatRooms < ActiveRecord::Migration def chan...
Add constraints to chat rooms migration
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 @@ -6,8 +6,15 @@ # TODO: Maze.hooks.after_configuration doesn't seem to work ? AfterConfiguration do + # log to console, not the file Maze.config.file_log = fal...
Reduce the wait time for requests
diff --git a/CodableFirebase.podspec b/CodableFirebase.podspec index abc1234..def5678 100644 --- a/CodableFirebase.podspec +++ b/CodableFirebase.podspec @@ -15,5 +15,5 @@ s.source = { :git => "https://github.com/alickbass/CodableFirebase.git", :tag => s.version, :branch => 'master'} s.source_files = "CodableFire...
Update podspec to Swift 4.2
diff --git a/DDCoachMarks.podspec b/DDCoachMarks.podspec index abc1234..def5678 100644 --- a/DDCoachMarks.podspec +++ b/DDCoachMarks.podspec @@ -7,7 +7,7 @@ s.author = { "Darin Doria" => "ddoria921@gmail.com" } s.source = { :git => "https://github.com/ddoria921/DDCoachMarks.git", :branch => "master" } ...
Remove example project files from Podspec
diff --git a/features/step_definitions/resource_steps.rb b/features/step_definitions/resource_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/resource_steps.rb +++ b/features/step_definitions/resource_steps.rb @@ -15,13 +15,8 @@ instance = resource_model.find(instance.id) - unless instance...
Use rspec expectations where possible
diff --git a/test/server/stdout_writer_test.rb b/test/server/stdout_writer_test.rb index abc1234..def5678 100644 --- a/test/server/stdout_writer_test.rb +++ b/test/server/stdout_writer_test.rb @@ -0,0 +1,47 @@+require_relative 'test_base' +require_source 'stdout_writer' + +class StdoutWriterTest < TestBase + + def sel...
Add tests for StdoutWriter class
diff --git a/reporter.rb b/reporter.rb index abc1234..def5678 100644 --- a/reporter.rb +++ b/reporter.rb @@ -1,9 +1,13 @@ #!/usr/bin/env ruby require 'active_support/all' -require './lib/stripe_data' -require './lib/clearbooks_csv' -require './lib/clearbooks_clients' + +$LOAD_PATH.unshift File.expand_path(".", "lib"...
Use LOAD_PATH to require files
diff --git a/benchmarks/rdoc_vs_yardoc.rb b/benchmarks/rdoc_vs_yardoc.rb index abc1234..def5678 100644 --- a/benchmarks/rdoc_vs_yardoc.rb +++ b/benchmarks/rdoc_vs_yardoc.rb @@ -0,0 +1,8 @@+require "benchmark" + +files = Dir.glob(File.dirname(__FILE__) + '/../lib/**/*.rb').join(" ") +Benchmark.bmbm do |x| + x.report("r...
Add RDoc vs YARD benchmark
diff --git a/tidylib-validation_errors.gemspec b/tidylib-validation_errors.gemspec index abc1234..def5678 100644 --- a/tidylib-validation_errors.gemspec +++ b/tidylib-validation_errors.gemspec @@ -10,7 +10,6 @@ spec.email = ["sumangurung@gmail.com"] if spec.respond_to?(:metadata) - spec.metadata['allo...
Modify gemspec to allow pusing to rubygems
diff --git a/spec/roll/amp/compiled_stylesheet_file_spec.rb b/spec/roll/amp/compiled_stylesheet_file_spec.rb index abc1234..def5678 100644 --- a/spec/roll/amp/compiled_stylesheet_file_spec.rb +++ b/spec/roll/amp/compiled_stylesheet_file_spec.rb @@ -2,7 +2,7 @@ RSpec.describe Roll::Amp::CompiledStylesheetFile do de...
Use __FILE__ instead of __dir__ which isn't supported by JRuby.
diff --git a/translate/spec/quickstart_spec.rb b/translate/spec/quickstart_spec.rb index abc1234..def5678 100644 --- a/translate/spec/quickstart_spec.rb +++ b/translate/spec/quickstart_spec.rb @@ -20,8 +20,8 @@ it "translates Hello, world! to Russian" do translate = Google::Cloud::Translate.new expect(Googl...
Change alignment of client instantiation mocking
diff --git a/tumblr_client.gemspec b/tumblr_client.gemspec index abc1234..def5678 100644 --- a/tumblr_client.gemspec +++ b/tumblr_client.gemspec @@ -5,7 +5,7 @@ gem.add_dependency 'faraday', '~> 0.9.0' gem.add_dependency 'faraday_middleware', '~> 0.9.0' gem.add_dependency 'json' - gem.add_dependency 'simple_oa...
Revert "Updated oauth library to 0.2.0" This reverts commit ff94c8399d86bf790be8614f3404d964abf76e02.
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 @@ -2,6 +2,3 @@ require 'database_cleaner' require 'rspec/expectations' - -require 'test/unit/assertions' -
Remove unused requirement of test/unit/assertions
diff --git a/what_now.gemspec b/what_now.gemspec index abc1234..def5678 100644 --- a/what_now.gemspec +++ b/what_now.gemspec @@ -2,8 +2,8 @@ s.name = 'what_now' s.version = '0.0.1' s.date = '2014-02-27' - s.summary = 'Find TODO comments in your code' - s.description = 'Executable for fin...
Add executable for showing todos
diff --git a/test/models/authorization_test.rb b/test/models/authorization_test.rb index abc1234..def5678 100644 --- a/test/models/authorization_test.rb +++ b/test/models/authorization_test.rb @@ -15,8 +15,8 @@ end it 'has lists of stories and series belonging to accounts authorized on token' do - authorizati...
Make token story/series test order agnostic
diff --git a/test/xample/text/no_match_spec.rb b/test/xample/text/no_match_spec.rb index abc1234..def5678 100644 --- a/test/xample/text/no_match_spec.rb +++ b/test/xample/text/no_match_spec.rb @@ -0,0 +1,7 @@+require File.dirname(__FILE__) + "/../../test_helper" + +describe Xample::Text::NoMatch do + it "should be an ...
Add small spec for NoMatch exception.
diff --git a/test_client/data/certs_example.rb b/test_client/data/certs_example.rb index abc1234..def5678 100644 --- a/test_client/data/certs_example.rb +++ b/test_client/data/certs_example.rb @@ -1,9 +1,13 @@-NORDEA_CSR = ''.freeze -NORDEA_CERT = ''.freeze -NORDEA_PRIVATE_KEY ...
Update test client certs example
diff --git a/activeresource/test/abstract_unit.rb b/activeresource/test/abstract_unit.rb index abc1234..def5678 100644 --- a/activeresource/test/abstract_unit.rb +++ b/activeresource/test/abstract_unit.rb @@ -4,6 +4,7 @@ require 'test/unit' require 'active_resource' require 'active_support' +require 'active_support/t...
Fix isolated test fail due to missing mocha
diff --git a/geos-extensions.gemspec b/geos-extensions.gemspec index abc1234..def5678 100644 --- a/geos-extensions.gemspec +++ b/geos-extensions.gemspec @@ -11,6 +11,7 @@ s.description = "Extensions for the GEOS library." s.summary = s.description s.email = "code@zoocasa.com" + s.license = "MIT" s.extra_rdo...
Add license details to gemspec.
diff --git a/etc/qed.rb b/etc/qed.rb index abc1234..def5678 100644 --- a/etc/qed.rb +++ b/etc/qed.rb @@ -1,13 +1,12 @@ #!/usr/bin/env ruby -# -# Setup QED. -# -config :qed, :profile=>:cov do +QED.configure 'cov' do require 'simplecov' + SimpleCov.command_name 'qed' SimpleCov.start do + add_filter '/demo/' ...
:admin: Move config for QED to etc directory.
diff --git a/faxtest.rb b/faxtest.rb index abc1234..def5678 100644 --- a/faxtest.rb +++ b/faxtest.rb @@ -0,0 +1,13 @@+require 'phaxio' +require 'pry' + +Phaxio.config do |config| + config.api_key = ENV['PHAXIO_API_KEY'] + config.api_secret = ENV['PHAXIO_API_SECRET'] +end + +file1 = File.new('/tmp/application_2bedc7f5...
Add working fax test code
diff --git a/Formula/wakeonlan.rb b/Formula/wakeonlan.rb index abc1234..def5678 100644 --- a/Formula/wakeonlan.rb +++ b/Formula/wakeonlan.rb @@ -7,6 +7,11 @@ def install system "perl", "Makefile.PL" + # Make sure script and manual get installed in Cellar properly + inreplace "Makefile" do |s| + s.ch...
Fix to install in Cellar as it should The current wakeonlan formula causes the script and man page to get installed directly into /usr/local instead of into the Cellar like it should, this patch fixes that. Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
diff --git a/Library/Formula/bash.rb b/Library/Formula/bash.rb index abc1234..def5678 100644 --- a/Library/Formula/bash.rb +++ b/Library/Formula/bash.rb @@ -18,4 +18,10 @@ system "./configure", "--prefix=#{prefix}", "--with-installed-readline" system "make install" end + + def caveats; <<-EOS.undent + I...
Add caveat about using this Bash as login shell Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
diff --git a/lib/awspec/type/base.rb b/lib/awspec/type/base.rb index abc1234..def5678 100644 --- a/lib/awspec/type/base.rb +++ b/lib/awspec/type/base.rb @@ -7,8 +7,14 @@ attr_reader :id, :resource def initialize(id = nil) + @display_name = id super @id = nil + end + + def to_s + ...
Add method to_s for spec results
diff --git a/MenuPopOverView.podspec b/MenuPopOverView.podspec index abc1234..def5678 100644 --- a/MenuPopOverView.podspec +++ b/MenuPopOverView.podspec @@ -1,14 +1,14 @@ Pod::Spec.new do |s| s.name = "MenuPopOverView" - s.version = "0.0.1" + s.version = "0.0.2" s.summary = "A custom PopO...
Update pod spec to v0.0.2 update pod spec to v0.0.2
diff --git a/lib/flickxtractr/cli.rb b/lib/flickxtractr/cli.rb index abc1234..def5678 100644 --- a/lib/flickxtractr/cli.rb +++ b/lib/flickxtractr/cli.rb @@ -11,5 +11,11 @@ `brew install #{dependency}` end end + + desc "extract URL", "Extract and enrich flickr image" + def extract(flickr_url) +...
Add exec command for image extraction
diff --git a/lib/gist-block-macro.rb b/lib/gist-block-macro.rb index abc1234..def5678 100644 --- a/lib/gist-block-macro.rb +++ b/lib/gist-block-macro.rb @@ -1,7 +1,7 @@ RUBY_ENGINE == 'opal' ? (require 'gist-block-macro/extension') : (require_relative 'gist-block-macro/extension') -Extensions.register do - if (regis...
Use @document instead of registry.document
diff --git a/spec/app/reader_spec.rb b/spec/app/reader_spec.rb index abc1234..def5678 100644 --- a/spec/app/reader_spec.rb +++ b/spec/app/reader_spec.rb @@ -13,4 +13,11 @@ expect(last_response).to be_not_found end end + + describe "GET /about" do + it "returns a success" do + get "/about" + ...
Make sure the about route works
diff --git a/utbs.gemspec b/utbs.gemspec index abc1234..def5678 100644 --- a/utbs.gemspec +++ b/utbs.gemspec @@ -10,13 +10,13 @@ s.authors = ["Andrij Tytar"] s.email = ["faust@dot.com.ua"] s.homepage = "http://utbs.kiev.ua" - s.summary = "Rails Client for utbs.com.ua link bla" + s.summary ...
Add Rails 3.2 to dependency
diff --git a/attributes/theme.rb b/attributes/theme.rb index abc1234..def5678 100644 --- a/attributes/theme.rb +++ b/attributes/theme.rb @@ -1,9 +1,9 @@-override['gerrit']['theme']['compile_files'] = %w{ +default['gerrit']['theme']['compile_files'] = %w{ GerritSiteHeader.html GerritSite.css } -override['gerrit...
Set attributes with default precedence level
diff --git a/acfs.gemspec b/acfs.gemspec index abc1234..def5678 100644 --- a/acfs.gemspec +++ b/acfs.gemspec @@ -20,6 +20,7 @@ spec.add_runtime_dependency 'activesupport' spec.add_runtime_dependency 'activemodel' + spec.add_runtime_dependency 'typhoeus' spec.add_development_dependency 'bundler', '~> 1.3' ...
Add typhoeus as http library.
diff --git a/features/step_definitions/cross_compilation.rb b/features/step_definitions/cross_compilation.rb index abc1234..def5678 100644 --- a/features/step_definitions/cross_compilation.rb +++ b/features/step_definitions/cross_compilation.rb @@ -6,13 +6,14 @@ end Given %r{^I've installed cross compile toolchain$}...
Fix compiler discovery in steps, for macports mingw
diff --git a/lib/logster/middleware/debug_exceptions.rb b/lib/logster/middleware/debug_exceptions.rb index abc1234..def5678 100644 --- a/lib/logster/middleware/debug_exceptions.rb +++ b/lib/logster/middleware/debug_exceptions.rb @@ -1,7 +1,14 @@ class Logster::Middleware::DebugExceptions < ActionDispatch::DebugExceptio...
Fix `Logster::Middleware::DebugExceptions` error with Rails 5. fixes https://github.com/discourse/logster/issues/55
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,7 +1,22 @@-# This file should contain all the record creation needed to seed the database with its default values. -# The data can then be loaded with the rake db:seed (or created alongside the db with db:setu...
Create User, application, and companies seed data
diff --git a/core/threadgroup/list_spec.rb b/core/threadgroup/list_spec.rb index abc1234..def5678 100644 --- a/core/threadgroup/list_spec.rb +++ b/core/threadgroup/list_spec.rb @@ -16,6 +16,8 @@ tg.add(th2) (tg.list & [th1, th2]).should include(th1, th2) + Thread.pass until th1.status == 'sleep' || !t...
Fix yet another race condition in a threading spec: ThreadGroup's list_spec was making the assumption that immediately after the two threads posted to the Channel, they would then be asleep. The spec ran through its checks and then tried to #run and #join those threads. But since there was no guarantee either thread h...
diff --git a/spec/airbrush_spec.rb b/spec/airbrush_spec.rb index abc1234..def5678 100644 --- a/spec/airbrush_spec.rb +++ b/spec/airbrush_spec.rb @@ -0,0 +1,9 @@+require File.dirname(__FILE__) + '/spec_helper.rb' + +describe 'airbrush' do + + it 'should add a log method to object' do + Object.should respond_to(:lo...
Add root level airbrush spec git-svn-id: 6d9b9a8f21f96071dc3ac7ff320f08f2a342ec80@39 daa9635f-4444-0410-9b3d-b8c75a019348
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,7 +1,2 @@-# This file should contain all the record creation needed to seed the database with its default values. -# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup...
Add seed data for a simple hackney booking request Also adds the first user for gds-sso.
diff --git a/ext/wikitext/extconf.rb b/ext/wikitext/extconf.rb index abc1234..def5678 100644 --- a/ext/wikitext/extconf.rb +++ b/ext/wikitext/extconf.rb @@ -28,7 +28,7 @@ exit 1 end -if RUBY_VERSION !~ /\A2\.[0-4](\.|$)/ +if RUBY_VERSION !~ /\A2\.[0-5](\.|$)/ raise "unsupported Ruby version: #{RUBY_VERSION}" e...
Mark Ruby 2.5.0 as supported
diff --git a/app/serializers/sprangular/adjustment_serializer.rb b/app/serializers/sprangular/adjustment_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/sprangular/adjustment_serializer.rb +++ b/app/serializers/sprangular/adjustment_serializer.rb @@ -1,7 +1,7 @@ module Sprangular class AdjustmentSe...
Remove originator_type/originator_id attributes from Adjustment serializer
diff --git a/puppet-lint-no_cron_resources-check.gemspec b/puppet-lint-no_cron_resources-check.gemspec index abc1234..def5678 100644 --- a/puppet-lint-no_cron_resources-check.gemspec +++ b/puppet-lint-no_cron_resources-check.gemspec @@ -21,7 +21,7 @@ spec.add_development_dependency 'rspec', '~> 3.9.0' spec.add_dev...
Update rubocop requirement from ~> 0.85.0 to ~> 0.86.0 Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](h...
diff --git a/app/controllers/builds_controller.rb b/app/controllers/builds_controller.rb index abc1234..def5678 100644 --- a/app/controllers/builds_controller.rb +++ b/app/controllers/builds_controller.rb @@ -1,2 +1,15 @@ class BuildsController < ApplicationController + def create + name = params[:project_name] + ...
Work on the builds controller
diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb index abc1234..def5678 100644 --- a/app/controllers/people_controller.rb +++ b/app/controllers/people_controller.rb @@ -1,4 +1,6 @@ class PeopleController < AuthorizedController + has_scope :by_text + def show # Invoice sc...
Fix search in people index.
diff --git a/app/controllers/pusher_controller.rb b/app/controllers/pusher_controller.rb index abc1234..def5678 100644 --- a/app/controllers/pusher_controller.rb +++ b/app/controllers/pusher_controller.rb @@ -14,19 +14,16 @@ # If there is an error, the response will look like this # {"channel_name":["can't be blan...
Remove unnecessary user check in PusherController
diff --git a/app/helpers/publishing_api_helper.rb b/app/helpers/publishing_api_helper.rb index abc1234..def5678 100644 --- a/app/helpers/publishing_api_helper.rb +++ b/app/helpers/publishing_api_helper.rb @@ -2,7 +2,7 @@ # state_history returns a hash like {"3"=>"draft", "2"=>"published", "1"=>"superseded"} # so w...
Allow indifferent access for content item hash Publishing api returns a content item hash with string keys. Allow the hash to be accessed with label keys as well. See https://api.rubyonrails.org/v4.2/classes/ActiveSupport/HashWithIndifferentAccess.html
diff --git a/app/serializers/effort_serializer.rb b/app/serializers/effort_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/effort_serializer.rb +++ b/app/serializers/effort_serializer.rb @@ -1,6 +1,6 @@ class EffortSerializer < BaseSerializer attributes :id, :event_id, :participant_id, :bib_number,...
Add phone, email, and url attributes to EffortSerializer.