diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/config/initializers/vcr.rb b/config/initializers/vcr.rb index abc1234..def5678 100644 --- a/config/initializers/vcr.rb +++ b/config/initializers/vcr.rb @@ -1,4 +1,5 @@ VCR.configure do |config| config.cassette_library_dir = "spec/cassettes" config.hook_into :webmock + config.ignore_hosts 'codeclimat...
Configure VCR to allow sending Code Climate reports
diff --git a/has_breadcrumb.gemspec b/has_breadcrumb.gemspec index abc1234..def5678 100644 --- a/has_breadcrumb.gemspec +++ b/has_breadcrumb.gemspec @@ -6,16 +6,18 @@ Gem::Specification.new do |gem| gem.name = "has_breadcrumb" gem.version = HasBreadcrumb::VERSION + gem.platform = Gem::Platfor...
Add license and platform to the gemspec This commit adds the MIT license and platform to the gemspec. The missing license added due to a warning when building the gem. The platform was added on a whim by noticing it was missing.
diff --git a/log4jruby.gemspec b/log4jruby.gemspec index abc1234..def5678 100644 --- a/log4jruby.gemspec +++ b/log4jruby.gemspec @@ -1,8 +1,6 @@ # -*- encoding: utf-8 -*- lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) - -require 'capybara/version' Gem::Specification.new do |s| ...
Remove reference to Capybara in gemspec(I started with a copy from that procject)
diff --git a/tangent.rb b/tangent.rb index abc1234..def5678 100644 --- a/tangent.rb +++ b/tangent.rb @@ -13,6 +13,6 @@ require "./app/reader" class Tangent < Sinatra::Base + use Editor use Reader - use Editor end
Switch Reader/Editor loading so redirect works
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.8.0.1' + s.version = '0.8.1.0' s.summary = 'Messaging primitives for...
Package version is increased from 0.8.0.1 to 0.8.1.0
diff --git a/lib/distance.rb b/lib/distance.rb index abc1234..def5678 100644 --- a/lib/distance.rb +++ b/lib/distance.rb @@ -1,7 +1,7 @@ class Distance # absents have low weighting, except where it is a strong vote - STRONG_WEIGHT = 5.0 - ABSENT_WEIGHT = 0.2 + STRONG_WEIGHT = 50.0 + ABSENT_WEIGHT = 2.0 attr...
Scale scores by 10 to match point system
diff --git a/lib/mementus.rb b/lib/mementus.rb index abc1234..def5678 100644 --- a/lib/mementus.rb +++ b/lib/mementus.rb @@ -1,19 +1,19 @@-require_relative 'mementus/graph' -require_relative 'mementus/structure/adjacency_list' -require_relative 'mementus/structure/incidence_list' -require_relative 'mementus/node' -requ...
Change `require_relative` to `require` in base Gem include
diff --git a/looksee.gemspec b/looksee.gemspec index abc1234..def5678 100644 --- a/looksee.gemspec +++ b/looksee.gemspec @@ -7,8 +7,7 @@ s.authors = ["George Ogata"] s.email = ["george.ogata@gmail.com"] s.date = Time.now.strftime('%Y-%m-%d') - s.summary = "Inspect method lookup paths in ways not possible in pl...
Make gem description consistent with Github.
diff --git a/web/lib/assets/umakadata/lib/umakadata/logging/criteria_log.rb b/web/lib/assets/umakadata/lib/umakadata/logging/criteria_log.rb index abc1234..def5678 100644 --- a/web/lib/assets/umakadata/lib/umakadata/logging/criteria_log.rb +++ b/web/lib/assets/umakadata/lib/umakadata/logging/criteria_log.rb @@ -11,10 +...
Remove unnecessary function of push
diff --git a/lib/hdo/webhook_deployer/deployer.rb b/lib/hdo/webhook_deployer/deployer.rb index abc1234..def5678 100644 --- a/lib/hdo/webhook_deployer/deployer.rb +++ b/lib/hdo/webhook_deployer/deployer.rb @@ -54,8 +54,10 @@ rescue ChildProcess::TimeoutError => ex log ex.message process.sto...
Raise if exit code is not 0
diff --git a/db/migrate/20190318115000_fix_page_file_ids.rb b/db/migrate/20190318115000_fix_page_file_ids.rb index abc1234..def5678 100644 --- a/db/migrate/20190318115000_fix_page_file_ids.rb +++ b/db/migrate/20190318115000_fix_page_file_ids.rb @@ -28,6 +28,7 @@ end def mysql2? - connection.instance_of?(Activ...
Fix FixPageFileIds again for postgres
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index abc1234..def5678 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -1,7 +1,7 @@-if Rails.env.development? - require 'sidekiq/testing' - Sidekiq::Testing.inline! -end +# if Rails.env.development? +# r...
Disable Sidekiq inline testing in development
diff --git a/db/migrate/20200129160520_add_visibility_level_to_gdata_datasets.rb b/db/migrate/20200129160520_add_visibility_level_to_gdata_datasets.rb index abc1234..def5678 100644 --- a/db/migrate/20200129160520_add_visibility_level_to_gdata_datasets.rb +++ b/db/migrate/20200129160520_add_visibility_level_to_gdata_dat...
Add task to publish datasets on migration to add visibility_level
diff --git a/axiom.gemspec b/axiom.gemspec index abc1234..def5678 100644 --- a/axiom.gemspec +++ b/axiom.gemspec @@ -17,10 +17,10 @@ gem.test_files = `git ls-files -- spec/{unit,integration}`.split($/) gem.extra_rdoc_files = %w[LICENSE README.md CONTRIBUTING.md TODO] + gem.add_runtime_dependency('abstract...
Update gem order to be alphabetical
diff --git a/railties/lib/rails/generators/rails/plugin/templates/rails/application.rb b/railties/lib/rails/generators/rails/plugin/templates/rails/application.rb index abc1234..def5678 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/rails/application.rb +++ b/railties/lib/rails/generators/rails/plugi...
Include AV railtie when we're not loading full rails stack
diff --git a/app/repositories/marshallers/document_association_marshaller.rb b/app/repositories/marshallers/document_association_marshaller.rb index abc1234..def5678 100644 --- a/app/repositories/marshallers/document_association_marshaller.rb +++ b/app/repositories/marshallers/document_association_marshaller.rb @@ -1,7...
Use Ruby keyword args in DocumentAssociationMarshaller I think that using language features instead of custom code makes this easier to understand.
diff --git a/jqgrid_rails.gemspec b/jqgrid_rails.gemspec index abc1234..def5678 100644 --- a/jqgrid_rails.gemspec +++ b/jqgrid_rails.gemspec @@ -12,5 +12,5 @@ s.has_rdoc = true s.extra_rdoc_files = ['README.rdoc', 'LICENSE.rdoc', 'CHANGELOG.rdoc'] s.add_dependency 'rails', '>= 2.3' - s.files = %w(LICENSE READM...
Remove reference to deleted file
diff --git a/spec/unit/tomcat_spec.rb b/spec/unit/tomcat_spec.rb index abc1234..def5678 100644 --- a/spec/unit/tomcat_spec.rb +++ b/spec/unit/tomcat_spec.rb @@ -1,7 +1,15 @@ require 'spec_helper' describe 'tomcat', :type => :class do - context "When on unsupported operating system family" do + + let :params_data d...
Put in some tests for installing java
diff --git a/core/spec/filters/spree/products/find_spec.rb b/core/spec/filters/spree/products/find_spec.rb index abc1234..def5678 100644 --- a/core/spec/filters/spree/products/find_spec.rb +++ b/core/spec/filters/spree/products/find_spec.rb @@ -0,0 +1,90 @@+require 'spec_helper' + +module Spree + describe Products::Fi...
Create find spec with test for deleted and discontinued filters
diff --git a/app/controllers/page.rb b/app/controllers/page.rb index abc1234..def5678 100644 --- a/app/controllers/page.rb +++ b/app/controllers/page.rb @@ -2,6 +2,7 @@ get :index, :map => '/hit/:page_name' do @page_name = params[:page_name] + deliver(:hit_notifier, :hit_email, "#{@page_name} was Hit", ENV[...
Send the email on hit.
diff --git a/db/migrate/20121008153758_create_rule_sets.rb b/db/migrate/20121008153758_create_rule_sets.rb index abc1234..def5678 100644 --- a/db/migrate/20121008153758_create_rule_sets.rb +++ b/db/migrate/20121008153758_create_rule_sets.rb @@ -2,7 +2,7 @@ def change create_table :qwester_rule_sets do |t| ...
Change rule set description to string
diff --git a/kernel/bootstrap/global.rb b/kernel/bootstrap/global.rb index abc1234..def5678 100644 --- a/kernel/bootstrap/global.rb +++ b/kernel/bootstrap/global.rb @@ -1,10 +1,15 @@+load_path = ["runtime/compiler", "lib", "stdlib", "."] +loaded_features = [] + Globals = { :$; => nil, :$/ => "\n", ...
Set $LOADED_FEATURES and $LOAD_PATH aliases. Move '.' to end of $:.
diff --git a/spec/pptx/smoke/api_drawing_spec.rb b/spec/pptx/smoke/api_drawing_spec.rb index abc1234..def5678 100644 --- a/spec/pptx/smoke/api_drawing_spec.rb +++ b/spec/pptx/smoke/api_drawing_spec.rb @@ -2,16 +2,18 @@ describe 'ApiDrawing section tests' do it 'ApiDrawing | GetClassType method' do pptx = DocBui...
Add drawing tests for presentation.
diff --git a/spec/features/user_sees_revert_modal_spec.rb b/spec/features/user_sees_revert_modal_spec.rb index abc1234..def5678 100644 --- a/spec/features/user_sees_revert_modal_spec.rb +++ b/spec/features/user_sees_revert_modal_spec.rb @@ -17,12 +17,14 @@ end it 'shows the revert modal' do - expect(page).to ...
Fix broken spec for Merge request > Revert modal
diff --git a/buildhosts.rb b/buildhosts.rb index abc1234..def5678 100644 --- a/buildhosts.rb +++ b/buildhosts.rb @@ -9,12 +9,12 @@ ipv6 = '::1 ' home = '127.0.0.1 ' -config = readFile("config").split("&").each {|x| x.strip!} +config = readFile('config').split('&').each {|x| x.strip!} hosts = sanitize config...
Use single quotes where appropriate.
diff --git a/spec/controllers/custom_bigbluebutton_servers_controller_spec.rb b/spec/controllers/custom_bigbluebutton_servers_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/custom_bigbluebutton_servers_controller_spec.rb +++ b/spec/controllers/custom_bigbluebutton_servers_controller_spec.rb @@ ...
Test to verify the authorization filter on custom bbb servers controller.
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 @@ cask :v1 => 'iterm2-beta' do - version '2.1.1' - sha256 'b8f1bbd11cdb3e26fd9fab6971c28ebeb422361b2cc5fd6e4a843836d5dedeb0' + version '2.9.20150626' + sha256 '1...
Update iTerm2 Beta to 2.9.20150626
diff --git a/Casks/sketch-beta.rb b/Casks/sketch-beta.rb index abc1234..def5678 100644 --- a/Casks/sketch-beta.rb +++ b/Casks/sketch-beta.rb @@ -1,8 +1,8 @@ class SketchBeta < Cask - version '3.1.1' - sha256 '4d4785f3356079f224bd64302ab17e651ba00752e364f08f146e67196a0a0fbc' + version '3.2' + sha256 'b6211a6d9d80ace...
Update Sketch Beta.app to version 3.2
diff --git a/Casks/vagrant-bar.rb b/Casks/vagrant-bar.rb index abc1234..def5678 100644 --- a/Casks/vagrant-bar.rb +++ b/Casks/vagrant-bar.rb @@ -1,6 +1,6 @@ cask :v1 => 'vagrant-bar' do - version '1.13' - sha256 '161ad4f4b7acbeaa76352e7a19849dd5275e4b1811caba8b853fa7964812169a' + version '1.14' + sha256 '6cf9a2bf9f...
Upgrade Vagrant Bar.app to v1.14
diff --git a/lib/abracadabra/version.rb b/lib/abracadabra/version.rb index abc1234..def5678 100644 --- a/lib/abracadabra/version.rb +++ b/lib/abracadabra/version.rb @@ -1,5 +1,5 @@ module Abracadabra module Rails - VERSION = "1.0.4" + VERSION = "1.0.5" end end
Update gemspec to reflect Rails 3.2 compatibility
diff --git a/lib/aws/core/connection.rb b/lib/aws/core/connection.rb index abc1234..def5678 100644 --- a/lib/aws/core/connection.rb +++ b/lib/aws/core/connection.rb @@ -29,8 +29,24 @@ module AWS + ## + # Custom response parser to handle the various craziness of the AWS API + ## + class SimpleAWSParser < HTTPart...
Add custom parser for the times where XML doesn't have Content-Type
diff --git a/lib/postgres_db_driver.rb b/lib/postgres_db_driver.rb index abc1234..def5678 100644 --- a/lib/postgres_db_driver.rb +++ b/lib/postgres_db_driver.rb @@ -16,6 +16,9 @@ def create_database(database, configuration) execute("CREATE DATABASE #{quote_table_name(configuration.catalog_name)}") + u...
Add version to comment in database
diff --git a/lib/weekly_commits/cli.rb b/lib/weekly_commits/cli.rb index abc1234..def5678 100644 --- a/lib/weekly_commits/cli.rb +++ b/lib/weekly_commits/cli.rb @@ -5,7 +5,7 @@ module WeeklyCommits class CLI < Thor package_name 'Weekly Commits' - default_task :get_weekly_commits + default_task :weekly_com...
Set default CLI task to weekly_commits method forgot to change it on rename
diff --git a/lib/wicked_pdf/railtie.rb b/lib/wicked_pdf/railtie.rb index abc1234..def5678 100644 --- a/lib/wicked_pdf/railtie.rb +++ b/lib/wicked_pdf/railtie.rb @@ -6,10 +6,8 @@ if defined?(Rails.env) class WickedRailtie < Rails::Railtie initializer 'wicked_pdf.register', :after => 'remotipart.controller_...
Include view helper on view load.
diff --git a/lib/configuration.rb b/lib/configuration.rb index abc1234..def5678 100644 --- a/lib/configuration.rb +++ b/lib/configuration.rb @@ -1,6 +1,6 @@ class Configuration def self.db_dir - "db/" + 'db/' end def self.log_file
Change idouble to single quotes
diff --git a/lib/fog/utilities.rb b/lib/fog/utilities.rb index abc1234..def5678 100644 --- a/lib/fog/utilities.rb +++ b/lib/fog/utilities.rb @@ -1,7 +1,7 @@ class Hash def symbolize_keys! keys.each do |key| - self[(key.to_sym rescue key)] = delete(key) if key.respond_to?(:to_sym) && !key.is_a?(Fixnum) + ...
Remove test on Fixnum since it has been removed from Ruby 2.4
diff --git a/weave.gemspec b/weave.gemspec index abc1234..def5678 100644 --- a/weave.gemspec +++ b/weave.gemspec @@ -15,8 +15,10 @@ gem.require_paths = ["lib"] gem.version = Weave::VERSION + gem.add_dependency "net-ssh", ">= 2.2.0" + # For running integration tests. - gem.add_development_dependency "v...
Add net-ssh as an explicit dependency.
diff --git a/lib/job_processor.rb b/lib/job_processor.rb index abc1234..def5678 100644 --- a/lib/job_processor.rb +++ b/lib/job_processor.rb @@ -1,6 +1,6 @@ require_relative 'job_serializer' +require_relative 'statistics' require_relative 'job_retry' -require_relative 'statistics' module Workerholic class JobPro...
Change statistic hash to object
diff --git a/lib/model_patches.rb b/lib/model_patches.rb index abc1234..def5678 100644 --- a/lib/model_patches.rb +++ b/lib/model_patches.rb @@ -20,4 +20,13 @@ def nswcouncil? return self.has_tag?('NSW_council') end + # NT + #NT State + def ntstate? + ...
Define NT in the PublicBody Module
diff --git a/lib/motion_record.rb b/lib/motion_record.rb index abc1234..def5678 100644 --- a/lib/motion_record.rb +++ b/lib/motion_record.rb @@ -20,7 +20,7 @@ # RubyMotion for Android can't infer file dependencies so we must explicitly # declare their compilation order - (base_files + trait_files + action_files...
Fix RubyMotion app config integration
diff --git a/lib/pacto/version.rb b/lib/pacto/version.rb index abc1234..def5678 100644 --- a/lib/pacto/version.rb +++ b/lib/pacto/version.rb @@ -1,4 +1,4 @@ # -*- encoding : utf-8 -*- module Pacto - VERSION = '0.4.0.pre' + VERSION = '0.4.0.rc1' end
Create first 0.4.0 release candidate
diff --git a/Casks/pycharm-eap.rb b/Casks/pycharm-eap.rb index abc1234..def5678 100644 --- a/Casks/pycharm-eap.rb +++ b/Casks/pycharm-eap.rb @@ -1,6 +1,6 @@ class PycharmEap < Cask - version '138.2401' - sha256 '801378fffeee50f0933a309a1187f94f0bd49a3f9fc861c8144c78b57d224f38' + version '139.113' + sha256 '2df8db23...
Upgrade PyCharm EAP to v139.113
diff --git a/spec/classes/repo_spec.rb b/spec/classes/repo_spec.rb index abc1234..def5678 100644 --- a/spec/classes/repo_spec.rb +++ b/spec/classes/repo_spec.rb @@ -3,11 +3,20 @@ describe 'marathon::repo' do on_supported_os.each do |os, facts| context "on #{os}" do - let(:facts) do - facts + le...
Add tests for repo class
diff --git a/app/controllers/applications_controller.rb b/app/controllers/applications_controller.rb index abc1234..def5678 100644 --- a/app/controllers/applications_controller.rb +++ b/app/controllers/applications_controller.rb @@ -10,7 +10,7 @@ redirect_to settings_path, notice: 'Application created! :)' e...
Fix a double period in an error message
diff --git a/spec/git_tracker/commit_message_spec.rb b/spec/git_tracker/commit_message_spec.rb index abc1234..def5678 100644 --- a/spec/git_tracker/commit_message_spec.rb +++ b/spec/git_tracker/commit_message_spec.rb @@ -7,10 +7,10 @@ end describe "#contains?" do - subject { described_class.new(commit_message...
Refactor specs to DRY them up a bit [#26437519]
diff --git a/lib/gems/pending/util/extensions/miq-class.rb b/lib/gems/pending/util/extensions/miq-class.rb index abc1234..def5678 100644 --- a/lib/gems/pending/util/extensions/miq-class.rb +++ b/lib/gems/pending/util/extensions/miq-class.rb @@ -1,26 +1,15 @@ class Class def hierarchy - sc = self.superclass - ...
Simplify Class extensions using existing methods
diff --git a/lib/harvester_core/modifiers/find_replacer.rb b/lib/harvester_core/modifiers/find_replacer.rb index abc1234..def5678 100644 --- a/lib/harvester_core/modifiers/find_replacer.rb +++ b/lib/harvester_core/modifiers/find_replacer.rb @@ -4,7 +4,7 @@ attr_reader :regexp, :replacement_rules def init...
FIX BUG: Dup the values in the find and replacer so it doesn't affect other values
diff --git a/lib/integrity/migrations/001_initial_state.rb b/lib/integrity/migrations/001_initial_state.rb index abc1234..def5678 100644 --- a/lib/integrity/migrations/001_initial_state.rb +++ b/lib/integrity/migrations/001_initial_state.rb @@ -6,9 +6,9 @@ primary_key :id varchar :name ...
Correct Project's schema so it conforms better to Bob::Buildable's API
diff --git a/homeBase/app/controllers/rewards_controller.rb b/homeBase/app/controllers/rewards_controller.rb index abc1234..def5678 100644 --- a/homeBase/app/controllers/rewards_controller.rb +++ b/homeBase/app/controllers/rewards_controller.rb @@ -1,13 +1,13 @@ class RewardsController < ApplicationController before_...
Update Rewards controller with new logic
diff --git a/Casks/gog-downloader.rb b/Casks/gog-downloader.rb index abc1234..def5678 100644 --- a/Casks/gog-downloader.rb +++ b/Casks/gog-downloader.rb @@ -5,8 +5,17 @@ url "http://static.gog.com/download/d3/mac-stable/GOG_Downloader_#{version}.zip" appcast 'https://api.gog.com/en/downloader2/status/mac-stable', ...
Add name, license, vendor and zap stanzas for GOG Downloader.app
diff --git a/app/workers/activitypub/synchronize_featured_collection_worker.rb b/app/workers/activitypub/synchronize_featured_collection_worker.rb index abc1234..def5678 100644 --- a/app/workers/activitypub/synchronize_featured_collection_worker.rb +++ b/app/workers/activitypub/synchronize_featured_collection_worker.rb...
Make Execution of SynchronizeFeaturedCollectionWorker unique See: https://github.com/tootsuite/mastodon/pull/7043/commits/b759b0564fc17ddf1bca06142c32d8b55578f9b4
diff --git a/spec/features/backend/users/destroy_spec.rb b/spec/features/backend/users/destroy_spec.rb index abc1234..def5678 100644 --- a/spec/features/backend/users/destroy_spec.rb +++ b/spec/features/backend/users/destroy_spec.rb @@ -17,7 +17,7 @@ user_page.submit_with('Martha', 'Kauffman', 'martha@kauffman.be...
Use a more readable syntax for clicking the user destroy button.
diff --git a/spec/requests/tool_integration/pacs_spec.rb b/spec/requests/tool_integration/pacs_spec.rb index abc1234..def5678 100644 --- a/spec/requests/tool_integration/pacs_spec.rb +++ b/spec/requests/tool_integration/pacs_spec.rb @@ -3,6 +3,14 @@ "/cy/tools/#{ToolMountPoint::Pacs::CY_ID}"].each do |path| des...
Update request spec for pacs engine We need to stub some class methods which the pacs engine controller calls in order to assign variables for the root view. This is a short term solution and we may want to revisit how we assign these variables in pacs longer term.
diff --git a/test/functional/petitions_controller_test.rb b/test/functional/petitions_controller_test.rb index abc1234..def5678 100644 --- a/test/functional/petitions_controller_test.rb +++ b/test/functional/petitions_controller_test.rb @@ -7,8 +7,29 @@ assert_not_nil assigns(:petition) end def test_get_json ...
Add tests for the petitions index page with and without criteria.
diff --git a/test/lib/trlo/actions/test_create_comment.rb b/test/lib/trlo/actions/test_create_comment.rb index abc1234..def5678 100644 --- a/test/lib/trlo/actions/test_create_comment.rb +++ b/test/lib/trlo/actions/test_create_comment.rb @@ -0,0 +1,13 @@+require_relative "../../test_helper" + +module Trlo + describe Cr...
Add test file for CreateComment.
diff --git a/rake/env.rb b/rake/env.rb index abc1234..def5678 100644 --- a/rake/env.rb +++ b/rake/env.rb @@ -1,9 +1,9 @@-def append_env(name, value) +def append_env(name, value, delim=';') env_name = name.to_s.upcase sane_value = value.gsub(File::SEPARATOR, File::ALT_SEPARATOR) old_value = ENV[env_name] || '' ...
Use LDFLAGS rather than LIBRARY_PATH. The MinGW-w64 toolchain currently ignores LIBRARY_PATH, causing build failures because the autotools aren't able to find the required libraries. This patch explicitly sets the library search paths via -L options in the LDFLAGS env var.
diff --git a/pronto-shellcheck.gemspec b/pronto-shellcheck.gemspec index abc1234..def5678 100644 --- a/pronto-shellcheck.gemspec +++ b/pronto-shellcheck.gemspec @@ -2,7 +2,6 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__) require 'pronto/shellcheck_version' -require 'rake' Gem::Specification.new do |s| ...
Remove rake as a dep
diff --git a/lib/destiny/account.rb b/lib/destiny/account.rb index abc1234..def5678 100644 --- a/lib/destiny/account.rb +++ b/lib/destiny/account.rb @@ -4,6 +4,10 @@ # The Destiny::Account class is for acceessing information about a user's # account via the Destiny API class Account + def initialize(client) ...
Fix failing tests by adding initialization method
diff --git a/pry-vterm_aliases.gemspec b/pry-vterm_aliases.gemspec index abc1234..def5678 100644 --- a/pry-vterm_aliases.gemspec +++ b/pry-vterm_aliases.gemspec @@ -1,15 +1,15 @@ require File.expand_path("../lib/pry-vterm_aliases", __FILE__) Gem::Specification.new do |spec| - spec.name = "pry-vterm_aliases" spec...
Change the homepage to my site.
diff --git a/app/controllers/railsyard_authentication_devise/registrations_controller.rb b/app/controllers/railsyard_authentication_devise/registrations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/railsyard_authentication_devise/registrations_controller.rb +++ b/app/controllers/railsyard_authentic...
Fix require_no_authentication error on user creation
diff --git a/lib/feature_definitions.rb b/lib/feature_definitions.rb index abc1234..def5678 100644 --- a/lib/feature_definitions.rb +++ b/lib/feature_definitions.rb @@ -1,11 +1,16 @@-require 'lazy_const' - class FeatureDefinitions - extend LazyConst attr_reader :test_proc - def self.define_feature(name, &block)...
Add declarative feature block support Closes #1
diff --git a/lib/form_input/r18n.rb b/lib/form_input/r18n.rb index abc1234..def5678 100644 --- a/lib/form_input/r18n.rb +++ b/lib/form_input/r18n.rb @@ -7,26 +7,34 @@ include R18n::Helpers class Parameter + include R18n::Helpers - - # Localized version of error message formatting. See original impl...
Put R18n related methods into its own submodule to make it easy to override them again.
diff --git a/test/integration/users_index_test.rb b/test/integration/users_index_test.rb index abc1234..def5678 100644 --- a/test/integration/users_index_test.rb +++ b/test/integration/users_index_test.rb @@ -18,6 +18,11 @@ assert_select 'a[href=?]', user_path(user), text: 'delete' end end + asse...
Expand the users index test to test deletion
diff --git a/lib/nethack_utils/rumor.rb b/lib/nethack_utils/rumor.rb index abc1234..def5678 100644 --- a/lib/nethack_utils/rumor.rb +++ b/lib/nethack_utils/rumor.rb @@ -11,7 +11,7 @@ def rumor(reliability=nil) reliability ||= rand rumors_file = reliability > 0.5 ? truthy_rumors_file : falsy_rumors_fil...
Use each_line instead of lines.
diff --git a/spec/generators/rails/helper_generator_spec.rb b/spec/generators/rails/helper_generator_spec.rb index abc1234..def5678 100644 --- a/spec/generators/rails/helper_generator_spec.rb +++ b/spec/generators/rails/helper_generator_spec.rb @@ -0,0 +1,31 @@+require 'spec_helper' + +Rails::Generators.lookup(["rails:...
Add test of helper generator
diff --git a/spec/notifiers/publishing_api_notifier_spec.rb b/spec/notifiers/publishing_api_notifier_spec.rb index abc1234..def5678 100644 --- a/spec/notifiers/publishing_api_notifier_spec.rb +++ b/spec/notifiers/publishing_api_notifier_spec.rb @@ -4,7 +4,7 @@ let(:publishing_api) { double(:publishing_api, put_conten...
Fix notifier spec to not leak state. The replacing of the publishing_api client was not being reset after this test, causing other tests run after this to fail.
diff --git a/spec/rrj/rabbit/publish/base_publisher_spec.rb b/spec/rrj/rabbit/publish/base_publisher_spec.rb index abc1234..def5678 100644 --- a/spec/rrj/rabbit/publish/base_publisher_spec.rb +++ b/spec/rrj/rabbit/publish/base_publisher_spec.rb @@ -8,7 +8,7 @@ describe 'BasePublisher' do describe '#new' do - ...
Fix test response in publisher
diff --git a/app/controllers.rb b/app/controllers.rb index abc1234..def5678 100644 --- a/app/controllers.rb +++ b/app/controllers.rb @@ -7,10 +7,10 @@ erb :about, :layout => :'layouts/main' end - post "/m" do + post %r{/m/?} do text = params[:text].strip raise "Text is empty." if text.empty? - r...
Fix routing to respond to both /m and /m/
diff --git a/db/data_migration/20140205133122_rename_cesg_device_guidance_slug.rb b/db/data_migration/20140205133122_rename_cesg_device_guidance_slug.rb index abc1234..def5678 100644 --- a/db/data_migration/20140205133122_rename_cesg_device_guidance_slug.rb +++ b/db/data_migration/20140205133122_rename_cesg_device_guid...
Rename CESG device guidance slug https://www.pivotaltracker.com/story/show/59541766
diff --git a/lib/group_cache_key.rb b/lib/group_cache_key.rb index abc1234..def5678 100644 --- a/lib/group_cache_key.rb +++ b/lib/group_cache_key.rb @@ -1,5 +1,5 @@-require 'activerecord' -require 'activesupport' +require 'active_record' +require 'active_support' require 'digest/md5' ActiveRecord::Base.class_eval {...
Use Rails3 names for ActiveRecord/Support
diff --git a/lib/hawk/model/base.rb b/lib/hawk/model/base.rb index abc1234..def5678 100644 --- a/lib/hawk/model/base.rb +++ b/lib/hawk/model/base.rb @@ -24,6 +24,10 @@ } "#<#{self.class.name}#{attributes}>" end + + def self.configure(&block) + instance_eval(&block) + end en...
Add Base.configure as instance_eval to access the DSL
diff --git a/lib/spanish_inquisition.rb b/lib/spanish_inquisition.rb index abc1234..def5678 100644 --- a/lib/spanish_inquisition.rb +++ b/lib/spanish_inquisition.rb @@ -13,6 +13,8 @@ load @surveys ||= {} end + + module Presenters; end end require 'spanish_inquisition/page'
Make sure the Presenters module/namespace is defined.
diff --git a/lib/spikor_forge/module.rb b/lib/spikor_forge/module.rb index abc1234..def5678 100644 --- a/lib/spikor_forge/module.rb +++ b/lib/spikor_forge/module.rb @@ -13,7 +13,9 @@ def dependencies @metadata['dependencies'].collect do |dep| - [dep['name'], dep['version_requirement'] || '' ] + ret =...
Handle dependencies without version spec better
diff --git a/lib/sslyze/key_exchange.rb b/lib/sslyze/key_exchange.rb index abc1234..def5678 100644 --- a/lib/sslyze/key_exchange.rb +++ b/lib/sslyze/key_exchange.rb @@ -26,7 +26,7 @@ end def generator_type - @generator ||= @node['GeneratorType'] + @generator ||= @node['GeneratorType'].to_sym e...
Convert generator_type to a Symbol.
diff --git a/lib/tsheets/models/user.rb b/lib/tsheets/models/user.rb index abc1234..def5678 100644 --- a/lib/tsheets/models/user.rb +++ b/lib/tsheets/models/user.rb @@ -1,7 +1,7 @@ class TSheets::Models::User < TSheets::Model field :id, :integer field :username, :string - field :password + field :password, :str...
Add type to password field.
diff --git a/recipes/apt_repository.rb b/recipes/apt_repository.rb index abc1234..def5678 100644 --- a/recipes/apt_repository.rb +++ b/recipes/apt_repository.rb @@ -23,9 +23,9 @@ case node['platform'] when 'debian' # We need the mayor release number (e.g. 7) - uri "http://downloads.opennebula.org/repo/Debi...
Use repositories for OpenNebula 4.8
diff --git a/lib/rubygems_plugin.rb b/lib/rubygems_plugin.rb index abc1234..def5678 100644 --- a/lib/rubygems_plugin.rb +++ b/lib/rubygems_plugin.rb @@ -14,6 +14,7 @@ options[:document] << 'yardoc' Gem.post_install do |installer| + YARD::Registry.clear Gem::Commands::YardocCommand...
Clear YARD Registroy before each documenting
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 @@ -1,3 +1,9 @@+# NOTE: Application has "admin" user only +# admin's password can be changed from browser, but user name "admin" can't be changed. +# many clients can login at...
Add NOTE for User model
diff --git a/test/integration/microposts_test.rb b/test/integration/microposts_test.rb index abc1234..def5678 100644 --- a/test/integration/microposts_test.rb +++ b/test/integration/microposts_test.rb @@ -0,0 +1,52 @@+class MicropostsTest < ActionDispatch::IntegrationTest + include DatabaseConfiguration + + setup do ...
test: Add integration test for Micropost
diff --git a/test/unit/filters/instagram_test.rb b/test/unit/filters/instagram_test.rb index abc1234..def5678 100644 --- a/test/unit/filters/instagram_test.rb +++ b/test/unit/filters/instagram_test.rb @@ -2,7 +2,7 @@ class InstagramTest < Test::Unit::TestCase def test_instagram_embed - result = auto_html('http:...
Fix test so it passes
diff --git a/test/centos_spec.rb b/test/centos_spec.rb index abc1234..def5678 100644 --- a/test/centos_spec.rb +++ b/test/centos_spec.rb @@ -24,4 +24,11 @@ expect(file('/etc/resolv.conf').content).to match /single-request-reopen/ end end + + # https://www.chef.io/blog/2015/02/26/bento-box-update-for-cent...
Add test to verify that vendor-supplied openssl certs are being used
diff --git a/test/rake_test_setup.rb b/test/rake_test_setup.rb index abc1234..def5678 100644 --- a/test/rake_test_setup.rb +++ b/test/rake_test_setup.rb @@ -18,7 +18,7 @@ end module TestMethods - def assert_exception(ex, msg=nil, &block) + def assert_exception(ex, msg="", &block) assert_raise(ex, msg, &block)...
Fix for weird exception error
diff --git a/core/lib/spree/core/version.rb b/core/lib/spree/core/version.rb index abc1234..def5678 100644 --- a/core/lib/spree/core/version.rb +++ b/core/lib/spree/core/version.rb @@ -1,8 +1,10 @@ # frozen_string_literal: true module Spree + VERSION = "2.9.0.alpha" + def self.solidus_version - "2.9.0.alpha" ...
Add VERSION constant to please gem-release gem-release is looking for that constant to understand current version and allow bump to the new one with a command.
diff --git a/debug_exceptions_json.gemspec b/debug_exceptions_json.gemspec index abc1234..def5678 100644 --- a/debug_exceptions_json.gemspec +++ b/debug_exceptions_json.gemspec @@ -20,7 +20,7 @@ s.add_development_dependency "rspec", "~> 2.14.1" s.add_development_dependency "rails", "~> 4.1.5" s.add_development_...
Add vesion specification of rspec-rails for development dependency
diff --git a/dynamo_kickstarter.gemspec b/dynamo_kickstarter.gemspec index abc1234..def5678 100644 --- a/dynamo_kickstarter.gemspec +++ b/dynamo_kickstarter.gemspec @@ -16,4 +16,5 @@ gem.version = DynamoKickstarter::VERSION gem.add_dependency 'rails', '3.2.8' + gem.add_dependency 'heroku', '~>2.30.0' end...
Add Heroku as a dependency
diff --git a/app/controllers/admin/email_curation_queue_items_controller.rb b/app/controllers/admin/email_curation_queue_items_controller.rb index abc1234..def5678 100644 --- a/app/controllers/admin/email_curation_queue_items_controller.rb +++ b/app/controllers/admin/email_curation_queue_items_controller.rb @@ -9,7 +9,...
Add strong params for email curation queue items
diff --git a/app/models/concerns/course/discussion/post/ordering_concern.rb b/app/models/concerns/course/discussion/post/ordering_concern.rb index abc1234..def5678 100644 --- a/app/models/concerns/course/discussion/post/ordering_concern.rb +++ b/app/models/concerns/course/discussion/post/ordering_concern.rb @@ -19,10 +...
Reduce the number of additional loads when doing topological ordering.
diff --git a/app/controllers/thredded/messageboards_controller.rb b/app/controllers/thredded/messageboards_controller.rb index abc1234..def5678 100644 --- a/app/controllers/thredded/messageboards_controller.rb +++ b/app/controllers/thredded/messageboards_controller.rb @@ -1,5 +1,3 @@-require 'pry' - module Thredded ...
[JRO] Remove unnecessary require of pry
diff --git a/frontend/app/controllers/spree/taxons_controller.rb b/frontend/app/controllers/spree/taxons_controller.rb index abc1234..def5678 100644 --- a/frontend/app/controllers/spree/taxons_controller.rb +++ b/frontend/app/controllers/spree/taxons_controller.rb @@ -16,7 +16,7 @@ def product_carousel if st...
Add .reload in product_carousel method to prevent query errors while using postgres
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,18 +1,14 @@-require "rubygems" +require 'rubygems' require "bundler/setup" require "test/unit" require "active_support/test_case" -require 'action_mailer/test_helper' Bund...
Remove actionmailer in test setup
diff --git a/ruote-synchronize.gemspec b/ruote-synchronize.gemspec index abc1234..def5678 100644 --- a/ruote-synchronize.gemspec +++ b/ruote-synchronize.gemspec @@ -8,8 +8,12 @@ spec.version = Ruote::Synchronize::VERSION spec.authors = ["Adrien Kohlbecker"] spec.email = ["adrien.kohlbecker@g...
Write gem description and summary
diff --git a/lib/adhearsion/call_controller/menu_dsl/array_match_calculator.rb b/lib/adhearsion/call_controller/menu_dsl/array_match_calculator.rb index abc1234..def5678 100644 --- a/lib/adhearsion/call_controller/menu_dsl/array_match_calculator.rb +++ b/lib/adhearsion/call_controller/menu_dsl/array_match_calculator.rb...
[CS] Remove redundant code from ArrayMatchCalculator
diff --git a/spec/api/v1/users_spec.rb b/spec/api/v1/users_spec.rb index abc1234..def5678 100644 --- a/spec/api/v1/users_spec.rb +++ b/spec/api/v1/users_spec.rb @@ -2,9 +2,15 @@ describe "/api/v1/users" do let(:url) { "/api/v1" } + let(:user) { create(:user) } context "as an anonymous user" do let(:toke...
Test API for unauthorized access to a user's hash.
diff --git a/spec/command/kill_spec.rb b/spec/command/kill_spec.rb index abc1234..def5678 100644 --- a/spec/command/kill_spec.rb +++ b/spec/command/kill_spec.rb @@ -13,7 +13,7 @@ it 'terminates spawned process' do is_expected.to eq signal - expect { Process.kill(0, pid) }.to raise_error + ...
Fix the `raise_error` matcher without providing a specific error
diff --git a/middleman-slim.gemspec b/middleman-slim.gemspec index abc1234..def5678 100644 --- a/middleman-slim.gemspec +++ b/middleman-slim.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |spec| spec.name = "middleman-slim" spec.version = Middleman::Slim::VERSION - spec.authors = ["yteraj...
Change author name in gemspec
diff --git a/DomainCheck.rb b/DomainCheck.rb index abc1234..def5678 100644 --- a/DomainCheck.rb +++ b/DomainCheck.rb @@ -51,9 +51,9 @@ end end -username = 'gayan'; -password = 'eppo123' -domainName = 'gayan.com' +username = 'yourusername'; +password = 'yourpassword' +domainName = 'gayan.com' # the domain nam...
Change actual credential to fake one
diff --git a/spec/features/auth_signin_spec.rb b/spec/features/auth_signin_spec.rb index abc1234..def5678 100644 --- a/spec/features/auth_signin_spec.rb +++ b/spec/features/auth_signin_spec.rb @@ -13,7 +13,7 @@ fill_in "user[username]", :with => "test_user" fill_in "user[password]", :with => "password" ...
Fix test to expect capitalized username
diff --git a/spec/helpers/named_maps_helper.rb b/spec/helpers/named_maps_helper.rb index abc1234..def5678 100644 --- a/spec/helpers/named_maps_helper.rb +++ b/spec/helpers/named_maps_helper.rb @@ -1,5 +1,9 @@ module NamedMapsHelper def bypass_named_maps + Carto::NamedMaps::Api.any_instance.stubs(show: nil, create...
Add a different named maps helper instead
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 @@ -8,10 +8,22 @@ output.should match /External link http:\/\/www.asdo3IRJ395295jsingrkrg4.com\/asdo3IRJ.js? failed: 0 Coul...
Add test for absent content and absent src
diff --git a/spec/integration/homepage_spec.rb b/spec/integration/homepage_spec.rb index abc1234..def5678 100644 --- a/spec/integration/homepage_spec.rb +++ b/spec/integration/homepage_spec.rb @@ -1,4 +1,5 @@ require 'spec_helper' +include Warden::Test::Helpers describe 'homepage behaviour', :type => :feature do ...
Check for upload widget on homepage when logged in