diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/InstantMock.podspec b/InstantMock.podspec index abc1234..def5678 100644 --- a/InstantMock.podspec +++ b/InstantMock.podspec @@ -27,7 +27,8 @@ s.source_files = "Sources/**/*.{h,m,swift}" s.requires_arc = true s.ios.deployment_target = "9.0" - # s.osx.deployment_target = "10.10" # FIXME: disable osx...
Update podspec to add more targets
diff --git a/lib/generators/templates/models/concerns/token_verification.rb b/lib/generators/templates/models/concerns/token_verification.rb index abc1234..def5678 100644 --- a/lib/generators/templates/models/concerns/token_verification.rb +++ b/lib/generators/templates/models/concerns/token_verification.rb @@ -5,17 +5...
Remove user confirmation, fix erb typo
diff --git a/reeltalk.gemspec b/reeltalk.gemspec index abc1234..def5678 100644 --- a/reeltalk.gemspec +++ b/reeltalk.gemspec @@ -13,6 +13,8 @@ gem.homepage = "https://github.com/tarcieri/reeltalk" gem.add_runtime_dependency 'reel' + + gem.add_development_dependency 'rake' gem.add_development_dependency ...
Add Rake to the gemspec
diff --git a/lib/vagrant-librarian-puppet-plugin/action/librarian_puppet.rb b/lib/vagrant-librarian-puppet-plugin/action/librarian_puppet.rb index abc1234..def5678 100644 --- a/lib/vagrant-librarian-puppet-plugin/action/librarian_puppet.rb +++ b/lib/vagrant-librarian-puppet-plugin/action/librarian_puppet.rb @@ -19,12 +...
Make sure VAGRANT_HOME/gems/bin is added to ENV['PATH'] before running librarian-puppet
diff --git a/fuubar.gemspec b/fuubar.gemspec index abc1234..def5678 100644 --- a/fuubar.gemspec +++ b/fuubar.gemspec @@ -13,7 +13,7 @@ spec.license = 'MIT' spec.executables = [] - spec.files = Dir['{app,config,db,lib}/**/*'] + %w{Rakefile README.md LICENSE} + spec.files = Dir['{app,conf...
Chore: Update gemspec to point to LICENSE.txt
diff --git a/RSPOPPickerSheet.podspec b/RSPOPPickerSheet.podspec index abc1234..def5678 100644 --- a/RSPOPPickerSheet.podspec +++ b/RSPOPPickerSheet.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RSPOPPickerSheet" - s.version = "0.0.2" + s.version = "0.0.3" s.summary = "Fullscreen...
Change pod spec to 0.0.3
diff --git a/thor-foodcritic.gemspec b/thor-foodcritic.gemspec index abc1234..def5678 100644 --- a/thor-foodcritic.gemspec +++ b/thor-foodcritic.gemspec @@ -15,6 +15,6 @@ s.require_paths = ["lib"] s.required_ruby_version = ">= 2.1" - s.add_runtime_dependency 'thor' - s.add_runtime_dependency 'foodcriti...
Remove the version constraint on Foodcritic Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/test/test_proxy.rb b/test/test_proxy.rb index abc1234..def5678 100644 --- a/test/test_proxy.rb +++ b/test/test_proxy.rb @@ -0,0 +1,66 @@+require File.expand_path('../helper', __FILE__) +require 'fileutils' +require 'socket' +require 'mini_portile' + +class TestProxy < TestCase + def with_dummy_proxy + ...
Add test cases for proxy usage on http, https and ftp. The ftp and https test fail, currently.
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb index abc1234..def5678 100644 --- a/spec/cli_spec.rb +++ b/spec/cli_spec.rb @@ -7,8 +7,10 @@ it "should list all files in a directory" do cli = Aspec::CLI.new(test_app_dir, ["aspec/"]) - cli.aspec_files.sort.should == [ - File.expand_path("aspec/failing....
Use RSpec expect syntax in specs
diff --git a/lib/appinsights/installers/base.rb b/lib/appinsights/installers/base.rb index abc1234..def5678 100644 --- a/lib/appinsights/installers/base.rb +++ b/lib/appinsights/installers/base.rb @@ -13,8 +13,8 @@ @app.use middleware, *args.values end rescue AppInsights::ConfigFileNotFound => e - ...
Use logger method instead of the uninitialized variable
diff --git a/test/cases/schema_dumper_test_sqlserver.rb b/test/cases/schema_dumper_test_sqlserver.rb index abc1234..def5678 100644 --- a/test/cases/schema_dumper_test_sqlserver.rb +++ b/test/cases/schema_dumper_test_sqlserver.rb @@ -15,7 +15,7 @@ assert_no_match %r{c_int_4.*:limit}, output end - def test_my...
Fix rename of test_sqlserver_schema_dump_should_honor_nonstandard_primary_keys test.
diff --git a/test/integration/character_stories_test.rb b/test/integration/character_stories_test.rb index abc1234..def5678 100644 --- a/test/integration/character_stories_test.rb +++ b/test/integration/character_stories_test.rb @@ -2,16 +2,15 @@ # Tests scenarios related to interacting with Characters class Charact...
Remove failing line from story
diff --git a/lib/paper_trail/frameworks/active_record/models/paper_trail/version.rb b/lib/paper_trail/frameworks/active_record/models/paper_trail/version.rb index abc1234..def5678 100644 --- a/lib/paper_trail/frameworks/active_record/models/paper_trail/version.rb +++ b/lib/paper_trail/frameworks/active_record/models/pa...
Docs: Clarify that VersionAssociation is in separate gem
diff --git a/lib/scoring_engine/engine/work_unit.rb b/lib/scoring_engine/engine/work_unit.rb index abc1234..def5678 100644 --- a/lib/scoring_engine/engine/work_unit.rb +++ b/lib/scoring_engine/engine/work_unit.rb @@ -1,6 +1,7 @@ require 'resque/plugins/status' -require 'pty' + require 'timeout' +require 'open3' mod...
Switch to using popen3 to run command
diff --git a/lib/tasks/check_route_consistency.rake b/lib/tasks/check_route_consistency.rake index abc1234..def5678 100644 --- a/lib/tasks/check_route_consistency.rake +++ b/lib/tasks/check_route_consistency.rake @@ -3,9 +3,8 @@ def report_errors(errors) GovukError.notify( "Inconsistent routes", - parameters...
Add a level on the route consistency error
diff --git a/lib/ppcurses/actions/BaseAction.rb b/lib/ppcurses/actions/BaseAction.rb index abc1234..def5678 100644 --- a/lib/ppcurses/actions/BaseAction.rb +++ b/lib/ppcurses/actions/BaseAction.rb @@ -1,5 +1,3 @@-require 'curses' - #noinspection RubyResolve module PPCurses class BaseAction
Remove require. Requires are set at the base level.
diff --git a/lib/rack/dynamic_session_secure.rb b/lib/rack/dynamic_session_secure.rb index abc1234..def5678 100644 --- a/lib/rack/dynamic_session_secure.rb +++ b/lib/rack/dynamic_session_secure.rb @@ -2,6 +2,27 @@ module Rack module DynamicSessionSecure - # Your code goes here... + end + + module Session + ...
Replace secure option with returning value if it's a Proc
diff --git a/ext/leveldb/extconf.rb b/ext/leveldb/extconf.rb index abc1234..def5678 100644 --- a/ext/leveldb/extconf.rb +++ b/ext/leveldb/extconf.rb @@ -5,6 +5,8 @@ system "make libleveldb.a" or abort Dir.chdir "../ext/leveldb" +CONFIG['LDSHARED'] = "$(CXX) -shared" + $CFLAGS << " -I../../leveldb/include" $LIBS <<...
Fix "undefined symbol: __cxa_pure_virtual" error on load.
diff --git a/actionpack/lib/action_controller/metal/compatibility.rb b/actionpack/lib/action_controller/metal/compatibility.rb index abc1234..def5678 100644 --- a/actionpack/lib/action_controller/metal/compatibility.rb +++ b/actionpack/lib/action_controller/metal/compatibility.rb @@ -4,10 +4,6 @@ # Temporary hax ...
Remove relative url root setting from ENV var This is already being set by Rails configuration.
diff --git a/spec/html/proofer/scripts_spec.rb b/spec/html/proofer/scripts_spec.rb index abc1234..def5678 100644 --- a/spec/html/proofer/scripts_spec.rb +++ b/spec/html/proofer/scripts_spec.rb @@ -14,6 +14,12 @@ output.should == "" end + it "fails for missing internal src" do + file = "#{FIXTURES_DIR}/scri...
Test for missing internal src
diff --git a/em-jsonrpc.gemspec b/em-jsonrpc.gemspec index abc1234..def5678 100644 --- a/em-jsonrpc.gemspec +++ b/em-jsonrpc.gemspec @@ -4,7 +4,7 @@ spec.name = "em-jsonrpc" spec.version = EventMachine::JsonRPC::VERSION spec.date = Time.now - spec.authors = ["Iñaki Baz Castillo"] + spec.authors = ["Inaki Baz ...
Fix gemspec by removing utf8 char - It breaks running some applications
diff --git a/finite_machine.gemspec b/finite_machine.gemspec index abc1234..def5678 100644 --- a/finite_machine.gemspec +++ b/finite_machine.gemspec @@ -1,4 +1,3 @@-# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'finite_machine/version' @@ -...
Change to update dev dependency
diff --git a/app/controllers/islay_shop/admin/products_controller.rb b/app/controllers/islay_shop/admin/products_controller.rb index abc1234..def5678 100644 --- a/app/controllers/islay_shop/admin/products_controller.rb +++ b/app/controllers/islay_shop/admin/products_controller.rb @@ -17,7 +17,11 @@ end d...
Fix an issue with templating SKUs.
diff --git a/app/views/ninetails/containers/_container.json.jbuilder b/app/views/ninetails/containers/_container.json.jbuilder index abc1234..def5678 100644 --- a/app/views/ninetails/containers/_container.json.jbuilder +++ b/app/views/ninetails/containers/_container.json.jbuilder @@ -1,6 +1,7 @@ json.container do js...
Include layout id in the page response
diff --git a/engines/dfc_provider/app/serializers/dfc_provider/offer_serializer.rb b/engines/dfc_provider/app/serializers/dfc_provider/offer_serializer.rb index abc1234..def5678 100644 --- a/engines/dfc_provider/app/serializers/dfc_provider/offer_serializer.rb +++ b/engines/dfc_provider/app/serializers/dfc_provider/off...
Change offeres_to to offers_to for method naming
diff --git a/app/models/concerns/gobierto_common/module_name_prefixable.rb b/app/models/concerns/gobierto_common/module_name_prefixable.rb index abc1234..def5678 100644 --- a/app/models/concerns/gobierto_common/module_name_prefixable.rb +++ b/app/models/concerns/gobierto_common/module_name_prefixable.rb @@ -0,0 +1,25 @...
Add concern to prefix translations with module name translations
diff --git a/lib/hawk/model/connection.rb b/lib/hawk/model/connection.rb index abc1234..def5678 100644 --- a/lib/hawk/model/connection.rb +++ b/lib/hawk/model/connection.rb @@ -15,9 +15,21 @@ module ClassMethods def connection - raise Error::Configuration, "URL for #{name} is not yet set" unle...
Add mandatory User Agent as client_name
diff --git a/lib/formalist/form/validity_check.rb b/lib/formalist/form/validity_check.rb index abc1234..def5678 100644 --- a/lib/formalist/form/validity_check.rb +++ b/lib/formalist/form/validity_check.rb @@ -17,13 +17,13 @@ def visit_attr(node) name, type, errors, attributes, children = node - ...
Fix reversed logic for child validity This was preventing the embedded form validity check from ever returning a proper result for a rich text field with fully valid embedded forms
diff --git a/lib/librarian/puppet/source/local.rb b/lib/librarian/puppet/source/local.rb index abc1234..def5678 100644 --- a/lib/librarian/puppet/source/local.rb +++ b/lib/librarian/puppet/source/local.rb @@ -46,6 +46,7 @@ def manifest?(name, path) return true if path.join('manifests').exist? ...
Modify the code to check for lib/facter also to handle fact only modules
diff --git a/tasks/javadoc_patch.rake b/tasks/javadoc_patch.rake index abc1234..def5678 100644 --- a/tasks/javadoc_patch.rake +++ b/tasks/javadoc_patch.rake @@ -0,0 +1,17 @@+raise 'Patch already integrated into buildr code' unless Buildr::VERSION.to_s == '1.5.6' + +module Buildr + module JavadocPatch + module Proje...
Patch javadoc process to avoid warning due to source in jar
diff --git a/spec/features/rdb_spec.rb b/spec/features/rdb_spec.rb index abc1234..def5678 100644 --- a/spec/features/rdb_spec.rb +++ b/spec/features/rdb_spec.rb @@ -0,0 +1,23 @@+# encoding: UTF-8 +require File.expand_path("../../spec_helper", __FILE__) + +describe "Rdb", :js => true do + fixtures :projects, :projects_...
Add some general rdb specs.
diff --git a/spec/jotform/user_spec.rb b/spec/jotform/user_spec.rb index abc1234..def5678 100644 --- a/spec/jotform/user_spec.rb +++ b/spec/jotform/user_spec.rb @@ -30,7 +30,7 @@ end context "#active?" do - it "should return true for an active user" do + it "returns true for an active user" do ...
Fix wording in user spec
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb index abc1234..def5678 100644 --- a/spec/models/event_spec.rb +++ b/spec/models/event_spec.rb @@ -2,15 +2,12 @@ RSpec.describe Event, type: :model do - it { is_expected.to validate_presence_of(:category)} it { is_expected.to validate_presence_of...
Remove category from event specs
diff --git a/spec/routing/home_spec.rb b/spec/routing/home_spec.rb index abc1234..def5678 100644 --- a/spec/routing/home_spec.rb +++ b/spec/routing/home_spec.rb @@ -4,4 +4,8 @@ it 'routes /en to the home controller' do expect(get('/en')).to route_to(controller: "home", action: "show", locale: "en") end + + ...
Add Welsh test case to home routing spec
diff --git a/lib/tasks/global_user_migration.rake b/lib/tasks/global_user_migration.rake index abc1234..def5678 100644 --- a/lib/tasks/global_user_migration.rake +++ b/lib/tasks/global_user_migration.rake @@ -27,4 +27,15 @@ GlobalUserMigrator.new(tenant).migrate_user_ids puts "done." end + + desc "Migrate ...
Create a GlobalUser migrate_all task
diff --git a/specs.rb b/specs.rb index abc1234..def5678 100644 --- a/specs.rb +++ b/specs.rb @@ -1,11 +1,18 @@-Dir['algorithms/**/*.md'].each do |file_name| - matcher = File.read(file_name).match(/~~~\n(require 'rspec'\n.+?)\n~~~/m) +require 'tempfile' + +Dir[ARGV[0] || 'algorithms/**/*.md'].each do |filename| + matc...
Support running spec for one file.
diff --git a/app/jobs/index_protip.rb b/app/jobs/index_protip.rb index abc1234..def5678 100644 --- a/app/jobs/index_protip.rb +++ b/app/jobs/index_protip.rb @@ -5,6 +5,6 @@ def perform protip = Protip.find(protip_id) - protip.tire.update_index + protip.tire.update_index unless protip.user.banned? end ...
Check if protip owner is banned before indexing.
diff --git a/app/lib/github/params.rb b/app/lib/github/params.rb index abc1234..def5678 100644 --- a/app/lib/github/params.rb +++ b/app/lib/github/params.rb @@ -31,7 +31,7 @@ def set_query_params # Check if keyword is present in query string - keyword = @params["q"].slice!('keyword:') + k...
Use name instead of keyword
diff --git a/spec/default_search_spec.rb b/spec/default_search_spec.rb index abc1234..def5678 100644 --- a/spec/default_search_spec.rb +++ b/spec/default_search_spec.rb @@ -10,6 +10,14 @@ default_search('b2041590', 'remains of the day', 10) end + it "Should match full title strings without quotes" do + def...
Add exact title match examples.
diff --git a/lib/facter/cisco.rb b/lib/facter/cisco.rb index abc1234..def5678 100644 --- a/lib/facter/cisco.rb +++ b/lib/facter/cisco.rb @@ -11,7 +11,13 @@ hash = {} hash["images"] = {} - hash["images"]["system_image"] = Platform.system_image + begin + hash["images"]["system_image"] = Platform.sys...
Support both Cisco::Platform and Platform
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -10,6 +10,7 @@ class App < Sinatra::Application configure do set :root, File.dirname(__FILE__) + set :show_exceptions, :after_handler # Mongoid Mongoid.load!("./config/mongoid.yml") @@ -19,4 +20,6 @@ con...
Add show_exceptions in configure block
diff --git a/spec/requests/pages_spec.rb b/spec/requests/pages_spec.rb index abc1234..def5678 100644 --- a/spec/requests/pages_spec.rb +++ b/spec/requests/pages_spec.rb @@ -12,7 +12,7 @@ post pages_path, page: page_params.merge(liquid_layout_id: liquid_layout.id) }.to change{ Page.count }.by 1 pag...
Update spec to use short url
diff --git a/test/match_either_test.rb b/test/match_either_test.rb index abc1234..def5678 100644 --- a/test/match_either_test.rb +++ b/test/match_either_test.rb @@ -16,7 +16,7 @@ match_either( proc { nil }, proc { false }, - proc { Mismatch } + proc { Mismatch.new } ...
Fix small bug in test
diff --git a/spec/controllers/events_controller_spec.rb b/spec/controllers/events_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/events_controller_spec.rb +++ b/spec/controllers/events_controller_spec.rb @@ -1,13 +1,13 @@-require "rails_helper" +require 'rails_helper' RSpec.describe EventsCo...
Clean up " => '
diff --git a/lib/apnotic.rb b/lib/apnotic.rb index abc1234..def5678 100644 --- a/lib/apnotic.rb +++ b/lib/apnotic.rb @@ -5,4 +5,5 @@ require 'apnotic/version' module Apnotic + raise "Cannot require Apnotic, unsupported engine '#{RUBY_ENGINE}'" unless RUBY_ENGINE == "ruby" end
Raise error if engine is not MRI.
diff --git a/WebKitPlus.podspec b/WebKitPlus.podspec index abc1234..def5678 100644 --- a/WebKitPlus.podspec +++ b/WebKitPlus.podspec @@ -16,7 +16,7 @@ s.source = { :git => "https://github.com/yashigani/WebKitPlus.git", :tag => "#{s.version}" } s.source_files = "Sources/WebKitPlus/**/*.{swift,h}" - s.resou...
Fix to revert resouces to resource_bundles
diff --git a/Casks/handbrake.rb b/Casks/handbrake.rb index abc1234..def5678 100644 --- a/Casks/handbrake.rb +++ b/Casks/handbrake.rb @@ -1,6 +1,7 @@ class Handbrake < Cask - url 'http://handbrake.fr/rotation.php?file=HandBrake-0.9.8-MacOSX.6_GUI_x86_64.dmg' + url 'http://handbrake.fr/rotation.php?file=HandBrake-0.9.9...
Upgrade HandBrake to 0.9.9, add application link
diff --git a/Casks/handbrake.rb b/Casks/handbrake.rb index abc1234..def5678 100644 --- a/Casks/handbrake.rb +++ b/Casks/handbrake.rb @@ -9,5 +9,7 @@ homepage 'https://handbrake.fr' license :oss + auto_updates true + app 'HandBrake.app' end
Add auto_updates flag to Handbrake
diff --git a/Casks/sketch-up.rb b/Casks/sketch-up.rb index abc1234..def5678 100644 --- a/Casks/sketch-up.rb +++ b/Casks/sketch-up.rb @@ -0,0 +1,8 @@+class SketchUp < Cask + url 'http://dl.trimble.com/sketchup/SketchUpMEN.dmg' + homepage 'http://www.sketchup.com/intl/en/' + version '8' + sha1 '0dbfc19d64119fee86b38b...
Add Sketch Up (version 8) Cask
diff --git a/app/controllers/concerns/authenticate.rb b/app/controllers/concerns/authenticate.rb index abc1234..def5678 100644 --- a/app/controllers/concerns/authenticate.rb +++ b/app/controllers/concerns/authenticate.rb @@ -2,30 +2,27 @@ extend ActiveSupport::Concern def self.getKeyUser(token) - ApiKey.where...
Update authentication for api to be cleaner
diff --git a/app/controllers/spree/api/v2/base_controller_decorator.rb b/app/controllers/spree/api/v2/base_controller_decorator.rb index abc1234..def5678 100644 --- a/app/controllers/spree/api/v2/base_controller_decorator.rb +++ b/app/controllers/spree/api/v2/base_controller_decorator.rb @@ -0,0 +1,4 @@+module Spree::A...
Apply localization in API v2 controller
diff --git a/app/routes/users.rb b/app/routes/users.rb index abc1234..def5678 100644 --- a/app/routes/users.rb +++ b/app/routes/users.rb @@ -12,12 +12,12 @@ end get "/:id/edit" do - @user = User.find params[:id] + @user = User.find( params[:id] ) or halt 404 view "admin/users/user_edit" end po...
Handle 'not found' errors in /admin/user/../edit
diff --git a/app/serializers/split_time_serializer.rb b/app/serializers/split_time_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/split_time_serializer.rb +++ b/app/serializers/split_time_serializer.rb @@ -1,7 +1,4 @@ class SplitTimeSerializer < BaseSerializer attributes :id, :effort_id, :lap, :sp...
Remove belongs_to relationships from SplitTimeSerializer.
diff --git a/lib/cmis/utils.rb b/lib/cmis/utils.rb index abc1234..def5678 100644 --- a/lib/cmis/utils.rb +++ b/lib/cmis/utils.rb @@ -32,10 +32,17 @@ end def normalize(value) - if value.respond_to?(:strftime) + if value.respond_to?(:strftime) # datetime literal value = value.strft...
Support numeric and boolean literals in query builder.
diff --git a/lib/coloration.rb b/lib/coloration.rb index abc1234..def5678 100644 --- a/lib/coloration.rb +++ b/lib/coloration.rb @@ -1,7 +1,7 @@ require 'color' require "coloration/extensions.rb" -require "coloration//style.rb" +require "coloration/style.rb" require "coloration/abstract_converter.rb" require "colo...
Remove double slash from path
diff --git a/app/models/coronavirus/sub_section.rb b/app/models/coronavirus/sub_section.rb index abc1234..def5678 100644 --- a/app/models/coronavirus/sub_section.rb +++ b/app/models/coronavirus/sub_section.rb @@ -5,10 +5,34 @@ validates :title, :content, presence: true validates :page, presence: true validate :...
Create structured content when creating a sub section This makes it so that structured content is created when a sub section is. It also adds the validation into the sub section model to ensure that the content is valid according to the Structured content. This in turn means that it is impossible for invalid content t...
diff --git a/lib/travis/cli/setup/engine_yard.rb b/lib/travis/cli/setup/engine_yard.rb index abc1234..def5678 100644 --- a/lib/travis/cli/setup/engine_yard.rb +++ b/lib/travis/cli/setup/engine_yard.rb @@ -8,7 +8,7 @@ description "automatic deployment to Engine Yard" def run - deploy 'provide...
Fix for outputting 'provider:' twice in .travis.yml The 'travis setup engineyard' command outputted deploy: provider: provider: engineyard
diff --git a/spec/lib/ruby_gnuplot/style_spec.rb b/spec/lib/ruby_gnuplot/style_spec.rb index abc1234..def5678 100644 --- a/spec/lib/ruby_gnuplot/style_spec.rb +++ b/spec/lib/ruby_gnuplot/style_spec.rb @@ -1,5 +1,66 @@-describe Gnuplot::Plot do +describe Gnuplot::Plot::Style do subject(:style) { described_class.new }...
Add spec over style class
diff --git a/spec/factories/organizations.rb b/spec/factories/organizations.rb index abc1234..def5678 100644 --- a/spec/factories/organizations.rb +++ b/spec/factories/organizations.rb @@ -11,6 +11,7 @@ organization_type_id { 1 } sequence(:name) { |n| "Org #{n}" } short_name {name} + legal_name...
[TTPLAT-1117] Add legal name to organization factories.
diff --git a/spec/filesystem_watcher_spec.rb b/spec/filesystem_watcher_spec.rb index abc1234..def5678 100644 --- a/spec/filesystem_watcher_spec.rb +++ b/spec/filesystem_watcher_spec.rb @@ -14,10 +14,10 @@ Dir::rmdir(@test_dir) end it "see created file in watched dir" do - @core.watchers << FilesystemWatch...
Make tests go quicker by changing dirwatch timers
diff --git a/ruby/event-machine/server.rb b/ruby/event-machine/server.rb index abc1234..def5678 100644 --- a/ruby/event-machine/server.rb +++ b/ruby/event-machine/server.rb @@ -17,6 +17,7 @@ end end.parse! +EM.epoll EM.run { @channel = EM::Channel.new
Fix eventmachine crashing by using epoll
diff --git a/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb b/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb index abc1234..def5678 100644 --- a/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb +++ b/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb @@ -0,0 +1,14 @...
Add migration to add fields to annual report uploads
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index abc1234..def5678 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -1,6 +1,6 @@ module UsersHelper def follow_user_button(user, size_classes = "tiny expand") - if user_signed_in? && user != current_user + i...
Remove follow button in share mode
diff --git a/app/controllers/things_controller.rb b/app/controllers/things_controller.rb index abc1234..def5678 100644 --- a/app/controllers/things_controller.rb +++ b/app/controllers/things_controller.rb @@ -14,28 +14,29 @@ end post "/things" do - @thing = Thing.new(params[:thing]) - @thing.user = current_user - ...
Convert fail routes for things/post, /put, /delete routes from erb's to redirects
diff --git a/app/models/authorization.rb b/app/models/authorization.rb index abc1234..def5678 100644 --- a/app/models/authorization.rb +++ b/app/models/authorization.rb @@ -3,12 +3,4 @@ belongs_to :oauth_provider validates_presence_of :oauth_provider, :uid - - scope :from_hash, ->(hash){ - joins(:oauth_provi...
Remove from_hash scopes from Authorization Not used since authorization refactory.
diff --git a/app/overrides/admin/tabs.rb b/app/overrides/admin/tabs.rb index abc1234..def5678 100644 --- a/app/overrides/admin/tabs.rb +++ b/app/overrides/admin/tabs.rb @@ -1,5 +1,5 @@ Deface::Override.new(:virtual_path => "spree/layouts/admin", :name => "add tolk tab", :inse...
Add tolk to Spree Navigation
diff --git a/lib/acts_as_audited/audit_sweeper.rb b/lib/acts_as_audited/audit_sweeper.rb index abc1234..def5678 100644 --- a/lib/acts_as_audited/audit_sweeper.rb +++ b/lib/acts_as_audited/audit_sweeper.rb @@ -20,6 +20,7 @@ end class AuditSweeper < ActionController::Caching::Sweeper #:nodoc: + observe Audit cat...
Use new observer API. Fixes Rails3
diff --git a/app/models/user.rb b/app/models/user.rb index abc1234..def5678 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -10,9 +10,12 @@ attr_accessible :email, :password, :password_confirmation, :remember_me, :provider, :uid, :name # attr_accessible :title, :body - def self.find_for_oauth(auth, s...
Add logging to onmiauth action
diff --git a/lib/lanes/command/generate_screen.rb b/lib/lanes/command/generate_screen.rb index abc1234..def5678 100644 --- a/lib/lanes/command/generate_screen.rb +++ b/lib/lanes/command/generate_screen.rb @@ -10,7 +10,8 @@ description: '', icon: '', group_id: ...
Create "lanes generate sceen" command
diff --git a/lib/three_little_pigs/objects/pot.rb b/lib/three_little_pigs/objects/pot.rb index abc1234..def5678 100644 --- a/lib/three_little_pigs/objects/pot.rb +++ b/lib/three_little_pigs/objects/pot.rb @@ -1,13 +1,9 @@ module ThreeLittlePigs class Pot - TEMPERATURE_TO_BOIL_WATER = 110 # °C - private_constan...
Remove some code irrelevant to the story
diff --git a/src/main/script/ci_build.rb b/src/main/script/ci_build.rb index abc1234..def5678 100644 --- a/src/main/script/ci_build.rb +++ b/src/main/script/ci_build.rb @@ -17,20 +17,27 @@ return system("git reset --hard #{REMOTE}/#{BRANCH}") end -def print_results(msg) +def success(message) puts - puts msg + ...
Return status codes from the CI build script
diff --git a/lib/tasks/deployment/20181127161213_fix_sheffield_config.rake b/lib/tasks/deployment/20181127161213_fix_sheffield_config.rake index abc1234..def5678 100644 --- a/lib/tasks/deployment/20181127161213_fix_sheffield_config.rake +++ b/lib/tasks/deployment/20181127161213_fix_sheffield_config.rake @@ -0,0 +1,14 @...
Add task to fix sheffield
diff --git a/db/migrate/20160108174834_add_timebased_publishing_columns_to_pages.rb b/db/migrate/20160108174834_add_timebased_publishing_columns_to_pages.rb index abc1234..def5678 100644 --- a/db/migrate/20160108174834_add_timebased_publishing_columns_to_pages.rb +++ b/db/migrate/20160108174834_add_timebased_publishing...
Migrate page publicity using SQL Before this was done in Ruby and did not work. This does the same migration in SQL and therefore much faster.
diff --git a/spec/features/vimrc_generation_spec.rb b/spec/features/vimrc_generation_spec.rb index abc1234..def5678 100644 --- a/spec/features/vimrc_generation_spec.rb +++ b/spec/features/vimrc_generation_spec.rb @@ -18,7 +18,7 @@ scenario 'User can generate vimrc with custom settings', js: true do visit '/' -...
Make Capybara locator more specific
diff --git a/spec/support/ensure_assets_compiled.rb b/spec/support/ensure_assets_compiled.rb index abc1234..def5678 100644 --- a/spec/support/ensure_assets_compiled.rb +++ b/spec/support/ensure_assets_compiled.rb @@ -4,15 +4,9 @@ module EnsureAssetsCompiled def self.check_built_assets return if @checked_b...
Add warning message if the user is testing with webpack running
diff --git a/lib/metasploit_data_models/active_record_models/vuln.rb b/lib/metasploit_data_models/active_record_models/vuln.rb index abc1234..def5678 100644 --- a/lib/metasploit_data_models/active_record_models/vuln.rb +++ b/lib/metasploit_data_models/active_record_models/vuln.rb @@ -11,9 +11,10 @@ after_update :...
Add Refs to the Vuns shallow search scope
diff --git a/plugins/identity/app/controllers/identity/domains_controller.rb b/plugins/identity/app/controllers/identity/domains_controller.rb index abc1234..def5678 100644 --- a/plugins/identity/app/controllers/identity/domains_controller.rb +++ b/plugins/identity/app/controllers/identity/domains_controller.rb @@ -6,7...
Fix domain get for non admins, Delete nonsense auth. check
diff --git a/plugins/fb_app/controllers/public/fb_app_plugin_controller.rb b/plugins/fb_app/controllers/public/fb_app_plugin_controller.rb index abc1234..def5678 100644 --- a/plugins/fb_app/controllers/public/fb_app_plugin_controller.rb +++ b/plugins/fb_app/controllers/public/fb_app_plugin_controller.rb @@ -15,4 +15,10...
Fix reset session on facebook requests
diff --git a/Casks/keyboard-maestro.rb b/Casks/keyboard-maestro.rb index abc1234..def5678 100644 --- a/Casks/keyboard-maestro.rb +++ b/Casks/keyboard-maestro.rb @@ -1,6 +1,6 @@ cask 'keyboard-maestro' do - version '7.0.2' - sha256 'd80b9cc8790c9b1595bfe132f47f12f54210fc3430c462d8cd668784c4f1c6c0' + version '7.0.3' +...
Upgrade Keyboard Maestro to 7.0.3.
diff --git a/templates/xml_sitemap.builder b/templates/xml_sitemap.builder index abc1234..def5678 100644 --- a/templates/xml_sitemap.builder +++ b/templates/xml_sitemap.builder @@ -1,15 +1,15 @@ xml.instruct! xml.urlset "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance", - "xsi:schemaLocation" => "http://w...
Allow empty lastmod, changefreq and priority. Provide a way to pass false values to lastmod, changefreq and priority. Signed-off-by: Adam Salter <f257d94038124c89b9e3063ebb3ccaafdcb43ccb@gmail.com>
diff --git a/db/data_migration/20141210090358_change_slug_for_schools_colleges_policy_document.rb b/db/data_migration/20141210090358_change_slug_for_schools_colleges_policy_document.rb index abc1234..def5678 100644 --- a/db/data_migration/20141210090358_change_slug_for_schools_colleges_policy_document.rb +++ b/db/data_...
Update policy data migration to use prefix route Use a prefix redirect for the policy change. This will then match all the supporting pages and redirect them. Also remove the 'for' from the search index calls. As far as I can tell the search index gets set based on the object anyway. It was also causing the migration...
diff --git a/db/migrate/20161017175509_remove_order_id_from_solidus_subscriptions_installments.rb b/db/migrate/20161017175509_remove_order_id_from_solidus_subscriptions_installments.rb index abc1234..def5678 100644 --- a/db/migrate/20161017175509_remove_order_id_from_solidus_subscriptions_installments.rb +++ b/db/migra...
Fix remove_foreign_key failing in Rails 6 In Rails 6, this statement fails because Rails thinks the foreign key does not exist for some reason. Since the remove_foreign_key call is not needed because the column is removed in the subsequent statement, we can remove it altogether.
diff --git a/lib/rails-observers.rb b/lib/rails-observers.rb index abc1234..def5678 100644 --- a/lib/rails-observers.rb +++ b/lib/rails-observers.rb @@ -4,9 +4,13 @@ module Rails module Observers class Railtie < ::Rails::Railtie - initializer "active_record.observer", :before => "active_record.set_configs"...
Set the observers before active_record.set_configs. This will avoid the deprecation warning
diff --git a/lib/reduce_examples.rb b/lib/reduce_examples.rb index abc1234..def5678 100644 --- a/lib/reduce_examples.rb +++ b/lib/reduce_examples.rb @@ -1,6 +1,6 @@-<<~DOC - Use reduce to get the sum of an array -DOC - +# Use reduce to get the sum of an array a = [1, 2, 3] a.reduce :+ # => 6 + +# Use reduce to get t...
Use reduce to compute factorials
diff --git a/lib/reel/connection.rb b/lib/reel/connection.rb index abc1234..def5678 100644 --- a/lib/reel/connection.rb +++ b/lib/reel/connection.rb @@ -24,6 +24,8 @@ def respond(response) response.render(@socket) + rescue Errno::ECONNRESET, Errno::EPIPE + # The client disconnected early e...
Handle disconnects during response rendering
diff --git a/lib/rubill/customer.rb b/lib/rubill/customer.rb index abc1234..def5678 100644 --- a/lib/rubill/customer.rb +++ b/lib/rubill/customer.rb @@ -13,19 +13,6 @@ CustomerContact.find_by_customer(id) end - def create_credit(amount, description="", syncReference="") - data = { - customer...
Remove Compete-specific logic into domain models.
diff --git a/lib/with_uuid/model.rb b/lib/with_uuid/model.rb index abc1234..def5678 100644 --- a/lib/with_uuid/model.rb +++ b/lib/with_uuid/model.rb @@ -14,12 +14,19 @@ end + protected + def set_id return unless id.blank? - # Assign generated COMBination GUID to #id - write_attribute( :i...
Add callbacks to UUID setting.
diff --git a/src/scp-article-loader.rb b/src/scp-article-loader.rb index abc1234..def5678 100644 --- a/src/scp-article-loader.rb +++ b/src/scp-article-loader.rb @@ -1,12 +1,13 @@ require 'nokogiri' require 'mechanize' +require_relative 'locale' class SCPArticleLoader def initialize(item_no, option) @item_no...
Support the other SCP Databases the other SCP Databases are: * SCP-RU * SCP-KO * SCP-CN * SCP-FR * SCP-PL * SCP-ES * SCP-TH
diff --git a/librarian-chef.gemspec b/librarian-chef.gemspec index abc1234..def5678 100644 --- a/librarian-chef.gemspec +++ b/librarian-chef.gemspec @@ -11,6 +11,7 @@ gem.summary = %q{A Bundler for your Chef Cookbooks.} gem.description = %q{A Bundler for your Chef Cookbooks.} gem.homepage = "" + g...
Mark the license in the gemspec.
diff --git a/app/controllers/flow_managers_controller.rb b/app/controllers/flow_managers_controller.rb index abc1234..def5678 100644 --- a/app/controllers/flow_managers_controller.rb +++ b/app/controllers/flow_managers_controller.rb @@ -5,14 +5,15 @@ def show respond_to do |format| format.json do - ...
Add join to task queries in flowmanager.
diff --git a/app/controllers/restaurateurs_controller.rb b/app/controllers/restaurateurs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/restaurateurs_controller.rb +++ b/app/controllers/restaurateurs_controller.rb @@ -0,0 +1,16 @@+class RestaurateursController < ApplicationResourcesController + defa...
ADD : creation d'un controller pour les restaurateurs
diff --git a/app/serializers/api/dashboard_serializer.rb b/app/serializers/api/dashboard_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/api/dashboard_serializer.rb +++ b/app/serializers/api/dashboard_serializer.rb @@ -1,6 +1,6 @@ class Api::DashboardSerializer < ActiveModel::Serializer attributes ...
Add author to dashboard index serializer
diff --git a/app/views/renalware/api/ukrdc/patients/procedures/_dialysis_session.xml.builder b/app/views/renalware/api/ukrdc/patients/procedures/_dialysis_session.xml.builder index abc1234..def5678 100644 --- a/app/views/renalware/api/ukrdc/patients/procedures/_dialysis_session.xml.builder +++ b/app/views/renalware/api...
Change procedure type to Haemodialysis
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -1,7 +1,9 @@+$LOAD_PATH << '.' + require 'bundler/setup' require 'docify' require 'sinatra' -require './app/lib/highlight' +require 'app/lib/highlight' VERSION = '0.3.4'
Define load path to be local
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -7,7 +7,10 @@ require 'content_alert' def main - return if File.exists?("#{ENV['HOME']}/.stop_content_alert") + if File.exists?("#{ENV['HOME']}/.stop_content_alert") + puts '.stop_content_alert exists' + return + end ...
Add stop content alert message
diff --git a/XYFSnowAnimation.podspec b/XYFSnowAnimation.podspec index abc1234..def5678 100644 --- a/XYFSnowAnimation.podspec +++ b/XYFSnowAnimation.podspec @@ -2,7 +2,7 @@ s.name = "XYFSnowAnimation" -s.version = "2.0.0" +s.version = "2.0.1" s.ios.deployment_target = '8.0' @@ -14,7 +14,7 @@ ...
Update cocoaPods depository to version 2.0.1
diff --git a/YALPullToRefresh.podspec b/YALPullToRefresh.podspec index abc1234..def5678 100644 --- a/YALPullToRefresh.podspec +++ b/YALPullToRefresh.podspec @@ -1,16 +1,16 @@ Pod::Spec.new do |spec| - spec.name = 'YALPullToRefresh' - spec.version = '1.0' + spec.name = "YALPullToRefresh" + spec.version = "1.0" - ...
Revert "[Fix] Fixed podspec format" This reverts commit 15b1ae77f86213914d404767e28efdeae361f11a.
diff --git a/MercadoPagoSDK.podspec b/MercadoPagoSDK.podspec index abc1234..def5678 100644 --- a/MercadoPagoSDK.podspec +++ b/MercadoPagoSDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "MercadoPagoSDK" - s.version = "4.0.0.beta.24" + s.version = "4.0.0.beta.28" s.summary ...
Change beta version to .28
diff --git a/pg_search.gemspec b/pg_search.gemspec index abc1234..def5678 100644 --- a/pg_search.gemspec +++ b/pg_search.gemspec @@ -6,8 +6,8 @@ s.name = "pg_search" s.version = PgSearch::VERSION s.platform = Gem::Platform::RUBY - s.authors = ["Case Commons, LLC"] - s.email = ["casecom...
Add myself to the authors
diff --git a/core/lib/generators/spree/mailers_preview/templates/mailers/previews/order_preview.rb b/core/lib/generators/spree/mailers_preview/templates/mailers/previews/order_preview.rb index abc1234..def5678 100644 --- a/core/lib/generators/spree/mailers_preview/templates/mailers/previews/order_preview.rb +++ b/core/...
Add email preview for order store_owner_notification mail