diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/controllers/analytics_controller_spec.rb b/spec/controllers/analytics_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/analytics_controller_spec.rb
+++ b/spec/controllers/analytics_controller_spec.rb
@@ -0,0 +1,99 @@+require 'rails_helper'
+
+RSpec.describe AnalyticsController, ... | Add controller specs for filtering logic
|
diff --git a/spec/functional/func_searchable_table_spec.rb b/spec/functional/func_searchable_table_spec.rb
index abc1234..def5678 100644
--- a/spec/functional/func_searchable_table_spec.rb
+++ b/spec/functional/func_searchable_table_spec.rb
@@ -29,4 +29,16 @@ @controller.tableView(@controller.tableView, numberOfRow... | Add tests for exposing search_text and original_search_text.
|
diff --git a/testext.gemspec b/testext.gemspec
index abc1234..def5678 100644
--- a/testext.gemspec
+++ b/testext.gemspec
@@ -17,6 +17,8 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ['lib']
+ gem.extensions = ['ext/testext/extconf.rb']
+
gem.add_development_dependency ... | Add the extconf.rb to the gemspec
|
diff --git a/Casks/rubymine.rb b/Casks/rubymine.rb
index abc1234..def5678 100644
--- a/Casks/rubymine.rb
+++ b/Casks/rubymine.rb
@@ -1,6 +1,6 @@ cask :v1 => 'rubymine' do
- version '7.1.2'
- sha256 '01d28529e7e4456b362799d7501abe6f060176df60943a9f8955403f8d4f0f22'
+ version '7.1.3'
+ sha256 '69c156cedf6b11dd913d536... | Update Rubymine 7.1.2 => 7.1.3
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -3,7 +3,7 @@ # For APIs, you may want to use :null_session instead.
protect_from_forger... | Replace deprecated 'before_filter' with 'before_action'
|
diff --git a/app/uploaders/image_uploader.rb b/app/uploaders/image_uploader.rb
index abc1234..def5678 100644
--- a/app/uploaders/image_uploader.rb
+++ b/app/uploaders/image_uploader.rb
@@ -14,9 +14,17 @@ end
process(:store) do |io, _context|
- original = io.download
- large = resize_to_limit!(original... | ImageUploader: Use chainable API of "image_processing" gem
|
diff --git a/spec/acceptance/class_spec.rb b/spec/acceptance/class_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/class_spec.rb
+++ b/spec/acceptance/class_spec.rb
@@ -1,17 +1,37 @@ require 'spec_helper_acceptance'
-describe 'git class' do
+describe 'git class:', :unless => UNSUPPORTED_PLATFORMS.include?... | Add acceptance test to check for package install and uninstall.
|
diff --git a/spec/helpers/paypal_helper.rb b/spec/helpers/paypal_helper.rb
index abc1234..def5678 100644
--- a/spec/helpers/paypal_helper.rb
+++ b/spec/helpers/paypal_helper.rb
@@ -15,8 +15,6 @@
block.call if block
- sleep 1
-
click_button("confirmButtonTop", wait: 30)
end
@@ -33,6 +31,8 @@... | Move sleep to before login button
|
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
@@ -16,7 +16,7 @@ require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
Capybara.register_driver :poltergeist do |app|
- Capybara::Poltergeist::Driver.new(app, t... | Set timeout setting of Capybara to 120 seconds
|
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
@@ -3,3 +3,16 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'organicat'
+
+require "tempfile"
+
+class OrgFile
+ class << self
+ def create
+ Tempf... | Create OrgFile class as test helper
|
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,6 +7,10 @@ .gsub(%r{<(\w+)([^>]*)>\n</\1>}, '<\1\2/>') # Auto close empty tags, e.g. <hr>\n</hr> => <hr/>
.gsub(/ "/, '"').gsub(/\=" /, '="') # Remove leading/t... | Sort class names when comparing
|
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
@@ -8,6 +8,9 @@
Spec::Runner.configure do |config|
config.include ClearFixtures
+ config.before(:suite) do
+ ClearFixtures.clear_fixtures
+ end
config.before(:each) do
... | Clear all fixtures before running suite
|
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
@@ -1,4 +1,4 @@-$:.unshift(File.expand_path('../lib', File.dirname(__FILE__)))
+$LOAD_PATH << File.expand_path('../lib', File.dirname(__FILE__))
require 'sun_times'
| Use English name for Ruby global
|
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
@@ -3,7 +3,14 @@ require 'rails'
require 'mongoid'
require 'kaminari'
-
+# Ensure we use 'syck' instead of 'psych' in 1.9.2
+# RubyGems >= 1.5.0 uses 'psych' on 1.9.2, but
+# Psych ... | Add YAML merge keys workaround.
Prevent problems when using running tests with
a mongoid.yml using YAML merge keys on Ruby 1.9.2
and RubyGems >= 1.5
Will be needed until r30629 and r30630 are backported
to 1.9.2 (ticket #4357)
http://redmine.ruby-lang.org/issues/show/4357
|
diff --git a/feedback.gemspec b/feedback.gemspec
index abc1234..def5678 100644
--- a/feedback.gemspec
+++ b/feedback.gemspec
@@ -5,8 +5,10 @@ Gem::Specification.new do |s|
s.name = 'feedback'
s.version = Feedback::VERSION
- s.authors = ['Pablo Vicente', 'Ruben Martin']
- s.email = ['PabloVi... | Add Andrew Garner as an author |
diff --git a/lib/hanzo/cli.rb b/lib/hanzo/cli.rb
index abc1234..def5678 100644
--- a/lib/hanzo/cli.rb
+++ b/lib/hanzo/cli.rb
@@ -27,8 +27,8 @@ Usage: hanzo action [options]
Available actions:
- deploy — Deploy a branch or a tag
-install — Install Hanzo configuration
+ deploy — Deploy a branch or a tag
+ install —... | Update help for CLI class
|
diff --git a/lib/skyed/git.rb b/lib/skyed/git.rb
index abc1234..def5678 100644
--- a/lib/skyed/git.rb
+++ b/lib/skyed/git.rb
@@ -14,7 +14,7 @@ ENV['GIT_SSH'] = '/tmp/ssh-git'
path = "/tmp/skyed.#{SecureRandom.hex}"
r = ::Git.clone(stack[:custom_cookbooks_source][:url], path)
- puts r.st... | INF-941: Add check if remore is cloned
|
diff --git a/lib/snapshots.rb b/lib/snapshots.rb
index abc1234..def5678 100644
--- a/lib/snapshots.rb
+++ b/lib/snapshots.rb
@@ -0,0 +1,77 @@+module Humus
+
+ class Snapshots
+
+ attr_reader :access_key_id
+ attr_reader :secret_access_key
+
+ def initialize access_key_id = nil, secret_access_key = n... | Add simple snapshot handling class.
|
diff --git a/libpixel.gemspec b/libpixel.gemspec
index abc1234..def5678 100644
--- a/libpixel.gemspec
+++ b/libpixel.gemspec
@@ -9,7 +9,7 @@ spec.authors = ["Joao Carlos"]
spec.email = ["joao@libpixel.com"]
spec.summary = %q{Ruby library to generate and sign LibPixel URLs.}
- spec.homepage ... | Change gemspec homepage to GitHub |
diff --git a/creperie.gemspec b/creperie.gemspec
index abc1234..def5678 100644
--- a/creperie.gemspec
+++ b/creperie.gemspec
@@ -2,28 +2,31 @@ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'creperie/version'
-Gem::Specification.new do |gem|
- gem.name = 'creperie'
- gem.version = C... | Add YARD as a development dependency
Signed-off-by: David Celis <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@davidcel.is>
|
diff --git a/griddler.gemspec b/griddler.gemspec
index abc1234..def5678 100644
--- a/griddler.gemspec
+++ b/griddler.gemspec
@@ -14,12 +14,6 @@ s.files = Dir['{app,config,lib}/**/*'] + ['LICENSE', 'Rakefile', 'README.md']
s.require_paths = %w{app lib}
- s.post_install_message = <<-MESSAGE
-When upgrading from a... | Remove post install message from 0.5.0
Closes #164
|
diff --git a/micro_blogger.rb b/micro_blogger.rb
index abc1234..def5678 100644
--- a/micro_blogger.rb
+++ b/micro_blogger.rb
@@ -21,7 +21,15 @@ command = ""
while command != "q"
printf "enter command: "
- command = gets.chomp
+ input = gets.chomp
+ parts = ... | Add tweet command to run method
|
diff --git a/db/migrate/20151001193521_rename_hardware_columns.rb b/db/migrate/20151001193521_rename_hardware_columns.rb
index abc1234..def5678 100644
--- a/db/migrate/20151001193521_rename_hardware_columns.rb
+++ b/db/migrate/20151001193521_rename_hardware_columns.rb
@@ -0,0 +1,8 @@+class RenameHardwareColumns < Activ... | Add migration to change cpu and memory columns
|
diff --git a/lib/c2y/dsl/context/container_unit.rb b/lib/c2y/dsl/context/container_unit.rb
index abc1234..def5678 100644
--- a/lib/c2y/dsl/context/container_unit.rb
+++ b/lib/c2y/dsl/context/container_unit.rb
@@ -10,30 +10,12 @@ instance_eval(&block)
end
- private
+ [:command, :enable, :environments,... | Use dynamic method definition in ContainerUnit
|
diff --git a/core/file/lchmod_spec.rb b/core/file/lchmod_spec.rb
index abc1234..def5678 100644
--- a/core/file/lchmod_spec.rb
+++ b/core/file/lchmod_spec.rb
@@ -1,7 +1,7 @@ require_relative '../../spec_helper'
describe "File.lchmod" do
- guard -> { File.respond_to?(:lchmod) } do
+ platform_is_not :linux, :windows,... | Revert "Fix File.lchmod spec guards"
* This reverts commit cc7b9e56898950e36221e2d4b92d6d90288244c8.
* Not good enough: https://bugs.ruby-lang.org/issues/16756
|
diff --git a/lib/lightspeed_restaurant/customer.rb b/lib/lightspeed_restaurant/customer.rb
index abc1234..def5678 100644
--- a/lib/lightspeed_restaurant/customer.rb
+++ b/lib/lightspeed_restaurant/customer.rb
@@ -2,25 +2,25 @@
module LightspeedRestaurant
class Customer < LightspeedRestaurant::Base
- attr_access... | Create attr_accessor based on list
|
diff --git a/lib/spree_pag_seguro_configuration.rb b/lib/spree_pag_seguro_configuration.rb
index abc1234..def5678 100644
--- a/lib/spree_pag_seguro_configuration.rb
+++ b/lib/spree_pag_seguro_configuration.rb
@@ -1,6 +1,6 @@ module Spree
class PagSeguroConfiguration < Spree::Preferences::Configuration
- preferenc... | Revert "Fixing preference to work with spree 1.1.0.beta"
This reverts commit 1cac53bcc46270b619166ee9c17533e0e62a9746.
|
diff --git a/lib/table_cloth/extensions/actions.rb b/lib/table_cloth/extensions/actions.rb
index abc1234..def5678 100644
--- a/lib/table_cloth/extensions/actions.rb
+++ b/lib/table_cloth/extensions/actions.rb
@@ -17,7 +17,11 @@ private
def action_collection
- @action_collection ||= ActionCol... | Change action collection to return super class collection if available.
|
diff --git a/lib/xcode_snippets/snippet_manager.rb b/lib/xcode_snippets/snippet_manager.rb
index abc1234..def5678 100644
--- a/lib/xcode_snippets/snippet_manager.rb
+++ b/lib/xcode_snippets/snippet_manager.rb
@@ -38,11 +38,11 @@ def generate_uuid
@uuid_generator.generate
end
- end
-
- class UUIDGene... | Move this class to the right lexical scope
|
diff --git a/spec/easypost/shipment_spec.rb b/spec/easypost/shipment_spec.rb
index abc1234..def5678 100644
--- a/spec/easypost/shipment_spec.rb
+++ b/spec/easypost/shipment_spec.rb
@@ -15,7 +15,7 @@ lastname: 'Scamander',
address1: '200 19th St',
city: 'Birmingham',
- state: FactoryBot.... | Use Spree::State.first instead of FactoryBot.create(:state)
For Solidus v2.5 and upwards, using the aforementioned syntax caused
an address state mismatch with the address country, causing the spec
to fail
|
diff --git a/spec/features/homepage_spec.rb b/spec/features/homepage_spec.rb
index abc1234..def5678 100644
--- a/spec/features/homepage_spec.rb
+++ b/spec/features/homepage_spec.rb
@@ -0,0 +1,31 @@+require 'spec_helper'
+
+RSpec.feature "The homepage" do
+ let(:work1) { create(:work, :public, title: ['Work 1']) }
+ b... | Add feature spec for the homepage
|
diff --git a/spec/kramdown/document_spec.rb b/spec/kramdown/document_spec.rb
index abc1234..def5678 100644
--- a/spec/kramdown/document_spec.rb
+++ b/spec/kramdown/document_spec.rb
@@ -2,7 +2,7 @@
require 'kramdown/man'
-describe Kramdown::Document do
+describe Kramdown::Document, :integration do
let(:man_dir) ... | Tag the Kramdown::Document specs with :integration.
|
diff --git a/spec/mal_external_eval_spec.rb b/spec/mal_external_eval_spec.rb
index abc1234..def5678 100644
--- a/spec/mal_external_eval_spec.rb
+++ b/spec/mal_external_eval_spec.rb
@@ -0,0 +1,10 @@+require_relative 'spec_helper'
+
+describe 'Mal' do
+ describe '.typespec' do
+ it 'allows shorthand typespecs to be c... | Add a test for Mal.typespec
|
diff --git a/spec/support/silence_output.rb b/spec/support/silence_output.rb
index abc1234..def5678 100644
--- a/spec/support/silence_output.rb
+++ b/spec/support/silence_output.rb
@@ -1,14 +1,23 @@ # coding: utf-8
shared_context 'silence output', silence_output: true do
+ null_object = BasicObject.new
+
+ class <... | Use a custom null object in the silence output context
|
diff --git a/tests/cuke/step_definitions/log-in.rb b/tests/cuke/step_definitions/log-in.rb
index abc1234..def5678 100644
--- a/tests/cuke/step_definitions/log-in.rb
+++ b/tests/cuke/step_definitions/log-in.rb
@@ -15,7 +15,7 @@ Given "I visit Security/logout"
end
-Given /fill out the log in form with user "(.*)" an... | MINOR: Make Salad accept "login" or "log in"
git-svn-id: 6a4b03ee343470183bbb87c82a181a93d31fa3a9@101870 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
diff --git a/lib/generators/openapi/templates/openapi.rb b/lib/generators/openapi/templates/openapi.rb
index abc1234..def5678 100644
--- a/lib/generators/openapi/templates/openapi.rb
+++ b/lib/generators/openapi/templates/openapi.rb
@@ -2,7 +2,7 @@ config.apis = {
default: {
title: 'Default',
- descr... | Add description for default api config
|
diff --git a/lib/generators/test_unit/model_generator.rb b/lib/generators/test_unit/model_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/test_unit/model_generator.rb
+++ b/lib/generators/test_unit/model_generator.rb
@@ -8,6 +8,15 @@ include ::NestedScaffold::Base
source_root supercla... | Add `references` to fixtures as well
|
diff --git a/lib/twurl/account_information_controller.rb b/lib/twurl/account_information_controller.rb
index abc1234..def5678 100644
--- a/lib/twurl/account_information_controller.rb
+++ b/lib/twurl/account_information_controller.rb
@@ -5,10 +5,13 @@ if rcfile.empty?
CLI.puts "No authorized accounts"
... | Update account information controller now that accounts can have multiple consumer keys.
|
diff --git a/test/helpers/users_helper_test.rb b/test/helpers/users_helper_test.rb
index abc1234..def5678 100644
--- a/test/helpers/users_helper_test.rb
+++ b/test/helpers/users_helper_test.rb
@@ -1,4 +1,11 @@ require 'test_helper'
class UsersHelperTest < ActionView::TestCase
+ include UsersHelper
+
+ test 'role h... | Add test for role description helper
|
diff --git a/spec/features/ordering_spec.rb b/spec/features/ordering_spec.rb
index abc1234..def5678 100644
--- a/spec/features/ordering_spec.rb
+++ b/spec/features/ordering_spec.rb
@@ -10,4 +10,33 @@ end
end
+ describe 'Customizing and ordering a card' do
+ xit 'Can create a card with all of the relevant f... | Add test for new card form
|
diff --git a/spec/model_specs/skill_spec.rb b/spec/model_specs/skill_spec.rb
index abc1234..def5678 100644
--- a/spec/model_specs/skill_spec.rb
+++ b/spec/model_specs/skill_spec.rb
@@ -5,8 +5,14 @@ skill = Skill.new(title: "juggling")
expect(skill.valid?).to be true
end
+
it "is invalid without a title" ... | Add test that verifies the correct time is associated with the skill record
|
diff --git a/spec/models/collection_spec.rb b/spec/models/collection_spec.rb
index abc1234..def5678 100644
--- a/spec/models/collection_spec.rb
+++ b/spec/models/collection_spec.rb
@@ -19,6 +19,13 @@ end
end
context 'OCR Settings' do
+ before :each do
+ DatabaseCleaner.start
+ end
+ after :each ... | Add DB cleaner to model tests
|
diff --git a/lib/magi/simple_cov/railtie.rb b/lib/magi/simple_cov/railtie.rb
index abc1234..def5678 100644
--- a/lib/magi/simple_cov/railtie.rb
+++ b/lib/magi/simple_cov/railtie.rb
@@ -3,6 +3,10 @@ module Magi
module SimpleCov
class Railtie < Rails::Railtie
+ initializer "magi.simple_cov.set_autoload_paths... | Add autoload paths for development convenience
|
diff --git a/lib/metriks_log_webhook/app.rb b/lib/metriks_log_webhook/app.rb
index abc1234..def5678 100644
--- a/lib/metriks_log_webhook/app.rb
+++ b/lib/metriks_log_webhook/app.rb
@@ -42,6 +42,8 @@ body = metric_list.to_hash
settings.metrics_client.submit(body)
+
+ 'ok'
end
end
end | Return 'ok' in the webhook
|
diff --git a/lib/middleman-i18n-markdown.rb b/lib/middleman-i18n-markdown.rb
index abc1234..def5678 100644
--- a/lib/middleman-i18n-markdown.rb
+++ b/lib/middleman-i18n-markdown.rb
@@ -1,5 +1,6 @@ # Require core library
require "middleman-core"
+require "redcarpet"
# Extension namespace
class I18nMarkdown < ::Midd... | Fix unitialized constant by including redcarpet
remove puts
remove comments
tidy up whitespace
|
diff --git a/lib/mongoid/relations/eager.rb b/lib/mongoid/relations/eager.rb
index abc1234..def5678 100644
--- a/lib/mongoid/relations/eager.rb
+++ b/lib/mongoid/relations/eager.rb
@@ -22,8 +22,9 @@ end
def preload(relations, docs)
- grouped_relations = relations.group_by(&:inverse_class_name)
- ... | Remove useless grouped_relations local variable
|
diff --git a/lib/sync/controller_helpers.rb b/lib/sync/controller_helpers.rb
index abc1234..def5678 100644
--- a/lib/sync/controller_helpers.rb
+++ b/lib/sync/controller_helpers.rb
@@ -9,14 +9,8 @@ end
module ClassMethods
- def sync_action(*actions)
- options = {}
- options = actions.last ... | Use clearer sync DSL for controller.
|
diff --git a/lib/validic/third_party_app.rb b/lib/validic/third_party_app.rb
index abc1234..def5678 100644
--- a/lib/validic/third_party_app.rb
+++ b/lib/validic/third_party_app.rb
@@ -12,12 +12,12 @@ # @return [Hashie::Mash] with list of Organization
def get_apps(params={})
params = extract_params(para... | Fix apps.json call so tests pass.
|
diff --git a/spec/api_classes/album_spec.rb b/spec/api_classes/album_spec.rb
index abc1234..def5678 100644
--- a/spec/api_classes/album_spec.rb
+++ b/spec/api_classes/album_spec.rb
@@ -11,6 +11,10 @@ end
describe "restricted methods" do
+ it "should define restricted methods" do
+ LastFM::Album.should re... | Check restricted method definitions in Album
|
diff --git a/spec/whitespace_spec.rb b/spec/whitespace_spec.rb
index abc1234..def5678 100644
--- a/spec/whitespace_spec.rb
+++ b/spec/whitespace_spec.rb
@@ -3,7 +3,7 @@ context 'non-ruby files' do
# Whitespace in ruby files is managed by Rubocop.
# Ignore ems.proto as it's a generated file.
- failures = `git gre... | Check all whitespace, not just space char
|
diff --git a/spec/support/capture_stdout.rb b/spec/support/capture_stdout.rb
index abc1234..def5678 100644
--- a/spec/support/capture_stdout.rb
+++ b/spec/support/capture_stdout.rb
@@ -0,0 +1,11 @@+require 'stringio'
+
+def capture_stdout
+ captured_output = StringIO.new
+ real_stdout = $stdout
+ $stdout = captured_... | Add spec helper for capturing stdout to a string
* Shout out to @avdi for his awesome RubyTapas!
* http://www.rubytapas.com/episodes/29-Redirecting-Output
|
diff --git a/Kiwi.podspec b/Kiwi.podspec
index abc1234..def5678 100644
--- a/Kiwi.podspec
+++ b/Kiwi.podspec
@@ -8,5 +8,6 @@ s.source = { :git => 'https://github.com/allending/Kiwi.git', :tag => '2.0.3' }
s.source_files = 'Classes'
s.framework = 'SenTestingKit'
- s.xcconfig = { 'FRAMEW... | Remove nonexistent header search path
`$(SDKROOT)/Developer/Library/Frameworks` does not exist in the OS X SDK. |
diff --git a/lib/algorithm.rb b/lib/algorithm.rb
index abc1234..def5678 100644
--- a/lib/algorithm.rb
+++ b/lib/algorithm.rb
@@ -12,7 +12,7 @@ def wrapped_js(options)
js = "calculation = function() {"
- @definitions.each { |d| js += "\n var #{d.label};" }
+ @definitions.each { |d| js += "\n v... | Use default values for definitions
|
diff --git a/lib/load_more.rb b/lib/load_more.rb
index abc1234..def5678 100644
--- a/lib/load_more.rb
+++ b/lib/load_more.rb
@@ -16,7 +16,7 @@ per_load = options.delete(:per_load) || self.per_load
last_load_id = options.delete(:last_load)
rel = order(id: :desc).limit(per_load)
- rel = rel.where... | Use table name in where condition to avoid ambiguous column error
|
diff --git a/lib/pgquilter.rb b/lib/pgquilter.rb
index abc1234..def5678 100644
--- a/lib/pgquilter.rb
+++ b/lib/pgquilter.rb
@@ -4,6 +4,8 @@ require 'json'
require 'mail'
require 'github_api'
+
+$:.unshift File.dirname(__FILE__)
require 'pgquilter/config'
require 'pgquilter/application'
| Add app root directory to gem path
|
diff --git a/acls.gemspec b/acls.gemspec
index abc1234..def5678 100644
--- a/acls.gemspec
+++ b/acls.gemspec
@@ -10,7 +10,7 @@ s.homepage = 'https://github.com/kolorahl/acls'
s.license = 'MIT'
- s.add_runtime_dependency('activesupport', '~> 4.2.5')
+ s.add_runtime_dependency('activesupport', '~> 4.2', '>= 4.2.... | Fix Gemspec warnings for overzealous dependency restrictions
|
diff --git a/LE.gemspec b/LE.gemspec
index abc1234..def5678 100644
--- a/LE.gemspec
+++ b/LE.gemspec
@@ -3,7 +3,7 @@
Gem::Specification.new do |s|
s.name = "le"
- s.version = "2.2.8"
+ s.version = "2.2.7"
s.date = Time.now
s.summary = "Logentries plugin"
s.description =<<EOD
| Switch back 2.2.7, last bump not required
|
diff --git a/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb b/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb
+++ b/core/db/migrate/20150609093816_increase_scale_on_pre_tax_am... | Set pre_tax_amount for shipments so that migration works
On existing installations, the migrations `IncreaseScaleOnPreTaxAmounts`
will fail because of existing shipments not having a `pre_tax_amount` set.
Fixes #6525
Fixes #6527
|
diff --git a/core/lib/spree/testing_support/factories/shipping_method_factory.rb b/core/lib/spree/testing_support/factories/shipping_method_factory.rb
index abc1234..def5678 100644
--- a/core/lib/spree/testing_support/factories/shipping_method_factory.rb
+++ b/core/lib/spree/testing_support/factories/shipping_method_fa... | Add carrier and service level to the shipping method factory
|
diff --git a/roles/ucl.rb b/roles/ucl.rb
index abc1234..def5678 100644
--- a/roles/ucl.rb
+++ b/roles/ucl.rb
@@ -33,5 +33,6 @@ )
run_list(
- "role[gb]"
+ "role[gb]",
+ "recipe[prometheus]"
)
| Install basic prometheus node exporter on UCL machines
|
diff --git a/db/migrate/20140708123314_index_role_assignments_filtered_fields.rb b/db/migrate/20140708123314_index_role_assignments_filtered_fields.rb
index abc1234..def5678 100644
--- a/db/migrate/20140708123314_index_role_assignments_filtered_fields.rb
+++ b/db/migrate/20140708123314_index_role_assignments_filtered_f... | Speed up role assignments fetch
(ActionItem3197)
|
diff --git a/db/data_migration/20170118111510_revert_scotland_office_rename.rb b/db/data_migration/20170118111510_revert_scotland_office_rename.rb
index abc1234..def5678 100644
--- a/db/data_migration/20170118111510_revert_scotland_office_rename.rb
+++ b/db/data_migration/20170118111510_revert_scotland_office_rename.rb... | Rename UK Government Scotland back to Scotland Office
Scotland Office was the original name that was changed in
https://github.com/alphagov/whitehall/pull/2953 but this was done
prematurely so we're changing the name back.
|
diff --git a/db/migrate/20190206235345_change_committee_member_id_to_bigint.rb b/db/migrate/20190206235345_change_committee_member_id_to_bigint.rb
index abc1234..def5678 100644
--- a/db/migrate/20190206235345_change_committee_member_id_to_bigint.rb
+++ b/db/migrate/20190206235345_change_committee_member_id_to_bigint.rb... | Update committee_member_id primary key to bigint
|
diff --git a/BothamUI.podspec b/BothamUI.podspec
index abc1234..def5678 100644
--- a/BothamUI.podspec
+++ b/BothamUI.podspec
@@ -9,9 +9,6 @@ s.source = { :git => 'https://github.com/Karumi/BothamUI.git', :tag => s.version }
s.ios.deployment_target = '8.0'
- s.osx.deployment_target = '10.10'
- s.tvos.de... | Remove other deployment_target than iOS
|
diff --git a/to_source.gemspec b/to_source.gemspec
index abc1234..def5678 100644
--- a/to_source.gemspec
+++ b/to_source.gemspec
@@ -5,7 +5,7 @@ s.authors = ['Markus Schirp']
s.email = ['mbj@seonic.net']
s.homepage = 'http://github.com/mbj/to_source'
- s.summary = %... | Fix typo in gem description
|
diff --git a/Casks/codekit.rb b/Casks/codekit.rb
index abc1234..def5678 100644
--- a/Casks/codekit.rb
+++ b/Casks/codekit.rb
@@ -9,5 +9,7 @@ homepage 'https://incident57.com/codekit/'
license :commercial
+ auto_updates true
+
app 'CodeKit.app'
end
| Add auto_updates flag to Codekit
|
diff --git a/Casks/vyprvpn.rb b/Casks/vyprvpn.rb
index abc1234..def5678 100644
--- a/Casks/vyprvpn.rb
+++ b/Casks/vyprvpn.rb
@@ -4,7 +4,7 @@
url "https://www.goldenfrog.com/downloads/vyprvpn/desktop/mac/production/#{version}/VyprVPN_v#{version}.dmg"
name 'VyprVPN'
- homepage 'http://www.goldenfrog.com/vyprvpn'
... | Fix homepage to use SSL in VyprVPN Cask
The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.
|
diff --git a/business.gemspec b/business.gemspec
index abc1234..def5678 100644
--- a/business.gemspec
+++ b/business.gemspec
@@ -21,6 +21,6 @@ spec.add_development_dependency "gc_ruboconfig", "~> 3.3.0"
spec.add_development_dependency "rspec", "~> 3.1"
spec.add_development_dependency "rspec_junit_formatter", "~... | Update rubocop requirement from ~> 1.30.0 to ~> 1.31.1
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://gi... |
diff --git a/lib/kosmos/packages/better_atmospheres.rb b/lib/kosmos/packages/better_atmospheres.rb
index abc1234..def5678 100644
--- a/lib/kosmos/packages/better_atmospheres.rb
+++ b/lib/kosmos/packages/better_atmospheres.rb
@@ -0,0 +1,41 @@+class BetterAtmospheresLowDef < Kosmos::Package
+ title 'Better Atmospheres -... | Add a package for Better Atmospheres.
I'm not entirely sure this works properly, but it definitely has made some
changes.
|
diff --git a/lib/protobuf/active_record/validations.rb b/lib/protobuf/active_record/validations.rb
index abc1234..def5678 100644
--- a/lib/protobuf/active_record/validations.rb
+++ b/lib/protobuf/active_record/validations.rb
@@ -30,7 +30,7 @@ raise ArgumentError, ":with must be specified" if enumerable.nil?
... | Use the new Protobuf Enum API
|
diff --git a/week-4/variables-methods.rb b/week-4/variables-methods.rb
index abc1234..def5678 100644
--- a/week-4/variables-methods.rb
+++ b/week-4/variables-methods.rb
@@ -8,3 +8,25 @@ puts "What is your favorite number?"
fav_number = gets.chomp
puts "How about #{fav_number.to_i + 1}? Isn't that a bigger and better ... | Add reflection for exercise 4.3.
|
diff --git a/app/models/subscriber.rb b/app/models/subscriber.rb
index abc1234..def5678 100644
--- a/app/models/subscriber.rb
+++ b/app/models/subscriber.rb
@@ -3,16 +3,15 @@ def self.top_ten
@front = RedditKit.front_page(options = {:limit => 10})
end
- # Saves top ten title, score, subreddit to db
+
def ... | Revert "rewrite save_top_ten to pull from top_ten"
This reverts commit 311272dda2d01502b050e226d1aff59ee6af8a77.
|
diff --git a/app/services/msg/base.rb b/app/services/msg/base.rb
index abc1234..def5678 100644
--- a/app/services/msg/base.rb
+++ b/app/services/msg/base.rb
@@ -24,5 +24,5 @@ end
# The alias allows us to treat the event_codename as an
# instance attribute
- alias :event_codename, :get_event_codename
+ alias :... | Fix the call to alias, no comma is needed.
|
diff --git a/fix_staging_links.rb b/fix_staging_links.rb
index abc1234..def5678 100644
--- a/fix_staging_links.rb
+++ b/fix_staging_links.rb
@@ -0,0 +1,7 @@+Document.record_timestamps = false
+documents = Document.where("body like '%whitehall.staging%'")
+documents.each do |document|
+ fixed_body = document.body.gsub(... | Fix links in preview that point at the old staging server.
I'll run this manually on preview.
|
diff --git a/floorplanner.gemspec b/floorplanner.gemspec
index abc1234..def5678 100644
--- a/floorplanner.gemspec
+++ b/floorplanner.gemspec
@@ -19,7 +19,7 @@ spec.require_paths = ["lib"]
spec.add_dependency "httpi", "~> 2.2.5"
- spec.add_dependency "nokogiri", "~> 1.6.1"
+ spec.add_dependency "nokogiri", "~> ... | Upgrade nokogiri because of CVE-2017-9050
|
diff --git a/app/models/manageiq/providers/ansible_tower/configuration_manager/refresher.rb b/app/models/manageiq/providers/ansible_tower/configuration_manager/refresher.rb
index abc1234..def5678 100644
--- a/app/models/manageiq/providers/ansible_tower/configuration_manager/refresher.rb
+++ b/app/models/manageiq/provid... | Update to use the recent gem changes
|
diff --git a/Casks/blender.rb b/Casks/blender.rb
index abc1234..def5678 100644
--- a/Casks/blender.rb
+++ b/Casks/blender.rb
@@ -1,6 +1,6 @@ cask :v1 => 'blender' do
- version '2.76'
- sha256 '542bc7fe9871c5a8f80efd5b9657416eda45d3dbeb455189367303203da695c9'
+ version '2.76a'
+ sha256 '37b583d19eb16123065b62a7c05c5... | Upgrade Blender to 2.76a bugfix release
|
diff --git a/Casks/makemkv.rb b/Casks/makemkv.rb
index abc1234..def5678 100644
--- a/Casks/makemkv.rb
+++ b/Casks/makemkv.rb
@@ -1,6 +1,6 @@ cask :v1 => 'makemkv' do
- version '1.9.5'
- sha256 '091a7ae803296783f018682bda2099d53a3d4fff61560836888ac4e73607a75e'
+ version '1.9.6'
+ sha256 'ef555f8e98ff059baa91144162f8... | Update MakeMKV to version 1.9.6 |
diff --git a/SimpleAnimation.podspec b/SimpleAnimation.podspec
index abc1234..def5678 100644
--- a/SimpleAnimation.podspec
+++ b/SimpleAnimation.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "SimpleAnimation"
- s.version = "0.4.0"
+ s.version = "0.4.1"
s.summary = ... | Fix podspec for issue with new build system in xcode 10
|
diff --git a/response.gemspec b/response.gemspec
index abc1234..def5678 100644
--- a/response.gemspec
+++ b/response.gemspec
@@ -18,4 +18,5 @@ gem.add_dependency 'adamantium', '~> 0.0.6'
gem.add_dependency 'equalizer', '~> 0.0.4'
gem.add_dependency 'abstract_type', '~> 0.0.3'
+ gem.add_dependency 'compo... | Add missing dependency to gemspec
|
diff --git a/config/deploy.rb b/config/deploy.rb
index abc1234..def5678 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -20,7 +20,7 @@
desc 'Pull in local OBRA code'
task :after_update_code do
- sudo "svn co svn+ssh://sw@butlerpress.com/var/repos/obra /srv/www/rails/#{application}/local"
+ sudo "svn co --p... | Add SVN password to deplloy file!
git-svn-id: 96bd6241e080dd4199045f7177cf3384e2eaed71@357 2d86388d-c40f-0410-ad6a-a69da6a65d20
|
diff --git a/server/server.rb b/server/server.rb
index abc1234..def5678 100644
--- a/server/server.rb
+++ b/server/server.rb
@@ -30,10 +30,10 @@
system("fontforge /usr/src/app/accentizer.py '#{tmpfile_name}' 2>&1")
- content_type 'application/octet-stream'
-
out_file = tmpfile_no_extension + "out.ttf"
... | Make sure we send content-disposition for downloads
|
diff --git a/app/controllers/sponsors_controller.rb b/app/controllers/sponsors_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sponsors_controller.rb
+++ b/app/controllers/sponsors_controller.rb
@@ -33,7 +33,7 @@ @sponsor = Sponsor.find(params[:id])
if @sponsor.update(sponsor_params)
- rend... | Fix redirect after editing a sponsor.
Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>
|
diff --git a/app/models/edition/supporting_pages.rb b/app/models/edition/supporting_pages.rb
index abc1234..def5678 100644
--- a/app/models/edition/supporting_pages.rb
+++ b/app/models/edition/supporting_pages.rb
@@ -5,6 +5,7 @@ def process_associations_after_save(edition)
@edition.supporting_pages.each do |... | Set slug value of the new_supporting_page to the old one
The slug will be set on create, but set it back to the old slug
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,3 @@ JsonSchemaRails::Engine.routes.draw do
- get '*schema(.:format)', to: 'schemas#get'
+ get '/:schema(.:format)', to: 'schemas#get', constraints: { schema: /[\/a-zA-Z0-9_-]+/ }
e... | Fix schema route for Rails 3
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -16,7 +16,7 @@ resources :thermostat_schedules do
resources :thermostat_schedule_rules
end
-
-
+
+ get 'thermostat' => 'thermostats#show', format: :json
root 'thermostats#s... | Add route for show JSON endpoint
|
diff --git a/congress.gemspec b/congress.gemspec
index abc1234..def5678 100644
--- a/congress.gemspec
+++ b/congress.gemspec
@@ -2,8 +2,8 @@ require File.expand_path('../lib/congress/version', __FILE__)
Gem::Specification.new do |spec|
- spec.add_dependency 'faraday', '~> 0.8.7'
- spec.add_dependency 'faraday_midd... | Update faraday_middleware dependency to ~> 0.9.1
|
diff --git a/github-pages.gemspec b/github-pages.gemspec
index abc1234..def5678 100644
--- a/github-pages.gemspec
+++ b/github-pages.gemspec
@@ -4,7 +4,6 @@
s.name = "github-pages"
s.version = "0.0.1"
- s.date = "2013-08-08"
s.summary = "GitHub Pa... | Remove the gemspec's hardcoded date
`gem build` will automatically fill this in.
|
diff --git a/spec/coverage.rb b/spec/coverage.rb
index abc1234..def5678 100644
--- a/spec/coverage.rb
+++ b/spec/coverage.rb
@@ -6,5 +6,5 @@ formatters << Coveralls::SimpleCov::Formatter
end
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters]
+SimpleCov.formatter = SimpleCov::Formatter::MultiF... | Resolve deprecation warning from SimpleCov
|
diff --git a/spec/fake_app.rb b/spec/fake_app.rb
index abc1234..def5678 100644
--- a/spec/fake_app.rb
+++ b/spec/fake_app.rb
@@ -8,6 +8,9 @@ config.secret_key_base = "test"
config.paths["config/database"] = ["spec/support/database.yml"]
config.eager_load = false
+ if Rails.gem_version >= Gem::Version.n... | Add sqlite3 boolean configuration option, avoids deprecation warning
|
diff --git a/Casks/omnifocus.rb b/Casks/omnifocus.rb
index abc1234..def5678 100644
--- a/Casks/omnifocus.rb
+++ b/Casks/omnifocus.rb
@@ -1,16 +1,30 @@ cask :v1 => 'omnifocus' do
- version :latest
- sha256 :no_check
+ if MacOS.release <= :mountain_lion
+ version '1.10.6'
+ sha256 'bd3aa44dced86fc3921c01f4467422... | Update OmniFocus to use versioned downloads
Make the version check condition more readable
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -10,12 +10,12 @@ def stub_token
stub_request(:get, "http://example.com/micropub/token").
with(headers: {'Authorization'=>'Bearer 1234567890', 'Content-Type'=>'application/x... | Fix response from test stub
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,4 +1,3 @@-RAILS_FRAMEWORK_ROOT='/home/aaron/Projects/Vendor/rails'
# Load the plugin testing framework
$:.unshift("#{File.dirname(__FILE__)}/../../plugin_test_helper/lib")
re... | Remove rogue assignment of RAILS_FRAMEWORK_ROOT
|
diff --git a/NBClient.podspec b/NBClient.podspec
index abc1234..def5678 100644
--- a/NBClient.podspec
+++ b/NBClient.podspec
@@ -6,16 +6,33 @@ s.homepage = 'https://github.com/3dna/nationbuilder-ios'
s.authors = { 'Peng Wang' => 'peng@nationbuilder.com' }
s.source = { :git => 'https://github.com/3dna/nationb... | Update podspec to add UI component as a subspec
Refactor core component into a subspec.
Note all subspecs are included in the root spec if
default_subspecs isn't specified. |
diff --git a/app/controllers/auth.rb b/app/controllers/auth.rb
index abc1234..def5678 100644
--- a/app/controllers/auth.rb
+++ b/app/controllers/auth.rb
@@ -9,9 +9,14 @@
post '/signup' do
user = User.new(params[:user])
- puts user.user_name
- puts user.password_digest
- redirect '/'
+ if user.save
+ session... | Update POST signup route to create user, save to DB and begin session
|
diff --git a/app/controllers/user.rb b/app/controllers/user.rb
index abc1234..def5678 100644
--- a/app/controllers/user.rb
+++ b/app/controllers/user.rb
@@ -0,0 +1,55 @@+post '/login' do
+ user = User.find_by(name: params[:user][:email])
+
+ if user.try(:authenticate, params[:user][:password])
+ session[:user_id] ... | Add routes to survey and dashboard
|
diff --git a/plugins/dns_service/app/services/service_layer_ng/dns_service_services/pool.rb b/plugins/dns_service/app/services/service_layer_ng/dns_service_services/pool.rb
index abc1234..def5678 100644
--- a/plugins/dns_service/app/services/service_layer_ng/dns_service_services/pool.rb
+++ b/plugins/dns_service/app/se... | Revert "fix for service name change in latest misty"
This reverts commit 3ab2902
|
diff --git a/config/environments/production.rb b/config/environments/production.rb
index abc1234..def5678 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -12,7 +12,7 @@ config.active_support.deprecation = :notify
config.log_formatter = ::Logger::Formatter.new
- config.f... | Enforce SSL only in Heroku
Enforcing SSL with the Rails setting breaks staging and possibly production.
Staging and Production already enforce SSL, so set it only for Heroku.
|
diff --git a/jekyll-github-metadata.gemspec b/jekyll-github-metadata.gemspec
index abc1234..def5678 100644
--- a/jekyll-github-metadata.gemspec
+++ b/jekyll-github-metadata.gemspec
@@ -15,7 +15,7 @@ spec.files = `git ls-files -z`.split("\x0").grep(%r{^(lib|bin)/})
spec.require_paths = ["lib"]
- spec.add... | Revert "Lock Octokit to v4.3.0"
|
diff --git a/imdb.gemspec b/imdb.gemspec
index abc1234..def5678 100644
--- a/imdb.gemspec
+++ b/imdb.gemspec
@@ -8,8 +8,8 @@ spec.version = Imdb::VERSION
spec.authors = ["egwspiti"]
spec.email = ["egwspiti@users.noreply.github.com"]
- spec.summary = %q{TODO: Write a short summary. Req... | Update gemspec with summary and description
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.