diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/features/support/allow_forgery_protection.rb b/features/support/allow_forgery_protection.rb
index abc1234..def5678 100644
--- a/features/support/allow_forgery_protection.rb
+++ b/features/support/allow_forgery_protection.rb
@@ -0,0 +1,3 @@+# Don't disable request forgery protection for features. We want to... | Enable request forgery protection for features
Bulk edit without js has been broken for a few months due to a missing
authenticity_token, and we didn't notice. This change will mean that
features should fail if we do this again.
|
diff --git a/lib/analytics/scripts/usernames_to_csv.rb b/lib/analytics/scripts/usernames_to_csv.rb
index abc1234..def5678 100644
--- a/lib/analytics/scripts/usernames_to_csv.rb
+++ b/lib/analytics/scripts/usernames_to_csv.rb
@@ -3,9 +3,19 @@
require 'csv'
+# all the usernames
usernames = User.joins(:courses_users)... | Document a script for creating student username CSVs by cohort
|
diff --git a/repo_man.gemspec b/repo_man.gemspec
index abc1234..def5678 100644
--- a/repo_man.gemspec
+++ b/repo_man.gemspec
@@ -10,7 +10,7 @@ spec.email = ["brook@codefellows.org"]
spec.summary = %q{Keep the repos under one roof.}
spec.description = %q{Track all the repos for a GitHub user from... | Update homepage to repository URL.
|
diff --git a/plugins/providers/hyperv/action/package_vagrantfile.rb b/plugins/providers/hyperv/action/package_vagrantfile.rb
index abc1234..def5678 100644
--- a/plugins/providers/hyperv/action/package_vagrantfile.rb
+++ b/plugins/providers/hyperv/action/package_vagrantfile.rb
@@ -22,8 +22,9 @@ # have to worry a... | Fix getting mac address from the driver.
|
diff --git a/lib/rubocop/cop/performance/fixed_size.rb b/lib/rubocop/cop/performance/fixed_size.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/performance/fixed_size.rb
+++ b/lib/rubocop/cop/performance/fixed_size.rb
@@ -7,21 +7,22 @@ # Do not compute the size of statically sized objects.
class Fix... | Modify FixedSize to use NodePattern
|
diff --git a/neo4apis-activerecord.gemspec b/neo4apis-activerecord.gemspec
index abc1234..def5678 100644
--- a/neo4apis-activerecord.gemspec
+++ b/neo4apis-activerecord.gemspec
@@ -3,7 +3,7 @@
Gem::Specification.new do |s|
s.name = 'neo4apis-activerecord'
- s.version = '0.4.1'
+ s.version = '0.5.0'
s.re... | Update dependency on neo4apis and bump minor version because it's easier
|
diff --git a/lib/critical_juncture/map/map_bookmarking.rb b/lib/critical_juncture/map/map_bookmarking.rb
index abc1234..def5678 100644
--- a/lib/critical_juncture/map/map_bookmarking.rb
+++ b/lib/critical_juncture/map/map_bookmarking.rb
@@ -1,4 +1,4 @@-module CloudKicker
+module Cloudkicker
module MapBookmarking
... | Fix module name so it loads correctly |
diff --git a/lib/pacer/wrappers/wrapping_pipe_function.rb b/lib/pacer/wrappers/wrapping_pipe_function.rb
index abc1234..def5678 100644
--- a/lib/pacer/wrappers/wrapping_pipe_function.rb
+++ b/lib/pacer/wrappers/wrapping_pipe_function.rb
@@ -13,6 +13,10 @@ @wrapper = WrapperSelector.build back.element_type, exte... | Add multi-arity block support to my PipeFunctions. |
diff --git a/lib/paper_trail_scrapbook/version_helpers.rb b/lib/paper_trail_scrapbook/version_helpers.rb
index abc1234..def5678 100644
--- a/lib/paper_trail_scrapbook/version_helpers.rb
+++ b/lib/paper_trail_scrapbook/version_helpers.rb
@@ -52,9 +52,7 @@ config.invalid_whodunnit
end... | Use modifier form of if statement
|
diff --git a/lib/tasks/autocomplete_build_top_trumps.rake b/lib/tasks/autocomplete_build_top_trumps.rake
index abc1234..def5678 100644
--- a/lib/tasks/autocomplete_build_top_trumps.rake
+++ b/lib/tasks/autocomplete_build_top_trumps.rake
@@ -0,0 +1,40 @@+namespace :autocomplete do
+ desc 'Find all the titles and format... | Add script to generate autocomplete search-top-trumps.js file.
|
diff --git a/test/controllers/admin_post_comments_controller_test.rb b/test/controllers/admin_post_comments_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/admin_post_comments_controller_test.rb
+++ b/test/controllers/admin_post_comments_controller_test.rb
@@ -0,0 +1,74 @@+require 'test_helper'
... | Add tests for ActiveAdmin Comment resource
|
diff --git a/lib/cenit/handler.rb b/lib/cenit/handler.rb
index abc1234..def5678 100644
--- a/lib/cenit/handler.rb
+++ b/lib/cenit/handler.rb
@@ -27,7 +27,8 @@ root = self.model.pluralize
count = 0
self.payload[root].each do |obj|
- next if obj[:id].empty? rescue obj[:id] = obj[:id].to... | Update Handler for Request id =nill
|
diff --git a/lib/ruby-box/mock.rb b/lib/ruby-box/mock.rb
index abc1234..def5678 100644
--- a/lib/ruby-box/mock.rb
+++ b/lib/ruby-box/mock.rb
@@ -2,3 +2,13 @@ require "webmock"
require "ruby-box/mock/version"
require "ruby-box/mock/folder"
+
+module RubyBox
+ module Mock
+ def self.mock
+ folder = Folder.new
... | Add helper methods to stub all folder requests
|
diff --git a/lib/utensils/json.rb b/lib/utensils/json.rb
index abc1234..def5678 100644
--- a/lib/utensils/json.rb
+++ b/lib/utensils/json.rb
@@ -0,0 +1,55 @@+module JsonHelpers
+ def expect_json_response(path = nil)
+ expect(json_response(path))
+ end
+
+ def expect_json(body, path = nil)
+ expect(parse_json(b... | Add JSON support file, extracted from global-web
|
diff --git a/lib/watnow/config.rb b/lib/watnow/config.rb
index abc1234..def5678 100644
--- a/lib/watnow/config.rb
+++ b/lib/watnow/config.rb
@@ -4,7 +4,7 @@
# Default constants
FOLDER_IGNORE = %w(tmp node_modules db public log)
- FILE_EXTENSION_IGNORE = %w(tmproj)
+ FILE_EXTENSION_IGNORE = %w(tmproj markdown m... | Update ignored file extension list
|
diff --git a/test/ffi-gobject_introspection/i_constant_info_test.rb b/test/ffi-gobject_introspection/i_constant_info_test.rb
index abc1234..def5678 100644
--- a/test/ffi-gobject_introspection/i_constant_info_test.rb
+++ b/test/ffi-gobject_introspection/i_constant_info_test.rb
@@ -1,21 +1,21 @@ require File.expand_path(... | Use different constant for testing IConstantInfo.
Fixes issue #25.
|
diff --git a/test/responses/custom/test_custom_tag_list_response.rb b/test/responses/custom/test_custom_tag_list_response.rb
index abc1234..def5678 100644
--- a/test/responses/custom/test_custom_tag_list_response.rb
+++ b/test/responses/custom/test_custom_tag_list_response.rb
@@ -17,7 +17,7 @@
should 'have tags' ... | Sort TagList tag names so tests pass
|
diff --git a/pry-vterm_aliases.gemspec b/pry-vterm_aliases.gemspec
index abc1234..def5678 100644
--- a/pry-vterm_aliases.gemspec
+++ b/pry-vterm_aliases.gemspec
@@ -10,7 +10,7 @@ s.add_dependency("pry", "~> 0.9.11")
s.add_development_dependency("rspec", "~> 2.12.0")
s.summary = "Enable your Bash and ZSH alises ... | Change something to fix Travis.
|
diff --git a/active_record_deprecated_finders.gemspec b/active_record_deprecated_finders.gemspec
index abc1234..def5678 100644
--- a/active_record_deprecated_finders.gemspec
+++ b/active_record_deprecated_finders.gemspec
@@ -4,8 +4,8 @@ Gem::Specification.new do |gem|
gem.authors = ["Jon Leighton"]
gem.emai... | Add description and summary to gempspec
|
diff --git a/config/deploy.rb b/config/deploy.rb
index abc1234..def5678 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -19,4 +19,10 @@ end
end
-after "deploy:restart", "deploy:cleanup"+namespace :staff do
+ task :update do
+ run "cd #{current_path}/staff/; php update_staff.php"
+ end
+end
+
+after ... | Add task to update staff profiles
|
diff --git a/spec/classes/example_spec.rb b/spec/classes/example_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/example_spec.rb
+++ b/spec/classes/example_spec.rb
@@ -11,13 +11,13 @@ context "artifactory class without any parameters" do
it { is_expected.to compile.with_all_deps }
- ... | Fix package name, and params test
|
diff --git a/spec/keyboard_events_spec.rb b/spec/keyboard_events_spec.rb
index abc1234..def5678 100644
--- a/spec/keyboard_events_spec.rb
+++ b/spec/keyboard_events_spec.rb
@@ -22,7 +22,7 @@
-describe "KeyPressed Event" do
+describe KeyPressed do
before :each do
@event = KeyPressed.new( :a, [:shift], "A"... | Use the actual class constants in "describe _____ do".
|
diff --git a/spec/models/pictures_spec.rb b/spec/models/pictures_spec.rb
index abc1234..def5678 100644
--- a/spec/models/pictures_spec.rb
+++ b/spec/models/pictures_spec.rb
@@ -1,3 +1,5 @@+# frozen_string_literal: true
+
require 'spec_helper'
describe Picture do
@@ -12,7 +14,7 @@ end
it 'reports failed image... | [CodeFactor] Apply fixes to commit c014b1e
|
diff --git a/spec/unit/aggregates_spec.rb b/spec/unit/aggregates_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/aggregates_spec.rb
+++ b/spec/unit/aggregates_spec.rb
@@ -3,11 +3,6 @@ require 'spec_helper'
describe Pariah::Dataset, "#aggregate" do
- def teardown
- super
- clear_indices
- end
-
it "s... | Fix extraneous index clearing in a spec.
|
diff --git a/app/controllers/organizers_controller.rb b/app/controllers/organizers_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/organizers_controller.rb
+++ b/app/controllers/organizers_controller.rb
@@ -41,7 +41,7 @@ private
def organizer_params
- params.require(:event).permit(
+ params... | Fix strong params for creating an org.
|
diff --git a/db/migrate/003_sql_session_store_setup.rb b/db/migrate/003_sql_session_store_setup.rb
index abc1234..def5678 100644
--- a/db/migrate/003_sql_session_store_setup.rb
+++ b/db/migrate/003_sql_session_store_setup.rb
@@ -0,0 +1,15 @@+class SqlSessionStoreSetup < ActiveRecord::Migration
+ def self.up
+ creat... | Add migration to create session table in the database.
|
diff --git a/db/migrate/20170613223606_create_users.rb b/db/migrate/20170613223606_create_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20170613223606_create_users.rb
+++ b/db/migrate/20170613223606_create_users.rb
@@ -4,6 +4,7 @@ t.string :name, null: false
t.email :email, null: false
t.i... | Add password column for Bcrypt gem in user migration
|
diff --git a/app/controllers/catalog_admin/categories_controller.rb b/app/controllers/catalog_admin/categories_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/catalog_admin/categories_controller.rb
+++ b/app/controllers/catalog_admin/categories_controller.rb
@@ -1,16 +1,14 @@ class CatalogAdmin::Categ... | Enable authorization for categories actions
|
diff --git a/app/workers/course_data_update_worker.rb b/app/workers/course_data_update_worker.rb
index abc1234..def5678 100644
--- a/app/workers/course_data_update_worker.rb
+++ b/app/workers/course_data_update_worker.rb
@@ -14,6 +14,7 @@
def perform(course_id)
course = Course.find(course_id)
+ logger.info ... | Add logging to pin down which course(s) are causing OOM problems
Sidekiq logs can be monitored in realtime via Nomad, so this should let me see which course updates are causing the Nomad jobs to be killed for OOM, so I can either optimize memory usage or find some other solution.
|
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb
index abc1234..def5678 100644
--- a/spec/cli_spec.rb
+++ b/spec/cli_spec.rb
@@ -2,7 +2,54 @@
describe Findrepos::CLI do
describe '#list' do
- it 'has tests'
+ before(:context) { create_repo_tree }
+
+ after(:context) { FileUtils.rm_r 'repos' }
+
+ contex... | Add specs for most of the options for "findrepos list"
|
diff --git a/files/unifiedpush-cookbooks/unifiedpush/recipes/cassandra_maintenance.rb b/files/unifiedpush-cookbooks/unifiedpush/recipes/cassandra_maintenance.rb
index abc1234..def5678 100644
--- a/files/unifiedpush-cookbooks/unifiedpush/recipes/cassandra_maintenance.rb
+++ b/files/unifiedpush-cookbooks/unifiedpush/reci... | Switch to weekly full repairs
|
diff --git a/api/ruby/gonit_api.gemspec b/api/ruby/gonit_api.gemspec
index abc1234..def5678 100644
--- a/api/ruby/gonit_api.gemspec
+++ b/api/ruby/gonit_api.gemspec
@@ -3,6 +3,7 @@ require 'gonit_api/version'
Gem::Specification.new do |s|
+ s.author = "Doug MacEachern"
s.name = 'gonit_api'
s.version = GonitAp... | Put Doug as gem author.
Change-Id: Iee7f3f24583016efeb90d58eaa93f32996961e1a
|
diff --git a/ifsc.gemspec b/ifsc.gemspec
index abc1234..def5678 100644
--- a/ifsc.gemspec
+++ b/ifsc.gemspec
@@ -19,6 +19,6 @@
s.add_runtime_dependency 'httparty', '~> 0.16'
- s.add_development_dependency 'rake', '~> 12.3'
+ s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rspec',... | Update rake requirement from ~> 12.3 to ~> 13.0
Updates the requirements on [rake](https://github.com/ruby/rake) to permit the latest version.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v... |
diff --git a/spec/support/setup_dirs.rb b/spec/support/setup_dirs.rb
index abc1234..def5678 100644
--- a/spec/support/setup_dirs.rb
+++ b/spec/support/setup_dirs.rb
@@ -1,5 +1,5 @@ dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
-dirs.each{|dir| Fileutils.mkdir_p dir unless Dir.exist? dir}
+... | Fix stupid typo in specs support file
|
diff --git a/lib/g5_integrations_validations/site_link_inventory_validations.rb b/lib/g5_integrations_validations/site_link_inventory_validations.rb
index abc1234..def5678 100644
--- a/lib/g5_integrations_validations/site_link_inventory_validations.rb
+++ b/lib/g5_integrations_validations/site_link_inventory_validation... | Fix CTA value for consistency (use inquiry, not quote)
|
diff --git a/AlamoFuzi.podspec b/AlamoFuzi.podspec
index abc1234..def5678 100644
--- a/AlamoFuzi.podspec
+++ b/AlamoFuzi.podspec
@@ -16,7 +16,7 @@ s.dependency "Alamofire", "~> 4.0"
s.dependency "Fuzi", "~> 1.0"
- # Uncomment for `pod lib lint`
- # s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$... | Add header search paths for first `pod spec lint`
|
diff --git a/bowling.rb b/bowling.rb
index abc1234..def5678 100644
--- a/bowling.rb
+++ b/bowling.rb
@@ -15,6 +15,8 @@ q.subscribe(:block => true) do |delivery_info, properties, body|
@var = body
puts " [x] Received #{body}"
+ conn.close
+ exit(0)
end
rescue Interrupt =... | Exit from MQ Listining Loop Added
|
diff --git a/business.gemspec b/business.gemspec
index abc1234..def5678 100644
--- a/business.gemspec
+++ b/business.gemspec
@@ -16,7 +16,6 @@ spec.licenses = ["MIT"]
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) ... | Drop unused "executables" gemspec directive
This gem exposes no executables. |
diff --git a/Casks/querious.rb b/Casks/querious.rb
index abc1234..def5678 100644
--- a/Casks/querious.rb
+++ b/Casks/querious.rb
@@ -2,7 +2,6 @@ version '2.0_beta44'
sha256 '005784b7055bcf4252eb575d27e0bf799e52b829677f42e8281d44fbb5b1796c'
- # store.araelium.com/querious was verified as official when first intr... | Fix `url` stanza comment for Querious 2.
|
diff --git a/app/models/blog_comment.rb b/app/models/blog_comment.rb
index abc1234..def5678 100644
--- a/app/models/blog_comment.rb
+++ b/app/models/blog_comment.rb
@@ -13,7 +13,7 @@ )
# Validate email format
- validates :email, :format => {:with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i, :message => 'Pl... | Fix the blog comments validation
|
diff --git a/app/models/email_signup.rb b/app/models/email_signup.rb
index abc1234..def5678 100644
--- a/app/models/email_signup.rb
+++ b/app/models/email_signup.rb
@@ -13,13 +13,13 @@
def save
if valid?
- ensure_govdelivery_topic_exists
+ ensure_subscriber_list_exists
true
end
end
-... | Fix subscriber list method naming
What are these "govdelivery topics" you speak of?
|
diff --git a/recipes/disabled.rb b/recipes/disabled.rb
index abc1234..def5678 100644
--- a/recipes/disabled.rb
+++ b/recipes/disabled.rb
@@ -0,0 +1,11 @@+include_recipe "iptables::default"
+
+service "iptables" do
+ action [:disable, :stop]
+ supports :status => true, :start => true, :stop => true, :restart => true
+... | Add recipe to disable iptables and ip6tables altogether.
|
diff --git a/groupify.gemspec b/groupify.gemspec
index abc1234..def5678 100644
--- a/groupify.gemspec
+++ b/groupify.gemspec
@@ -25,6 +25,6 @@
gem.add_development_dependency "rspec", ">= 3"
- gem.add_development_dependency "database_cleaner"
+ gem.add_development_dependency "database_cleaner", "~> 1.3.0"
gem... | Fix specs by locking down database_cleaner
|
diff --git a/Formula/mejsel.rb b/Formula/mejsel.rb
index abc1234..def5678 100644
--- a/Formula/mejsel.rb
+++ b/Formula/mejsel.rb
@@ -0,0 +1,22 @@+require "formula"
+
+class Mejsel < Formula
+ depends_on "chisel"
+
+ homepage "https://github.com/boerworz/mejsel"
+ url "https://github.com/Boerworz/mejsel/archive/v0.1.tar... | Add a Formula for Mejsel
|
diff --git a/features/support/env.xdatabase_cleaner.rb b/features/support/env.xdatabase_cleaner.rb
index abc1234..def5678 100644
--- a/features/support/env.xdatabase_cleaner.rb
+++ b/features/support/env.xdatabase_cleaner.rb
@@ -1,15 +1,6 @@ begin
require "database_cleaner"
require "database_cleaner/cucumber"
-
-... | Exclude all other seeded tables from the database cleaner |
diff --git a/app/models/tag.rb b/app/models/tag.rb
index abc1234..def5678 100644
--- a/app/models/tag.rb
+++ b/app/models/tag.rb
@@ -1,6 +1,8 @@ class Tag < ActiveRecord::Base
- has_and_belongs_to_many :ideas
+ has_and_belongs_to_many :ideas,
+ -> { order('rating') },
+ join_table: "idea_tags"
validates ... | Add attributes for Tag's Idea association
Specify the ordering of ideas when looking up 'tag.ideas' along with
the join table to look in. By default, Rails would look for the
'ideas_tags' table which doesn't exist. Instead, 'idea_tags' was
created.
|
diff --git a/db/migrate/20190221200439_change_topic_id_to_bigint.rb b/db/migrate/20190221200439_change_topic_id_to_bigint.rb
index abc1234..def5678 100644
--- a/db/migrate/20190221200439_change_topic_id_to_bigint.rb
+++ b/db/migrate/20190221200439_change_topic_id_to_bigint.rb
@@ -0,0 +1,21 @@+class ChangeTopicIdToBigin... | Update topic_id primary and foreign keys to bigint
|
diff --git a/spec/rb/factories.rb b/spec/rb/factories.rb
index abc1234..def5678 100644
--- a/spec/rb/factories.rb
+++ b/spec/rb/factories.rb
@@ -18,17 +18,3 @@ center { [Faker::Geolocation.lat, Faker::Geolocation.lng] }
end
end
-
-class Line
- # FactoryGirl expects a #save! method in order use create(:line)
- ... | Remove monkey patches since it's handled as a sequel plugin now
|
diff --git a/config/initializers/jsonapi_resources.rb b/config/initializers/jsonapi_resources.rb
index abc1234..def5678 100644
--- a/config/initializers/jsonapi_resources.rb
+++ b/config/initializers/jsonapi_resources.rb
@@ -7,6 +7,6 @@ config.top_level_meta_include_record_count = true
config.top_level_meta_record... | Remove top-level page count, because that's not an option in this version of JR.
|
diff --git a/Casks/trailer.rb b/Casks/trailer.rb
index abc1234..def5678 100644
--- a/Casks/trailer.rb
+++ b/Casks/trailer.rb
@@ -1,6 +1,6 @@ cask :v1 => 'trailer' do
- version '1.3.6'
- sha256 'e42dabd6b7759fdd9a816f0c04c2eb6f7dd15c21de47048d8228f6bffd6dc41d'
+ version '1.3.7'
+ sha256 '9f022093051d6512a888cb1a0760... | Update Trailer to version 1.3.7
This commit updates the version and sha256 stanzas.
|
diff --git a/app/models/developer.rb b/app/models/developer.rb
index abc1234..def5678 100644
--- a/app/models/developer.rb
+++ b/app/models/developer.rb
@@ -1,8 +1,7 @@ class Developer < ActiveRecord::Base
- # Include default devise modules. Others available are:
- # :confirmable, :lockable, :timeoutable and :omniaut... | Add store accessor for json field
|
diff --git a/app/models/masq/signup.rb b/app/models/masq/signup.rb
index abc1234..def5678 100644
--- a/app/models/masq/signup.rb
+++ b/app/models/masq/signup.rb
@@ -42,7 +42,7 @@ end
def make_default_persona
- account.public_persona = account.personas.build(:title => "Standard")
+ account.public_pe... | Set email in default "Standard" personna
When signing up an account, set the email in the created "Standard" persona with the account's email.
Some websites use emails to match their signed up users to the open id
result. This will allow newly masq signed up user accounts to work out
of the box with these site... |
diff --git a/MD5Digest.podspec b/MD5Digest.podspec
index abc1234..def5678 100644
--- a/MD5Digest.podspec
+++ b/MD5Digest.podspec
@@ -8,5 +8,6 @@ s.source = { :git => "https://github.com/Keithbsmiley/MD5Digest.git", :tag => s.version.to_s }
s.source_files = 'NSString+MD5.{h,m}'
s.requires_arc = true
+ s.p... | Add specific platforms (exclude watchOS)
|
diff --git a/app/services/referrals/capture_referral_action_service.rb b/app/services/referrals/capture_referral_action_service.rb
index abc1234..def5678 100644
--- a/app/services/referrals/capture_referral_action_service.rb
+++ b/app/services/referrals/capture_referral_action_service.rb
@@ -8,7 +8,7 @@
def initi... | Call method directly on partner (Logic moved to partner class)
|
diff --git a/app/models/user_mailer.rb b/app/models/user_mailer.rb
index abc1234..def5678 100644
--- a/app/models/user_mailer.rb
+++ b/app/models/user_mailer.rb
@@ -16,7 +16,7 @@ def setup_email(user)
self.current_theme = (APP_CONFIG[:theme]||'default')
@recipients = "#{user.email}"
- @from = APP_CONFIG[... | Revert "Send mail from the help_email address."
This reverts commit 34fd640839541503515e68142a6f64b919ffedfc.
|
diff --git a/spec/factories/systems.rb b/spec/factories/systems.rb
index abc1234..def5678 100644
--- a/spec/factories/systems.rb
+++ b/spec/factories/systems.rb
@@ -14,7 +14,7 @@ # limitations under the License.
FactoryGirl.define do
factory :system, class: System do
- name 'stack-12345678'
+ sequence(:name) ... | Change the system name to be unique
|
diff --git a/spec/lib/services_spec.rb b/spec/lib/services_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/services_spec.rb
+++ b/spec/lib/services_spec.rb
@@ -0,0 +1,19 @@+require "spec_helper"
+
+RSpec.describe Services do
+ describe ".with_timeout" do
+ it "executes a block of code with the defined services... | Add test coverage for function
|
diff --git a/lib/generators/arrthorizer/install/install_generator.rb b/lib/generators/arrthorizer/install/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/arrthorizer/install/install_generator.rb
+++ b/lib/generators/arrthorizer/install/install_generator.rb
@@ -11,7 +11,45 @@ copy_file "c... | Add controller configuration for arrthorizer:install generator
|
diff --git a/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb b/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
index abc1234..def5678 100644
--- a/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
+++ b/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
@@ -30,6 +30,8 @@
# TODO Need to ... | Add link to ticket to TODO.
|
diff --git a/lib/discordrb/events/lifetime.rb b/lib/discordrb/events/lifetime.rb
index abc1234..def5678 100644
--- a/lib/discordrb/events/lifetime.rb
+++ b/lib/discordrb/events/lifetime.rb
@@ -22,4 +22,10 @@
# Event handler for {DisconnectEvent}
class DisconnectEventHandler < TrueEventHandler; end
+
+ # @see Di... | Define an event and handler class for heartbeat events
|
diff --git a/lib/netsuite/records/location.rb b/lib/netsuite/records/location.rb
index abc1234..def5678 100644
--- a/lib/netsuite/records/location.rb
+++ b/lib/netsuite/records/location.rb
@@ -4,8 +4,10 @@ include Support::Fields
include Support::RecordRefs
include Support::Actions
+ include Na... | Add missing actions for Location
|
diff --git a/app/models/api/v3/converter_stats_presenter.rb b/app/models/api/v3/converter_stats_presenter.rb
index abc1234..def5678 100644
--- a/app/models/api/v3/converter_stats_presenter.rb
+++ b/app/models/api/v3/converter_stats_presenter.rb
@@ -1,7 +1,11 @@ module Api
module V3
class ConverterStatsPresenter... | Send demand and elec. capacity with converter stats
|
diff --git a/app/overrides/admin_configuration_decorator.rb b/app/overrides/admin_configuration_decorator.rb
index abc1234..def5678 100644
--- a/app/overrides/admin_configuration_decorator.rb
+++ b/app/overrides/admin_configuration_decorator.rb
@@ -1,5 +1,4 @@ Deface::Override.new(:virtual_path => "spree/admin/shared/_... | Remove Deface "disabled" option in decorator.
|
diff --git a/app/workers/package_manager_download_worker.rb b/app/workers/package_manager_download_worker.rb
index abc1234..def5678 100644
--- a/app/workers/package_manager_download_worker.rb
+++ b/app/workers/package_manager_download_worker.rb
@@ -4,11 +4,54 @@ include Sidekiq::Worker
sidekiq_options queue: :crit... | Allow for various capitalizations of platforms in download worker job
|
diff --git a/lib/signed_form/action_controller/permit_signed_params.rb b/lib/signed_form/action_controller/permit_signed_params.rb
index abc1234..def5678 100644
--- a/lib/signed_form/action_controller/permit_signed_params.rb
+++ b/lib/signed_form/action_controller/permit_signed_params.rb
@@ -3,6 +3,8 @@ module Perm... | Add strong_parameters gem on the fly.
|
diff --git a/lib/travis/build/appliances/fix_container_based_trusty.rb b/lib/travis/build/appliances/fix_container_based_trusty.rb
index abc1234..def5678 100644
--- a/lib/travis/build/appliances/fix_container_based_trusty.rb
+++ b/lib/travis/build/appliances/fix_container_based_trusty.rb
@@ -6,19 +6,16 @@ module Buil... | Revert "Revert "Remove redis server patch for container-based trusty""
|
diff --git a/lib/delayed/plugins/exception_notifier.rb b/lib/delayed/plugins/exception_notifier.rb
index abc1234..def5678 100644
--- a/lib/delayed/plugins/exception_notifier.rb
+++ b/lib/delayed/plugins/exception_notifier.rb
@@ -3,7 +3,8 @@ class ExceptionNotifier < Plugin
module Notify
def error(jo... | Add job_id and queue to the report
|
diff --git a/lib/gir_ffi/unintrospectable_type_info.rb b/lib/gir_ffi/unintrospectable_type_info.rb
index abc1234..def5678 100644
--- a/lib/gir_ffi/unintrospectable_type_info.rb
+++ b/lib/gir_ffi/unintrospectable_type_info.rb
@@ -4,7 +4,6 @@ # Represents a type not found in the GIR, conforming, as needed, to the
# ... | Remove unused methods from UnintrospectableTypeInfo
|
diff --git a/interactor-contracts.gemspec b/interactor-contracts.gemspec
index abc1234..def5678 100644
--- a/interactor-contracts.gemspec
+++ b/interactor-contracts.gemspec
@@ -18,7 +18,7 @@ spec.files += Dir["lib/**/*.rb"]
spec.require_paths = ["lib"]
- spec.add_dependency "dry-validation"
+ spec.add_dependen... | Put a version constraint on dry-validation
|
diff --git a/lib/blacksand/expire_pages.rb b/lib/blacksand/expire_pages.rb
index abc1234..def5678 100644
--- a/lib/blacksand/expire_pages.rb
+++ b/lib/blacksand/expire_pages.rb
@@ -8,7 +8,9 @@
def expire_cache_pages
- expire_page root_path if defined? root_path
+ if defined? Rails.application.routes.u... | Fix expiring root path page
|
diff --git a/lib/bonz/mat_general_mixin.rb b/lib/bonz/mat_general_mixin.rb
index abc1234..def5678 100644
--- a/lib/bonz/mat_general_mixin.rb
+++ b/lib/bonz/mat_general_mixin.rb
@@ -20,6 +20,7 @@ end
# Convert to single channel. If already single channel, return :self:.
+ # Assumes any 3- or 4-channe... | Bring in burn_kit and use colorize for 16uc1 debug labels
|
diff --git a/RealmSwift.podspec b/RealmSwift.podspec
index abc1234..def5678 100644
--- a/RealmSwift.podspec
+++ b/RealmSwift.podspec
@@ -18,6 +18,8 @@ s.dependency 'Realm', "= #{s.version}"
s.source_files = 'RealmSwift/*.swift'
+ s.preserve_paths = %w(build.sh)
+
s.ios.deployment_target = '8.0'
... | [Podspec] Add build.sh to the preserve_paths
|
diff --git a/lib/podio/models/stream_activity_group.rb b/lib/podio/models/stream_activity_group.rb
index abc1234..def5678 100644
--- a/lib/podio/models/stream_activity_group.rb
+++ b/lib/podio/models/stream_activity_group.rb
@@ -23,6 +23,12 @@ }.body
end
+ def find_by_event_id(ref_type, ref_id, event_id... | Add find_by_event_id for activity groups
|
diff --git a/SwiftyVK.podspec b/SwiftyVK.podspec
index abc1234..def5678 100644
--- a/SwiftyVK.podspec
+++ b/SwiftyVK.podspec
@@ -16,4 +16,5 @@ s.osx.source_files = "Library/UI/macOS"
s.ios.resources = "Library/Resources/Bundles/SwiftyVK_resources_iOS.bundle"
s.osx.resources = "Library... | [Cocoapods] Support for building as a static library
|
diff --git a/abfab.gemspec b/abfab.gemspec
index abc1234..def5678 100644
--- a/abfab.gemspec
+++ b/abfab.gemspec
@@ -4,8 +4,8 @@ Gem::Specification.new do |gem|
gem.authors = ["Chris Hanks"]
gem.email = ["christopher.m.hanks@gmail.com"]
- gem.description = %q{TODO: Write a gem description}
- gem... | Set up a gem description and summary.
|
diff --git a/lib/easymon/checks/active_record_mysql_writeable_check.rb b/lib/easymon/checks/active_record_mysql_writeable_check.rb
index abc1234..def5678 100644
--- a/lib/easymon/checks/active_record_mysql_writeable_check.rb
+++ b/lib/easymon/checks/active_record_mysql_writeable_check.rb
@@ -2,8 +2,11 @@ class Active... | Add a makara flag to enable usage with makara to hit the primary
|
diff --git a/lib/geokit/geocoders/ipstack.rb b/lib/geokit/geocoders/ipstack.rb
index abc1234..def5678 100644
--- a/lib/geokit/geocoders/ipstack.rb
+++ b/lib/geokit/geocoders/ipstack.rb
@@ -27,7 +27,7 @@ loc.lng = result['longitude']
loc.country_code = result['country_code']
loc.country = resul... | Modify IPStack success to check the country code
|
diff --git a/app/controllers/api/v1/performances_controller.rb b/app/controllers/api/v1/performances_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/performances_controller.rb
+++ b/app/controllers/api/v1/performances_controller.rb
@@ -6,27 +6,47 @@ return render nothing: true, status: ... | Enhance filtering of API /performances
Performances returned from the API can now be filtered by venue+date,
contest category, result publicity, or any combination thereof.
|
diff --git a/easing.gemspec b/easing.gemspec
index abc1234..def5678 100644
--- a/easing.gemspec
+++ b/easing.gemspec
@@ -9,8 +9,7 @@ spec.authors = ['Damián Silvani']
spec.email = ['munshkr@gmail.com']
spec.description = %q{Collection of common easing functions for Ruby}
- spec.summary = ... | Remove bit about FFI in gemspec description
|
diff --git a/spec/carpet_spec.rb b/spec/carpet_spec.rb
index abc1234..def5678 100644
--- a/spec/carpet_spec.rb
+++ b/spec/carpet_spec.rb
@@ -4,20 +4,21 @@
describe Carpet do
- subject do
- window = Gosu::Window.new(9, 9, false)
- Carpet.new(window, 'spec/fixtures/capital_i.png', 'spec/fixtures/capital_i.png'... | Remove subject because it's confusing
|
diff --git a/lib/beans.rb b/lib/beans.rb
index abc1234..def5678 100644
--- a/lib/beans.rb
+++ b/lib/beans.rb
@@ -1,8 +1,8 @@ require 'beans/version'
require 'beans/registry'
-Dir[File.dirname(__FILE__) + '/beans/entities/**/*.rb'].each { |f| require f }
-Dir[File.dirname(__FILE__) + '/beans/use_cases/**/*.rb'].each ... | Sort required files to 'fix' dependency issues
|
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/comments_controller.rb
+++ b/app/controllers/comments_controller.rb
@@ -2,8 +2,7 @@
def create
@comment = Comment.new(comment_params)
- # change user_id to grab fr... | Add update, edit and destroy methods for comments
|
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -1,6 +1,6 @@ # -*- coding: utf-8 -*-
class SessionsController < ApplicationController
- before_filter ... | Fix DEPRECATION: Use before_action instead of before_filter
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -4,7 +4,7 @@
Coveralls.wear!
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [
+SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
CodeClimate:... | Use alternative way for specifying multiple simplecov formatters
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,6 +9,12 @@
if ENV['COVERAGE'] == 'true'
require 'simplecov'
+ require 'coveralls'
+
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatte... | Add coveralls to spec helper
|
diff --git a/lib/ruboty/jira/actions/base.rb b/lib/ruboty/jira/actions/base.rb
index abc1234..def5678 100644
--- a/lib/ruboty/jira/actions/base.rb
+++ b/lib/ruboty/jira/actions/base.rb
@@ -37,7 +37,9 @@ end
def use_ssl
- ENV["JIRA_USE_SSL"] || true
+ value = ENV['JIRA_USE_SSL']
+ ... | Fix return value when JIRA_USE_SSL is false
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -4,6 +4,7 @@ require 'rspec/rails'
require 'rspec/autorun'
require 'capybara/rails'
+require 'fabrication'
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
... | Initialize Factories for the specs.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -10,6 +10,7 @@ end
require 'rom'
+require 'byebug'
root = Pathname(__FILE__).dirname
| Add byebug (useful for debugging)
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,8 +9,10 @@ require 'simplecov'
SimpleCov.start do
add_filter "/vendor/"
+ add_filter "/vendor.noindex/"
add_filter "/bin/"
add_filter "/spec/"
+ add_filter "/coverag... | Put some extra reins on Simplecov.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -7,4 +7,7 @@ rescue LoadError
end
+# https://github.com/geemus/excon/issues/142#issuecomment-8531521
+Excon.defaults[:nonblock] = false if RUBY_PLATFORM == 'java'
+
require 'pe... | Use blocking connect if running on JRuby
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -5,5 +5,5 @@ RSpec.configure do |config|
config.log_level = :error
config.platform = 'ubuntu'
- config.version = '12.04' # needs to be 13.04 when fauxhai gets that data
+ c... | Set the spec ubuntu version to 14.04
|
diff --git a/lib/tasks/copy_taxon_title.rake b/lib/tasks/copy_taxon_title.rake
index abc1234..def5678 100644
--- a/lib/tasks/copy_taxon_title.rake
+++ b/lib/tasks/copy_taxon_title.rake
@@ -0,0 +1,12 @@+desc "copy taxons title field to internal name"
+task copy_taxons_title: :environment do
+ total = RemoteTaxons.new.s... | Add rake task to populate the taxons internal name
Some taxons internal name have not been populated, we solve this by using their title.
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -7,4 +7,5 @@ get "/auth/failure" => "auth0#failure"
post "/groups/assign", to: "groups#assign"
+
end
| Add a route for requesting a chatpage.
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,6 +6,7 @@
get "/profile/:user_id", to: "users#show", as: 'user_profile'
get "/profile/:user_id/edit", to: "users#edit", as: 'edit_user_profile'
+ post "/profile/:user_id/update", to... | Add update user profile route.
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -8,9 +8,11 @@ resources :shares, only: [:index, :create, :new]
resources :timeslots, only: [:update, :show]
+
namespace :api, defaults: {format: :json} do
patch 'timeslots/:id/c... | Add route for PATCH /api/users/:id
Add route to update user profile information.
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,6 +13,7 @@ match '/search/:loc_code' => 'schools#search', via: [:get], as: "search"
# misc
+ get '/bitly/new' => 'bitly#new'
# get '/random' => 'schools#random40'
| Add route for ajax version of bitly linking - not being used right now
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,9 +1,10 @@ Rails.application.routes.draw do
- get 'static_pages/home'
-
# Render legal documents by using Keiyaku CSS
# https://github.com/cognitom/keiyaku-css
resources :docs, on... | Change root routing from Scrivito to StaticPages
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,4 +1,5 @@ Rails.application.routes.draw do
root "welcome#index"
get '/issues', to: 'welcome#issues'
+ get '/positions', to: 'welcome#positions'
end
| Add /positions route for ajax call.
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,8 +1,8 @@ Teikei::Application.routes.draw do
namespace :api do
namespace :v1 do
- resources :farms
- resources :depots
+ resources :farms, except: [:new, :edit]
+ ... | Disable actions unnecessary for APIs.
|
diff --git a/ext/extconf.rb b/ext/extconf.rb
index abc1234..def5678 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -2,7 +2,7 @@
dir_config('lua5.1')
-unless have_library('lua5.1', 'luaL_newstate')
+unless have_library('lua5.1', 'luaL_newstate') or have_library('lua.5.1', 'luaL_newstate')
puts ' extconf fail... | Fix library search to accomodate different dot style.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.