diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/spec/core/users_spec.rb b/spec/core/users_spec.rb index abc1234..def5678 100644 --- a/spec/core/users_spec.rb +++ b/spec/core/users_spec.rb @@ -1,8 +1,6 @@ require 'spec_helper' -%w(cumulus rocket turtle).each do |username| - describe user(username) do - it { should exist } - it { should belong_to...
Remove tests for 'rocket' & 'turtle' users
diff --git a/spec/factories/tools.rb b/spec/factories/tools.rb index abc1234..def5678 100644 --- a/spec/factories/tools.rb +++ b/spec/factories/tools.rb @@ -2,6 +2,6 @@ factory :tool do tool_slot device - name { Faker::Pokemon.name } + name { Faker::Pokemon.name + Faker::Pokemon.name } end end
Change FactoryGirl to make tool names more unique
diff --git a/cookbooks/devgrid/definitions/mysql.rb b/cookbooks/devgrid/definitions/mysql.rb index abc1234..def5678 100644 --- a/cookbooks/devgrid/definitions/mysql.rb +++ b/cookbooks/devgrid/definitions/mysql.rb @@ -10,8 +10,8 @@ define :mysql_add_grants_for_user do execute "add_mysql_grants" do command "mysql...
Fix problem with params in defenition
diff --git a/TWTValidation.podspec b/TWTValidation.podspec index abc1234..def5678 100644 --- a/TWTValidation.podspec +++ b/TWTValidation.podspec @@ -20,5 +20,5 @@ s.source_files = 'TWTValidation/**/*.{h,m}' - s.ios.resource_bundle = { 'TWTValidation' => 'TWTValidation/Supporting Files/*.lproj' } + s.ios.resou...
Change podspec so strings table can be found
diff --git a/week-5/gps2_2.rb b/week-5/gps2_2.rb index abc1234..def5678 100644 --- a/week-5/gps2_2.rb +++ b/week-5/gps2_2.rb @@ -0,0 +1,70 @@+#Input: String for product, Integer for quantity +#Output: Hash containing product & quantity +#Methods: +#1) Create a list: No inputs, Hash output +#2) Add an item/quantity: Str...
Add reflection for GPS 2.2
diff --git a/lib/awesome_print/ext/action_view.rb b/lib/awesome_print/ext/action_view.rb index abc1234..def5678 100644 --- a/lib/awesome_print/ext/action_view.rb +++ b/lib/awesome_print/ext/action_view.rb @@ -3,15 +3,16 @@ # Awesome Print is freely distributable under the terms of MIT license. # See LICENSE file or ht...
Use better namespace for ActionView plugin
diff --git a/lib/code/generator/java_generator.rb b/lib/code/generator/java_generator.rb index abc1234..def5678 100644 --- a/lib/code/generator/java_generator.rb +++ b/lib/code/generator/java_generator.rb @@ -30,6 +30,12 @@ return if schemas.nil? || schemas.empty? @logger.info ' > Generate Java Bea...
Write Java bean source file.
diff --git a/spec/commands/build_spec.rb b/spec/commands/build_spec.rb index abc1234..def5678 100644 --- a/spec/commands/build_spec.rb +++ b/spec/commands/build_spec.rb @@ -17,30 +17,27 @@ it { should raise_error } end - context 'building each format' do - Polytexnic::FORMATS.each do |format| - subjec...
Use message expectations to speed up the build spec This commit also removes some (very slow) tests for `build!` that are already tested in the tests for individual builders. [#52758883]
diff --git a/lib/design_wizard/visitor_pattern.rb b/lib/design_wizard/visitor_pattern.rb index abc1234..def5678 100644 --- a/lib/design_wizard/visitor_pattern.rb +++ b/lib/design_wizard/visitor_pattern.rb @@ -17,17 +17,19 @@ self.class.visit_actions end - def self.initialize(visitor) - visi...
Change to a more rubyist syntax for class methods
diff --git a/spec/license_fields_spec.rb b/spec/license_fields_spec.rb index abc1234..def5678 100644 --- a/spec/license_fields_spec.rb +++ b/spec/license_fields_spec.rb @@ -0,0 +1,15 @@+# frozen_string_literal: true + +require 'spec_helper' + +describe 'license fillable fields' do + licenses.each do |license| + con...
Revert "rm no longer relevant test" This reverts commit 5e7b07f998e9264092b8e1274f99605ead412138.
diff --git a/spec/models/article_spec.rb b/spec/models/article_spec.rb index abc1234..def5678 100644 --- a/spec/models/article_spec.rb +++ b/spec/models/article_spec.rb @@ -1,6 +1,27 @@ require 'spec_helper' describe Article do + let(:article) { FactoryGirl.build :article } + it { should belong_to :author } - i...
Add specs to article to cover the revision feature.
diff --git a/config/cronic.d/jobs.rb b/config/cronic.d/jobs.rb index abc1234..def5678 100644 --- a/config/cronic.d/jobs.rb +++ b/config/cronic.d/jobs.rb @@ -9,8 +9,8 @@ end # Notebook click summaries -# Hourly, with a gap during nightly computation -cron '0 0-3,12-23 * * * UTC' do +# Run at 0100am daily +cron '0 1 *...
Move more computation to the middle of the night
diff --git a/lib/fog/openstack/requests/compute/get_hypervisor_statistics.rb b/lib/fog/openstack/requests/compute/get_hypervisor_statistics.rb index abc1234..def5678 100644 --- a/lib/fog/openstack/requests/compute/get_hypervisor_statistics.rb +++ b/lib/fog/openstack/requests/compute/get_hypervisor_statistics.rb @@ -0,0...
Add endpoint for hypervisor stats.
diff --git a/lib/attachinary/orm/base_extension.rb b/lib/attachinary/orm/base_extension.rb index abc1234..def5678 100644 --- a/lib/attachinary/orm/base_extension.rb +++ b/lib/attachinary/orm/base_extension.rb @@ -44,7 +44,7 @@ # ... # end define_method :"#{options[:scope]}_url=" do |ur...
Add resource_type argument for uploading with url
diff --git a/lib/sunspot-rails-http-basic-auth.rb b/lib/sunspot-rails-http-basic-auth.rb index abc1234..def5678 100644 --- a/lib/sunspot-rails-http-basic-auth.rb +++ b/lib/sunspot-rails-http-basic-auth.rb @@ -3,4 +3,10 @@ require 'sunspot-rails-http-basic-auth/rsolr/connection/net_http' require 'sunspot-rails-http-b...
Patch to make this gem work with Rails 2 - the order it loads gems is different in Rails 2 and Rails 3 since we don't have Railties and the initializer block in Rails2
diff --git a/lib/travis/worker/cli/development.rb b/lib/travis/worker/cli/development.rb index abc1234..def5678 100644 --- a/lib/travis/worker/cli/development.rb +++ b/lib/travis/worker/cli/development.rb @@ -11,7 +11,7 @@ class Job < Thor desc "publish", "Publish a sample job payload" method_op...
Modify published payload to match fixtures
diff --git a/app/controllers/feedback_controller.rb b/app/controllers/feedback_controller.rb index abc1234..def5678 100644 --- a/app/controllers/feedback_controller.rb +++ b/app/controllers/feedback_controller.rb @@ -14,7 +14,7 @@ redirect_to root_url flash[:success]= raw(t 'alert.feedback.success') ...
Stop feedback error alerts from persisting onto the home page
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index abc1234..def5678 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -13,6 +13,10 @@ else p "Something went wrong" end + end + + def show + end def...
Add show action to profile controller
diff --git a/test/unit/peddler/test_operation.rb b/test/unit/peddler/test_operation.rb index abc1234..def5678 100644 --- a/test/unit/peddler/test_operation.rb +++ b/test/unit/peddler/test_operation.rb @@ -1,5 +1,5 @@ require 'helper' -require 'peddler/Operation' +require 'peddler/operation' class OperationTest < Min...
Fix faulty require in test
diff --git a/app/controllers/day_controller.rb b/app/controllers/day_controller.rb index abc1234..def5678 100644 --- a/app/controllers/day_controller.rb +++ b/app/controllers/day_controller.rb @@ -1,20 +1,33 @@ class DayController < ApplicationController - get '/:date?', authentication: true do - @date_string = par...
Add endpoints for deleting lists, adding and removing items to/from a list
diff --git a/app/controllers/dog_controller.rb b/app/controllers/dog_controller.rb index abc1234..def5678 100644 --- a/app/controllers/dog_controller.rb +++ b/app/controllers/dog_controller.rb @@ -1,4 +1,8 @@+require 'rack-flash' + class DogController < ApplicationController + use Rack::Flash + before do if !...
Add flash messages to dogs.
diff --git a/app/inputs/image_preview_input.rb b/app/inputs/image_preview_input.rb index abc1234..def5678 100644 --- a/app/inputs/image_preview_input.rb +++ b/app/inputs/image_preview_input.rb @@ -1,6 +1,6 @@ class ImagePreviewInput < SimpleForm::Inputs::Base - def input + def input(wrapper_options = nil) resi...
Update input definitions to new simple_form specs According to https://github.com/plataformatec/simple_form/pull/997, instead of *def input*, one should use *def input(wrapper_options)*
diff --git a/app/jobs/document_indexing_job.rb b/app/jobs/document_indexing_job.rb index abc1234..def5678 100644 --- a/app/jobs/document_indexing_job.rb +++ b/app/jobs/document_indexing_job.rb @@ -28,6 +28,10 @@ # # 3 | 2 | 2 # # 1 | 3 | 2 # # ...
Document how we can improve the indexing job
diff --git a/app/admin/api_key.rb b/app/admin/api_key.rb index abc1234..def5678 100644 --- a/app/admin/api_key.rb +++ b/app/admin/api_key.rb @@ -18,6 +18,11 @@ end form do |f| + unless f.object.new_record? + f.inputs "Api Key Details" do + f.input :access_token + end + end f.actions ...
Allow edit of access token in admin panel
diff --git a/spec/versioner_spec.rb b/spec/versioner_spec.rb index abc1234..def5678 100644 --- a/spec/versioner_spec.rb +++ b/spec/versioner_spec.rb @@ -29,6 +29,7 @@ Kosmos::Versioner.mark_preinstall(ksp_dir, package) expect(`git ls-files --others`).to be_empty + expect(`git log -1 --pretty=%...
Test for the commit message of mark_preinstall.
diff --git a/app/models/services/irc_bot_spammer.rb b/app/models/services/irc_bot_spammer.rb index abc1234..def5678 100644 --- a/app/models/services/irc_bot_spammer.rb +++ b/app/models/services/irc_bot_spammer.rb @@ -1,6 +1,6 @@ require 'socket' -class IrcBotSpammer +class Services::IrcBotSpammer IRC_BOT_SOCKET = ...
Put the IRC bot notification sender in Services
diff --git a/app/serializers/material_serializer.rb b/app/serializers/material_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/material_serializer.rb +++ b/app/serializers/material_serializer.rb @@ -7,8 +7,7 @@ :annotation_original, :annotation_translated, :original_language, - :trans...
Add has_many :tags to material serializer
diff --git a/app/sources/releases/metal_archives.rb b/app/sources/releases/metal_archives.rb index abc1234..def5678 100644 --- a/app/sources/releases/metal_archives.rb +++ b/app/sources/releases/metal_archives.rb @@ -13,11 +13,11 @@ end def description - metal_archives.comment&.sanitize&.squish + m...
Use correct release MA attributes
diff --git a/lib/guard/webpack/runner.rb b/lib/guard/webpack/runner.rb index abc1234..def5678 100644 --- a/lib/guard/webpack/runner.rb +++ b/lib/guard/webpack/runner.rb @@ -53,10 +53,13 @@ def run_webpack begin - system("#{webpack_bin} --watch #{option_flags}") + pid = fork{ exec("#{w...
Use fork-exec, to ensure webpack process is killed on thread stop.
diff --git a/spec/functional/mixin/shell_out_spec.rb b/spec/functional/mixin/shell_out_spec.rb index abc1234..def5678 100644 --- a/spec/functional/mixin/shell_out_spec.rb +++ b/spec/functional/mixin/shell_out_spec.rb @@ -0,0 +1,56 @@+# +# Copyright:: Copyright (c) 2014 Chef Software, Inc. +# License:: Apache License, V...
Add functional test for shell_out_with_systems_locale
diff --git a/spec/rubocop/cops/favor_sprintf_spec.rb b/spec/rubocop/cops/favor_sprintf_spec.rb index abc1234..def5678 100644 --- a/spec/rubocop/cops/favor_sprintf_spec.rb +++ b/spec/rubocop/cops/favor_sprintf_spec.rb @@ -43,6 +43,8 @@ ['puts x % Y']) expect(fs.offences).to be_empty ...
Add a pending example for the sprintf cop Currently the cop does not work for strings with embedded expressions in the them. This example should serve as a reminder of that.
diff --git a/lib/license_finder/packages/pip_package.rb b/lib/license_finder/packages/pip_package.rb index abc1234..def5678 100644 --- a/lib/license_finder/packages/pip_package.rb +++ b/lib/license_finder/packages/pip_package.rb @@ -1,4 +1,6 @@ # frozen_string_literal: true + +require 'set' module LicenseFinder c...
Add missing require for pip package [#161131803] Signed-off-by: Shane Lattanzio <8d464e6324483c505e61a33227a5372ac7f64bc0@pivotal.io>
diff --git a/lib/fog/hp/models/compute/key_pair.rb b/lib/fog/hp/models/compute/key_pair.rb index abc1234..def5678 100644 --- a/lib/fog/hp/models/compute/key_pair.rb +++ b/lib/fog/hp/models/compute/key_pair.rb @@ -12,8 +12,6 @@ attribute :public_key attribute :private_key attribute :user_id - -...
Fix public_key attribute to be visible in table.
diff --git a/lib/minitest/ruby_golf_metrics/reporter.rb b/lib/minitest/ruby_golf_metrics/reporter.rb index abc1234..def5678 100644 --- a/lib/minitest/ruby_golf_metrics/reporter.rb +++ b/lib/minitest/ruby_golf_metrics/reporter.rb @@ -13,7 +13,8 @@ def record(erg) method_name = erg.location. gsu...
Fix method name for failing tests
diff --git a/lib/graphite_client/event_reporter.rb b/lib/graphite_client/event_reporter.rb index abc1234..def5678 100644 --- a/lib/graphite_client/event_reporter.rb +++ b/lib/graphite_client/event_reporter.rb @@ -1,5 +1,6 @@+require 'json' require 'net/http' -require 'json' +require 'net/https' class GraphiteClient...
Allow HTTPS hosts; Accept :tags as Array or String
diff --git a/lib/tasks/check_for_bad_time_handling.rake b/lib/tasks/check_for_bad_time_handling.rake index abc1234..def5678 100644 --- a/lib/tasks/check_for_bad_time_handling.rake +++ b/lib/tasks/check_for_bad_time_handling.rake @@ -1,11 +1,13 @@ task :check_for_bad_time_handling do directories = Dir.glob(File.join(...
Exclude bundle cache folders from bad_time_handling check
diff --git a/lib/user_permissions_controller_methods.rb b/lib/user_permissions_controller_methods.rb index abc1234..def5678 100644 --- a/lib/user_permissions_controller_methods.rb +++ b/lib/user_permissions_controller_methods.rb @@ -2,8 +2,7 @@ private def applications_and_permissions(user) ::Doorkeeper::...
Fix intermittent failure when editing permissions From close inspection of the parameters from when the errors occurred, an ID was not being supplied by the browser for the permission which the server was trying to create. I believe that the following happened (and I successfully reproduced): * The user was created/...
diff --git a/docs/analytics_scripts/ores_changes.rb b/docs/analytics_scripts/ores_changes.rb index abc1234..def5678 100644 --- a/docs/analytics_scripts/ores_changes.rb +++ b/docs/analytics_scripts/ores_changes.rb @@ -0,0 +1,30 @@+term = Campaign.find_by(slug: 'spring_2017') + +first_revs = [] +term.courses.each do |cou...
Add script for getting ORES before/after data
diff --git a/app/models/alumni.rb b/app/models/alumni.rb index abc1234..def5678 100644 --- a/app/models/alumni.rb +++ b/app/models/alumni.rb @@ -1,2 +1,13 @@ class Alumni < ActiveRecord::Base + has_one :AlumniStatus + has_one :AlumniData + after_create :build_other_records + + private + def build_other_records + Alumn...
Create all the records simultaneously - Creation of the alumni record will lead to the creation of the alumni status and alumni data records too.
diff --git a/examples/installment.rb b/examples/installment.rb index abc1234..def5678 100644 --- a/examples/installment.rb +++ b/examples/installment.rb @@ -3,7 +3,7 @@ credentials = PagSeguro.application_credentials credentials.authorization_code = "BF0C85F19BEB4011AC4D99C88C6E0638" -installments = PagSeguro::Insta...
Fix the params received by PagSeguro::Installmen::find
diff --git a/api/app/models/line_item_decorator.rb b/api/app/models/line_item_decorator.rb index abc1234..def5678 100644 --- a/api/app/models/line_item_decorator.rb +++ b/api/app/models/line_item_decorator.rb @@ -1,7 +1,7 @@-LineItem.class_eval do +Spree::LineItem.class_eval do def description d = variant.produ...
Fix LineItem reference in LineItemDecorator
diff --git a/kernel/delta/struct.rb b/kernel/delta/struct.rb index abc1234..def5678 100644 --- a/kernel/delta/struct.rb +++ b/kernel/delta/struct.rb @@ -11,6 +11,23 @@ end def self.specialize_initialize + # Because people are crazy, they subclass Struct directly, ie. + # class Craptastic < Struct + # +...
Fix Struct.specialize_initialize for subclasses of Struct
diff --git a/db/migrate/20220426132125_backfill_auth_bypass_id.rb b/db/migrate/20220426132125_backfill_auth_bypass_id.rb index abc1234..def5678 100644 --- a/db/migrate/20220426132125_backfill_auth_bypass_id.rb +++ b/db/migrate/20220426132125_backfill_auth_bypass_id.rb @@ -4,7 +4,7 @@ def up to_update = Edition.w...
Migrate auth_bypass_id for all editions Regardless of whether an edition is draft or not, it will have an auth_bypass_id. Publishing api disregards auth_bypass_ids for non-draft editions. This simplifies the logic on the Whitehall end.
diff --git a/db/migrate/20090127102507_nuke_committerships.rb b/db/migrate/20090127102507_nuke_committerships.rb index abc1234..def5678 100644 --- a/db/migrate/20090127102507_nuke_committerships.rb +++ b/db/migrate/20090127102507_nuke_committerships.rb @@ -4,7 +4,7 @@ end def self.down - create_table "committ...
Fix stupid typo in NukeCommitterships migration
diff --git a/app/controllers/notices_controller.rb b/app/controllers/notices_controller.rb index abc1234..def5678 100644 --- a/app/controllers/notices_controller.rb +++ b/app/controllers/notices_controller.rb @@ -14,6 +14,6 @@ def jump @notice = Notice.where(hashid: params[:id]).first - redirect_to @notice ...
Set jump links to 301 redirects
diff --git a/activerecord-safer_migrations.gemspec b/activerecord-safer_migrations.gemspec index abc1234..def5678 100644 --- a/activerecord-safer_migrations.gemspec +++ b/activerecord-safer_migrations.gemspec @@ -17,6 +17,6 @@ gem.add_runtime_dependency "activerecord", ">= 4.0" gem.add_development_dependency "pg...
Update rspec requirement to ~> 3.6.0 Updates requirements on [rspec](https://github.com/rspec/rspec) to permit the latest version.
diff --git a/app/models/meeting.rb b/app/models/meeting.rb index abc1234..def5678 100644 --- a/app/models/meeting.rb +++ b/app/models/meeting.rb @@ -11,7 +11,7 @@ # Contants # - TYPES = %i(standup planning review retrospective meeting workshop other).freeze + TYPES = %i(standup planning review retrospective me...
Add Grooming type to event list in Meeting model closes https://github.com/openSUSE/agile-team-dashboard/issues/68
diff --git a/app/models/project.rb b/app/models/project.rb index abc1234..def5678 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -11,7 +11,7 @@ self.projected_hours ||= 0.0 self.short_code = short_code.present? ? self.short_code.downcase : self.name[0..1].downcase self.short_code = self...
Fix Short Code Regeneration Bug
diff --git a/app/serializers/chapter_serializer.rb b/app/serializers/chapter_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/chapter_serializer.rb +++ b/app/serializers/chapter_serializer.rb @@ -4,11 +4,10 @@ has_many :measurements def last_weeks_entries - + object.entries.where(2.weeks.ago....
Implement last_weeks_entries attribute to ChapterSerializer
diff --git a/features/support/test_date_helper.rb b/features/support/test_date_helper.rb index abc1234..def5678 100644 --- a/features/support/test_date_helper.rb +++ b/features/support/test_date_helper.rb @@ -8,7 +8,7 @@ end def test_date - "20-04-#{Date.current.year}" + I18n.l(Date.parse("20-07-#{Date.cur...
Use a localized version of the date
diff --git a/lib/adhearsion/xmpp.rb b/lib/adhearsion/xmpp.rb index abc1234..def5678 100644 --- a/lib/adhearsion/xmpp.rb +++ b/lib/adhearsion/xmpp.rb @@ -34,7 +34,7 @@ class << self def method_missing(m, *args, &block) - m.send m, *args, &block + plugin.connection.send m, *args, &block ...
Fix typo in method delegation
diff --git a/lib/cc_engine/issue.rb b/lib/cc_engine/issue.rb index abc1234..def5678 100644 --- a/lib/cc_engine/issue.rb +++ b/lib/cc_engine/issue.rb @@ -75,13 +75,6 @@ :location, :remediation_points, :content, - :fingerprint, - :check_name, - :description, - :categories, - :...
Remove accidental duplicate attr_reader entries
diff --git a/lib/confoog/version.rb b/lib/confoog/version.rb index abc1234..def5678 100644 --- a/lib/confoog/version.rb +++ b/lib/confoog/version.rb @@ -2,5 +2,5 @@ module Confoog # Version of this Gem, using Semantic Versioning 2.0.0 # http://semver.org/ - VERSION = '0.3.0' + VERSION = '0.4.0' end
Tag for 0.4.0 and release Signed-off-by: Seapagan <4ab1b2fdb7784a8f9b55e81e3261617f44fd0585@gmail.com>
diff --git a/lib/tasks/rebuild_counter_caches.rake b/lib/tasks/rebuild_counter_caches.rake index abc1234..def5678 100644 --- a/lib/tasks/rebuild_counter_caches.rake +++ b/lib/tasks/rebuild_counter_caches.rake @@ -0,0 +1,17 @@+namespace :db do + desc "Rebuild counter caches for users and papers" + task rebuild_counter...
Add rake task to rebuild counter caches
diff --git a/lib/tchart/process/settings_parser.rb b/lib/tchart/process/settings_parser.rb index abc1234..def5678 100644 --- a/lib/tchart/process/settings_parser.rb +++ b/lib/tchart/process/settings_parser.rb @@ -7,32 +7,35 @@ @settings = Settings.new end - def parse(line) # => true or false + de...
Revert back to using exceptions for code flow.
diff --git a/lib/toolsmith/helpers/grid_helpers.rb b/lib/toolsmith/helpers/grid_helpers.rb index abc1234..def5678 100644 --- a/lib/toolsmith/helpers/grid_helpers.rb +++ b/lib/toolsmith/helpers/grid_helpers.rb @@ -1,11 +1,29 @@ module Toolsmith module ViewHelpers module GridHelpers + + # Returns a bootstrap...
Add documentation for grid helpers.
diff --git a/spec/acceptance/tcp_spec.rb b/spec/acceptance/tcp_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/tcp_spec.rb +++ b/spec/acceptance/tcp_spec.rb @@ -0,0 +1,47 @@+require 'spec_helper' + +describe Listen::TCP do + + let(:port) { 4000 } + + let(:broadcaster) { Listen.to(Dir.pwd, forward_to: port...
Add acceptance spec for TCP forwarding
diff --git a/lib/neo4j_dev_rails.rb b/lib/neo4j_dev_rails.rb index abc1234..def5678 100644 --- a/lib/neo4j_dev_rails.rb +++ b/lib/neo4j_dev_rails.rb @@ -5,16 +5,20 @@ require File.expand_path('../neo4j_dev_rails/railtie', __FILE__) if defined?(Rails) def self.clean_neo4j - response = RestClient.post 'http://l...
Make test server host and port configurable when running the clean_neo4j method
diff --git a/bookingsync-application-engine.gemspec b/bookingsync-application-engine.gemspec index abc1234..def5678 100644 --- a/bookingsync-application-engine.gemspec +++ b/bookingsync-application-engine.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.name = "bookingsync-application-engine" s.vers...
Add me to gem authors
diff --git a/spec/lib/archive/ar_spec.rb b/spec/lib/archive/ar_spec.rb index abc1234..def5678 100644 --- a/spec/lib/archive/ar_spec.rb +++ b/spec/lib/archive/ar_spec.rb @@ -0,0 +1,24 @@+require 'spec_helper' + +describe Archive::Ar do + describe "create" do + end + + describe "extract" do + end + + describe "trave...
Add a simple traverse test
diff --git a/spec/models/section_spec.rb b/spec/models/section_spec.rb index abc1234..def5678 100644 --- a/spec/models/section_spec.rb +++ b/spec/models/section_spec.rb @@ -3,8 +3,13 @@ describe Section do describe 'associations' do describe 'chapters' do + let!(:chapter) { create(:chapter, :with_section) ...
Fix pending spec for section.chapters with hidden codes
diff --git a/lib/dm-core/spec/lib/adapter_helpers.rb b/lib/dm-core/spec/lib/adapter_helpers.rb index abc1234..def5678 100644 --- a/lib/dm-core/spec/lib/adapter_helpers.rb +++ b/lib/dm-core/spec/lib/adapter_helpers.rb @@ -29,7 +29,11 @@ # create all tables and constraints before each spec Da...
Change spec helpers to skip over incomplete models * If a model was created for some other purpose, besides testing its persistence logic, it's likely it was an anonymous class and may be considered incomplete and impossible to auto-migrate.
diff --git a/lib/exception_notifier/base_notifier.rb b/lib/exception_notifier/base_notifier.rb index abc1234..def5678 100644 --- a/lib/exception_notifier/base_notifier.rb +++ b/lib/exception_notifier/base_notifier.rb @@ -14,11 +14,11 @@ end def _pre_callback(exception, options, message, message_opts) - ...
hotfix: Send the correct options in send_notice
diff --git a/stash_engine/app/controllers/stash_engine/application_controller.rb b/stash_engine/app/controllers/stash_engine/application_controller.rb index abc1234..def5678 100644 --- a/stash_engine/app/controllers/stash_engine/application_controller.rb +++ b/stash_engine/app/controllers/stash_engine/application_contr...
Support tenant domains with ports (e.g. localhost:3000 for testing)
diff --git a/SSToolkit.podspec b/SSToolkit.podspec index abc1234..def5678 100644 --- a/SSToolkit.podspec +++ b/SSToolkit.podspec @@ -0,0 +1,24 @@+Pod::Spec.new do |s| + s.name = 'SSToolkit' + s.version = '0.1.3' + s.platform = :ios + s.summary = 'A collection of well-documented iOS classes for making life eas...
Add CocoaPods podspec for future 0.1.3 release.
diff --git a/lib/full_circle/builders/job_builder.rb b/lib/full_circle/builders/job_builder.rb index abc1234..def5678 100644 --- a/lib/full_circle/builders/job_builder.rb +++ b/lib/full_circle/builders/job_builder.rb @@ -11,7 +11,7 @@ company_city: hash['companyCity'], company_state: hash['companyState...
Remove the fetch in job builder
diff --git a/app/controllers/contact_controller.rb b/app/controllers/contact_controller.rb index abc1234..def5678 100644 --- a/app/controllers/contact_controller.rb +++ b/app/controllers/contact_controller.rb @@ -11,8 +11,9 @@ def create @profile = Profile.friendly.find(params[:id]) if params[:id] @message ...
Check for the presents of the env var first
diff --git a/app/controllers/exports_controller.rb b/app/controllers/exports_controller.rb index abc1234..def5678 100644 --- a/app/controllers/exports_controller.rb +++ b/app/controllers/exports_controller.rb @@ -1,5 +1,4 @@ class ExportsController < ApplicationController - include ActionController::Live require_pe...
Remove unneeded include and return path from exports controller
diff --git a/lib/kosmos/packages/enhanced_navball.rb b/lib/kosmos/packages/enhanced_navball.rb index abc1234..def5678 100644 --- a/lib/kosmos/packages/enhanced_navball.rb +++ b/lib/kosmos/packages/enhanced_navball.rb @@ -1,6 +1,6 @@ class EnhancedNavball < Kosmos::Package title 'Enhanced Navball' - url 'http://addo...
Update EnhancedNavball to use the new package installation method.
diff --git a/attributes/default.rb b/attributes/default.rb index abc1234..def5678 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -7,7 +7,14 @@ # MIT License # +distro_name = case node['platform_version'] +when '14.04' + 'trusty' +when '16.04' + 'xenial' +end + default['docker']['repository']['u...
Add dynamic distro name to attributes
diff --git a/lib/rusttrace/usage.rb b/lib/rusttrace/usage.rb index abc1234..def5678 100644 --- a/lib/rusttrace/usage.rb +++ b/lib/rusttrace/usage.rb @@ -2,7 +2,6 @@ class Usage class CallCount < FFI::Struct layout :count, :uint, - :method_length, :uint, :method_name, :string ...
Remove unused struct field from Ruby
diff --git a/lib/tasks/gremlin.rake b/lib/tasks/gremlin.rake index abc1234..def5678 100644 --- a/lib/tasks/gremlin.rake +++ b/lib/tasks/gremlin.rake @@ -10,4 +10,15 @@ require 'notify_gremlin_indexer' NotifyGremlinIndexer.index_all end + + desc "Attempts to reindex documents that haven't been indexed yet."...
Add task for indexing non-indexing envelopes
diff --git a/license_finder.gemspec b/license_finder.gemspec index abc1234..def5678 100644 --- a/license_finder.gemspec +++ b/license_finder.gemspec @@ -2,8 +2,8 @@ s.name = "license_finder" s.version = File.read "VERSION" s.platform = Gem::Platform::RUBY - s.email = ["jacob.maine@gmail.com...
Set gem email address to Brent Wheeldon (PM)
diff --git a/test/dependency_tracker_test.rb b/test/dependency_tracker_test.rb index abc1234..def5678 100644 --- a/test/dependency_tracker_test.rb +++ b/test/dependency_tracker_test.rb @@ -15,18 +15,21 @@ end end + def tracker + CacheDigests::DependencyTracker + end + def setup - CacheDigests::Depen...
Make the test more readable
diff --git a/lib/json_api_routes.rb b/lib/json_api_routes.rb index abc1234..def5678 100644 --- a/lib/json_api_routes.rb +++ b/lib/json_api_routes.rb @@ -17,13 +17,13 @@ end def create_versions(path) - get "/versions", to: "@{ path }#versions", format: false + get "/versions", to: "#{ path }#versions", form...
Fix typo in versioned route option
diff --git a/test/models/transaction_test.rb b/test/models/transaction_test.rb index abc1234..def5678 100644 --- a/test/models/transaction_test.rb +++ b/test/models/transaction_test.rb @@ -1,14 +1,54 @@-require 'test_helper' +require './test/test_helper' class TransactionTest < ActiveSupport::TestCase - test "it ...
Add tests for transaction validations
diff --git a/lib/pronto/fasterer.rb b/lib/pronto/fasterer.rb index abc1234..def5678 100644 --- a/lib/pronto/fasterer.rb +++ b/lib/pronto/fasterer.rb @@ -30,7 +30,7 @@ def new_message(error, line) path = line.patch.delta.new_file[:path] - Message.new(path, line, :warning, error.explanation) + Mess...
Add the runner class into the report message
diff --git a/lib/remitano/orders.rb b/lib/remitano/orders.rb index abc1234..def5678 100644 --- a/lib/remitano/orders.rb +++ b/lib/remitano/orders.rb @@ -1,41 +1,32 @@ module Remitano class Orders < Remitano::Collection def all(options = {}) - Remitano::Helper.parse_objects! Remitano::Net::post('/open_order...
Make order api more restful
diff --git a/lib/rom/lint/linter.rb b/lib/rom/lint/linter.rb index abc1234..def5678 100644 --- a/lib/rom/lint/linter.rb +++ b/lib/rom/lint/linter.rb @@ -15,17 +15,26 @@ # # @public class Linter + # A failure raised by +complain+ Failure = Class.new(StandardError) - def self.lints - ...
Improve documentation for Linter methods
diff --git a/app/models/spree/stock_item.rb b/app/models/spree/stock_item.rb index abc1234..def5678 100644 --- a/app/models/spree/stock_item.rb +++ b/app/models/spree/stock_item.rb @@ -6,8 +6,8 @@ belongs_to :variant, class_name: 'Spree::Variant' has_many :stock_movements, dependent: :destroy - validates_...
Address violation of Rubocop Rails/Validation:
diff --git a/app/workers/snapshot_worker.rb b/app/workers/snapshot_worker.rb index abc1234..def5678 100644 --- a/app/workers/snapshot_worker.rb +++ b/app/workers/snapshot_worker.rb @@ -4,7 +4,14 @@ include Sidekiq::Worker def perform(snapshot_id) - snapshot = Snapshot.find(snapshot_id) + begin + ...
Allow SnapshotWorkers that can't find Snapshot to rest in peace If you were to create a Snapshot and then delete it before the worker had the chance to act on it, the work request would stay in the queue, causing it to be run every time the workers spun up. This could happen easily, for instance, if there was an unexp...
diff --git a/Casks/wch-ch34x-usb-serial-driver.rb b/Casks/wch-ch34x-usb-serial-driver.rb index abc1234..def5678 100644 --- a/Casks/wch-ch34x-usb-serial-driver.rb +++ b/Casks/wch-ch34x-usb-serial-driver.rb @@ -0,0 +1,15 @@+cask :v1 => 'wch-ch34x-usb-serial-driver' do + version '1.1' + sha256 'e2d9e46d3b09be09341fad017...
Add Wch USB serial driver for CH340/CH341 v1.1
diff --git a/app/controllers/explore_controller.rb b/app/controllers/explore_controller.rb index abc1234..def5678 100644 --- a/app/controllers/explore_controller.rb +++ b/app/controllers/explore_controller.rb @@ -4,6 +4,7 @@ layout 'explore' def index + render_404 and return if current_user.nil? || !current_u...
Disable explore and search pages for users that don't have the proper flag
diff --git a/app/controllers/reasons_controller.rb b/app/controllers/reasons_controller.rb index abc1234..def5678 100644 --- a/app/controllers/reasons_controller.rb +++ b/app/controllers/reasons_controller.rb @@ -2,6 +2,6 @@ def show @reason = Reason.find(params[:id]) @posts = @reason.posts.includes(:reason...
Fix error on per-reason pages
diff --git a/app/mailers/rails_wink/wink_mailer.rb b/app/mailers/rails_wink/wink_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/rails_wink/wink_mailer.rb +++ b/app/mailers/rails_wink/wink_mailer.rb @@ -5,7 +5,7 @@ def report(datadump, desc = '[No description provided]', from = nil) @datadump = dat...
Make sure the from address is never nil.
diff --git a/cookbooks/oozie/attributes/default.rb b/cookbooks/oozie/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/oozie/attributes/default.rb +++ b/cookbooks/oozie/attributes/default.rb @@ -8,9 +8,9 @@ # hive cluster attributes -default[:oozie][:default][:path] = '/usr/share/oozie' -default[:...
Add missing bracket in the oozie cookbook that failed the ruby check and switch to strings Former-commit-id: d245f5279a98196c1250af0ead158af9e67713e6 [formerly c5b72d63acb8efce8ec2205bbfaf494c596d80c3] [formerly 862def5669bbf5708004bcbfe853c1d9a9dca5b6 [formerly a63ec4d1297105244c8305ba005be0a325239947 [formerly f9f4...
diff --git a/recipes/basic_structure.rb b/recipes/basic_structure.rb index abc1234..def5678 100644 --- a/recipes/basic_structure.rb +++ b/recipes/basic_structure.rb @@ -29,10 +29,11 @@ repository node['rails_app']['git_repository'] revision 'master' rails do + #NOTE it should take attributes, not hardcoded s...
Change in ruby_application block (database) -> strings instead of attributes
diff --git a/core/db/migrate/20160308000300_disallow_adjustment_finalized_nulls.rb b/core/db/migrate/20160308000300_disallow_adjustment_finalized_nulls.rb index abc1234..def5678 100644 --- a/core/db/migrate/20160308000300_disallow_adjustment_finalized_nulls.rb +++ b/core/db/migrate/20160308000300_disallow_adjustment_fi...
Update spree_adjustments.finalized to be non null When we migrated from state=open/closed to finalized=true/false in d33254d we added `finalized` as a nullable column. This breaks the scopes that we added in that commit -- when finalized is null the adjustments are neither `finalized` nor `not_finalized`. I noticed ...
diff --git a/test/factories/responses.rb b/test/factories/responses.rb index abc1234..def5678 100644 --- a/test/factories/responses.rb +++ b/test/factories/responses.rb @@ -8,7 +8,7 @@ answer = response.answers.new :question => field answer.value = case field when Questions::Fr...
Stop potentially including invalid HTML in answers
diff --git a/generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb b/generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb index abc1234..def5678 100644 --- a/generators/friendly_id_20_upgrade/friendly_id_20_upgrade_generator.rb +++ b/generators/friendly_id_20_upgrade/friendly_id_20_upgr...
Upgrade generator should also install rake tasks
diff --git a/features/support/env.rb b/features/support/env.rb index abc1234..def5678 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1,9 +1,10 @@ require File.expand_path('../../../lib/beetle', __FILE__) -# Allow using Test::Unit for step assertions -# See http://wiki.github.com/aslakhellesoy/...
Fix cucumber tests in Ruby 2.2 Test::Unit is no more
diff --git a/docs/_plugins/copy_javadoc_to_docs.rb b/docs/_plugins/copy_javadoc_to_docs.rb index abc1234..def5678 100644 --- a/docs/_plugins/copy_javadoc_to_docs.rb +++ b/docs/_plugins/copy_javadoc_to_docs.rb @@ -10,7 +10,11 @@ puts "Making directory " + dest mkdir_p dest -puts "cp -r " + source + "/. " + dest -cp_r...
Allow docs to build without javadoc This is useful when developing documentation since building javadoc takes a while.
diff --git a/Casks/vivaldi-snapshot.rb b/Casks/vivaldi-snapshot.rb index abc1234..def5678 100644 --- a/Casks/vivaldi-snapshot.rb +++ b/Casks/vivaldi-snapshot.rb @@ -1,6 +1,6 @@ cask :v1 => 'vivaldi-snapshot' do - version '1.0.167.2' - sha256 'ded8ebb78e7f49bfdc56ed4444782dc90ec0d51965c672076f5c8e5109515608' + versio...
Upgrade Vivaldi.app to v1.0.174.8 (Snapshot)
diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb index abc1234..def5678 100644 --- a/config/initializers/carrierwave.rb +++ b/config/initializers/carrierwave.rb @@ -6,6 +6,6 @@ :rackspace_api_key => ENV['RACKSPACE_API_KEY'], :rackspace_auth_url => ENV['RACKSPACE_API_ENDPOIN...
Make Container and Asset Hosts ENV variables explicit
diff --git a/features/android/support/app_installation_hooks.rb b/features/android/support/app_installation_hooks.rb index abc1234..def5678 100644 --- a/features/android/support/app_installation_hooks.rb +++ b/features/android/support/app_installation_hooks.rb @@ -9,7 +9,7 @@ # Create page objects which allows method...
Update comments to mirror update variable name
diff --git a/spec/support/password_prompt_helpers.rb b/spec/support/password_prompt_helpers.rb index abc1234..def5678 100644 --- a/spec/support/password_prompt_helpers.rb +++ b/spec/support/password_prompt_helpers.rb @@ -6,10 +6,31 @@ "N:B3e%7Cmh" end + # Intercepts HighLine prompts for a one-time password (O...
Update helpers to match on prompt When the specs encountered user input, we treated it as password entry where it could actually but prompting for a two factor code. To support this we need to update the mocks to match the prompt string used.
diff --git a/spec/stepping_stone/model/executor_spec.rb b/spec/stepping_stone/model/executor_spec.rb index abc1234..def5678 100644 --- a/spec/stepping_stone/model/executor_spec.rb +++ b/spec/stepping_stone/model/executor_spec.rb @@ -6,62 +6,45 @@ let(:server) { double("sut server") } subject { Executor.new...
Make all Executor specs use the session spy
diff --git a/lib/Mollie/API/Resource/Customers/Subscriptions.rb b/lib/Mollie/API/Resource/Customers/Subscriptions.rb index abc1234..def5678 100644 --- a/lib/Mollie/API/Resource/Customers/Subscriptions.rb +++ b/lib/Mollie/API/Resource/Customers/Subscriptions.rb @@ -13,7 +13,7 @@ def getResourceName ...
Use encoded version of customer_id for subscriptions
diff --git a/spec/features/projects_ending_spec.rb b/spec/features/projects_ending_spec.rb index abc1234..def5678 100644 --- a/spec/features/projects_ending_spec.rb +++ b/spec/features/projects_ending_spec.rb @@ -11,11 +11,12 @@ scenario 'After reaching ending date' do @project.finish - travel (@project.onl...
Remove time stub in test teardown ActiveSupport::Testing::TimeHelpers does not include auto removal of this type of stubs in test teardowns for now.
diff --git a/Casks/android-studio-canary.rb b/Casks/android-studio-canary.rb index abc1234..def5678 100644 --- a/Casks/android-studio-canary.rb +++ b/Casks/android-studio-canary.rb @@ -1,6 +1,6 @@ cask 'android-studio-canary' do - version '2.0.0.15-143.2637817' - sha256 'f06be886c30fe48c585108df7d23e8c33deb901fe4c7da...
Update Android Studio (Canary) to 2.1 Preview 1