diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/controllers/admin_request_controller_spec.rb b/spec/controllers/admin_request_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/admin_request_controller_spec.rb
+++ b/spec/controllers/admin_request_controller_spec.rb
@@ -0,0 +1,17 @@+require File.expand_path(File.dirname(__FILE__... | Add spec for generate_upload_url override.
|
diff --git a/wallpapering.gemspec b/wallpapering.gemspec
index abc1234..def5678 100644
--- a/wallpapering.gemspec
+++ b/wallpapering.gemspec
@@ -18,4 +18,5 @@ gem.require_paths = ["lib"]
gem.add_development_dependency "rspec"
+ gem.add_development_dependency "rake"
end
| Add rake to the bundle for travis
|
diff --git a/test/controllers/static_pages_controller_test.rb b/test/controllers/static_pages_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/static_pages_controller_test.rb
+++ b/test/controllers/static_pages_controller_test.rb
@@ -11,4 +11,9 @@ assert_response :success
end
+ test "sh... | Add the test for About page
|
diff --git a/core/features/support/paths.rb b/core/features/support/paths.rb
index abc1234..def5678 100644
--- a/core/features/support/paths.rb
+++ b/core/features/support/paths.rb
@@ -1,11 +1,5 @@ module NavigationHelpers
- class RoutesProxy
- include Rails.application.routes.url_helpers
- end
-
- def spree_core... | [core] Include Spree::Core::Engine.routes.url_helpers rather than use custom RoutesProxy
|
diff --git a/backend/spec/features/admin/configuration/countries_spec.rb b/backend/spec/features/admin/configuration/countries_spec.rb
index abc1234..def5678 100644
--- a/backend/spec/features/admin/configuration/countries_spec.rb
+++ b/backend/spec/features/admin/configuration/countries_spec.rb
@@ -1,10 +1,10 @@ requi... | Fix bad admin country spec.
Wasn't actually testing anything before.
|
diff --git a/core/app/controllers/users/setup_controller.rb b/core/app/controllers/users/setup_controller.rb
index abc1234..def5678 100644
--- a/core/app/controllers/users/setup_controller.rb
+++ b/core/app/controllers/users/setup_controller.rb
@@ -20,11 +20,11 @@
@user = interactor(:'accounts/setup', user: curre... | Check if the user still has changed records (save failed) instead of whether it has errors per @markijbema
|
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/events_controller.rb
+++ b/app/controllers/events_controller.rb
@@ -6,15 +6,7 @@ respond_to :html, :json, :js
def index
- ap @user.subscribed_channels
- ap @user.subs... | Revert "Added debugging calls to the events controller"
This reverts commit 2bb44728bb179f4f95242b01464402e10a2f2d98.
|
diff --git a/db/migrate/20141106195819_create_batch_jobs.rb b/db/migrate/20141106195819_create_batch_jobs.rb
index abc1234..def5678 100644
--- a/db/migrate/20141106195819_create_batch_jobs.rb
+++ b/db/migrate/20141106195819_create_batch_jobs.rb
@@ -1,12 +1,12 @@ class CreateBatchJobs < ActiveRecord::Migration
def ch... | Set different order of columns created for batch_jobs to hopefully ease ability of importing data from legacy database
|
diff --git a/db/migrations/015_add_amount_paid_to_orders.rb b/db/migrations/015_add_amount_paid_to_orders.rb
index abc1234..def5678 100644
--- a/db/migrations/015_add_amount_paid_to_orders.rb
+++ b/db/migrations/015_add_amount_paid_to_orders.rb
@@ -1,7 +1,7 @@ Sequel.migration do
up do
- add_column :orders, :am... | Fix bug 'Unsupported ruby class used as database type: Bignum'
|
diff --git a/app/helpers/application_helper/button/cloud_volume_new.rb b/app/helpers/application_helper/button/cloud_volume_new.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper/button/cloud_volume_new.rb
+++ b/app/helpers/application_helper/button/cloud_volume_new.rb
@@ -13,8 +13,7 @@ # disable b... | Fix CloudVolume constantization issues by using try/safe_constantize
|
diff --git a/spec/support/matchers/flash_message_matchers.rb b/spec/support/matchers/flash_message_matchers.rb
index abc1234..def5678 100644
--- a/spec/support/matchers/flash_message_matchers.rb
+++ b/spec/support/matchers/flash_message_matchers.rb
@@ -0,0 +1,31 @@+RSpec::Matchers.define :have_flash_message do |message... | Add RSpec matchers for flash messages
|
diff --git a/watirspec.rake b/watirspec.rake
index abc1234..def5678 100644
--- a/watirspec.rake
+++ b/watirspec.rake
@@ -1,9 +1,9 @@ begin
- require 'spec'
+ require 'rspec'
rescue LoadError
begin
require 'rubygems'
- require 'spec'
+ require 'rspec'
rescue LoadError
puts <<-EOS
To use ... | Fix the rakefile for RSpec 2.
|
diff --git a/db/migrate/20220716230622_add_unique_index_to_user_email.rb b/db/migrate/20220716230622_add_unique_index_to_user_email.rb
index abc1234..def5678 100644
--- a/db/migrate/20220716230622_add_unique_index_to_user_email.rb
+++ b/db/migrate/20220716230622_add_unique_index_to_user_email.rb
@@ -0,0 +1,12 @@+class ... | Revert "Removing migration that failed on live"
This reverts commit cca0269c7bb5ebbc0122b1e0a3777d46927686f3.
|
diff --git a/ruby/gps2_2.rb b/ruby/gps2_2.rb
index abc1234..def5678 100644
--- a/ruby/gps2_2.rb
+++ b/ruby/gps2_2.rb
@@ -0,0 +1,29 @@+# Method to create a list
+# create an empty hash
+# input: string of items separated by spaces (example: "carrots apples cereal pizza")
+# steps:
+ # separate the string into individu... | Update gps file with pseudocode
|
diff --git a/lib/heroku/deploy/tasks/stash_git_changes.rb b/lib/heroku/deploy/tasks/stash_git_changes.rb
index abc1234..def5678 100644
--- a/lib/heroku/deploy/tasks/stash_git_changes.rb
+++ b/lib/heroku/deploy/tasks/stash_git_changes.rb
@@ -25,6 +25,10 @@ matched_stash = stashes.split("\n").find { |x| x.match @... | Clean the checked out directory before re-applying stashed changes.
|
diff --git a/app/helpers/host_aggregate_helper/textual_summary.rb b/app/helpers/host_aggregate_helper/textual_summary.rb
index abc1234..def5678 100644
--- a/app/helpers/host_aggregate_helper/textual_summary.rb
+++ b/app/helpers/host_aggregate_helper/textual_summary.rb
@@ -16,7 +16,7 @@ def textual_hosts
num = ... | Fix rubocop warnings in HostAggregateHelper::TextualSummary
|
diff --git a/db/migrate/20090721135542_update_all_stream_items.rb b/db/migrate/20090721135542_update_all_stream_items.rb
index abc1234..def5678 100644
--- a/db/migrate/20090721135542_update_all_stream_items.rb
+++ b/db/migrate/20090721135542_update_all_stream_items.rb
@@ -6,7 +6,7 @@ if defined?(Recipe)
... | Fix migration when Publicaiton is not defined.
|
diff --git a/db/migrate/20101108134714_add_generation_to_stops.rb b/db/migrate/20101108134714_add_generation_to_stops.rb
index abc1234..def5678 100644
--- a/db/migrate/20101108134714_add_generation_to_stops.rb
+++ b/db/migrate/20101108134714_add_generation_to_stops.rb
@@ -5,6 +5,7 @@ end
def self.down
- remov... | Fix down method to match up.
|
diff --git a/spec/controllers/heartbeat_controller_spec.rb b/spec/controllers/heartbeat_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/heartbeat_controller_spec.rb
+++ b/spec/controllers/heartbeat_controller_spec.rb
@@ -2,19 +2,19 @@
RSpec.describe HeartbeatController, type: :controller do
... | Rephrase the test description and expectations
|
diff --git a/spec/lib/delta_test/cli/specs_command_spec.rb b/spec/lib/delta_test/cli/specs_command_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/delta_test/cli/specs_command_spec.rb
+++ b/spec/lib/delta_test/cli/specs_command_spec.rb
@@ -1,5 +1,59 @@ require 'delta_test/cli/specs_command'
+require 'delta_test/re... | Write specs for specs command
|
diff --git a/spec/dummy/db/migrate/20130430210842_create_users.rb b/spec/dummy/db/migrate/20130430210842_create_users.rb
index abc1234..def5678 100644
--- a/spec/dummy/db/migrate/20130430210842_create_users.rb
+++ b/spec/dummy/db/migrate/20130430210842_create_users.rb
@@ -2,10 +2,11 @@ class CreateUsers < ActiveRecord:... | Add an index to the demo app users.name
|
diff --git a/spec/system/drivers/editing_incidents_spec.rb b/spec/system/drivers/editing_incidents_spec.rb
index abc1234..def5678 100644
--- a/spec/system/drivers/editing_incidents_spec.rb
+++ b/spec/system/drivers/editing_incidents_spec.rb
@@ -3,10 +3,17 @@ require 'spec_helper'
describe 'editing incidents as a dri... | Remove dup tests (already in create), fill out issue scenario
|
diff --git a/spec/builder_examples.rb b/spec/builder_examples.rb
index abc1234..def5678 100644
--- a/spec/builder_examples.rb
+++ b/spec/builder_examples.rb
@@ -1,4 +1,5 @@ require 'spec_helper'
+require 'helpers/text'
require 'helpers/wordlist'
shared_examples_for "a wordlist Builder" do
@@ -6,7 +7,7 @@ @words... | Use the text/ helper constants.
|
diff --git a/spec/models/list_spec.rb b/spec/models/list_spec.rb
index abc1234..def5678 100644
--- a/spec/models/list_spec.rb
+++ b/spec/models/list_spec.rb
@@ -15,4 +15,13 @@ expect(@list.tasks.size).to eq(1)
end
+ it "defaults to incomplete" do
+ expect(@list.incomplete?).to eq(true)
+ end
+
+ it "can ... | Add status to list specs.
|
diff --git a/app/jobs/build_part_job.rb b/app/jobs/build_part_job.rb
index abc1234..def5678 100644
--- a/app/jobs/build_part_job.rb
+++ b/app/jobs/build_part_job.rb
@@ -1,3 +1,5 @@+require 'webrick'
+
class BuildPartJob < JobBase
attr_reader :build_part_result, :build_part, :build
@@ -11,12 +13,13 @@ build_pa... | Add some pseudo-live artifact output
|
diff --git a/data.thor b/data.thor
index abc1234..def5678 100644
--- a/data.thor
+++ b/data.thor
@@ -23,10 +23,6 @@ end
# Fix keys with periods; they are not valid as BSON keys.
- #doc_xml = doc_xml.gsub("j:LocationStateCode.USPostalService","j:LocationStateCode_USPostalService")
- #doc_xml = d... | Use Nori's built-in key transformations.
|
diff --git a/java/buildJavaProject.rb b/java/buildJavaProject.rb
index abc1234..def5678 100644
--- a/java/buildJavaProject.rb
+++ b/java/buildJavaProject.rb
@@ -5,3 +5,10 @@ system 'mkdir -p ./bin'
system 'javac -cp `echo $CLASSPATH`:./bin -d bin `find . -name "*.java"`'
+# Copy resource files
+resource_output = `fi... | Copy resource files in buildjavaproject.rb
|
diff --git a/app/models/message_task.rb b/app/models/message_task.rb
index abc1234..def5678 100644
--- a/app/models/message_task.rb
+++ b/app/models/message_task.rb
@@ -4,8 +4,8 @@
PERMITTED_ATTRIBUTES = [:body, {participant_ids: []}]
- has_many :comments, inverse_of: :message_task, foreign_key: 'task_id'
- has... | Add dependent: :destroy to message task stuff.
|
diff --git a/app/models/neighborhood.rb b/app/models/neighborhood.rb
index abc1234..def5678 100644
--- a/app/models/neighborhood.rb
+++ b/app/models/neighborhood.rb
@@ -14,13 +14,14 @@ return @addresses if @addresses.present?
uri = address_source_uri
+ puts "Querying #{uri}"
@addresses = JSON.parse(H... | Fix the Neighborhood API Service Call
|
diff --git a/app/controllers/index.rb b/app/controllers/index.rb
index abc1234..def5678 100644
--- a/app/controllers/index.rb
+++ b/app/controllers/index.rb
@@ -1,5 +1,5 @@ get '/' do
- p "user_id #{session[:user_id]}"
+ p "user_id >> #{session[:user_id]}"
if !session[:user_id]
erb :index
else
| Add user_id report at route to keep track of during build.
|
diff --git a/app/models/system_role.rb b/app/models/system_role.rb
index abc1234..def5678 100644
--- a/app/models/system_role.rb
+++ b/app/models/system_role.rb
@@ -1,6 +1,8 @@ class SystemRole
- BASIC = 'basic'
ADMIN = 'admin'
+ CONVENOR = 'convenor'
+ TUTOR = 'tutor'
+ STUDENT = 'student'
- ROLES = [BASIC, ... | Replace 'BASIC' role with Convenor, Tutor, and Student system roles.
|
diff --git a/ext/ryeppp/extconf.rb b/ext/ryeppp/extconf.rb
index abc1234..def5678 100644
--- a/ext/ryeppp/extconf.rb
+++ b/ext/ryeppp/extconf.rb
@@ -19,5 +19,5 @@ if have_library('yeppp')
create_makefile(extension_name)
else
- puts 'No yeppp! support available.'
+ puts 'No Yeppp! support available.'
end
| Fix the capitalization of Yeppp./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config && make && sudo make install
|
diff --git a/emcee.gemspec b/emcee.gemspec
index abc1234..def5678 100644
--- a/emcee.gemspec
+++ b/emcee.gemspec
@@ -22,5 +22,5 @@
s.add_development_dependency "coffee-rails", "~> 4.0"
s.add_development_dependency "sass", "~> 3.0"
- s.add_development_dependency "sqlite3"
+ s.add_development_dependency "sqlite3... | Add version to sqlite3 dependency
|
diff --git a/rubygems-xcodeproj_generator.gemspec b/rubygems-xcodeproj_generator.gemspec
index abc1234..def5678 100644
--- a/rubygems-xcodeproj_generator.gemspec
+++ b/rubygems-xcodeproj_generator.gemspec
@@ -8,10 +8,6 @@ spec.version = Rubygems::XcodeprojGenerator::VERSION
spec.authors = ["Yuji Nakaya... | Remove allowed_push_host definition in gemspec
|
diff --git a/jenkins-capistrano.gemspec b/jenkins-capistrano.gemspec
index abc1234..def5678 100644
--- a/jenkins-capistrano.gemspec
+++ b/jenkins-capistrano.gemspec
@@ -16,7 +16,7 @@ gem.version = Jenkins::Capistrano::VERSION
gem.add_dependency 'capistrano'
- gem.add_dependency 'httparty', '~> 0.6.1'
+ ... | Update httparty version to work around with Psyc
|
diff --git a/app/services/nomis/api.rb b/app/services/nomis/api.rb
index abc1234..def5678 100644
--- a/app/services/nomis/api.rb
+++ b/app/services/nomis/api.rb
@@ -29,8 +29,8 @@ noms_id: noms_id,
date_of_birth: date_of_birth
)
- return nil unless response['found'] == 'true'
- Offender... | Update Nomis client for changed API
|
diff --git a/templates/project/manifest.rb b/templates/project/manifest.rb
index abc1234..def5678 100644
--- a/templates/project/manifest.rb
+++ b/templates/project/manifest.rb
@@ -13,6 +13,6 @@ end
# Javascripts
-%w(alert button carousel collapse dropdown modal popover scrollspy tab tooltip transition typeahead).ea... | Add `affix` to the list of Javascripts |
diff --git a/db/migrate/20110709211132_create_duplicate_tweets.rb b/db/migrate/20110709211132_create_duplicate_tweets.rb
index abc1234..def5678 100644
--- a/db/migrate/20110709211132_create_duplicate_tweets.rb
+++ b/db/migrate/20110709211132_create_duplicate_tweets.rb
@@ -7,7 +7,7 @@ end
add_index :duplicate_t... | Fix typo in add_index line
|
diff --git a/app/helpers/vue_helper.rb b/app/helpers/vue_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/vue_helper.rb
+++ b/app/helpers/vue_helper.rb
@@ -24,7 +24,7 @@
def copy_to_clipboard_button(value)
<<-EOS.html_safe
-<button v-attr="disabled: !#{value}" role="button" class="btn btn-xs btn-defau... | Enable to work copy button
|
diff --git a/puppet-lint-duplicate_class_parameters-check.gemspec b/puppet-lint-duplicate_class_parameters-check.gemspec
index abc1234..def5678 100644
--- a/puppet-lint-duplicate_class_parameters-check.gemspec
+++ b/puppet-lint-duplicate_class_parameters-check.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |spec|
... | Allow puppet-lint 2.0 as a dependency and bump check version
|
diff --git a/app/models/site_banner.rb b/app/models/site_banner.rb
index abc1234..def5678 100644
--- a/app/models/site_banner.rb
+++ b/app/models/site_banner.rb
@@ -8,7 +8,7 @@ belongs_to :publisher
LOGO = "logo".freeze
- LOGO_DIMENSIONS = [148,148]
+ LOGO_DIMENSIONS = [240,240]
LOGO_UNIVERSAL_FILE_SIZE = 2... | Change resolution for publisher's logo to 240x240
|
diff --git a/lib/pragma/decorator/association/reflection.rb b/lib/pragma/decorator/association/reflection.rb
index abc1234..def5678 100644
--- a/lib/pragma/decorator/association/reflection.rb
+++ b/lib/pragma/decorator/association/reflection.rb
@@ -37,18 +37,6 @@ def expandable?
options[:expandable]
... | Remove legacy method from Association::Reflection
|
diff --git a/lib/salesforce_bulk/query_result_collection.rb b/lib/salesforce_bulk/query_result_collection.rb
index abc1234..def5678 100644
--- a/lib/salesforce_bulk/query_result_collection.rb
+++ b/lib/salesforce_bulk/query_result_collection.rb
@@ -0,0 +1,36 @@+module SalesforceBulk
+ class QueryResultCollection < Arr... | Add QueryResultCollection class as this will have to be separate from the BatchResultCollection one since query results can be paginated (or rather in sets).
|
diff --git a/plugins/provisioners/docker/cap/linux/docker_installed.rb b/plugins/provisioners/docker/cap/linux/docker_installed.rb
index abc1234..def5678 100644
--- a/plugins/provisioners/docker/cap/linux/docker_installed.rb
+++ b/plugins/provisioners/docker/cap/linux/docker_installed.rb
@@ -5,6 +5,7 @@ module ... | Add /bin/docker to path list for installation verification
|
diff --git a/spec/dummy/app/controllers/application_controller.rb b/spec/dummy/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/spec/dummy/app/controllers/application_controller.rb
+++ b/spec/dummy/app/controllers/application_controller.rb
@@ -1,8 +1,14 @@ class ApplicationController < Acti... | Change conditional use of before_filter to suit Rails 3.2
|
diff --git a/spec/ruby-progressbar/calculators/length_calculator_spec.rb b/spec/ruby-progressbar/calculators/length_calculator_spec.rb
index abc1234..def5678 100644
--- a/spec/ruby-progressbar/calculators/length_calculator_spec.rb
+++ b/spec/ruby-progressbar/calculators/length_calculator_spec.rb
@@ -4,6 +4,7 @@ class ... | Tests: Fix length calculator tests on < 1.9.3
|
diff --git a/cookbooks/duckpan/recipes/default.rb b/cookbooks/duckpan/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/duckpan/recipes/default.rb
+++ b/cookbooks/duckpan/recipes/default.rb
@@ -6,6 +6,6 @@ include_recipe 'perl'
include_recipe 'git'
-bash 'download and install duckpan' do
- code ::Fi... | Remove cookbooks other than duckpan
|
diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/calendars_controller.rb
+++ b/app/controllers/calendars_controller.rb
@@ -1,9 +1,8 @@ #encoding: utf-8
class CalendarsController < ApplicationController
+ before_action :r... | Move checking for the route to a before_filter
|
diff --git a/app/controllers/employees_controller.rb b/app/controllers/employees_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/employees_controller.rb
+++ b/app/controllers/employees_controller.rb
@@ -8,12 +8,17 @@
def create
@employee = Employee.new(employee_params)
- @employee.save
+ ... | Update create action for employee
|
diff --git a/lib/autotest/discover.rb b/lib/autotest/discover.rb
index abc1234..def5678 100644
--- a/lib/autotest/discover.rb
+++ b/lib/autotest/discover.rb
@@ -1,3 +1,9 @@ Autotest.add_discovery do
- "cucumber" if ENV['AUTOFEATURE'] == 'true' && File.directory?('features')
+ if File.directory?('features')
+ if EN... | Add warning when AUTOFEATURE is disabled.
|
diff --git a/lib/avatars_for_rails.rb b/lib/avatars_for_rails.rb
index abc1234..def5678 100644
--- a/lib/avatars_for_rails.rb
+++ b/lib/avatars_for_rails.rb
@@ -12,7 +12,7 @@ mattr_accessor :avatarable_styles
# The tmp path inside public/
mattr_accessor :tmp_path
- @@tmp_path = File.join('images', 'tmp')
+ @@... | Change default tmp file path so it is preserved through deployments
|
diff --git a/spec/integration/performance_spec.rb b/spec/integration/performance_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/performance_spec.rb
+++ b/spec/integration/performance_spec.rb
@@ -3,8 +3,8 @@
describe Text::Table, 'performance' do
it 'is linear relative to row count' do
- base = tim... | Use CPU time in performance test.
|
diff --git a/spec/rails_app/config/application.rb b/spec/rails_app/config/application.rb
index abc1234..def5678 100644
--- a/spec/rails_app/config/application.rb
+++ b/spec/rails_app/config/application.rb
@@ -10,6 +10,10 @@ config.eager_load = true
config.root = File.expand_path('../../.', __FILE__)
conf... | Remove a deprecation warning on Rails 5.2
|
diff --git a/app/models/spree/log_entry_decorator.rb b/app/models/spree/log_entry_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/log_entry_decorator.rb
+++ b/app/models/spree/log_entry_decorator.rb
@@ -0,0 +1,12 @@+# workaround for issue https://github.com/spree/spree/issues/1767
+# based on http://s... | Add workaround to save failed LogEntries
|
diff --git a/app/resources/shopping/cart_resource.rb b/app/resources/shopping/cart_resource.rb
index abc1234..def5678 100644
--- a/app/resources/shopping/cart_resource.rb
+++ b/app/resources/shopping/cart_resource.rb
@@ -1,18 +1,18 @@ module Shopping
class CartResource < JSONAPI::Resource
model_name 'Shopping::... | Add meta to cart resource
|
diff --git a/week-6/nested_data_solution.rb b/week-6/nested_data_solution.rb
index abc1234..def5678 100644
--- a/week-6/nested_data_solution.rb
+++ b/week-6/nested_data_solution.rb
@@ -0,0 +1,94 @@+# RELEASE 2: NESTED STRUCTURE GOLF
+# Hole 1
+# Target element: "FORE"
+
+array = [[1,2], ["inner", ["eagle", "par", ["FOR... | Add solution for nested data
|
diff --git a/app/services/atmosphere/vmt_migrator.rb b/app/services/atmosphere/vmt_migrator.rb
index abc1234..def5678 100644
--- a/app/services/atmosphere/vmt_migrator.rb
+++ b/app/services/atmosphere/vmt_migrator.rb
@@ -10,7 +10,7 @@ @destination_compute_site = destination_compute_site
end
- def select... | Fix due to comments, add suffix, use if non-null
|
diff --git a/app/uploaders/pulitzer/base_uploader.rb b/app/uploaders/pulitzer/base_uploader.rb
index abc1234..def5678 100644
--- a/app/uploaders/pulitzer/base_uploader.rb
+++ b/app/uploaders/pulitzer/base_uploader.rb
@@ -1,6 +1,5 @@ class Pulitzer::BaseUploader < CarrierWave::Uploader::Base
include CarrierWave::Mini... | Remove local storage and inherit Carrierwave config |
diff --git a/hutch.gemspec b/hutch.gemspec
index abc1234..def5678 100644
--- a/hutch.gemspec
+++ b/hutch.gemspec
@@ -6,7 +6,7 @@ gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
else
gem.platform = Gem::Platform::RUBY
- gem.add_runtime_dependency 'bunny', '~> 2.9.0'
+ gem.add_runtime_dependency 'bu... | Update bunny requirement to >= 2.9, < 2.11
Updates the requirements on [bunny](https://github.com/ruby-amqp/bunny) to permit the latest version.
- [Release notes](https://github.com/ruby-amqp/bunny/releases)
- [Changelog](https://github.com/ruby-amqp/bunny/blob/master/ChangeLog.md)
- [Commits](https://github.com/ruby-... |
diff --git a/gluttonberg/config/init.rb b/gluttonberg/config/init.rb
index abc1234..def5678 100644
--- a/gluttonberg/config/init.rb
+++ b/gluttonberg/config/init.rb
@@ -13,6 +13,8 @@ c[:session_store] = 'cookie'
end
+DataObjects::Sqlite3.logger = DataMapper::Logger.new(STDOUT, :debug)
+
Merb::BootLoader.before_ap... | Add debug logger for Sqlite3
|
diff --git a/app/controllers/ab_tests/explore_menu_ab_testable.rb b/app/controllers/ab_tests/explore_menu_ab_testable.rb
index abc1234..def5678 100644
--- a/app/controllers/ab_tests/explore_menu_ab_testable.rb
+++ b/app/controllers/ab_tests/explore_menu_ab_testable.rb
@@ -0,0 +1,26 @@+module AbTests::ExploreMenuAbTesta... | Add ExploreMenuABTestable AB Test code
For the controllers choose a different template from Static that includes the new header if users are in the B variant.
|
diff --git a/hotch.gemspec b/hotch.gemspec
index abc1234..def5678 100644
--- a/hotch.gemspec
+++ b/hotch.gemspec
@@ -22,5 +22,5 @@ spec.add_runtime_dependency "allocation_tracer", "~> 0.6.3"
spec.add_development_dependency "bundler"
- spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dep... | Upgrade development dependency rake to 12.3.3
|
diff --git a/lib/generators/delayed_job/templates/migration.rb b/lib/generators/delayed_job/templates/migration.rb
index abc1234..def5678 100644
--- a/lib/generators/delayed_job/templates/migration.rb
+++ b/lib/generators/delayed_job/templates/migration.rb
@@ -1,15 +1,15 @@ class CreateDelayedJobs < ActiveRecord::Migra... | Improve data integrity of database table
* Add `:null => false` constraint to `priority`, `attempts`, and
`handler`.
* Re-align comments in a column.
|
diff --git a/api/app/controllers/spree/api/zones_controller.rb b/api/app/controllers/spree/api/zones_controller.rb
index abc1234..def5678 100644
--- a/api/app/controllers/spree/api/zones_controller.rb
+++ b/api/app/controllers/spree/api/zones_controller.rb
@@ -4,7 +4,7 @@
def create
authorize! :create,... | Move nested attribute logic into zone_params
|
diff --git a/lib/sass/tree/if_node.rb b/lib/sass/tree/if_node.rb
index abc1234..def5678 100644
--- a/lib/sass/tree/if_node.rb
+++ b/lib/sass/tree/if_node.rb
@@ -1,15 +1,32 @@ require 'sass/tree/node'
module Sass::Tree
+ # A dynamic node representing a Sass `@if` statement.
+ #
+ # {IfNode}s are a little odd, in t... | [Sass] Convert Sass::Tree::IfNode docs to YARD.
|
diff --git a/Typhoon.podspec b/Typhoon.podspec
index abc1234..def5678 100644
--- a/Typhoon.podspec
+++ b/Typhoon.podspec
@@ -5,7 +5,7 @@ spec.summary = 'A dependency injection container for Objective-C. Light-weight, yet flexible and full-featured.'
spec.homepage = 'http://www.typhoonframework.org'
... | Remove duplication of version and tag in podspec.
Tag is now assumed equal to the version.
|
diff --git a/app/views/taverna_player/runs/new.json.jbuilder b/app/views/taverna_player/runs/new.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/taverna_player/runs/new.json.jbuilder
+++ b/app/views/taverna_player/runs/new.json.jbuilder
@@ -0,0 +1,13 @@+workflow_title = TavernaPlayer.workflow_proxy.title(@w... | Improve the new run JSON document.
Now gives fields to be filled in for inputs as well.
|
diff --git a/vmdb/spec/support/automation_example_group.rb b/vmdb/spec/support/automation_example_group.rb
index abc1234..def5678 100644
--- a/vmdb/spec/support/automation_example_group.rb
+++ b/vmdb/spec/support/automation_example_group.rb
@@ -1,16 +1,27 @@ module AutomationExampleGroup
extend ActiveSupport::Concer... | Change automation examples to use before(:suite) instead of before(:all)
The usage of :all was a bug as :suite was the intention all along.
This drops the test:automation suite from 32 seconds to 14 seconds.
|
diff --git a/spec/factories/routes.rb b/spec/factories/routes.rb
index abc1234..def5678 100644
--- a/spec/factories/routes.rb
+++ b/spec/factories/routes.rb
@@ -1,6 +1,6 @@ FactoryBot.define do
factory :route do
- sequence(:number){ |n| "Route #{n}" }
+ sequence :number
description 'route description'
... | Remove 'route' from route number
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -5,4 +5,9 @@ it { should validate_presence_of(:first_name) }
it { should validate_presence_of(:last_name) }
it { should validate_presence_of(:email) }
+... | Add test for user class method
|
diff --git a/app/scoring_classes/artistic_scoring_class_2019.rb b/app/scoring_classes/artistic_scoring_class_2019.rb
index abc1234..def5678 100644
--- a/app/scoring_classes/artistic_scoring_class_2019.rb
+++ b/app/scoring_classes/artistic_scoring_class_2019.rb
@@ -1,4 +1,4 @@-class ArtisticScoringClass_2017 < BaseScori... | Fix name of scoring class
|
diff --git a/jobs/sendgrid-email-reputation.rb b/jobs/sendgrid-email-reputation.rb
index abc1234..def5678 100644
--- a/jobs/sendgrid-email-reputation.rb
+++ b/jobs/sendgrid-email-reputation.rb
@@ -0,0 +1,17 @@+require 'mechanize'
+current_rep = 0.0
+# :first_in sets how long it takes before the job is first run.
+# In ... | Add the initial prototype code
This has been split out from the code for my personal dashboard. It's
still a little rough around the edges.
|
diff --git a/app/views/api/v1/notifications/index.json.jbuilder b/app/views/api/v1/notifications/index.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/api/v1/notifications/index.json.jbuilder
+++ b/app/views/api/v1/notifications/index.json.jbuilder
@@ -1,5 +1,4 @@ json.partial! 'api/v1/shared/page_meta', co... | Fix notification url not generated properly
|
diff --git a/spec/kepler_processor/monkey_patches_spec.rb b/spec/kepler_processor/monkey_patches_spec.rb
index abc1234..def5678 100644
--- a/spec/kepler_processor/monkey_patches_spec.rb
+++ b/spec/kepler_processor/monkey_patches_spec.rb
@@ -1,9 +1,33 @@ require 'spec_helper'
describe Array do
- pending "write it"
+... | Add test coverage of monkey patches |
diff --git a/app/controllers/exercise_submissions_controller.rb b/app/controllers/exercise_submissions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/exercise_submissions_controller.rb
+++ b/app/controllers/exercise_submissions_controller.rb
@@ -32,7 +32,7 @@
def set_previous_submission_content
... | Fix previous submission content logic
|
diff --git a/skin/frontend/waterlee-boilerplate/default/config.rb b/skin/frontend/waterlee-boilerplate/default/config.rb
index abc1234..def5678 100644
--- a/skin/frontend/waterlee-boilerplate/default/config.rb
+++ b/skin/frontend/waterlee-boilerplate/default/config.rb
@@ -1,4 +1,4 @@-add_import_path "bower_components/f... | Fix small typo causing compass to fail
|
diff --git a/rest-client.gemspec b/rest-client.gemspec
index abc1234..def5678 100644
--- a/rest-client.gemspec
+++ b/rest-client.gemspec
@@ -2,8 +2,8 @@
Gem::Specification.new do |s|
s.name = 'rest-client'
- s.version = '1.6.7'
- s.authors = ['Adam Wiggins', 'Julien Kirch']
+ s.version = '1.7.0.alpha'
+ s.auth... | Update gemspec version and author
1.7.0.alpha (for now) and "REST Client Team"
|
diff --git a/test/stripe/errors_test.rb b/test/stripe/errors_test.rb
index abc1234..def5678 100644
--- a/test/stripe/errors_test.rb
+++ b/test/stripe/errors_test.rb
@@ -0,0 +1,18 @@+require File.expand_path('../../test_helper', __FILE__)
+
+module Stripe
+ class StripeErrorTest < Test::Unit::TestCase
+ context "#to... | Add basic test for errors
Just adds a super simplistic test for the errors module. The win here is
to (hopefully) lower the friction a little bit the next time a feature
is introduced into errors because there's now suite where a new test can
be written.
|
diff --git a/minitest-context.gemspec b/minitest-context.gemspec
index abc1234..def5678 100644
--- a/minitest-context.gemspec
+++ b/minitest-context.gemspec
@@ -16,5 +16,6 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_runtime_dependency "m... | Add rake as a development dependency.
|
diff --git a/RECurtainViewController.podspec b/RECurtainViewController.podspec
index abc1234..def5678 100644
--- a/RECurtainViewController.podspec
+++ b/RECurtainViewController.podspec
@@ -7,8 +7,10 @@ s.source = {:git => 'https://github.com/romaonthego/RECurtainViewController.git', :tag => '1.0'}
s.license = {:ty... | Add QuartzCore framework to podspec
|
diff --git a/config/initializers/attachment_cache.rb b/config/initializers/attachment_cache.rb
index abc1234..def5678 100644
--- a/config/initializers/attachment_cache.rb
+++ b/config/initializers/attachment_cache.rb
@@ -1,5 +1 @@-Whitehall::Uploader::AttachmentCache.default_root_directory = if Rails.env.production?
- ... | Use same location for attachment cache on all environments.
The folder /mnt/apps/whitehall-admin/attachment-cache isn't writable
on staging or production, so the location needed to change. Instead
of configuring this within the app, we are instead symlinking a set
location (<app-root>/attachment-cache) on deployment.... |
diff --git a/lib/app/helpers/session_helper.rb b/lib/app/helpers/session_helper.rb
index abc1234..def5678 100644
--- a/lib/app/helpers/session_helper.rb
+++ b/lib/app/helpers/session_helper.rb
@@ -10,7 +10,7 @@ def login_url(return_path = nil)
url = Github.login_url
if return_path
- url << "&re... | Remove double-http in github login redirect
|
diff --git a/app_template.rb b/app_template.rb
index abc1234..def5678 100644
--- a/app_template.rb
+++ b/app_template.rb
@@ -11,6 +11,15 @@ end
+def configure_react(environment)
+ insert_into_file("config/environments/#{environment}.rb",
+ "\n" +
+ " config.react.variant = :#{environment}\n" +
+ " confi... | Configure react when creating new application
|
diff --git a/core/app/models/spree/asset/support/active_storage.rb b/core/app/models/spree/asset/support/active_storage.rb
index abc1234..def5678 100644
--- a/core/app/models/spree/asset/support/active_storage.rb
+++ b/core/app/models/spree/asset/support/active_storage.rb
@@ -16,7 +16,7 @@ end
de... | Make the generated url contain a valid resize attribute when invalid style
|
diff --git a/rb/spec/integration/selenium/webdriver/mouse_spec.rb b/rb/spec/integration/selenium/webdriver/mouse_spec.rb
index abc1234..def5678 100644
--- a/rb/spec/integration/selenium/webdriver/mouse_spec.rb
+++ b/rb/spec/integration/selenium/webdriver/mouse_spec.rb
@@ -25,9 +25,7 @@ text = droppable.find_e... | JariBakken: Enable double/context click specs for IE.
git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@13526 07704840-8298-11de-bf8c-fd130f914ac9
|
diff --git a/lib/draisine/conflict_detector.rb b/lib/draisine/conflict_detector.rb
index abc1234..def5678 100644
--- a/lib/draisine/conflict_detector.rb
+++ b/lib/draisine/conflict_detector.rb
@@ -30,7 +30,7 @@ def diff
return unless model && remote_model
- @diff ||= HashDiff.diff(
+ @diff ||= Ha... | Use sf_diff instead of normal diff in conflict detection routine
|
diff --git a/spec/models/hero_spec.rb b/spec/models/hero_spec.rb
index abc1234..def5678 100644
--- a/spec/models/hero_spec.rb
+++ b/spec/models/hero_spec.rb
@@ -4,9 +4,7 @@ describe "Validations" do
subject { Factory(:hero) }
- it { should validate_uniqueness_of :email }
it { should validate_uniquenes... | Remove validations from the spec |
diff --git a/spec/spec_helper_spec.rb b/spec/spec_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/spec_helper_spec.rb
+++ b/spec/spec_helper_spec.rb
@@ -0,0 +1,13 @@+describe AwesomeSpawn::SpecHelper do
+ describe ".stub_good_run" do
+ it "works" do
+ described_class.stub_good_run
+ end
+ end
+
+ ... | Add failing spec to display issues with the spec helper methods
|
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
@@ -30,8 +30,9 @@ # test javascript
config.assets.paths << Rails.root.join('test', 'javascripts')
- # LiveReload
- ... | Add host config for LiveReload
|
diff --git a/shaq_overflow/app/controllers/votes_controller.rb b/shaq_overflow/app/controllers/votes_controller.rb
index abc1234..def5678 100644
--- a/shaq_overflow/app/controllers/votes_controller.rb
+++ b/shaq_overflow/app/controllers/votes_controller.rb
@@ -2,11 +2,18 @@
def create
if request.xhr?
- vo... | Add conditional logic for up and down votes
|
diff --git a/encrypted_strings.gemspec b/encrypted_strings.gemspec
index abc1234..def5678 100644
--- a/encrypted_strings.gemspec
+++ b/encrypted_strings.gemspec
@@ -14,4 +14,6 @@ s.test_files = `git ls-files -- test/*`.split("\n")
s.rdoc_options = %w(--line-numbers --inline-source --title encrypted_str... | Add missing dependencies to gemspec
|
diff --git a/lib/merb_relaxdb/connection.rb b/lib/merb_relaxdb/connection.rb
index abc1234..def5678 100644
--- a/lib/merb_relaxdb/connection.rb
+++ b/lib/merb_relaxdb/connection.rb
@@ -7,12 +7,11 @@ class << self
def connect
- set_database
begin
+ set_database
::Re... | Configure RelaxDB to use the Merb logger
|
diff --git a/spec/unit/memoizable/module_methods/included_spec.rb b/spec/unit/memoizable/module_methods/included_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/memoizable/module_methods/included_spec.rb
+++ b/spec/unit/memoizable/module_methods/included_spec.rb
@@ -11,7 +11,7 @@
before do
# Prevent Modu... | Change stub usage to allow in specs
|
diff --git a/lib/tasks/database_import.rake b/lib/tasks/database_import.rake
index abc1234..def5678 100644
--- a/lib/tasks/database_import.rake
+++ b/lib/tasks/database_import.rake
@@ -3,8 +3,9 @@ task :import => [:environment, :drop, :create] do
Bundler.with_clean_env do
Tempfile.create('tahi-staging-im... | Allow different target databases for db:import task |
diff --git a/app/controllers/restful_redirect_controller.rb b/app/controllers/restful_redirect_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/restful_redirect_controller.rb
+++ b/app/controllers/restful_redirect_controller.rb
@@ -1,4 +1,6 @@ class RestfulRedirectController < ApplicationController
+ ... | Fix flash message generation on restful redirect controller errors
|
diff --git a/omnibus-software.gemspec b/omnibus-software.gemspec
index abc1234..def5678 100644
--- a/omnibus-software.gemspec
+++ b/omnibus-software.gemspec
@@ -6,8 +6,8 @@ s.name = "omnibus-software"
s.version = OmnibusSoftware::VERSION
s.authors = ["Chef Software, Inc."]
- s.email = ["le... | Remove version pin on chefstyle
We've moved away from pinning chefstyle in chef projects and instead
realized that we should cleanup things as we break them.
Update URLs while I'm in here.
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/overcommit/hook/commit_msg/capitalized_subject.rb b/lib/overcommit/hook/commit_msg/capitalized_subject.rb
index abc1234..def5678 100644
--- a/lib/overcommit/hook/commit_msg/capitalized_subject.rb
+++ b/lib/overcommit/hook/commit_msg/capitalized_subject.rb
@@ -1,5 +1,5 @@ module Overcommit::Hook::Commit... | Fix comment in CapitalizedSubject hook
This was leftover from the hook I copied when creating it.
Change-Id: I3be089503b7eaf90f256d2ce03a10bf8fec7b1f4
Reviewed-on: http://gerrit.causes.com/47740
Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@brigade.com>
Reviewed-by: Joe Lencioni <1dd72cf724deaab5db236f... |
diff --git a/features/support/sauce.rb b/features/support/sauce.rb
index abc1234..def5678 100644
--- a/features/support/sauce.rb
+++ b/features/support/sauce.rb
@@ -8,8 +8,7 @@ Sauce.config do |c|
c[:start_tunnel] = true
- #c[:browsers] = [["Windows 8", "Internet Explorer", "10"]]
- c[:browsers] = [ ["Li... | Remove IE support for now
|
diff --git a/lib/capybara/rspec.rb b/lib/capybara/rspec.rb
index abc1234..def5678 100644
--- a/lib/capybara/rspec.rb
+++ b/lib/capybara/rspec.rb
@@ -17,8 +17,8 @@ end
config.before do |example|
if self.class.include?(Capybara::DSL)
- Capybara.current_driver = Capybara.javascript_driver if ex.metadata[:js... | Correct reference to wrong block variable name
|
diff --git a/lib/sync_checker/formats/document_collection_check.rb b/lib/sync_checker/formats/document_collection_check.rb
index abc1234..def5678 100644
--- a/lib/sync_checker/formats/document_collection_check.rb
+++ b/lib/sync_checker/formats/document_collection_check.rb
@@ -10,7 +10,12 @@ end
def check... | Add TopicalEvents to DocumentCollection sync check
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.