diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
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.1.0" + s.version = "0.2.0-pre" s.summary = "Convention over configuration REST API cl...
Update the version number in the podspec
diff --git a/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb b/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb index abc1234..def5678 100644 --- a/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +++ b/activesupport/lib/active_s...
Improve clarity of example. Make it follow guidelines for output display.
diff --git a/lib/alephant/renderer/engines/mustache.rb b/lib/alephant/renderer/engines/mustache.rb index abc1234..def5678 100644 --- a/lib/alephant/renderer/engines/mustache.rb +++ b/lib/alephant/renderer/engines/mustache.rb @@ -40,7 +40,7 @@ def load_translations_from(base_path) if I18n.load_path.empty?...
Set load path to the resulting array of locales rather than pushing the array into the load path array
diff --git a/spec/helpers/file_helper.rb b/spec/helpers/file_helper.rb index abc1234..def5678 100644 --- a/spec/helpers/file_helper.rb +++ b/spec/helpers/file_helper.rb @@ -7,7 +7,7 @@ end def destroy_file(filename="ConstellationFile") - File.delete(filename) + File.delete(filename) if File.exists?...
Delete file only if it exists
diff --git a/spec/mailers/test_mailer.rb b/spec/mailers/test_mailer.rb index abc1234..def5678 100644 --- a/spec/mailers/test_mailer.rb +++ b/spec/mailers/test_mailer.rb @@ -6,40 +6,38 @@ def plain_text_message(options) setup_recipients(options) - from 'test@mailsafe.org' - subject "Plain text Me...
Update to work with newer versions of ActionMailer
diff --git a/test/integration/default/squid_spec.rb b/test/integration/default/squid_spec.rb index abc1234..def5678 100644 --- a/test/integration/default/squid_spec.rb +++ b/test/integration/default/squid_spec.rb @@ -3,3 +3,13 @@ expect(port(3128)).to be_listening end end + +squid_syntax_check = 'sudo squid -k ...
Test no warnings are printed on startup Signed-off-by: Giovanni Toraldo <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@gionn.net>
diff --git a/lib/generators/templates/access_policy.rb b/lib/generators/templates/access_policy.rb index abc1234..def5678 100644 --- a/lib/generators/templates/access_policy.rb +++ b/lib/generators/templates/access_policy.rb @@ -24,7 +24,7 @@ # role :member, proc { |user| user.registered? } do # can :create,...
Update template to reflect breaking changes in 1.0
diff --git a/lib/tasks/gitlab/bulk_add_permission.rake b/lib/tasks/gitlab/bulk_add_permission.rake index abc1234..def5678 100644 --- a/lib/tasks/gitlab/bulk_add_permission.rake +++ b/lib/tasks/gitlab/bulk_add_permission.rake @@ -7,9 +7,9 @@ Project.find_each do |project| puts "Importing #{user_ids.size...
Fix rake task - Update method name
diff --git a/test/helpers_test.rb b/test/helpers_test.rb index abc1234..def5678 100644 --- a/test/helpers_test.rb +++ b/test/helpers_test.rb @@ -0,0 +1,24 @@+require 'test_helper' + +class HelpersContext + include Eastwood::Helpers +end + +class Eastwood::HelpersTest < ActiveSupport::TestCase + + setup do + @con...
Add some tests for application_name helper
diff --git a/test/helpers_test.rb b/test/helpers_test.rb index abc1234..def5678 100644 --- a/test/helpers_test.rb +++ b/test/helpers_test.rb @@ -0,0 +1,26 @@+require 'test_helper' + +require 'speedflow/helpers' + +class TestSpeedflowHelpers < Minitest::Test + include Speedflow::Helpers + + def setup + $terminal = ...
Fix coverage to full for helpers module
diff --git a/spec/config_spec.rb b/spec/config_spec.rb index abc1234..def5678 100644 --- a/spec/config_spec.rb +++ b/spec/config_spec.rb @@ -9,4 +9,13 @@ config.ignore.should == ["Rakefile", "Gemfile"] end + it "should handle an empty .awestruct_ignore file without barfing" do + site_dir = File.join(File.d...
Add spec for handling an empty .awestruct_ignore file
diff --git a/spec/config_spec.rb b/spec/config_spec.rb index abc1234..def5678 100644 --- a/spec/config_spec.rb +++ b/spec/config_spec.rb @@ -0,0 +1,30 @@+require 'spec_helper' + +describe Config do + describe '#read' do + context "given a valid YAML configuration file in the config path" do + let(:config_path)...
Add failing specs for a Config class
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -14,7 +14,7 @@ when "mongo" uri = ENV['MONGOHQ_URL'] || ENV['MONGOLAB_URI'] || ENV['BOXEN_MONGODB_URL'] - client = if uri.empty? + client = if uri.nil? || ur...
Check for nil uri in addition to empty.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,7 +8,6 @@ require 'rspec' RSpec.configure do |config| - config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true co...
Remove deprecated RSpec config setting
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,10 @@ # Common spec-related code goes here -STACK_OVERFLOW_DEPTH = 10000 +STACK_OVERFLOW_DEPTH = begin + def calculate_stack_overflow_depth(n) + calculate_stack_overf...
Determine maximum stack depth at runtime.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,4 @@+require 'backports' require 'dm-core/spec/lib/pending_helpers' Spec::Runner.configure do |config|
Fix specs to run under 1.8.7
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -22,6 +22,14 @@ config.infer_base_class_for_anonymous_controllers = false config.before(:each) do + DatabaseCleaner.strategy = :transaction + end + + config.before(:eac...
Use truncation cleaning strategy only for js tagged specs
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,3 +5,4 @@ require 'pry' require "robinhood" +require 'fakeweb'
Add fakerweb to the spec
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,8 +6,6 @@ $:.unshift(spec_root) require 'net-http-last_modified_cache' -Dir[File.join(spec_root, 'support/**/*.rb')].each { |file| require file } - RSpec.configure do |confi...
Remove unused rspec support directory loading from spec helper
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,6 +5,10 @@ require 'fileutils' Spec::Runner.configure do |config| + config.before :suite do + `mkdir tmp/` + end + # Tear down test case assets folders config.af...
Set up tmp directory before specs.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,7 +7,7 @@ # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f...
Add space between { and |
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -13,9 +13,9 @@ require 'simplecov-rcov' SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start do - add_filter 'vendor' - add_filter 'spec' - ad...
Use absolute syntax on filters to avoid matching parent directories: e.g. /home/spec/ruby_core_extensions/lib accidently matches spec when only intending to match spec within ruby_core_extensions directory
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -19,6 +19,7 @@ VCR.configure do |config| config.cassette_library_dir = 'spec/vcr_cassettes' config.hook_into :webmock + config.ignore_hosts 'codeclimate.com' end module ...
Fix VCR config to allow results reporting to codeclimate
diff --git a/app/controllers/callbacks_controller.rb b/app/controllers/callbacks_controller.rb index abc1234..def5678 100644 --- a/app/controllers/callbacks_controller.rb +++ b/app/controllers/callbacks_controller.rb @@ -3,15 +3,11 @@ def facebook @user = User.from_omniauth(request.env["omniauth.auth"]) ...
Add organization_id instead of org affilate in sign_in method
diff --git a/app/controllers/countries_controller.rb b/app/controllers/countries_controller.rb index abc1234..def5678 100644 --- a/app/controllers/countries_controller.rb +++ b/app/controllers/countries_controller.rb @@ -33,9 +33,9 @@ end def destroy - if @country.addresses.length + if @country.addresses.l...
Fix check for country associations
diff --git a/app/controllers/reminders_controller.rb b/app/controllers/reminders_controller.rb index abc1234..def5678 100644 --- a/app/controllers/reminders_controller.rb +++ b/app/controllers/reminders_controller.rb @@ -1,22 +1,19 @@ class RemindersController < ApplicationController - before_action :find_repo - befo...
Drop before_action in favor of lazy loading accepts 5ff2e3fbb77acd074e66f00c06631eb29a161ced
diff --git a/cookbooks/elasticsearch/recipes/sensu_checks.rb b/cookbooks/elasticsearch/recipes/sensu_checks.rb index abc1234..def5678 100644 --- a/cookbooks/elasticsearch/recipes/sensu_checks.rb +++ b/cookbooks/elasticsearch/recipes/sensu_checks.rb @@ -11,6 +11,13 @@ standalone true end +# Monitor the shard alloc...
Add shard allocation status check
diff --git a/db/migrate/20130213162738_update_travel_advice_slugs.rb b/db/migrate/20130213162738_update_travel_advice_slugs.rb index abc1234..def5678 100644 --- a/db/migrate/20130213162738_update_travel_advice_slugs.rb +++ b/db/migrate/20130213162738_update_travel_advice_slugs.rb @@ -1,15 +1,16 @@ class UpdateTravelAdv...
Fix slug change migration to deal with rummager update Switch to using set methos to avoid callbacks. Will deal with re-adding to search by re-registering everything from travel-advice-publisher
diff --git a/add_sources.rb b/add_sources.rb index abc1234..def5678 100644 --- a/add_sources.rb +++ b/add_sources.rb @@ -7,7 +7,7 @@ successes = sources.select do |src| puts "-------------------\nAdding #{src.inspect}\n" if src['key_url'] - system("curl -sSL #{src['key_url'].untaint.inspect} | sudo -E apt-key ...
Set LANG while handling GPG keys See http://askubuntu.com/questions/393638/unicodedecodeerror-ascii-codec-cant-decode-byte-0x-in-position-ordinal-n
diff --git a/postfix.rb b/postfix.rb index abc1234..def5678 100644 --- a/postfix.rb +++ b/postfix.rb @@ -34,7 +34,7 @@ stack.pop end -trap("SIGINT") { exit! } +trap("SIGINT") { raise Interrupt } while true do begin @@ -42,6 +42,8 @@ puts from_postfix(gets.chomp!) rescue IndexError p...
Use Interrupt rather than exit!
diff --git a/VOKMockUrlProtocol.podspec b/VOKMockUrlProtocol.podspec index abc1234..def5678 100644 --- a/VOKMockUrlProtocol.podspec +++ b/VOKMockUrlProtocol.podspec @@ -1,17 +1,18 @@ Pod::Spec.new do |s| s.name = "VOKMockUrlProtocol" - s.version = "2.1.1" + s.version = "2.2.0" s.su...
Enable tvOS as a platform and bump the version
diff --git a/Casks/qt-creator.rb b/Casks/qt-creator.rb index abc1234..def5678 100644 --- a/Casks/qt-creator.rb +++ b/Casks/qt-creator.rb @@ -1,6 +1,6 @@ cask :v1 => 'qt-creator' do - version '3.3.2' - sha256 '6b44dd8e01251b485dad7d412db1898b297f129993fea74694be1d7688e845ba' + version '3.4.0' + sha256 '13a232534adf5...
Update QT Creator to 3.4.0
diff --git a/Casks/vagrant173.rb b/Casks/vagrant173.rb index abc1234..def5678 100644 --- a/Casks/vagrant173.rb +++ b/Casks/vagrant173.rb @@ -0,0 +1,14 @@+cask :v1 => 'vagrant173' do + version '1.7.3' + sha256 '3c6078d8ce9a9c01589b089034f0afcbe2f4908a7f77a1471360fc8011a18dc8' + + # bintray.com is the official downloa...
Add cask for Vagrant 1.7.3
diff --git a/test/test_linebreaks.rb b/test/test_linebreaks.rb index abc1234..def5678 100644 --- a/test/test_linebreaks.rb +++ b/test/test_linebreaks.rb @@ -0,0 +1,13 @@+require 'test_helper' + +class TestLinebreaks < Minitest::Test + def test_softbreak_no_spaces_as_hard + doc = Node.parse_string("foo\nbaz", :hardb...
Add testing for line breaks
diff --git a/CSNotificationView.podspec b/CSNotificationView.podspec index abc1234..def5678 100644 --- a/CSNotificationView.podspec +++ b/CSNotificationView.podspec @@ -6,7 +6,8 @@ s.license = { :type => 'MIT License', :file => "LICENSE.md" } s.author = 'Christian Schwarz' s.source = { :git => ...
Correct usage of deployment target.
diff --git a/Casks/dbeaver-community.rb b/Casks/dbeaver-community.rb index abc1234..def5678 100644 --- a/Casks/dbeaver-community.rb +++ b/Casks/dbeaver-community.rb @@ -1,11 +1,11 @@ cask :v1 => 'dbeaver-community' do - version '3.3.1' + version '3.3.2' if Hardware::CPU.is_32_bit? - sha256 '0ad6a3a7011415cfb9...
Update DBeaver community to v3.3.2
diff --git a/test/gtk_overrides_test.rb b/test/gtk_overrides_test.rb index abc1234..def5678 100644 --- a/test/gtk_overrides_test.rb +++ b/test/gtk_overrides_test.rb @@ -10,6 +10,7 @@ should "not take any arguments" do assert_raises(ArgumentError) { Gtk.init 1, ["foo"] } + assert_raises(ArgumentError) ...
Check Gtk.init's arity more thoroughly.
diff --git a/lib/docs/scrapers/apache.rb b/lib/docs/scrapers/apache.rb index abc1234..def5678 100644 --- a/lib/docs/scrapers/apache.rb +++ b/lib/docs/scrapers/apache.rb @@ -3,7 +3,7 @@ self.name = 'Apache HTTP Server' self.slug = 'apache_http_server' self.type = 'apache' - self.version = '2.4.12' + ...
Update Apache HTTP Server documentation (2.4.17)
diff --git a/lib/dotter/configuration.rb b/lib/dotter/configuration.rb index abc1234..def5678 100644 --- a/lib/dotter/configuration.rb +++ b/lib/dotter/configuration.rb @@ -25,5 +25,15 @@ package_conf['tracked'] = true self.save() end + def publish(package) + package_conf = self.package_config(package) + ...
Add Configuration support for publishing and unpublishing packages.
diff --git a/schema.gemspec b/schema.gemspec index abc1234..def5678 100644 --- a/schema.gemspec +++ b/schema.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'evt-schema' s.summary = "Primitives for schema and data structure" - s.version = '2.2.5.0' + s.version = '2.2.6.0' s.description = ' ' ...
Package version is increased from 2.2.5.0 to 2.2.6.0
diff --git a/spec/easemob/messages_spec.rb b/spec/easemob/messages_spec.rb index abc1234..def5678 100644 --- a/spec/easemob/messages_spec.rb +++ b/spec/easemob/messages_spec.rb @@ -10,4 +10,14 @@ expect(h1['data']['u1']).to eq 'success' end end + + describe '#command_to' do + it 'can sent message to u...
Add comment_to rspec test case.
diff --git a/lib/rabl/digestor/rails5.rb b/lib/rabl/digestor/rails5.rb index abc1234..def5678 100644 --- a/lib/rabl/digestor/rails5.rb +++ b/lib/rabl/digestor/rails5.rb @@ -19,7 +19,11 @@ pre_stored = finder.digest_cache.put_if_absent(cache_key, false).nil? # put_if_absent returns nil on insertion - ...
Fix problem of usage rabl 0.13.0 with Rails 5 and active cache
diff --git a/lib/rexster-ruby/rexster.rb b/lib/rexster-ruby/rexster.rb index abc1234..def5678 100644 --- a/lib/rexster-ruby/rexster.rb +++ b/lib/rexster-ruby/rexster.rb @@ -35,7 +35,7 @@ def script(gremlin_script) @script = gremlin_script - inspect + self.inspect end def inspect @@ -4...
Make to_a behavior appropriate for all use-cases
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -7,19 +7,19 @@ # Mayor.create(name: 'Emanuel', city: cities.first) [ - {name: 'Taylor', avatar: 'ignore'}, - {name: 'Ben', avatar: 'ignore'}, - {name: 'Gus', avatar: 'ignore'}, - {name: 'Eddie', avatar: ...
Fix IDs in seed data to make for easier graphiql queries
diff --git a/spec/plugin/multi_run_spec.rb b/spec/plugin/multi_run_spec.rb index abc1234..def5678 100644 --- a/spec/plugin/multi_run_spec.rb +++ b/spec/plugin/multi_run_spec.rb @@ -6,11 +6,6 @@ r.multi_run "c" end - - body("/a").should == 'c' - body("/b").should == 'c' - body("/b/a").should =...
Work around spec issue in jruby --1.8 mode
diff --git a/spec/support/active_record.rb b/spec/support/active_record.rb index abc1234..def5678 100644 --- a/spec/support/active_record.rb +++ b/spec/support/active_record.rb @@ -25,7 +25,7 @@ t.string :token, null: false t.datetime :expires_at, null: false t.integer :ttl, nul...
Add null: false to AR timestamp call In order to prevent deprecation warning
diff --git a/spec/support/worker_macros.rb b/spec/support/worker_macros.rb index abc1234..def5678 100644 --- a/spec/support/worker_macros.rb +++ b/spec/support/worker_macros.rb @@ -1,7 +1,27 @@ module WorkerMacros - def uses_workers + def use_workers after(:each) do + old = Backend.mock + Backend.mock ...
Add new spec support that uses the backend more.
diff --git a/salesforce_bulk.gemspec b/salesforce_bulk.gemspec index abc1234..def5678 100644 --- a/salesforce_bulk.gemspec +++ b/salesforce_bulk.gemspec @@ -5,11 +5,12 @@ Gem::Specification.new do |s| s.name = "salesforce_bulk" s.version = SalesforceBulk::VERSION - s.authors = ["Jorge Valdivia"] -...
Update gem spec with development dependencies, tweak description and add myself to authors and email lists.
diff --git a/app/models/curated_mark.rb b/app/models/curated_mark.rb index abc1234..def5678 100644 --- a/app/models/curated_mark.rb +++ b/app/models/curated_mark.rb @@ -0,0 +1,48 @@+SUGGESTED_MARKS = [ + { + name: 'Development', + description: 'You build webapps, develop mobile apps, implement designs, manage in...
Put these manual lists of marks somewhere
diff --git a/AFNetworking-RACExtensions.podspec b/AFNetworking-RACExtensions.podspec index abc1234..def5678 100644 --- a/AFNetworking-RACExtensions.podspec +++ b/AFNetworking-RACExtensions.podspec @@ -8,8 +8,22 @@ s.source = { :git => "https://github.com/CodaFi/AFNetworking-RACExtensions.git", :tag => "#{s.vers...
Make use of subspecs to trigger only necessary dependecies
diff --git a/lib/instana/frameworks/instrumentation/active_record.rb b/lib/instana/frameworks/instrumentation/active_record.rb index abc1234..def5678 100644 --- a/lib/instana/frameworks/instrumentation/active_record.rb +++ b/lib/instana/frameworks/instrumentation/active_record.rb @@ -23,6 +23,6 @@ ActiveRecord::Con...
Move ActiveRecord message down to debug.
diff --git a/lib/metrics_satellite/collectors/guideline_collector.rb b/lib/metrics_satellite/collectors/guideline_collector.rb index abc1234..def5678 100644 --- a/lib/metrics_satellite/collectors/guideline_collector.rb +++ b/lib/metrics_satellite/collectors/guideline_collector.rb @@ -4,9 +4,9 @@ system( ...
Change threashold value of guideline
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -2,3 +2,12 @@ require ::File.expand_path('../config/environment', __FILE__) run Rails.application + +if defined?(PhusionPassenger) + PhusionPassenger.on_event(:starting_worker_process) do |forked| + if forked + ...
Reset cache to avoid conflicts between workers for Passenger
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -1,3 +1,8 @@ $: << 'lib' + +require 'rubygems' +require 'bundler' +Bundler.require + require 'lib/printel' run Printel::Server
Make it work with pow http://printel.dev/
diff --git a/lib/twentyfour_seven_office/services/api_operation/input_transformer.rb b/lib/twentyfour_seven_office/services/api_operation/input_transformer.rb index abc1234..def5678 100644 --- a/lib/twentyfour_seven_office/services/api_operation/input_transformer.rb +++ b/lib/twentyfour_seven_office/services/api_operat...
Support Array with ‘primitives’ as values
diff --git a/test/builder_android_test.rb b/test/builder_android_test.rb index abc1234..def5678 100644 --- a/test/builder_android_test.rb +++ b/test/builder_android_test.rb @@ -6,12 +6,9 @@ @builder.stubs(:config).returns(Potemkin::Configuration.new(:sdk_root => "/some/path", :android_project_dir => "dir", :build_t...
Fix the failing environment test
diff --git a/lib/chess/pawn.rb b/lib/chess/pawn.rb index abc1234..def5678 100644 --- a/lib/chess/pawn.rb +++ b/lib/chess/pawn.rb @@ -1,44 +1,44 @@ module Chess class Piece - attr_reader :color, :position, :move_from, :move_to - def initialize(color, move_from, move_to) + attr_reader :color, :position + def initia...
Add Piece class and Pawn subclass. Add valid moves for Pawn subclass.
diff --git a/test/features/log_in_test.rb b/test/features/log_in_test.rb index abc1234..def5678 100644 --- a/test/features/log_in_test.rb +++ b/test/features/log_in_test.rb @@ -8,6 +8,18 @@ assert_content page, "Brave Payments" click_link('Log In') assert_content page, "Log In" + end + + test "a user wi...
Add test for successful login
diff --git a/vagrant_box_defaults.rb b/vagrant_box_defaults.rb index abc1234..def5678 100644 --- a/vagrant_box_defaults.rb +++ b/vagrant_box_defaults.rb @@ -5,4 +5,4 @@ $SERVER_BOX = "cilium/ubuntu-dev" $SERVER_VERSION= "157" $NETNEXT_SERVER_BOX= "cilium/ubuntu-next" -$NETNEXT_SERVER_VERSION= "30" +$NETNEXT_SERVER_VE...
Bump cilium/ubuntu-next version to 31 Includes the fix in the bpf-next tree to prevent the verifier from pruning the valid code (https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=a3ce685dd01a786fa5bc388e47d0066a4f842591). Signed-off-by: Martynas Pumputis <6b0d31c0d563223024da45691584643ac78c...
diff --git a/list.rb b/list.rb index abc1234..def5678 100644 --- a/list.rb +++ b/list.rb @@ -1,5 +1,5 @@ require_relative 'core.rb' -EmptyList = Cons[True][True] +EmptyList = Cons[True][Noop] IsEmpty=Car Head=->list{Car[Cdr[list]]} Tail=->list{
Switch EmptyList to have Noop, rather than true, to make it symmetric with Zero
diff --git a/lib/exceptions.rb b/lib/exceptions.rb index abc1234..def5678 100644 --- a/lib/exceptions.rb +++ b/lib/exceptions.rb @@ -37,7 +37,7 @@ class UrlLengthError < ValidationError #:nodoc: def initialize(message = nil) - super("URL too long (must not exceed #{SmartChart::URL_MAX_LENGTH} characters...
Print message, if given, to UrlLengthError.
diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb index abc1234..def5678 100644 --- a/Library/Homebrew/tap_migrations.rb +++ b/Library/Homebrew/tap_migrations.rb @@ -6,6 +6,7 @@ "colormake" => "homebrew/headonly", "comparepdf" => "homebrew/boneyard", "denyhosts" => "homebrew/b...
Migrate dotwrp, qrupdate, slicot to homebrew-science Closes Homebrew/homebrew#27743.
diff --git a/lib/callback/client.rb b/lib/callback/client.rb index abc1234..def5678 100644 --- a/lib/callback/client.rb +++ b/lib/callback/client.rb @@ -3,16 +3,18 @@ attr_accessor :access_token, :base_path def initialize(options={}) - @access_token = options.fetch(:access_token) do - Callback.co...
Refactor to remove duplication by extracting to method
diff --git a/lib/github_cli/util.rb b/lib/github_cli/util.rb index abc1234..def5678 100644 --- a/lib/github_cli/util.rb +++ b/lib/github_cli/util.rb @@ -1,3 +1,5 @@+# encoding: utf-8 + module GithubCLI module Util extend self @@ -33,5 +35,41 @@ else value.to_s end end + + # Shortens string...
Add string truncation and padding.
diff --git a/lib/ibanomat/client.rb b/lib/ibanomat/client.rb index abc1234..def5678 100644 --- a/lib/ibanomat/client.rb +++ b/lib/ibanomat/client.rb @@ -7,6 +7,7 @@ def self.find(options) raise ArgumentError.new unless options.is_a?(Hash) raise ArgumentError.new('Option :bank_code is missing!') if options[:...
Make sure bank_account_number is given
diff --git a/lib/log_lady/writer.rb b/lib/log_lady/writer.rb index abc1234..def5678 100644 --- a/lib/log_lady/writer.rb +++ b/lib/log_lady/writer.rb @@ -3,16 +3,17 @@ attr_accessor :record def before_create(record) - record.logs.build changeset: build_changeset(record, record.changed_attributes) + ...
Send changes_message as an argument to build_changeset
diff --git a/lib/rmagick/version.rb b/lib/rmagick/version.rb index abc1234..def5678 100644 --- a/lib/rmagick/version.rb +++ b/lib/rmagick/version.rb @@ -1,6 +1,6 @@ module Magick VERSION = '2.16.0' - MIN_RUBY_VERSION = '2.0.0' + MIN_RUBY_VERSION = '2.2.0' MIN_IM_VERSION = '6.4.9' MIN_WAND_VERSION = '6.9.0' ...
Drop support of Ruby < 2.2
diff --git a/lib/autoprefixer-rails/railtie.rb b/lib/autoprefixer-rails/railtie.rb index abc1234..def5678 100644 --- a/lib/autoprefixer-rails/railtie.rb +++ b/lib/autoprefixer-rails/railtie.rb @@ -7,7 +7,7 @@ class Railtie < ::Rails::Railtie rake_tasks do |app| require 'rake/autoprefixer_tasks' - ...
Allow to work in Rails without Assets Pipeline
diff --git a/lib/the_merger.rb b/lib/the_merger.rb index abc1234..def5678 100644 --- a/lib/the_merger.rb +++ b/lib/the_merger.rb @@ -8,9 +8,7 @@ # def merge_fields(subject,original_body) - parse_config - - @merge_model.constantize.all.each do |user| + merge_model.constantize.all.each do |user| ...
Refactor how we get the configured model
diff --git a/lib/chef/provider/machine_file.rb b/lib/chef/provider/machine_file.rb index abc1234..def5678 100644 --- a/lib/chef/provider/machine_file.rb +++ b/lib/chef/provider/machine_file.rb @@ -29,9 +29,9 @@ end attributes = {} - %w(owner group mode).each do |attribute| - attributes[attribute.to_s...
Stop being so clever, unroll the loop
diff --git a/lib/two_chainz.rb b/lib/two_chainz.rb index abc1234..def5678 100644 --- a/lib/two_chainz.rb +++ b/lib/two_chainz.rb @@ -1,2 +1,4 @@+module TwoChainz; end + require 'two_chainz/generator' require 'two_chainz/words_table'
Declare TwoChainz module in root file
diff --git a/lib/yooleroobee/cli.rb b/lib/yooleroobee/cli.rb index abc1234..def5678 100644 --- a/lib/yooleroobee/cli.rb +++ b/lib/yooleroobee/cli.rb @@ -7,10 +7,10 @@ def new(number) problem = Yooleroobee::FolderCreator.new.for_problem(number) say "Created the folder:" - say "./#{ problem.folder_...
Change messages from red to green
diff --git a/lib/ebay/types/name_value_list.rb b/lib/ebay/types/name_value_list.rb index abc1234..def5678 100644 --- a/lib/ebay/types/name_value_list.rb +++ b/lib/ebay/types/name_value_list.rb @@ -11,6 +11,7 @@ root_element_name 'NameValueList' text_node :name, 'Name', :optional => true text_node :v...
Add workaround for accepting array of values within NameValueList For example as it is required for VariationSpecificsSet
diff --git a/lib/rawline/non_blocking_input.rb b/lib/rawline/non_blocking_input.rb index abc1234..def5678 100644 --- a/lib/rawline/non_blocking_input.rb +++ b/lib/rawline/non_blocking_input.rb @@ -18,8 +18,13 @@ begin file_descriptor_flags = @input.fcntl(Fcntl::F_GETFL, 0) loop do - str...
Update non-blocking input to retry when EOFError received. This resolves an issue when interacting with the editor as a child process.
diff --git a/spec/unit/vault_spec.rb b/spec/unit/vault_spec.rb index abc1234..def5678 100644 --- a/spec/unit/vault_spec.rb +++ b/spec/unit/vault_spec.rb @@ -0,0 +1,73 @@+require "spec_helper" + +describe Vault do + it "sets the default values" do + Vault::Configurable.keys.each do |key| + value = Vault::Defaul...
Add unit tests for vault
diff --git a/lita-nerd.gemspec b/lita-nerd.gemspec index abc1234..def5678 100644 --- a/lita-nerd.gemspec +++ b/lita-nerd.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "lita-nerd" - spec.version = "1.0.0" + spec.version = "1.0.1" spec.authors = ["Henrik Sjökvist"...
Update gem versions to support lita 3.0, bump version number.
diff --git a/luchadeer.gemspec b/luchadeer.gemspec index abc1234..def5678 100644 --- a/luchadeer.gemspec +++ b/luchadeer.gemspec @@ -17,7 +17,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] - spec.add_dependency 'faraday', '~> 0.9.0' + spec.add_dependency 'far...
Update and loosen faraday dependency
diff --git a/spec/client_spec.rb b/spec/client_spec.rb index abc1234..def5678 100644 --- a/spec/client_spec.rb +++ b/spec/client_spec.rb @@ -5,22 +5,24 @@ describe 'Ephemeral::Client' do - it 'expects 3 arguments' do - test_client = Ephemeral::Client.new - expect{ - test_client.build - }.to raise_e...
Add build group to tests
diff --git a/spec/server_spec.rb b/spec/server_spec.rb index abc1234..def5678 100644 --- a/spec/server_spec.rb +++ b/spec/server_spec.rb @@ -56,5 +56,17 @@ last_response.should be_ok last_response.body.should match(%r{<title>\s*Madride Demo\s*</title>}) end + + + it "should set charset=utf8 for htm...
Add tests for response headers
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -14,10 +14,10 @@ RSpec.configure do |c| c.before(:each) do - Mongoid.session(:default).drop + Mongoid.purge! end c.after(:all) do - Mongoid.session(:default).dr...
Use purge instead of drop.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,4 +7,9 @@ set :environment, :test Rspec.configure do |config| + + config.before(:each) do + [User, Project].each { |model| model.delete_all } + end + end
Remove all Users and Projects before each test
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -18,7 +18,7 @@ c.extend VCR::RSpec::Macros end -config = YAML.load(File.new(File.expand_path('~/.dnsimple.local'))) +config = YAML.load(File.new(File.expand_path('~/.dnsimple....
Use ~/.dnsimple.test as referenced in the spec/README file.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,8 +3,6 @@ $:.unshift 'lib' -require 'rack_request_ip_strategies' - -RackRequestIPStrategies.patch_rack +require 'rack_request_ip_strategies/patch_rack' require 'pry'
Use patch require in spec helper
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -20,6 +20,7 @@ RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true + expecta...
Change to stop limiting string comparison length
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,2 +1,13 @@+require "simplecov" +SimpleCov.start + +# Configure Rails Environment +ENV["RAILS_ENV"] = "test" + +require File.expand_path("../../test/dummy/config/environment.rb",...
Add config to load spec/dummy
diff --git a/messaging.gemspec b/messaging.gemspec index abc1234..def5678 100644 --- a/messaging.gemspec +++ b/messaging.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' - s.version = '0.10.0.0' + s.version = '0.11.0.0' s.summary = 'Messaging primitives f...
Package version is increased from 0.10.0.0 to 0.11.0.0
diff --git a/messaging.gemspec b/messaging.gemspec index abc1234..def5678 100644 --- a/messaging.gemspec +++ b/messaging.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' - s.version = '2.5.3.0' + s.version = '2.5.4.0' s.summary = 'Common primitives for pl...
Package version is increased from 2.5.3.0 to 2.5.4.0
diff --git a/spec/classes/relationship__titles_spec.rb b/spec/classes/relationship__titles_spec.rb index abc1234..def5678 100644 --- a/spec/classes/relationship__titles_spec.rb +++ b/spec/classes/relationship__titles_spec.rb @@ -1,6 +1,8 @@ require 'spec_helper' describe 'relationships::titles' do + let(:facts) { {...
Add some facts to the specs
diff --git a/app/controllers/statistics_controller.rb b/app/controllers/statistics_controller.rb index abc1234..def5678 100644 --- a/app/controllers/statistics_controller.rb +++ b/app/controllers/statistics_controller.rb @@ -10,8 +10,6 @@ metric_percentage = (count_metric_snapshot.to_f / total_configuration.to_f)...
Use respond_with_json on statistics controller
diff --git a/geocoder.gemspec b/geocoder.gemspec index abc1234..def5678 100644 --- a/geocoder.gemspec +++ b/geocoder.gemspec @@ -1,5 +1,10 @@ # -*- encoding: utf-8 -*- + +lib = File.expand_path('../lib/', __FILE__) +$:.unshift lib unless $:.include?(lib) + require 'geocoder' + Gem::Specification.new do |s| s.name ...
Fix load path (wasn't working on Ruby 1.8).
diff --git a/app/models/spree/user_decorator.rb b/app/models/spree/user_decorator.rb index abc1234..def5678 100644 --- a/app/models/spree/user_decorator.rb +++ b/app/models/spree/user_decorator.rb @@ -1,3 +1,3 @@ Spree.user_class.class_eval do - has_many :addresses, :conditions => {:deleted_at => nil}, :order => "upda...
Update has_many args to Rails 4 syntax
diff --git a/app/serializers/item_serializer.rb b/app/serializers/item_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/item_serializer.rb +++ b/app/serializers/item_serializer.rb @@ -1,6 +1,5 @@ class ItemSerializer < ActiveModel::Serializer - attributes :id, :title, :ward, :number + attributes :id,...
Revert "Revert "Update Item Serializer""
diff --git a/db/data_migration/20130425114743_fix_historical_account_political_affiliations.rb b/db/data_migration/20130425114743_fix_historical_account_political_affiliations.rb index abc1234..def5678 100644 --- a/db/data_migration/20130425114743_fix_historical_account_political_affiliations.rb +++ b/db/data_migration...
Migrate political affiliation to new column
diff --git a/stripe.gemspec b/stripe.gemspec index abc1234..def5678 100644 --- a/stripe.gemspec +++ b/stripe.gemspec @@ -13,7 +13,6 @@ s.executables = 'stripe-console' s.require_paths = %w{lib} - s.add_dependency('json') s.add_dependency('rest-client') s.add_development_dependency('mocha')
Remove JSON as an explicit dependency TODO: bundle pure Ruby JSON implementation for Ruby 1.8
diff --git a/modules/tests/tc_lua_predicate.rb b/modules/tests/tc_lua_predicate.rb index abc1234..def5678 100644 --- a/modules/tests/tc_lua_predicate.rb +++ b/modules/tests/tc_lua_predicate.rb @@ -1,5 +1,3 @@-require File.join(File.dirname(__FILE__), '..', 'clipp_test') - class TestLuaPredicate < Test::Unit::TestCase ...
modules/tests: Remove incorrect require in ruby tests.
diff --git a/lib/arel.rb b/lib/arel.rb index abc1234..def5678 100644 --- a/lib/arel.rb +++ b/lib/arel.rb @@ -21,7 +21,7 @@ require 'arel/nodes' module Arel - VERSION = '6.0.0' + VERSION = '7.0.0.alpha' def self.sql raw_sql Arel::Nodes::SqlLiteral.new raw_sql
Change the version to 7.0.0.alpha
diff --git a/lib/dude.rb b/lib/dude.rb index abc1234..def5678 100644 --- a/lib/dude.rb +++ b/lib/dude.rb @@ -1,9 +1,11 @@ class Exception + attr_reader :initial_message + def initialize(message) - @message = message + @initial_message = message end def to_s - "#{@message}, dude." + "#{@initial_m...
Refactor based on skmetz example onPR 4 https://github.com/strand/dude/pull/4
diff --git a/test/helper.rb b/test/helper.rb index abc1234..def5678 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -16,9 +16,6 @@ require "svn_helper" require "buildable_stub" -Bob.logger = Logger.new("/dev/null") -Bob.engine = Bob::BackgroundEngines::Foreground -Bob.directory = File.expand_path(File.dirname(__...
Move Bob configuration for tests in setup
diff --git a/foodcritic.gemspec b/foodcritic.gemspec index abc1234..def5678 100644 --- a/foodcritic.gemspec +++ b/foodcritic.gemspec @@ -10,7 +10,6 @@ s.homepage = 'http://acrmp.github.com/foodcritic' s.license = 'MIT' s.executables << 'foodcritic' - s.add_dependency("json", ">= 1.4.4", "<= 1.6.1") s.add_de...
Remove direct JSON gem dependency.
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,7 +2,7 @@ name 'audit' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' -license 'Apache 2.0' +license 'Apache-2.0' description 'Allows for fetching and executing compliance profiles, a...
Use a SPDX standard license string Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>