diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/Casks/wowza-streaming-engine.rb b/Casks/wowza-streaming-engine.rb index abc1234..def5678 100644 --- a/Casks/wowza-streaming-engine.rb +++ b/Casks/wowza-streaming-engine.rb @@ -0,0 +1,21 @@+cask 'wowza-streaming-engine' do + version '4.4.1' + sha256 '2d87573f3aa0af2b23bbef9b327774ed83f6dea5de5c70d66a66545...
Add Wowza Streaming Engine v4.4.1
diff --git a/react-native-onesignal.podspec b/react-native-onesignal.podspec index abc1234..def5678 100644 --- a/react-native-onesignal.podspec +++ b/react-native-onesignal.podspec @@ -9,7 +9,7 @@ s.homepage = "https://github.com/geektimecoil/react-native-onesignal" s.license = package_json["license"]...
Allow iOS versions >= 7.0 OneSignal itself needs >= 6.1 and React Native needs >= 7.0.
diff --git a/benchmarks/src/complex_view.rb b/benchmarks/src/complex_view.rb index abc1234..def5678 100644 --- a/benchmarks/src/complex_view.rb +++ b/benchmarks/src/complex_view.rb @@ -1,4 +1,8 @@+require 'tilt' + class ComplexView + include Tilt::CompileSite + def header "Colors" end @@ -10,4 +14,4 @@ ...
Benchmark: Include Tilt::CompileSite to improve performance
diff --git a/fragrant.gemspec b/fragrant.gemspec index abc1234..def5678 100644 --- a/fragrant.gemspec +++ b/fragrant.gemspec @@ -3,7 +3,7 @@ Gem::Specification.new do |s| s.name = 'fragrant' - s.version = "0.0.2" + s.version = "0.0.3" s.platform = Gem::Platform::RUBY s.authors = ['Mat...
Include 'templates' dir in gem, bump to version 0.0.3
diff --git a/test/psl_test.rb b/test/psl_test.rb index abc1234..def5678 100644 --- a/test/psl_test.rb +++ b/test/psl_test.rb @@ -32,14 +32,7 @@ failures = [] self.class.tests.each do |input, output| - domain = begin - - - d = PublicSuffix.parse(input) - [d.sld, d.tld].join(".") - resc...
Simplify the test using PublicSuffix.domain
diff --git a/test/test_gem.rb b/test/test_gem.rb index abc1234..def5678 100644 --- a/test/test_gem.rb +++ b/test/test_gem.rb @@ -13,7 +13,7 @@ require 'systemu' # Require clean environment - assert_empty Dir['nanoc-*.gem'], "Ensure no nanoc-*.gem files exist" + Dir['nanoc-*.gem'].each { |f| FileUtils.r...
Make gem test remove existing gem files
diff --git a/turnpike.gemspec b/turnpike.gemspec index abc1234..def5678 100644 --- a/turnpike.gemspec +++ b/turnpike.gemspec @@ -16,6 +16,6 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ['lib'] - s.add_runtime_dependency 'redis', '~> 3.0.0.rc1' - s.add_d...
Update Redis version in gemspec
diff --git a/twitchus.gemspec b/twitchus.gemspec index abc1234..def5678 100644 --- a/twitchus.gemspec +++ b/twitchus.gemspec @@ -17,9 +17,11 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] - gem.add_development_dependency "pry" - gem.add_development_dependency "rak...
Add jtv gem + specify version
diff --git a/vmdb/app/models/file_depot_ftp_anonymous.rb b/vmdb/app/models/file_depot_ftp_anonymous.rb index abc1234..def5678 100644 --- a/vmdb/app/models/file_depot_ftp_anonymous.rb +++ b/vmdb/app/models/file_depot_ftp_anonymous.rb @@ -9,16 +9,16 @@ private - def create_directory_structure(_ftp) + def create_d...
Update FileDepotFtpAnonymous to match changes to FileDepotFtp. destination_file_exists? was renamed to file_exists? since it's used for the destination directories in addition to the destination file. destination_path needs to return a Pathname object that responds to join. https://bugzilla.redhat.com/show_bug.cgi?id...
diff --git a/features/step_definitions/app_steps.rb b/features/step_definitions/app_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/app_steps.rb +++ b/features/step_definitions/app_steps.rb @@ -29,7 +29,7 @@ app = Application.find_by_name(app_name) visit('/') - click_on 'Deployable Apps' ...
Change Deployable Apps to Applications
diff --git a/field_types/core/tag/tag_field_type.rb b/field_types/core/tag/tag_field_type.rb index abc1234..def5678 100644 --- a/field_types/core/tag/tag_field_type.rb +++ b/field_types/core/tag/tag_field_type.rb @@ -13,7 +13,7 @@ end def data=(data_hash) - @tag_list = data_hash.deep_symbolize_keys[:tag_list]...
Change Tag input to expect and sanitize comma separated string
diff --git a/mayhem-rails.gemspec b/mayhem-rails.gemspec index abc1234..def5678 100644 --- a/mayhem-rails.gemspec +++ b/mayhem-rails.gemspec @@ -10,7 +10,7 @@ spec.email = ['sephonicus@gmail.com'] spec.description = 'Mayhem is a tool for sowing discord within text. Mayhem Rails makes it easy to include i...
Add homepage to gem spec
diff --git a/airborne.gemspec b/airborne.gemspec index abc1234..def5678 100644 --- a/airborne.gemspec +++ b/airborne.gemspec @@ -15,5 +15,5 @@ s.add_runtime_dependency 'rack-test', '< 2.0', '>= 1.1.0' s.add_runtime_dependency 'rack' s.add_runtime_dependency 'activesupport' - s.add_development_dependency 'webmo...
Update webmock requirement from ~> 0 to ~> 3 Updates the requirements on [webmock](https://github.com/bblimke/webmock) to permit the latest version. - [Release notes](https://github.com/bblimke/webmock/releases) - [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md) - [Commits](https://github.com/b...
diff --git a/db/migrate/20150424055233_add_physical_id_to_serverspec_schedule.rb b/db/migrate/20150424055233_add_physical_id_to_serverspec_schedule.rb index abc1234..def5678 100644 --- a/db/migrate/20150424055233_add_physical_id_to_serverspec_schedule.rb +++ b/db/migrate/20150424055233_add_physical_id_to_serverspec_sch...
Change a NOT NULL column to allow NULL
diff --git a/Library/Formula/shared-desktop-ontologies.rb b/Library/Formula/shared-desktop-ontologies.rb index abc1234..def5678 100644 --- a/Library/Formula/shared-desktop-ontologies.rb +++ b/Library/Formula/shared-desktop-ontologies.rb @@ -1,9 +1,9 @@ require 'formula' class SharedDesktopOntologies <Formula - url ...
Update Shared Desktop Ontologies to 0.5.
diff --git a/Casks/iterm2-beta.rb b/Casks/iterm2-beta.rb index abc1234..def5678 100644 --- a/Casks/iterm2-beta.rb +++ b/Casks/iterm2-beta.rb @@ -1,8 +1,8 @@ class Iterm2Beta < Cask - version '1.0.0.20140629' - sha256 'fdda227b01497c90f7c35ad9bde73ee477bb452f27acef9abbf97dc42fdf3bb5' + version '2.0.0.20141022' + sha...
Update iTerm2 beta formula to the latest version. iTerm 2 has been updated to 2.0.0.20141022 https://iterm2.com/downloads/beta/iTerm2-2_0_0_20141022.zip
diff --git a/Casks/spotifybeta.rb b/Casks/spotifybeta.rb index abc1234..def5678 100644 --- a/Casks/spotifybeta.rb +++ b/Casks/spotifybeta.rb @@ -1,6 +1,6 @@ cask :v1 => 'spotifybeta' do - version '1.0.0.909.ge4845795-1223' - sha256 '9279b76b13185d2cba4afcbf19464a97229b3a50620fbfff4311fef8cf9b8c50' + version '1.0.0.9...
Update SpotifBeta.app to version 1.0.0.974.ga39487e3-1439
diff --git a/lib/http_eventstore/actions/read_all_stream_events.rb b/lib/http_eventstore/actions/read_all_stream_events.rb index abc1234..def5678 100644 --- a/lib/http_eventstore/actions/read_all_stream_events.rb +++ b/lib/http_eventstore/actions/read_all_stream_events.rb @@ -19,11 +19,18 @@ attr_reader :client ...
Read all stream events is not recursive so can read arbitrarily long streams
diff --git a/lib/tasks/temp_remove_landlord_immigration_check.rake b/lib/tasks/temp_remove_landlord_immigration_check.rake index abc1234..def5678 100644 --- a/lib/tasks/temp_remove_landlord_immigration_check.rake +++ b/lib/tasks/temp_remove_landlord_immigration_check.rake @@ -0,0 +1,5 @@+desc "Remove Landlord Immigrati...
Add Rake task to delete old Artefact reserving needed slug This Artefact is an old StartPage that has not been touched since 2015. StartPages are now published in SmartAnswers, and this example is leftover from before they were moved from Publisher. There is now a need for Publisher to re-use the `landlord-immigratio...
diff --git a/rack-geo.gemspec b/rack-geo.gemspec index abc1234..def5678 100644 --- a/rack-geo.gemspec +++ b/rack-geo.gemspec @@ -17,7 +17,7 @@ s.extra_rdoc_files = ['README.rdoc', 'HISTORY.rdoc', 'LICENSE.txt'] s.require_paths = ["lib"] - s.add_dependency 'rack', '~> 1.0' + s.add_dependency 'rack', '< 3' s....
Update gemspec to allow using with Rack 2 Required to use gem with Rails 5+
diff --git a/db/migrate/20140226191212_add_payment_service_fee_paid_by_user_to_contributions.rb b/db/migrate/20140226191212_add_payment_service_fee_paid_by_user_to_contributions.rb index abc1234..def5678 100644 --- a/db/migrate/20140226191212_add_payment_service_fee_paid_by_user_to_contributions.rb +++ b/db/migrate/201...
Restructure payments fields on Contributions We will be storing contribution's fees in contributions table to help us generate reports.
diff --git a/kontrast.gemspec b/kontrast.gemspec index abc1234..def5678 100644 --- a/kontrast.gemspec +++ b/kontrast.gemspec @@ -8,7 +8,7 @@ spec.version = Kontrast::VERSION spec.authors = ["Ilya Rubnich"] spec.email = ["ilya@harrys.com"] - spec.summary = %q{An automated testi...
Update gemspec summary to match readme
diff --git a/vendor/refinerycms/core/lib/generators/refinery_engine/templates/refinerycms-plural_name.gemspec b/vendor/refinerycms/core/lib/generators/refinery_engine/templates/refinerycms-plural_name.gemspec index abc1234..def5678 100644 --- a/vendor/refinerycms/core/lib/generators/refinery_engine/templates/refinerycm...
Remove whitespace and ensure the summary differs from the description.
diff --git a/app/models/components/course/experience_points_records_ability_component.rb b/app/models/components/course/experience_points_records_ability_component.rb index abc1234..def5678 100644 --- a/app/models/components/course/experience_points_records_ability_component.rb +++ b/app/models/components/course/experi...
Define Experience Points Record abilities
diff --git a/config/initializers/spree.rb b/config/initializers/spree.rb index abc1234..def5678 100644 --- a/config/initializers/spree.rb +++ b/config/initializers/spree.rb @@ -14,7 +14,7 @@ config.shipping_instructions = true config.checkout_zone = 'Australia' config.address_requires_state = true - config.def...
Remove hardcoded ID for Australia
diff --git a/Casks/adium-nightly16.rb b/Casks/adium-nightly16.rb index abc1234..def5678 100644 --- a/Casks/adium-nightly16.rb +++ b/Casks/adium-nightly16.rb @@ -2,9 +2,16 @@ version '1.6hgr5915' sha256 '70619777433df646a7251a10eb74baecdc5a47be085cd83d35f3750fcfea9e1b' - url "http://nightly.adium.im/adium-adium-...
Add missing stanzas to Adium Nightly16
diff --git a/config/initializers/gds_sso.rb b/config/initializers/gds_sso.rb index abc1234..def5678 100644 --- a/config/initializers/gds_sso.rb +++ b/config/initializers/gds_sso.rb @@ -2,5 +2,5 @@ config.user_model = 'User' config.oauth_id = ENV['OAUTH_ID'] || "abcdefghjasndjkasndcontenttagger" config.oau...
Handle external URLs for Signon Use the new external_url_for method of Plek to generate external URLs for Signon. This makes Policy Publisher more compatible with environments where there is a difference between internal and external routing, which is the way GOV.UK is being deployed to Amazon Web Services.
diff --git a/app/controllers/spree/admin/orders/customer_details_controller_decorator.rb b/app/controllers/spree/admin/orders/customer_details_controller_decorator.rb index abc1234..def5678 100644 --- a/app/controllers/spree/admin/orders/customer_details_controller_decorator.rb +++ b/app/controllers/spree/admin/orders/...
Add more order privileges for distributor enterprise users
diff --git a/lib/appsignal/integrations/que.rb b/lib/appsignal/integrations/que.rb index abc1234..def5678 100644 --- a/lib/appsignal/integrations/que.rb +++ b/lib/appsignal/integrations/que.rb @@ -4,26 +4,36 @@ module Appsignal module Integrations module QuePlugin - def _run - Appsignal.mo...
Support Ruby 1.9.3 again with Que integration
diff --git a/lib/knife-cloudformation/utils.rb b/lib/knife-cloudformation/utils.rb index abc1234..def5678 100644 --- a/lib/knife-cloudformation/utils.rb +++ b/lib/knife-cloudformation/utils.rb @@ -52,5 +52,18 @@ end end + + module Ssher + def remote_file_contents(address, user, path, ssh_opts={}) +...
Include helper for ssh file pulls
diff --git a/lib/stradivari/xlsx/controller.rb b/lib/stradivari/xlsx/controller.rb index abc1234..def5678 100644 --- a/lib/stradivari/xlsx/controller.rb +++ b/lib/stradivari/xlsx/controller.rb @@ -19,16 +19,21 @@ end def _stradivari_xlsx_file_name(filename) - if filename.nil? || filename.strip.len...
Fix filename length calculations thx @lleirborras
diff --git a/lib/twoffein-client/exceptions.rb b/lib/twoffein-client/exceptions.rb index abc1234..def5678 100644 --- a/lib/twoffein-client/exceptions.rb +++ b/lib/twoffein-client/exceptions.rb @@ -1,9 +1,15 @@ module Twoffein - class Error < StandardError - attr_reader :type, :message - def initialize(type, mess...
Add Error in module Server and add a to_s
diff --git a/lib/icims/job.rb b/lib/icims/job.rb index abc1234..def5678 100644 --- a/lib/icims/job.rb +++ b/lib/icims/job.rb @@ -4,7 +4,7 @@ class Job < OpenStruct - DEFAULT_FIELDS = %w(id folder jobtitle positioncategory positiontype joblocation additionallocations overview) + DEFAULT_FIELDS = %w(id update...
Add updateddate to default list
diff --git a/Blindside.podspec b/Blindside.podspec index abc1234..def5678 100644 --- a/Blindside.podspec +++ b/Blindside.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Blindside" - s.version = "1.0-alpha" + s.version = "1.0.0" s.summary = "Blindside provides dependency injection...
Update source to reference 1.0.0 tag * Pod lint requires a release to be specified
diff --git a/Casks/spacious.rb b/Casks/spacious.rb index abc1234..def5678 100644 --- a/Casks/spacious.rb +++ b/Casks/spacious.rb @@ -2,9 +2,9 @@ version :latest sha256 :no_check - url 'http://static.iospirit.com/static/objectfiles/file/159/Spacious.zip' + url 'https://www.iospirit.com/static/objectfiles/file/1...
Fix url and homepage to use SSL in Spacious 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/app/models/manageiq/providers/amazon/network_manager/load_balancer.rb b/app/models/manageiq/providers/amazon/network_manager/load_balancer.rb index abc1234..def5678 100644 --- a/app/models/manageiq/providers/amazon/network_manager/load_balancer.rb +++ b/app/models/manageiq/providers/amazon/network_manager/...
Add Amazon load balancer create and delete Add Amazon load balancer create and delete
diff --git a/lib/coding_test_dg/rule/discount.rb b/lib/coding_test_dg/rule/discount.rb index abc1234..def5678 100644 --- a/lib/coding_test_dg/rule/discount.rb +++ b/lib/coding_test_dg/rule/discount.rb @@ -1,6 +1,6 @@ module Rule class Discount - DEFAULT_RULE = {product_code:"SR1", qty:3, price:4.50} + DEFAULT_...
Return 0 when condition is not meet
diff --git a/lib/license-url-docinfoprocessor.rb b/lib/license-url-docinfoprocessor.rb index abc1234..def5678 100644 --- a/lib/license-url-docinfoprocessor.rb +++ b/lib/license-url-docinfoprocessor.rb @@ -0,0 +1,36 @@+require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal' + +include ::Asciidoctor + +# A postproc...
Add a DocinfoProcessor to emit license information.
diff --git a/lib/calabash/android/operations.rb b/lib/calabash/android/operations.rb index abc1234..def5678 100644 --- a/lib/calabash/android/operations.rb +++ b/lib/calabash/android/operations.rb @@ -16,6 +16,9 @@ Calabash::Device.default.start_test_server(application, test_options) end + + def _...
Add _shutdown_test_server impl for Android
diff --git a/lib/translate.rb b/lib/translate.rb index abc1234..def5678 100644 --- a/lib/translate.rb +++ b/lib/translate.rb @@ -2,7 +2,7 @@ module Translate class Engine < Rails::Engine - end if defined?(Rails) && Rails::VERSION::MAJOR == 3 + end if defined?(Rails) && Rails::VERSION::MAJOR >= 3 class << se...
Create Engine for Rails 4.+ as well.
diff --git a/lib/expando/api_ai/system_entity_examples.rb b/lib/expando/api_ai/system_entity_examples.rb index abc1234..def5678 100644 --- a/lib/expando/api_ai/system_entity_examples.rb +++ b/lib/expando/api_ai/system_entity_examples.rb @@ -3,8 +3,12 @@ module SystemEntityExamples # Example system entity val...
Add more system entity examples
diff --git a/lib/clarifai/client/curator_search.rb b/lib/clarifai/client/curator_search.rb index abc1234..def5678 100644 --- a/lib/clarifai/client/curator_search.rb +++ b/lib/clarifai/client/curator_search.rb @@ -18,11 +18,18 @@ def tags_search(index, tags, size=50, start=0, search_options={}) tags = [...
Fix markup for tags search
diff --git a/middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb b/middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb index abc1234..def5678 100644 --- a/middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb +++ b/middleman-core/lib/middleman-more/extensions/automati...
Fix syntax bug on retina file matching
diff --git a/lib/hairballs/plugins/colorize_json.rb b/lib/hairballs/plugins/colorize_json.rb index abc1234..def5678 100644 --- a/lib/hairballs/plugins/colorize_json.rb +++ b/lib/hairballs/plugins/colorize_json.rb @@ -18,7 +18,7 @@ is_json = JSON.parse(@context.last_value) rescue nil if is_json - ...
Prepend "Hairballs" to log messages
diff --git a/lib/invoker/power/setup/distro/base.rb b/lib/invoker/power/setup/distro/base.rb index abc1234..def5678 100644 --- a/lib/invoker/power/setup/distro/base.rb +++ b/lib/invoker/power/setup/distro/base.rb @@ -6,13 +6,15 @@ RINETD_FILE = "/etc/rinetd.conf" def self.distro_installer - ...
Use operating systen and raise error if distro is not supported
diff --git a/lib/lockfile_preserver/ruby_version.rb b/lib/lockfile_preserver/ruby_version.rb index abc1234..def5678 100644 --- a/lib/lockfile_preserver/ruby_version.rb +++ b/lib/lockfile_preserver/ruby_version.rb @@ -27,7 +27,39 @@ private_constant :NEW_LINE def keep_ruby_version + if updated.incl...
Fix RubyVersion does not add RUBY VERSION section back
diff --git a/lib/protobuf/rpc/servers/zmq_runner.rb b/lib/protobuf/rpc/servers/zmq_runner.rb index abc1234..def5678 100644 --- a/lib/protobuf/rpc/servers/zmq_runner.rb +++ b/lib/protobuf/rpc/servers/zmq_runner.rb @@ -41,7 +41,7 @@ logger.info do <<-THREAD_TRACE #{thread.inspe...
Fix unhandled error in trap signal handler Thread#backtrace can be nil. If this is the case, this signal handler will throw an error and terminate the process. In the case of nil here, we will just print nothing and continue on.
diff --git a/lib/scss_lint/linter/property_units.rb b/lib/scss_lint/linter/property_units.rb index abc1234..def5678 100644 --- a/lib/scss_lint/linter/property_units.rb +++ b/lib/scss_lint/linter/property_units.rb @@ -4,7 +4,6 @@ include LinterRegistry def visit_prop(node) - @node = node @global_a...
Remove unnecessary instance variable for node While not declaring the `node` as a parameter for these helpers can make things seem cleaner, it reduces the locality of the value's declaration to its use.
diff --git a/lib/timer.rb b/lib/timer.rb index abc1234..def5678 100644 --- a/lib/timer.rb +++ b/lib/timer.rb @@ -2,14 +2,16 @@ require 'g' module Timer - def time(message="") + def time(message="", options={}) + title = options[:title] || "" + start_time = Time.now yield end_time = Time.now -...
Handle growl a little more gracefully
diff --git a/KWStepper.podspec b/KWStepper.podspec index abc1234..def5678 100644 --- a/KWStepper.podspec +++ b/KWStepper.podspec @@ -6,10 +6,10 @@ s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Kyle Weiner" => "kyle@kylemade.com" } s.screenshots = "https://raw.githubusercontent.com...
Update podspec to pass validation
diff --git a/db/data_migration/20130325152008_fix_home_office_detailed_guide_category.rb b/db/data_migration/20130325152008_fix_home_office_detailed_guide_category.rb index abc1234..def5678 100644 --- a/db/data_migration/20130325152008_fix_home_office_detailed_guide_category.rb +++ b/db/data_migration/20130325152008_fi...
Fix broken Home Office detailed guide category https://www.pivotaltracker.com/story/show/46822955
diff --git a/lib/jekyll/assets/compressors/scss.rb b/lib/jekyll/assets/compressors/scss.rb index abc1234..def5678 100644 --- a/lib/jekyll/assets/compressors/scss.rb +++ b/lib/jekyll/assets/compressors/scss.rb @@ -21,11 +21,11 @@ # -- Sprockets.register_compressor "text/css", :assets_scss, Scss Hook....
Make sure we allow compression on old sprockets...
diff --git a/lib/jekyll/minibundle/asset_bundle.rb b/lib/jekyll/minibundle/asset_bundle.rb index abc1234..def5678 100644 --- a/lib/jekyll/minibundle/asset_bundle.rb +++ b/lib/jekyll/minibundle/asset_bundle.rb @@ -15,6 +15,7 @@ def make_bundle rd, wr = IO.pipe pid = spawn bundling_cmd, out: @temp_file....
Add printing when bundling begins
diff --git a/lib/stackato-lkg/amazon/service.rb b/lib/stackato-lkg/amazon/service.rb index abc1234..def5678 100644 --- a/lib/stackato-lkg/amazon/service.rb +++ b/lib/stackato-lkg/amazon/service.rb @@ -0,0 +1,35 @@+require 'aws-sdk' +require 'contracts' +require_relative 'support/rate_limit_handler' +require_relative '....
Add Amazon Service base class
diff --git a/lib/woodhouse/runners/bunny_runner.rb b/lib/woodhouse/runners/bunny_runner.rb index abc1234..def5678 100644 --- a/lib/woodhouse/runners/bunny_runner.rb +++ b/lib/woodhouse/runners/bunny_runner.rb @@ -6,38 +6,42 @@ def subscribe bunny = Bunny.new(@config.server_info) bunny.start - bunny.qos(:...
Update BunnyRunner to use new asynchronous Bunny consumer API.
diff --git a/m3u8.gemspec b/m3u8.gemspec index abc1234..def5678 100644 --- a/m3u8.gemspec +++ b/m3u8.gemspec @@ -20,7 +20,7 @@ spec.add_development_dependency 'bundler' spec.add_development_dependency 'rake' - spec.add_development_dependency 'rspec', '~> 3.4' + spec.add_development_dependency 'rspec', '>=3.0' ...
Change rspec version to work with older rubies
diff --git a/spec/integration/start_spec.rb b/spec/integration/start_spec.rb index abc1234..def5678 100644 --- a/spec/integration/start_spec.rb +++ b/spec/integration/start_spec.rb @@ -1,34 +1,22 @@ # encoding: utf-8 RSpec.describe 'teletype' do - xit "prints available commands and global options" do - logo = <<...
Change to fix spec to test no argument execution
diff --git a/spec/mars_photos/rover_spec.rb b/spec/mars_photos/rover_spec.rb index abc1234..def5678 100644 --- a/spec/mars_photos/rover_spec.rb +++ b/spec/mars_photos/rover_spec.rb @@ -1,5 +1,4 @@ require 'spec_helper' - describe MarsPhotos::Rover do let(:rover) { MarsPhotos::Rover.new("curiosity") } @@ -10,7 +9,...
Add rspec test for get photos by earth_date
diff --git a/spec/packet_subclasses_spec.rb b/spec/packet_subclasses_spec.rb index abc1234..def5678 100644 --- a/spec/packet_subclasses_spec.rb +++ b/spec/packet_subclasses_spec.rb @@ -6,7 +6,7 @@ it "will display sensible peek information" do p = pclass.new p.respond_to?(:peek).should be_true - p.peek.size...
Fix spec for less than-ness
diff --git a/spec/requests/deals_js_spec.rb b/spec/requests/deals_js_spec.rb index abc1234..def5678 100644 --- a/spec/requests/deals_js_spec.rb +++ b/spec/requests/deals_js_spec.rb @@ -13,20 +13,29 @@ Deal::Base.delete_all end - describe "残高明細の削除" do + include_context "太郎 logged in" + + describe "通常明細を削除できる...
Add spec to destroy a general deal.
diff --git a/spree_product_assembly.gemspec b/spree_product_assembly.gemspec index abc1234..def5678 100644 --- a/spree_product_assembly.gemspec +++ b/spree_product_assembly.gemspec @@ -16,7 +16,7 @@ s.require_path = 'lib' s.requirements << 'none' - s.add_dependency('spree', '~> 1.0') + s.add_dependency('spree'...
Allow any Spree 2.0.0 version
diff --git a/spec/integration/asynchronous_publishing_and_consuming_with_retries_spec.rb b/spec/integration/asynchronous_publishing_and_consuming_with_retries_spec.rb index abc1234..def5678 100644 --- a/spec/integration/asynchronous_publishing_and_consuming_with_retries_spec.rb +++ b/spec/integration/asynchronous_publi...
Add integration test for retriable job extension.
diff --git a/spec/integration/contract/class_interface/rule/array_spec.rb b/spec/integration/contract/class_interface/rule/array_spec.rb index abc1234..def5678 100644 --- a/spec/integration/contract/class_interface/rule/array_spec.rb +++ b/spec/integration/contract/class_interface/rule/array_spec.rb @@ -23,8 +23,8 @@ ...
Make spec a bit more robust
diff --git a/pg_simulator.gemspec b/pg_simulator.gemspec index abc1234..def5678 100644 --- a/pg_simulator.gemspec +++ b/pg_simulator.gemspec @@ -18,6 +18,7 @@ lib/pg_simulator/environment.rb ] + s.add_development_dependency 'rake' s.add_development_dependency 'rspec', '~> 2.0' s.add_runtime_depend...
Add rake to development dependencies.
diff --git a/test/decorators/optional_modules/mailings/mailing_message_decorator_test.rb b/test/decorators/optional_modules/mailings/mailing_message_decorator_test.rb index abc1234..def5678 100644 --- a/test/decorators/optional_modules/mailings/mailing_message_decorator_test.rb +++ b/test/decorators/optional_modules/ma...
Add tests for mailing messages decorator
diff --git a/Conductor.podspec b/Conductor.podspec index abc1234..def5678 100644 --- a/Conductor.podspec +++ b/Conductor.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Conductor" -s.version = "0.99" +s.version = "0.99.1" s.summary = "A framewo...
Update spec to include resources.
diff --git a/solutions/uri/1010/1010.rb b/solutions/uri/1010/1010.rb index abc1234..def5678 100644 --- a/solutions/uri/1010/1010.rb +++ b/solutions/uri/1010/1010.rb @@ -0,0 +1,8 @@+s = 0.0 + +STDIN.read.split("\n").each do |a| + a, b, c = a.split.map { |x| x.to_f } + s += c * b +end + +puts "VALOR A PAGAR: R$ #{'%.2f...
Solve Simple Calculate in ruby
diff --git a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule35.rb b/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule35.rb index abc1234..def5678 100644 --- a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule35.rb +++ b/lib/sastrawi/morphology/disambiguator/disambiguator_pref...
Add implementation of thirtieth-fifth rule of disambiguator prefix
diff --git a/test/helper.rb b/test/helper.rb index abc1234..def5678 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -3,6 +3,4 @@ add_filter '/test|deps/' end -gem 'test-unit' -require 'test/unit' -require 'test/unit/rr' +require 'test/unit/full'
Use test/unit/full instead of test/unit
diff --git a/week-4/hash.rb b/week-4/hash.rb index abc1234..def5678 100644 --- a/week-4/hash.rb +++ b/week-4/hash.rb @@ -1,6 +1,6 @@ # Define a Hash -# I worked on this challenge [by myself, with: ]. +# I worked on this challenge [by myself]. # Your Solution Below @@ -12,9 +12,6 @@ :hometown => "San Francicso"...
Add solution file for challenge 4.6
diff --git a/spec/controllers/deliveries_controller_spec.rb b/spec/controllers/deliveries_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/deliveries_controller_spec.rb +++ b/spec/controllers/deliveries_controller_spec.rb @@ -3,7 +3,7 @@ describe DeliveriesController do before(:each) do a...
Fix spec to use user with admin auth
diff --git a/spec/controllers/pd_regimes_controller_spec.rb b/spec/controllers/pd_regimes_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/pd_regimes_controller_spec.rb +++ b/spec/controllers/pd_regimes_controller_spec.rb @@ -2,9 +2,13 @@ RSpec.describe PdRegimesController, :type => :controller...
Set up spec tests for new/create actions for pd_regimes.
diff --git a/modules/govuk_elasticsearch/spec/classes/govuk_elasticsearch_spec.rb b/modules/govuk_elasticsearch/spec/classes/govuk_elasticsearch_spec.rb index abc1234..def5678 100644 --- a/modules/govuk_elasticsearch/spec/classes/govuk_elasticsearch_spec.rb +++ b/modules/govuk_elasticsearch/spec/classes/govuk_elasticse...
Remove unnecessary stubbed facts for Elasticsearch The third-party `elasticsearch` module which `govuk_elasticsearch` calls needs the `Linux` fact to be stubbed so that `elasticsearch::params` can determine the appropriate user/group for that platform. The other facts listed in here look like the names of parameters ...
diff --git a/ParallaxView.podspec b/ParallaxView.podspec index abc1234..def5678 100644 --- a/ParallaxView.podspec +++ b/ParallaxView.podspec @@ -6,7 +6,7 @@ s.summary = "Add parallax effect like in tvOS applications to any view." s.requires_arc = true s.license = "MIT" - s.version = "3.0.0" + s.vers...
Update podspec for the 3.1.0 release
diff --git a/script/htmlproof.rb b/script/htmlproof.rb index abc1234..def5678 100644 --- a/script/htmlproof.rb +++ b/script/htmlproof.rb @@ -11,9 +11,9 @@ :timeframe => '1w', }, :typhoeus => { + :ssl_verifypeer => false, :timeout => 15, # seconds }, :url_ignore => [ - /html5rocks.com/, ], }).run
Stop ignoring html5rocks.com, disable SSL in link checks
diff --git a/test/controllers/backend/activity_budgets_controller_test.rb b/test/controllers/backend/activity_budgets_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/backend/activity_budgets_controller_test.rb +++ b/test/controllers/backend/activity_budgets_controller_test.rb @@ -1,7 +1,7 @@ req...
Fix activity budgets index action test
diff --git a/spec/classes/historical_spec.rb b/spec/classes/historical_spec.rb index abc1234..def5678 100644 --- a/spec/classes/historical_spec.rb +++ b/spec/classes/historical_spec.rb @@ -24,5 +24,11 @@ :command => '/bin/systemctl daemon-reload', } )} + it { should contain_service('druid-histori...
Add test for the druid-historical service management. The druid::historical class needs to ensure the druid-historical service is running and enabled.
diff --git a/lib/bot/plugins/commands/ban_info.rb b/lib/bot/plugins/commands/ban_info.rb index abc1234..def5678 100644 --- a/lib/bot/plugins/commands/ban_info.rb +++ b/lib/bot/plugins/commands/ban_info.rb @@ -27,7 +27,7 @@ # A ternary would be illogical here for length. message = if bans > 0...
:bug: Fix bad plural in Fishbans plugin
diff --git a/lib/gds_api/test_helpers/need_api.rb b/lib/gds_api/test_helpers/need_api.rb index abc1234..def5678 100644 --- a/lib/gds_api/test_helpers/need_api.rb +++ b/lib/gds_api/test_helpers/need_api.rb @@ -1,4 +1,5 @@ require 'gds_api/test_helpers/json_client_helper' +require 'gds_api/test_helpers/common_responses' ...
Add require for common responses module
diff --git a/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb b/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb index abc1234..def5678 100644 --- a/db/data_migration/20200330092543_correct_first_published_for_nda_document.rb +++ b/db/data_migration/20200330092543...
Correct first_published_at for NDA document While working on importing news content for the Nuclear Decommissioning Authority in to Content Publisher we discovered a data inconsistency for the `first_published_at` value for one of their documents. In the first edition (id: 539202) the document was published on 3rd Sep...
diff --git a/lib/jeweler/generator/rspec_mixin.rb b/lib/jeweler/generator/rspec_mixin.rb index abc1234..def5678 100644 --- a/lib/jeweler/generator/rspec_mixin.rb +++ b/lib/jeweler/generator/rspec_mixin.rb @@ -2,7 +2,7 @@ class Generator module RspecMixin def self.extended(generator) - generator.dev...
Add the rspec ~> 2.0.0 development dependencey in the RspecMixin.
diff --git a/lib/omniauth/strategies/stylitics.rb b/lib/omniauth/strategies/stylitics.rb index abc1234..def5678 100644 --- a/lib/omniauth/strategies/stylitics.rb +++ b/lib/omniauth/strategies/stylitics.rb @@ -18,13 +18,13 @@ # additional calls (if the user id is returned with the token # or as a URI parame...
Use new API endpoint for user data
diff --git a/lib/tasks/app_credentials_tasks.rake b/lib/tasks/app_credentials_tasks.rake index abc1234..def5678 100644 --- a/lib/tasks/app_credentials_tasks.rake +++ b/lib/tasks/app_credentials_tasks.rake @@ -0,0 +1,28 @@+namespace :cenit do + namespace :admin do + namespace :app do + desc "Show identifier and...
Add rake task to get cenit-admin application credentials
diff --git a/db/migrate/20131008061545_add_identifications_count_to_observations.rb b/db/migrate/20131008061545_add_identifications_count_to_observations.rb index abc1234..def5678 100644 --- a/db/migrate/20131008061545_add_identifications_count_to_observations.rb +++ b/db/migrate/20131008061545_add_identifications_coun...
Fix migration error on database with zero IDs
diff --git a/canon-creator.rb b/canon-creator.rb index abc1234..def5678 100644 --- a/canon-creator.rb +++ b/canon-creator.rb @@ -0,0 +1,57 @@+$: << '/home/emily/Software/SonicPi/sonic-pi/app/server/vendor/mini_kanren/lib' + +require 'mini_kanren' + +res = MiniKanren.exec do + + # make a structure, 4 bars long + + str...
Set up very basic hard coded structure with key and duration constraints, including sum of durations.
diff --git a/week-4/simple-string.rb b/week-4/simple-string.rb index abc1234..def5678 100644 --- a/week-4/simple-string.rb +++ b/week-4/simple-string.rb @@ -0,0 +1,32 @@+# Solution Below +old_string = "Ruby is cool" + +new_string = old_string.upcase.reverse + +puts new_string + + + + +# RSpec Tests. They are included i...
Add 4.2.2 Simple String Method Assignment
diff --git a/spec/lib/tumblfetch/cli_spec.rb b/spec/lib/tumblfetch/cli_spec.rb index abc1234..def5678 100644 --- a/spec/lib/tumblfetch/cli_spec.rb +++ b/spec/lib/tumblfetch/cli_spec.rb @@ -3,36 +3,38 @@ describe Tumblfetch::CLI do describe '#version' do - subject { capture(:stdout) { Tumblfetch::CLI.new.invoke(...
Use subject.method instead of Tumblfetch::CLI.new.invoke('method')
diff --git a/spec/unit/libraries/api_spec.rb b/spec/unit/libraries/api_spec.rb index abc1234..def5678 100644 --- a/spec/unit/libraries/api_spec.rb +++ b/spec/unit/libraries/api_spec.rb @@ -29,7 +29,7 @@ describe 'list_repositories' do it 'returns repos' do stub_request(:get, 'http://localhost/sample/api')...
Fix Rubocop issue with %w literals
diff --git a/polymorpheus.gemspec b/polymorpheus.gemspec index abc1234..def5678 100644 --- a/polymorpheus.gemspec +++ b/polymorpheus.gemspec @@ -20,6 +20,6 @@ s.add_dependency('activerecord', '>= 3.2', '< 5') s.add_development_dependency('rake', '~> 10.4.2') - s.add_development_dependency('rspec-rails', '~> 2.1...
Switch from rspec-rails to rspec This commit drops the development dependency on `rspec-rails`. The specs for `polymorpheus` don't use any of the extra functionality beyond what is provided by `rspec`.
diff --git a/modules/motd/spec/classes/motd_spec.rb b/modules/motd/spec/classes/motd_spec.rb index abc1234..def5678 100644 --- a/modules/motd/spec/classes/motd_spec.rb +++ b/modules/motd/spec/classes/motd_spec.rb @@ -0,0 +1,10 @@+require_relative '../../../../spec_helper' + +describe 'motd', :type => :class do + + it ...
Add stub rspec test to motd module
diff --git a/06-physics/entities/components/tank_graphics.rb b/06-physics/entities/components/tank_graphics.rb index abc1234..def5678 100644 --- a/06-physics/entities/components/tank_graphics.rb +++ b/06-physics/entities/components/tank_graphics.rb @@ -1,4 +1,11 @@ class TankGraphics < Component + DEBUG_COLORS = [ + ...
Rewrite tank bounding box method
diff --git a/tokite.gemspec b/tokite.gemspec index abc1234..def5678 100644 --- a/tokite.gemspec +++ b/tokite.gemspec @@ -9,7 +9,7 @@ s.version = Tokite::VERSION s.authors = ["hogelog"] s.email = ["konbu.komuro@gmail.com"] - s.homepage = "https://github.com/hogelog/tokite/" + s.homepage = "...
Fix homepage URL in the gemspec
diff --git a/business.gemspec b/business.gemspec index abc1234..def5678 100644 --- a/business.gemspec +++ b/business.gemspec @@ -20,7 +20,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_development_dependency "gc_ruboconfig", "~> 3.0.1" + spec.add_d...
Update gc_ruboconfig requirement from ~> 3.0.1 to ~> 3.1.0 Updates the requirements on [gc_ruboconfig](https://github.com/gocardless/ruboconfig) to permit the latest version. - [Release notes](https://github.com/gocardless/ruboconfig/releases) - [Changelog](https://github.com/gocardless/gc_ruboconfig/blob/master/CHANG...
diff --git a/spec/factories/applications.rb b/spec/factories/applications.rb index abc1234..def5678 100644 --- a/spec/factories/applications.rb +++ b/spec/factories/applications.rb @@ -1,8 +1,7 @@ FactoryGirl.define do - name = FactoryGirl.generate(:name) factory :application do - name { name } - key { name }...
Use factory for name and key
diff --git a/spec/fpm/package/empty_spec.rb b/spec/fpm/package/empty_spec.rb index abc1234..def5678 100644 --- a/spec/fpm/package/empty_spec.rb +++ b/spec/fpm/package/empty_spec.rb @@ -1,10 +1,5 @@ require "spec_setup" -require 'fileutils' require "fpm" # local -require "fpm/package/deb" # local -require "fpm/package/...
Remove unnecessary requires lines from spec
diff --git a/spec/models/iep_storer_spec.rb b/spec/models/iep_storer_spec.rb index abc1234..def5678 100644 --- a/spec/models/iep_storer_spec.rb +++ b/spec/models/iep_storer_spec.rb @@ -0,0 +1,25 @@+require 'rails_helper' + +RSpec.describe IepStorer, type: :model do + subject { + IepStorer.new( + file_name: 'IE...
Write context blocks for the IepStorer spec
diff --git a/active_force.gemspec b/active_force.gemspec index abc1234..def5678 100644 --- a/active_force.gemspec +++ b/active_force.gemspec @@ -19,6 +19,7 @@ spec.require_paths = ["lib"] spec.add_dependency 'active_attr', '~> 0.8' + spec.add_dependency 'restforce', '~> 1.4' spec.add_development_dependency...
Add obvious dependency on restforce.
diff --git a/biblicit.gemspec b/biblicit.gemspec index abc1234..def5678 100644 --- a/biblicit.gemspec +++ b/biblicit.gemspec @@ -12,7 +12,7 @@ gem.summary = %q{Extract citations from PDFs.} gem.homepage = "http://github.com/academia-edu/biblicit" - gem.files = `git ls-files`.split($\) + gem....
Fix gemspec for files with spaces in the names
diff --git a/Casks/opera-developer.rb b/Casks/opera-developer.rb index abc1234..def5678 100644 --- a/Casks/opera-developer.rb +++ b/Casks/opera-developer.rb @@ -1,6 +1,6 @@ cask :v1 => 'opera-developer' do - version '29.0.1794.0' - sha256 'c6d875407a276a4b48a5d6b271ba5e40b7292c3734510635d74a56ccd7a1b6e8' + version '...
Upgrade Opera Developer.app to 29.0.1795.0
diff --git a/activerecord-peoplesoft_models.gemspec b/activerecord-peoplesoft_models.gemspec index abc1234..def5678 100644 --- a/activerecord-peoplesoft_models.gemspec +++ b/activerecord-peoplesoft_models.gemspec @@ -19,10 +19,10 @@ spec.require_paths = ["lib"] spec.add_dependency "composite_primary_keys", "~> 8...
Move oracle-related dependecies to the development section While it'll usually be the case, there's no reason to assume this will be used with Oracle. We shouldn't force it here.