diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/app/views/spree/api/orders/show.rabl b/app/views/spree/api/orders/show.rabl index abc1234..def5678 100644 --- a/app/views/spree/api/orders/show.rabl +++ b/app/views/spree/api/orders/show.rabl @@ -0,0 +1,44 @@+object @order +extends "spree/api/orders/order" + +node(:use_billing) { @order.bill_address == @or...
Revert "Removed order rabl template" This reverts commit de382875f495868256bdc7406fd6289c5ff6d9f0.
diff --git a/tty-tree.gemspec b/tty-tree.gemspec index abc1234..def5678 100644 --- a/tty-tree.gemspec +++ b/tty-tree.gemspec @@ -1,4 +1,3 @@-# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'tty/tree/version' @@ -14,9 +13,8 @@ spec.homepage ...
Change to load files directly
diff --git a/app/models/schedule_item.rb b/app/models/schedule_item.rb index abc1234..def5678 100644 --- a/app/models/schedule_item.rb +++ b/app/models/schedule_item.rb @@ -22,7 +22,7 @@ :start_time, :duration, :room_id, - ad: :admin + ...
Fix typo in ScheduleItem's attr_accessible
diff --git a/lib/model/active_record/database/index.rb b/lib/model/active_record/database/index.rb index abc1234..def5678 100644 --- a/lib/model/active_record/database/index.rb +++ b/lib/model/active_record/database/index.rb @@ -3,7 +3,7 @@ module Database module Index def indices - ::Activ...
Use Model.table_name to take into account the table_name_prefix
diff --git a/core/db/migrate/20170323151450_add_missing_unique_indexes_for_unique_attributes.rb b/core/db/migrate/20170323151450_add_missing_unique_indexes_for_unique_attributes.rb index abc1234..def5678 100644 --- a/core/db/migrate/20170323151450_add_missing_unique_indexes_for_unique_attributes.rb +++ b/core/db/migrat...
Fix migrations on mysql database
diff --git a/spec/concerns/file_parameters_spec.rb b/spec/concerns/file_parameters_spec.rb index abc1234..def5678 100644 --- a/spec/concerns/file_parameters_spec.rb +++ b/spec/concerns/file_parameters_spec.rb @@ -0,0 +1,55 @@+# frozen_string_literal: true + +require 'rails_helper' + +class Controller < AnonymousControl...
Add tests for rejecting illegal file attributes
diff --git a/lib/fastlane/plugin/changelog_generator/helper/changelog_generator_fetcher.rb b/lib/fastlane/plugin/changelog_generator/helper/changelog_generator_fetcher.rb index abc1234..def5678 100644 --- a/lib/fastlane/plugin/changelog_generator/helper/changelog_generator_fetcher.rb +++ b/lib/fastlane/plugin/changelog...
Verify octokit gem in changelog fetcher
diff --git a/spec/models/spree/product_set_spec.rb b/spec/models/spree/product_set_spec.rb index abc1234..def5678 100644 --- a/spec/models/spree/product_set_spec.rb +++ b/spec/models/spree/product_set_spec.rb @@ -0,0 +1,65 @@+require 'spec_helper' + +describe Spree::ProductSet do + describe '#save' do + context 'wh...
Add first test case for ProductSet This covers creation and update of a product.
diff --git a/config/environments/development.rb b/config/environments/development.rb index abc1234..def5678 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,5 +1,3 @@-require Rails.root.join("config/smtp") - Rails.application.configure do config.cache_classes = false ...
Remove obsolete reference to config for MailGun
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index abc1234..def5678 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,8 +1,6 @@ # Be sure to restart your server when you modify this file. -ContactOTron::Application.config.ses...
Set cookies to only be served over https and to be http only
diff --git a/config/initializers/will_paginate.rb b/config/initializers/will_paginate.rb index abc1234..def5678 100644 --- a/config/initializers/will_paginate.rb +++ b/config/initializers/will_paginate.rb @@ -33,7 +33,7 @@ end def last_page - num = @collection.current_page < total_pages && @collec...
Use actual last page, not current page
diff --git a/db/migrate/20090504040328_use_competition_event_memberships.rb b/db/migrate/20090504040328_use_competition_event_memberships.rb index abc1234..def5678 100644 --- a/db/migrate/20090504040328_use_competition_event_memberships.rb +++ b/db/migrate/20090504040328_use_competition_event_memberships.rb @@ -0,0 +1,...
Remove competition-specific FKs and use CompetitionEventMemberships instead
diff --git a/db/migrate/20150609141121_add_session_expire_delay_for_application_settings.rb b/db/migrate/20150609141121_add_session_expire_delay_for_application_settings.rb index abc1234..def5678 100644 --- a/db/migrate/20150609141121_add_session_expire_delay_for_application_settings.rb +++ b/db/migrate/20150609141121_...
Check if session_expire_delay column exists before adding the column.
diff --git a/test/fixtures/cookbooks/test/recipes/gem.rb b/test/fixtures/cookbooks/test/recipes/gem.rb index abc1234..def5678 100644 --- a/test/fixtures/cookbooks/test/recipes/gem.rb +++ b/test/fixtures/cookbooks/test/recipes/gem.rb @@ -3,7 +3,7 @@ # System Install rbenv_system_install 'system' -# Install several ru...
Remove wrong directories from comments
diff --git a/filter/sasuoni_bot.rb b/filter/sasuoni_bot.rb index abc1234..def5678 100644 --- a/filter/sasuoni_bot.rb +++ b/filter/sasuoni_bot.rb @@ -10,7 +10,7 @@ if t =~ /^\:sasuoni list/ { username: 'sasuoni', text: fetch_data.map { |z| z["word"] }.uniq.sort.join(", ") } else - { username...
Add a timestamp to several uris of images
diff --git a/db/migrate/20151113111400_starred_repositories_add_index_user_id_and_repo_id.rb b/db/migrate/20151113111400_starred_repositories_add_index_user_id_and_repo_id.rb index abc1234..def5678 100644 --- a/db/migrate/20151113111400_starred_repositories_add_index_user_id_and_repo_id.rb +++ b/db/migrate/201511131114...
Correct `repo_id` => `repository_id` in migration
diff --git a/core/lib/generators/refinery/form/templates/refinerycms-plural_name.gemspec b/core/lib/generators/refinery/form/templates/refinerycms-plural_name.gemspec index abc1234..def5678 100644 --- a/core/lib/generators/refinery/form/templates/refinerycms-plural_name.gemspec +++ b/core/lib/generators/refinery/form/t...
Remove extra space in form generated gemspec.
diff --git a/actionpack/test/controller/logging_test.rb b/actionpack/test/controller/logging_test.rb index abc1234..def5678 100644 --- a/actionpack/test/controller/logging_test.rb +++ b/actionpack/test/controller/logging_test.rb @@ -0,0 +1,46 @@+require 'abstract_unit' + +class LoggingController < ActionController::Bas...
Add some basic controller logging tests
diff --git a/app/controllers/api/version1_controller.rb b/app/controllers/api/version1_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/version1_controller.rb +++ b/app/controllers/api/version1_controller.rb @@ -16,7 +16,7 @@ render json: Responses::success(result) end els...
Use the failure response for bad API keys
diff --git a/app/controllers/content_only_controller.rb b/app/controllers/content_only_controller.rb index abc1234..def5678 100644 --- a/app/controllers/content_only_controller.rb +++ b/app/controllers/content_only_controller.rb @@ -1,5 +1,12 @@ class ContentOnlyController < ApplicationController before_action :auth...
Use before_action for the award info pages
diff --git a/lib/generators/rapidfire/templates/migrations/add_after_survey_content_to_survey.rb b/lib/generators/rapidfire/templates/migrations/add_after_survey_content_to_survey.rb index abc1234..def5678 100644 --- a/lib/generators/rapidfire/templates/migrations/add_after_survey_content_to_survey.rb +++ b/lib/generat...
Fix migration not being versioned
diff --git a/server/app/models/client.rb b/server/app/models/client.rb index abc1234..def5678 100644 --- a/server/app/models/client.rb +++ b/server/app/models/client.rb @@ -1,7 +1,8 @@ class Client < ActiveRecord::Base has_many :facts, :dependent => :destroy - has_many :configs, :dependent => :destroy + has_many...
Update the relationships with other models git-svn-id: 907a5e332d9df9b9d6ff346e9993373f8c03b4a0@66 59d7d9da-0ff4-4beb-9ab8-e480f87378b2
diff --git a/server/model/static_html.rb b/server/model/static_html.rb index abc1234..def5678 100644 --- a/server/model/static_html.rb +++ b/server/model/static_html.rb @@ -8,12 +8,12 @@ def self.get_and_update_for_path path url = HikeApp.base_url + path - static_html = StaticHtml.find(:url => url) + static_htm...
Use relative path intead of absolute to key into StaticHtml table.
diff --git a/kitchen-tests/cookbooks/base/recipes/packages.rb b/kitchen-tests/cookbooks/base/recipes/packages.rb index abc1234..def5678 100644 --- a/kitchen-tests/cookbooks/base/recipes/packages.rb +++ b/kitchen-tests/cookbooks/base/recipes/packages.rb @@ -15,7 +15,7 @@ multipackage pkgs end -gems = %w{fpm aws-sdk...
Switch to a smaller gem to install in kitchen runs aws-sdk is 132 gems now. It takes *forever* to install on some platforms like CentOS 6. Use a simple gem. Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/lib/messaging/message_handlers/request_handler.rb b/lib/messaging/message_handlers/request_handler.rb index abc1234..def5678 100644 --- a/lib/messaging/message_handlers/request_handler.rb +++ b/lib/messaging/message_handlers/request_handler.rb @@ -6,8 +6,8 @@ attr_reader :response def handle...
Fix request correlation id not being logged out
diff --git a/lib/amazon_athena/commands/show_tables.rb b/lib/amazon_athena/commands/show_tables.rb index abc1234..def5678 100644 --- a/lib/amazon_athena/commands/show_tables.rb +++ b/lib/amazon_athena/commands/show_tables.rb @@ -14,8 +14,9 @@ def run(connection) connection.query(statement).map {|row| r...
Handle error when listing tables
diff --git a/tasks/gwt_javadoc_fix.rake b/tasks/gwt_javadoc_fix.rake index abc1234..def5678 100644 --- a/tasks/gwt_javadoc_fix.rake +++ b/tasks/gwt_javadoc_fix.rake @@ -0,0 +1,12 @@+# Ugly hack required as the gwt jars cause the javadoc tool heart ache +module Buildr + module DocFix #:nodoc: + include Extension + ...
Add an ugly hack to get javadoc to work witht eh GWT libraries
diff --git a/chrome_debugger.gemspec b/chrome_debugger.gemspec index abc1234..def5678 100644 --- a/chrome_debugger.gemspec +++ b/chrome_debugger.gemspec @@ -1,10 +1,10 @@ Gem::Specification.new do |s| s.name = "chrome_debugger" - s.version = "0.0.3" + s.version = "0.0.4" s.summa...
Fix James email addy in the gemspec
diff --git a/lib/pione/rule-engine/engine-exception.rb b/lib/pione/rule-engine/engine-exception.rb index abc1234..def5678 100644 --- a/lib/pione/rule-engine/engine-exception.rb +++ b/lib/pione/rule-engine/engine-exception.rb @@ -8,7 +8,7 @@ def message "Execution error when handling the rule '%s': inpu...
Fix a message problem of `RuleExecutionError`.
diff --git a/raygun_client.gemspec b/raygun_client.gemspec index abc1234..def5678 100644 --- a/raygun_client.gemspec +++ b/raygun_client.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'raygun_client' - s.version = '0.0.2.3' + s.version = '0.0.2.4' s.summary = 'Client f...
Package version is increased from 0.0.2.3 to 0.0.2.4
diff --git a/razorpay-ruby.gemspec b/razorpay-ruby.gemspec index abc1234..def5678 100644 --- a/razorpay-ruby.gemspec +++ b/razorpay-ruby.gemspec @@ -17,10 +17,10 @@ spec.test_files = spec.files.grep(/^(test|spec|features)/) spec.require_paths = ['lib'] + spec.add_development_dependency 'coveralls', '~> 0.8' ...
[rubocop] Arrange dependencies in alpbhetical order
diff --git a/cookbooks/nagios/recipes/server_package.rb b/cookbooks/nagios/recipes/server_package.rb index abc1234..def5678 100644 --- a/cookbooks/nagios/recipes/server_package.rb +++ b/cookbooks/nagios/recipes/server_package.rb @@ -18,6 +18,21 @@ # limitations under the License. # +if platform_family?(debian) + + ...
Fix Nagios server installs via package using a closed out pull request Former-commit-id: 9d7bb90849b633cb2606f0bd5d4212319a059c6c [formerly bc361734ad782814e369a6a5c317cfc0b08efd0a] [formerly f3bd6eef3d2758750a4016907ef6c5d4c61dc50b [formerly 7bb92f416cd2722bc15879565c0789fe8fd90296]] Former-commit-id: 59129f1e5be810...
diff --git a/spec/edmunds_spec_helper.rb b/spec/edmunds_spec_helper.rb index abc1234..def5678 100644 --- a/spec/edmunds_spec_helper.rb +++ b/spec/edmunds_spec_helper.rb @@ -19,7 +19,8 @@ c.cassette_library_dir = 'fixtures/vcr_cassettes' c.hook_into :webmock c.filter_sensitive_data('EDMUNDS_API_KEY') { ENV...
Set VCR to ignore codeclimate.com
diff --git a/spec/json_validator_spec.rb b/spec/json_validator_spec.rb index abc1234..def5678 100644 --- a/spec/json_validator_spec.rb +++ b/spec/json_validator_spec.rb @@ -11,11 +11,11 @@ spawn_model :User do schema = { - "type" => "object", - "$schema" => "http://json-schema.org/draft-03/sc...
Use symbols instead of string for schema in specs
diff --git a/spec/configuration_manager_spec.rb b/spec/configuration_manager_spec.rb index abc1234..def5678 100644 --- a/spec/configuration_manager_spec.rb +++ b/spec/configuration_manager_spec.rb @@ -2,22 +2,22 @@ require 'nerve/configuration_manager' describe Nerve::ConfigurationManager do - describe 'normal run'...
Make configuration manager specs clearer
diff --git a/spec/perpetuity/mongodb_spec.rb b/spec/perpetuity/mongodb_spec.rb index abc1234..def5678 100644 --- a/spec/perpetuity/mongodb_spec.rb +++ b/spec/perpetuity/mongodb_spec.rb @@ -0,0 +1,85 @@+$:.unshift('lib').uniq! +require 'perpetuity/mongodb' + +module Perpetuity + describe MongoDB do + let(:mongo) { M...
Add spec for MongoDB wrapper
diff --git a/spec/support/shared_examples.rb b/spec/support/shared_examples.rb index abc1234..def5678 100644 --- a/spec/support/shared_examples.rb +++ b/spec/support/shared_examples.rb @@ -43,5 +43,13 @@ # We do not require failure_message_when_negated and does_not_match? # Because some matchers purposefully d...
Add shared example enforcing usage in a composed matcher expression.
diff --git a/ArrayDiff.podspec b/ArrayDiff.podspec index abc1234..def5678 100644 --- a/ArrayDiff.podspec +++ b/ArrayDiff.podspec @@ -1,15 +1,14 @@ Pod::Spec.new do |s| s.name = "ArrayDiff" - s.version = "1.0.4" + s.version = "1.1.0" s.summary = "ArrayDiff quickly computes the difference bet...
Remove OS X declaration for now, bump to 1.1.0
diff --git a/lib/credit_card_validator.rb b/lib/credit_card_validator.rb index abc1234..def5678 100644 --- a/lib/credit_card_validator.rb +++ b/lib/credit_card_validator.rb @@ -1,5 +1,8 @@ require "credit_card_validator/version" module CreditCardValidator - # Your code goes here... + + def self.validate(number) + ...
Define Credit Card validator module
diff --git a/genlock.gemspec b/genlock.gemspec index abc1234..def5678 100644 --- a/genlock.gemspec +++ b/genlock.gemspec @@ -17,4 +17,6 @@ "lib/genlock.rb", "lib/genlock/version.rb", ] + + s.executables << "genlock" end
Include the binary in the gem, duh
diff --git a/lib/minitest/color_plugin.rb b/lib/minitest/color_plugin.rb index abc1234..def5678 100644 --- a/lib/minitest/color_plugin.rb +++ b/lib/minitest/color_plugin.rb @@ -9,7 +9,7 @@ def self.plugin_color_init options if Color.color? - io = options.delete(:io) || $stdout + io = options.fetch(:i...
Make minitest color play nice with others References teoljungberg/minitest-documentation#2
diff --git a/lib/rails-settings-cached.rb b/lib/rails-settings-cached.rb index abc1234..def5678 100644 --- a/lib/rails-settings-cached.rb +++ b/lib/rails-settings-cached.rb @@ -5,7 +5,7 @@ class RailsSettings::Railtie < Rails::Railtie initializer "rails_settings.active_record.initialization" do - RailsSettings:...
Add callbacks to CachedSettings instead of Settings model
diff --git a/Casks/gas-mask.rb b/Casks/gas-mask.rb index abc1234..def5678 100644 --- a/Casks/gas-mask.rb +++ b/Casks/gas-mask.rb @@ -1,6 +1,6 @@ cask :v1 => 'gas-mask' do - version '0.8.1' - sha256 'f384e973603088ed5afbe841ef7d5698262988c65a0437a9d8011dcb667fcc2e' + version '0.8.3' + sha256 '907aa5979d1a902fa2582f5...
Update Gas Mask to 0.8.3
diff --git a/spec/requests/notes_spec.rb b/spec/requests/notes_spec.rb index abc1234..def5678 100644 --- a/spec/requests/notes_spec.rb +++ b/spec/requests/notes_spec.rb @@ -45,7 +45,7 @@ click_on 'Add note' end - find('#in_progress .story .notelist p.note').should have_content('Adding a new note')...
Fix selector in note request spec.
diff --git a/lib/sunspot_with_kaminari.rb b/lib/sunspot_with_kaminari.rb index abc1234..def5678 100644 --- a/lib/sunspot_with_kaminari.rb +++ b/lib/sunspot_with_kaminari.rb @@ -1,10 +1,6 @@-# module SunspotWithKaminari -# end - -module Sunspot +module SunspotWithKaminari module Search - class AbstractSearch - + ...
Refactor to be a good citizen
diff --git a/lib/tasks/elasticsearch.rake b/lib/tasks/elasticsearch.rake index abc1234..def5678 100644 --- a/lib/tasks/elasticsearch.rake +++ b/lib/tasks/elasticsearch.rake @@ -1,22 +1,28 @@ require 'elasticsearch/rails/tasks/import' +Rake::TaskManager.record_task_metadata = true namespace :elasticsearch do - desc ...
Check for arguments in Rake task and assign index name dynamically
diff --git a/ruby/matrix/matrix.rb b/ruby/matrix/matrix.rb index abc1234..def5678 100644 --- a/ruby/matrix/matrix.rb +++ b/ruby/matrix/matrix.rb @@ -1,8 +1,13 @@ class Matrix - attr_reader :rows, :columns + attr_reader :columns, :numbers def initialize(numbers) - @rows = numbers.split("\n").map { |row| row.sp...
Remove rows from attr_reader and user better methods in rows
diff --git a/lib/vivaldi/configuration.rb b/lib/vivaldi/configuration.rb index abc1234..def5678 100644 --- a/lib/vivaldi/configuration.rb +++ b/lib/vivaldi/configuration.rb @@ -7,18 +7,35 @@ @listeners = [] end - def instrument(name, *args, &block) - instrument = Instrument.play(name, *args, &block...
Change instrument and listen method signatures
diff --git a/lib/asterisk/event.rb b/lib/asterisk/event.rb index abc1234..def5678 100644 --- a/lib/asterisk/event.rb +++ b/lib/asterisk/event.rb @@ -1,9 +1,10 @@+require File.expand_path(File.dirname(__FILE__)) + "/message_helper" + module Asterisk - class Event include Asterisk::MessageHelper def self.pa...
Load dependency required by Asterisk::Event If MessageHelper wasn't require'd before event, it would break. Which it does, depending on the order Dir[pattern] returns the files.
diff --git a/lib/boxen/keychain.rb b/lib/boxen/keychain.rb index abc1234..def5678 100644 --- a/lib/boxen/keychain.rb +++ b/lib/boxen/keychain.rb @@ -18,6 +18,8 @@ def initialize(login) @login = login + # Clear the password. We're storing tokens now. + set PASSWORD_SERVICE, "" end def ...
Revert "Keychain helper doesn't like clearing the password" This reverts commit 105b8d00b5136b8c36bc7b6ad934b261799aecce.
diff --git a/listable_collections.gemspec b/listable_collections.gemspec index abc1234..def5678 100644 --- a/listable_collections.gemspec +++ b/listable_collections.gemspec @@ -19,7 +19,7 @@ s.required_ruby_version = '>= 2.1.0' - s.add_dependency 'rails', (ENV['RAILS_VERSION'] ? "~> #{ENV['RAILS_VERSION']}" : ['...
Update gemspec rails versions range
diff --git a/files/chef-marketplace-cookbooks/chef-marketplace/recipes/_automate_enable.rb b/files/chef-marketplace-cookbooks/chef-marketplace/recipes/_automate_enable.rb index abc1234..def5678 100644 --- a/files/chef-marketplace-cookbooks/chef-marketplace/recipes/_automate_enable.rb +++ b/files/chef-marketplace-cookbo...
Create license directory when configuring Azure
diff --git a/lib/que/rake_tasks.rb b/lib/que/rake_tasks.rb index abc1234..def5678 100644 --- a/lib/que/rake_tasks.rb +++ b/lib/que/rake_tasks.rb @@ -7,6 +7,7 @@ Que.logger.level = Logger.const_get((ENV['QUE_LOG_LEVEL'] || 'INFO').upcase) Que.worker_count = (ENV['QUE_WORKER_COUNT'] || 4).to_i Que.wake_in...
Make sure the worker pool is actually started up in the que:work rake task.
diff --git a/sinatra-param.gemspec b/sinatra-param.gemspec index abc1234..def5678 100644 --- a/sinatra-param.gemspec +++ b/sinatra-param.gemspec @@ -12,7 +12,7 @@ s.summary = "Parameter Validation & Type Coercion for Sinatra." s.description = "sinatra-param allows you to declare, validate, and transform endpoi...
Remove sinatra version dependency to allow for 2.0
diff --git a/spec/organism_spec.rb b/spec/organism_spec.rb index abc1234..def5678 100644 --- a/spec/organism_spec.rb +++ b/spec/organism_spec.rb @@ -0,0 +1,34 @@+require 'spec_helper' + +describe Organism do + let(:options) { { :iconic_taxon => {:name => "Mammalia", :rank => "class"}, + :taxon => {:...
Test all methods for organism model
diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb index abc1234..def5678 100644 --- a/app/channels/application_cable/connection.rb +++ b/app/channels/application_cable/connection.rb @@ -1,5 +1,6 @@ module ApplicationCable class Connection < ActionCable::Connecti...
Use Sophie B's current user methods
diff --git a/Casks/skitch1.rb b/Casks/skitch1.rb index abc1234..def5678 100644 --- a/Casks/skitch1.rb +++ b/Casks/skitch1.rb @@ -3,8 +3,9 @@ sha256 :no_check url 'http://evernote.com/download/get.php?file=SkitchMac_v1' + name 'Skitch' homepage 'http://blog.evernote.com/blog/2012/11/21/skitch-and-evernote-a-l...
Skitch1: Add name, update license stanza
diff --git a/026-reciprocal-cycles/ruby-solution.rb b/026-reciprocal-cycles/ruby-solution.rb index abc1234..def5678 100644 --- a/026-reciprocal-cycles/ruby-solution.rb +++ b/026-reciprocal-cycles/ruby-solution.rb @@ -1,32 +1,27 @@-def repeating_decimal_sequence(one_over_this) - quotient = "" - dividends = [1] +def re...
Refactor ruby solution for speed
diff --git a/msfl_visitors.gemspec b/msfl_visitors.gemspec index abc1234..def5678 100644 --- a/msfl_visitors.gemspec +++ b/msfl_visitors.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'msfl_visitors' - s.version = '0.0.4' - s.date = '2015-05-01' + s.version = '0.1.0' + s.dat...
Update gemspec for v 0.1.0 in preparation for merge to master
diff --git a/spec/bundler/unit/bundler_version_spec.rb b/spec/bundler/unit/bundler_version_spec.rb index abc1234..def5678 100644 --- a/spec/bundler/unit/bundler_version_spec.rb +++ b/spec/bundler/unit/bundler_version_spec.rb @@ -2,7 +2,7 @@ describe 'Bundler version installed' do it 'should be correct on Travis CI...
Disable test for bundler test version when 'latest'
diff --git a/spec/features/viewing_all_courses_spec.rb b/spec/features/viewing_all_courses_spec.rb index abc1234..def5678 100644 --- a/spec/features/viewing_all_courses_spec.rb +++ b/spec/features/viewing_all_courses_spec.rb @@ -4,14 +4,15 @@ let(:course_index_page) { CourseIndexPage.new } describe "in the appro...
Fix viewing all courses spec
diff --git a/spec/support/create_functional_indexes.rb b/spec/support/create_functional_indexes.rb index abc1234..def5678 100644 --- a/spec/support/create_functional_indexes.rb +++ b/spec/support/create_functional_indexes.rb @@ -1,5 +1,6 @@ class CreateFunctionalIndexes < ActiveRecord::Migration def up + down ...
Create functional indexes for specs more reliably
diff --git a/PeerTalk.podspec b/PeerTalk.podspec index abc1234..def5678 100644 --- a/PeerTalk.podspec +++ b/PeerTalk.podspec @@ -3,7 +3,10 @@ spec.version = '0.1.0' spec.license = { :type => 'MIT', :file => 'LICENSE.txt' } spec.homepage = 'http://rsms.me/peertalk/' - spec.authors = { 'Rasmus Anderss...
[CocoaPods] Add myself to authors in podspec
diff --git a/core/db/migrate/20160330204846_add_missing_timestamp_columns.rb b/core/db/migrate/20160330204846_add_missing_timestamp_columns.rb index abc1234..def5678 100644 --- a/core/db/migrate/20160330204846_add_missing_timestamp_columns.rb +++ b/core/db/migrate/20160330204846_add_missing_timestamp_columns.rb @@ -0,0...
Add missing timestamps for spree_* tables Many models do not have basic timestamps enabled. This commit adds timestamps everywhere they might be useful.
diff --git a/JSONModel.podspec b/JSONModel.podspec index abc1234..def5678 100644 --- a/JSONModel.podspec +++ b/JSONModel.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "JSONModel" - s.version = "1.2.4" + s.version = "1.2.3" s.summary = "Magical Data Modelling Framework for JSON. Cr...
Revert "Update to 1.2.4, change Cocoalumberjack dependency to 3.0" This reverts commit 26c321c473c6f7236d393ad8113e444602299e25.
diff --git a/RQVisual.podspec b/RQVisual.podspec index abc1234..def5678 100644 --- a/RQVisual.podspec +++ b/RQVisual.podspec @@ -1,18 +1,19 @@ Pod::Spec.new do |s| - s.platform = :ios, "8.0" - s.name = "RQVisual" - s.version = "1.0.0" - s.summary = "A tool for laying out views in code." + s.p...
Update Podspec to contain documentation URL
diff --git a/spec/integration/donor_upload_spec.rb b/spec/integration/donor_upload_spec.rb index abc1234..def5678 100644 --- a/spec/integration/donor_upload_spec.rb +++ b/spec/integration/donor_upload_spec.rb @@ -2,8 +2,6 @@ describe "uploading donors" do before(:each) do - Title.delete_all - Donor.delete_al...
Remove unnecessary truncating of DB
diff --git a/spec/routing/comments_routing_spec.rb b/spec/routing/comments_routing_spec.rb index abc1234..def5678 100644 --- a/spec/routing/comments_routing_spec.rb +++ b/spec/routing/comments_routing_spec.rb @@ -8,8 +8,7 @@ end it "routes to #destroy" do - pending - expect(:delete => "/r/ruby/ruby...
Fix comments routing spec bug
diff --git a/test/spec_rack_callbacks.rb b/test/spec_rack_callbacks.rb index abc1234..def5678 100644 --- a/test/spec_rack_callbacks.rb +++ b/test/spec_rack_callbacks.rb @@ -1,5 +1,6 @@ require 'minitest/autorun' require 'rack/mock' +require 'rack/contrib/callbacks' class Flame def call(env)
Fix error when running Rack::Callbacks tests individually
diff --git a/test/lib/test_simple_api.rb b/test/lib/test_simple_api.rb index abc1234..def5678 100644 --- a/test/lib/test_simple_api.rb +++ b/test/lib/test_simple_api.rb @@ -17,7 +17,7 @@ end test "upsert" do - data = [{:Id__c => '123123'}, {:Id__c => '234234'}] + data = [{:Id__c => '123123', :Title__c =>...
Update upsert test with a field with data to modify to match API docs requirement. You have to at least specify one piece of data to modify other than the external id provided.
diff --git a/lib/axe/page.rb b/lib/axe/page.rb index abc1234..def5678 100644 --- a/lib/axe/page.rb +++ b/lib/axe/page.rb @@ -5,7 +5,7 @@ module Axe class Page extend Forwardable - def_delegators :@browser, :evaluate_script, :execute_script, :execute_async_script + def_delegators :@browser, :evaluate_scrip...
Revert "Only adapt if driver doesn't already support async script" This reverts commit 3c5f0d8544133e74304f9697a53a995ba120046f.
diff --git a/app/controllers/teachers_controller.rb b/app/controllers/teachers_controller.rb index abc1234..def5678 100644 --- a/app/controllers/teachers_controller.rb +++ b/app/controllers/teachers_controller.rb @@ -20,7 +20,7 @@ @teacher = Teacher.new(teacher_params) p "ABOUT TO SAVE" p @teacher - ...
Remove temp password in teachers controller
diff --git a/lib/scm/util.rb b/lib/scm/util.rb index abc1234..def5678 100644 --- a/lib/scm/util.rb +++ b/lib/scm/util.rb @@ -41,6 +41,8 @@ # The stdout of the command being ran. # def popen(command,*arguments) + Dir.chdir @path + unless arguments.empty? command = command.dup
Change into the working of repository in Util.popen.
diff --git a/spanner/spec/quickstart_spec.rb b/spanner/spec/quickstart_spec.rb index abc1234..def5678 100644 --- a/spanner/spec/quickstart_spec.rb +++ b/spanner/spec/quickstart_spec.rb @@ -33,7 +33,7 @@ expect { load File.expand_path("../quickstart.rb", __dir__) - }.to output("1").to_stdout + }.to ou...
Fix spec test for spanner quickstart
diff --git a/lib/titleist.rb b/lib/titleist.rb index abc1234..def5678 100644 --- a/lib/titleist.rb +++ b/lib/titleist.rb @@ -1,5 +1,6 @@ # typed: strict require 'active_support/all' +require 'sorbet-runtime' require 'titleist/version' require 'titleist/engine'
Add sorbet-runtime to requires so T is available to applications
diff --git a/lib/zend/cli.rb b/lib/zend/cli.rb index abc1234..def5678 100644 --- a/lib/zend/cli.rb +++ b/lib/zend/cli.rb @@ -1,4 +1,27 @@ module Zend + class Tickets < Thor + desc 'tickets list [string]', 'Print list of tickets' + option :new, aliases: '-n', type: :boolean, desc: 'include new tickets' + optio...
Fix `zend help` output issues
diff --git a/jekyll-compass.gemspec b/jekyll-compass.gemspec index abc1234..def5678 100644 --- a/jekyll-compass.gemspec +++ b/jekyll-compass.gemspec @@ -13,7 +13,7 @@ s.files = [*Dir["lib/**/*.rb"], "README.md", "LICENSE"] s.homepage = 'https://github.com/mscharley/jekyll-compass' - s.add_runtime_de...
Update dependencies to require compass 1 and jekyll 2
diff --git a/spec/unit/postmark/json_spec.rb b/spec/unit/postmark/json_spec.rb index abc1234..def5678 100644 --- a/spec/unit/postmark/json_spec.rb +++ b/spec/unit/postmark/json_spec.rb @@ -1,21 +1,22 @@ require 'spec_helper' describe Postmark::Json do - let(:json_dump) { "{\"bar\":\"foo\",\"foo\":\"bar\"}" } let...
Use different approach to test JSON parsers.
diff --git a/Casks/firefox-nightly-ja.rb b/Casks/firefox-nightly-ja.rb index abc1234..def5678 100644 --- a/Casks/firefox-nightly-ja.rb +++ b/Casks/firefox-nightly-ja.rb @@ -1,6 +1,6 @@ class FirefoxNightlyJa < Cask - version '35.0a1' - sha256 'e024fd2ddc17cec0cdf8969b9128423209b54a8833245044ca8548a9fce7e878' + versi...
Upgrade Firefox Nightly ja to v36.0a1
diff --git a/lib/asset_processor.rb b/lib/asset_processor.rb index abc1234..def5678 100644 --- a/lib/asset_processor.rb +++ b/lib/asset_processor.rb @@ -11,7 +11,7 @@ total = asset_ids.count asset_ids.each_with_index do |asset_id, index| count = index + 1 - percent = "%0.0f" % (count / total.to_f *...
Use .round to convert to integer Rather than "%0.0f", as using .round is shorter and avoids a Rubocop warning.
diff --git a/lib/error_reporting.rb b/lib/error_reporting.rb index abc1234..def5678 100644 --- a/lib/error_reporting.rb +++ b/lib/error_reporting.rb @@ -1,4 +1,8 @@ Rollbar.configure do |config| config.access_token = ENV['ROLLBAR_TOKEN'] + + if ENV['DEVELOPMENT'] + config.enabled = false + end end
Add environment variable to disable Rollbar reporting for development
diff --git a/pact_broker/config.ru b/pact_broker/config.ru index abc1234..def5678 100644 --- a/pact_broker/config.ru +++ b/pact_broker/config.ru @@ -24,6 +24,7 @@ # config.auto_migrate_db = true # config.use_hal_browser = true config.logger = ::Logger.new($stdout) + config.logger.level = Logger::WARN config...
Set the default logging verbosity to WARN
diff --git a/lib/services/travis.rb b/lib/services/travis.rb index abc1234..def5678 100644 --- a/lib/services/travis.rb +++ b/lib/services/travis.rb @@ -1,4 +1,5 @@ class Service::Travis < Service + self.title = "Travis CI" default_events :push, :pull_request, :issue_comment, :public, :member string :user pas...
Use Travis CI as title for the service.
diff --git a/lib/shop/shopconfig.rb b/lib/shop/shopconfig.rb index abc1234..def5678 100644 --- a/lib/shop/shopconfig.rb +++ b/lib/shop/shopconfig.rb @@ -16,7 +16,8 @@ # Returns the whole config or a specific value def get(namespace=false, key=false) if namespace && key - return @config[namespace]...
Fix shop config class to return empty string on non-existing value
diff --git a/spec/geo_location_spec.rb b/spec/geo_location_spec.rb index abc1234..def5678 100644 --- a/spec/geo_location_spec.rb +++ b/spec/geo_location_spec.rb @@ -9,6 +9,10 @@ context 'when instantiated from a string' do it 'should be an instance of GeoLocation' do expect(verve.class).to eq(GeoLoc...
Add spec to show methods of Haversine to see why not working on travis-ci.
diff --git a/spec/models/shift_spec.rb b/spec/models/shift_spec.rb index abc1234..def5678 100644 --- a/spec/models/shift_spec.rb +++ b/spec/models/shift_spec.rb @@ -1,5 +1,9 @@ require 'rails_helper' RSpec.describe Shift, type: :model do - pending "add some examples to (or delete) #{__FILE__}" + it { is_expected.t...
Add validation and belonging specs to shifts
diff --git a/0_code_wars/operations_with_sets.rb b/0_code_wars/operations_with_sets.rb index abc1234..def5678 100644 --- a/0_code_wars/operations_with_sets.rb +++ b/0_code_wars/operations_with_sets.rb @@ -0,0 +1,7 @@+# http://www.codewars.com/kata/5609fd5b44e602b2ff00003a + +# --- iteration 1 --- +def process_2arrays(a...
Add code wars (7) process 2 arrays
diff --git a/app/controllers/user_votes_controller.rb b/app/controllers/user_votes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/user_votes_controller.rb +++ b/app/controllers/user_votes_controller.rb @@ -2,6 +2,11 @@ def index @user = current_user @votes = @user.user_votes.includes(...
Add user's ward and councillor to the myvotes page
diff --git a/app/presenters/finder_links_presenter.rb b/app/presenters/finder_links_presenter.rb index abc1234..def5678 100644 --- a/app/presenters/finder_links_presenter.rb +++ b/app/presenters/finder_links_presenter.rb @@ -6,6 +6,7 @@ organisations: organisations, related: related, email_ale...
Allow specialist finders to have parents
diff --git a/spec/integration/display_adapters_spec.rb b/spec/integration/display_adapters_spec.rb index abc1234..def5678 100644 --- a/spec/integration/display_adapters_spec.rb +++ b/spec/integration/display_adapters_spec.rb @@ -19,4 +19,30 @@ ]] ] end + + it "supports custom disply adapters in a provide...
Add a spec demonstrating a custom display adapters container
diff --git a/each_in_batches.gemspec b/each_in_batches.gemspec index abc1234..def5678 100644 --- a/each_in_batches.gemspec +++ b/each_in_batches.gemspec @@ -18,7 +18,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "activerecord", "...
Update all of rails to version 5.2.3
diff --git a/app/workers/discourse_sign_out_worker.rb b/app/workers/discourse_sign_out_worker.rb index abc1234..def5678 100644 --- a/app/workers/discourse_sign_out_worker.rb +++ b/app/workers/discourse_sign_out_worker.rb @@ -4,7 +4,7 @@ def perform(user_id) for_each_tenant(user_id) do |u,t| client(t) do |c...
Rename method of log out action
diff --git a/db/fixtures/development/10_merge_requests.rb b/db/fixtures/development/10_merge_requests.rb index abc1234..def5678 100644 --- a/db/fixtures/development/10_merge_requests.rb +++ b/db/fixtures/development/10_merge_requests.rb @@ -20,4 +20,22 @@ print '.' end end + + project = Project.find_with...
Add predictable merge requests on dev seed.
diff --git a/lib/capistrano-scrip/ruby/rails.rb b/lib/capistrano-scrip/ruby/rails.rb index abc1234..def5678 100644 --- a/lib/capistrano-scrip/ruby/rails.rb +++ b/lib/capistrano-scrip/ruby/rails.rb @@ -6,11 +6,20 @@ db_seed start end + task :db_setup, :roles => :app do run "cd #{current_pat...
Create database/config.yml symlink before deploy:finelize_update in ruby/rails recipe
diff --git a/lib/cassandrb/model/persistence.rb b/lib/cassandrb/model/persistence.rb index abc1234..def5678 100644 --- a/lib/cassandrb/model/persistence.rb +++ b/lib/cassandrb/model/persistence.rb @@ -7,7 +7,7 @@ module InstanceMethods def save(*args) - self.key= SimpleUUID::UUID.new.to_s unle...
Define key if not defined
diff --git a/attributes/intellij_community_edition.rb b/attributes/intellij_community_edition.rb index abc1234..def5678 100644 --- a/attributes/intellij_community_edition.rb +++ b/attributes/intellij_community_edition.rb @@ -1,10 +1,10 @@ case node[:platform] when "centos", "redhat", "debian", "ubuntu" - default['int...
Update default community version to 14.1.3
diff --git a/lib/fluent/plugin/out_sumologic.rb b/lib/fluent/plugin/out_sumologic.rb index abc1234..def5678 100644 --- a/lib/fluent/plugin/out_sumologic.rb +++ b/lib/fluent/plugin/out_sumologic.rb @@ -5,9 +5,9 @@ class Fluent::SumologicOutput< Fluent::BufferedOutput Fluent::Plugin.register_output('sumologic', self) ...
Change defaults from ancestral elasticsearch settings
diff --git a/lib/puppet/provider/aws_vpc/api.rb b/lib/puppet/provider/aws_vpc/api.rb index abc1234..def5678 100644 --- a/lib/puppet/provider/aws_vpc/api.rb +++ b/lib/puppet/provider/aws_vpc/api.rb @@ -20,7 +20,11 @@ end end.flatten end - + [:cidr, :region, :dhcp_options_id, :instance_tenancy].each do |ro...
Fix trying to set things
diff --git a/lib/rack/access-control-headers.rb b/lib/rack/access-control-headers.rb index abc1234..def5678 100644 --- a/lib/rack/access-control-headers.rb +++ b/lib/rack/access-control-headers.rb @@ -11,7 +11,7 @@ if env["PATH_INFO"].match @path response[1]["Access-Control-Allow-Origin"] = @origin ...
Remove ActiveSupport::TimeWithZone depedancy for compatability with more Rack apps
diff --git a/lib/requirejs_optimizer/railtie.rb b/lib/requirejs_optimizer/railtie.rb index abc1234..def5678 100644 --- a/lib/requirejs_optimizer/railtie.rb +++ b/lib/requirejs_optimizer/railtie.rb @@ -11,9 +11,7 @@ config.before_initialize do Rails.application.config.assets.compress = false - end - config....
Add assets to the precompile list in `before_initialize`