diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/concerns/searchable.rb b/app/models/concerns/searchable.rb
index abc1234..def5678 100644
--- a/app/models/concerns/searchable.rb
+++ b/app/models/concerns/searchable.rb
@@ -3,14 +3,18 @@ Mongoid::Elasticsearch.autocreate_indexes = false
Mongoid::Elasticsearch.prefix = ENV["MONGOID_ENVIRONMENT"]... | Add elasticsearch config to gem
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -6,9 +6,11 @@ when 'plos'
'logo.plos-alm.png'
when 'default'
- 'logo.alm.png'
+ (image_tag 'logo.a... | Add a lighter variant of Fira Sans, change logo to use SVG.
|
diff --git a/app/models/build/notifications.rb b/app/models/build/notifications.rb
index abc1234..def5678 100644
--- a/app/models/build/notifications.rb
+++ b/app/models/build/notifications.rb
@@ -22,11 +22,12 @@ protected
def emails_enabled?
- notifications.blank? ? true : !emails_disabled?
+ ... | Use 'Hash.has_key?' method to see if default values should be set. emails_disabled? method was a workaround and is not used anywhere else.
|
diff --git a/app/models/unpublishing_reason.rb b/app/models/unpublishing_reason.rb
index abc1234..def5678 100644
--- a/app/models/unpublishing_reason.rb
+++ b/app/models/unpublishing_reason.rb
@@ -3,6 +3,10 @@
attr_accessor :id, :name, :as_sentence
+ PUBLISHED_IN_ERROR_ID = 1
+ CONSOLIDATED_ID = 4
+ WITHDRAWN_... | Add constants for `UnpublishingReason` ids
Convenience to avoid non-idiomatic `UnpublishingReason::Withdrawn.id`
|
diff --git a/lib/rails3_datamapper/railtie.rb b/lib/rails3_datamapper/railtie.rb
index abc1234..def5678 100644
--- a/lib/rails3_datamapper/railtie.rb
+++ b/lib/rails3_datamapper/railtie.rb
@@ -19,6 +19,9 @@ class Railtie < Rails::Railtie
plugin_name :data_mapper
+
+ config.generators.orm = :datamapper... | Set the default ORM generator to :datamapper |
diff --git a/lib/protobuf/active_record/railtie.rb b/lib/protobuf/active_record/railtie.rb
index abc1234..def5678 100644
--- a/lib/protobuf/active_record/railtie.rb
+++ b/lib/protobuf/active_record/railtie.rb
@@ -4,10 +4,8 @@ config.protobuf_active_record = Protobuf::ActiveRecord.config
ActiveSupport.on_... | Check autoloading inside the on_inherit hook
|
diff --git a/lib/sprockets/cache/memcache_store.rb b/lib/sprockets/cache/memcache_store.rb
index abc1234..def5678 100644
--- a/lib/sprockets/cache/memcache_store.rb
+++ b/lib/sprockets/cache/memcache_store.rb
@@ -1,7 +1,7 @@ require 'dalli'
module Sprockets
- module Cache
+ class Cache
# A simple Memcache cac... | Revert "cache is now a module"
This reverts commit 9fda7b76c24bbcb1ce26b38a2480f0ba3564c514.
|
diff --git a/lib/vagrant-aws/action/connect_aws.rb b/lib/vagrant-aws/action/connect_aws.rb
index abc1234..def5678 100644
--- a/lib/vagrant-aws/action/connect_aws.rb
+++ b/lib/vagrant-aws/action/connect_aws.rb
@@ -30,6 +30,7 @@ else
fog_config[:aws_access_key_id] = region_config.access_key_id
... | Use the session token if it's available
|
diff --git a/db/data_migration/20161208112001_patch_empty_document_collections_links_for_publication.rb b/db/data_migration/20161208112001_patch_empty_document_collections_links_for_publication.rb
index abc1234..def5678 100644
--- a/db/data_migration/20161208112001_patch_empty_document_collections_links_for_publication... | Clear document_collections links for publication
The Publishing API will resolve these links for us so clear
any document_collections links data previously added prior
to dependency resolution.
|
diff --git a/app/app.rb b/app/app.rb
index abc1234..def5678 100644
--- a/app/app.rb
+++ b/app/app.rb
@@ -23,7 +23,7 @@ mustache :index
end
- get '/:gem' do
+ get '/gems/:gem' do
@gem = params[:gem]
mustache :gem_info
end
| Move gem_info route to /gems/:gem
This mirrors the rubygems.org routes, and is less limiting with possible
routes in the future. |
diff --git a/spec/support/pages/overlay.rb b/spec/support/pages/overlay.rb
index abc1234..def5678 100644
--- a/spec/support/pages/overlay.rb
+++ b/spec/support/pages/overlay.rb
@@ -22,11 +22,11 @@ end
def mark_as_complete
- find('footer input[type="checkbox"]').click
+ check "Completed"
end
def com... | Make checking completed box work.
|
diff --git a/Framezilla.podspec b/Framezilla.podspec
index abc1234..def5678 100644
--- a/Framezilla.podspec
+++ b/Framezilla.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |spec|
spec.name = "Framezilla"
- spec.version = "1.2.1"
+ spec.version = "2.0.0"
spec.summary = "Comfortab... | Update pod version -> 2.0.0
|
diff --git a/Framezilla.podspec b/Framezilla.podspec
index abc1234..def5678 100644
--- a/Framezilla.podspec
+++ b/Framezilla.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |spec|
spec.name = "Framezilla"
- spec.version = "2.1.2"
+ spec.version = "2.2.0"
spec.summary = "Comfortab... | Change podspec version -> 2.2.0
|
diff --git a/msfl_visitors.gemspec b/msfl_visitors.gemspec
index abc1234..def5678 100644
--- a/msfl_visitors.gemspec
+++ b/msfl_visitors.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |s|
s.name = 'msfl_visitors'
- s.version = '1.2.1'
+ s.version = '1.2.2'
s.date = '2015-07-06'
s.sum... | Update gemspec due to some aesthetic changes in implementation
|
diff --git a/bench/bench_LLLrV.rb b/bench/bench_LLLrV.rb
index abc1234..def5678 100644
--- a/bench/bench_LLLrV.rb
+++ b/bench/bench_LLLrV.rb
@@ -0,0 +1,26 @@+require File.expand_path(File.join(File.dirname(__FILE__), "bench_helper"))
+
+module LibTest
+ extend FFI::Library
+ ffi_lib LIBTEST_PATH
+ attach_function :b... | Add a bench for 64bit integer parameters
|
diff --git a/app/models/user.rb b/app/models/user.rb
index abc1234..def5678 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -23,14 +23,14 @@ end
def guider?
- permissions.include?(GUIDER_PERMISSION)
+ has_permission?(GUIDER_PERMISSION)
end
def resource_manager?
- permissions.include?... | Use GDS-SSO supplied permissions check
GDS-SSO provides a predicate for us to check for the presence of
permissions.
|
diff --git a/app/models/user.rb b/app/models/user.rb
index abc1234..def5678 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,7 +1,8 @@ class User < ApplicationRecord
has_secure_password
- has_many :plans
+ has_many :plans, dependent: :destroy
validates :name, presence: true, length: { minimum: 5 }... | Add preliminary validations and dependent destroy to User model
|
diff --git a/lib/bundler_help.rb b/lib/bundler_help.rb
index abc1234..def5678 100644
--- a/lib/bundler_help.rb
+++ b/lib/bundler_help.rb
@@ -1,13 +1,15 @@ module BundlerHelp
def self.find_path(dir_name)
- path = File.expand_path('.')
- path_arr = path.split(File::SEPARATOR).map {|x| x=="" ? File::SEPARATOR :... | Allow other engines to be checked out parallel to stash_engine as well as in subdirectories
|
diff --git a/lib/awesome_hstore_translate/active_record/act_as_translatable.rb b/lib/awesome_hstore_translate/active_record/act_as_translatable.rb
index abc1234..def5678 100644
--- a/lib/awesome_hstore_translate/active_record/act_as_translatable.rb
+++ b/lib/awesome_hstore_translate/active_record/act_as_translatable.rb... | Enable fallbacks from i18n module
|
diff --git a/lib/generators/renaming_migration/renaming_migration_generator.rb b/lib/generators/renaming_migration/renaming_migration_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/renaming_migration/renaming_migration_generator.rb
+++ b/lib/generators/renaming_migration/renaming_migration_generator.rb... | Put error warning on destroy/rollback of the migration.
|
diff --git a/lib/solr_wrapper.rb b/lib/solr_wrapper.rb
index abc1234..def5678 100644
--- a/lib/solr_wrapper.rb
+++ b/lib/solr_wrapper.rb
@@ -3,7 +3,7 @@
module SolrWrapper
def self.default_solr_version
- '5.4.0'
+ '5.4.1'
end
def self.default_instance_options
| Use Solr 5.4.1 by default
|
diff --git a/db/migrate/20101202205446_remove_published_articles.rb b/db/migrate/20101202205446_remove_published_articles.rb
index abc1234..def5678 100644
--- a/db/migrate/20101202205446_remove_published_articles.rb
+++ b/db/migrate/20101202205446_remove_published_articles.rb
@@ -3,7 +3,7 @@ select_all("SELECT * fr... | Use [:type] instead of .type
ActionItem1733()
|
diff --git a/FazeKit.podspec b/FazeKit.podspec
index abc1234..def5678 100644
--- a/FazeKit.podspec
+++ b/FazeKit.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = 'FazeKit'
- s.version = '0.1.3'
- s.summary = 'A collection of helper functions and extensions for Swift iOS ... | Update podspec to 1.0.0 for Swift 3 branch
|
diff --git a/install_gem_update.rb b/install_gem_update.rb
index abc1234..def5678 100644
--- a/install_gem_update.rb
+++ b/install_gem_update.rb
@@ -31,8 +31,9 @@ Gem::GemRunner.new.run(%w[install did_you_mean:1.0.3] + suffix)
end
Gem::GemRunner.new.run %w[cleanup]
- Gem::GemRunner.new.run(%w... | Add bundler install to trunk, not included with trunk for a while
|
diff --git a/app/controllers/admin/application_controller.rb b/app/controllers/admin/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/application_controller.rb
+++ b/app/controllers/admin/application_controller.rb
@@ -1,8 +1,7 @@ class Admin::ApplicationController < ActionController::... | Add basic HTTP auth only for selected environments
|
diff --git a/config/initializers/3_grit_ext.rb b/config/initializers/3_grit_ext.rb
index abc1234..def5678 100644
--- a/config/initializers/3_grit_ext.rb
+++ b/config/initializers/3_grit_ext.rb
@@ -1,6 +1,7 @@ require 'grit'
require 'pygments'
+Grit::Git.git_binary = Gitlab.config.git.bin_path
Grit::Git.git_timeout ... | Fix not using git.bin_path in config.
Closing #3614" and "Closing #3574.
|
diff --git a/lib/plugins/string_extensions/lib/string_extensions.rb b/lib/plugins/string_extensions/lib/string_extensions.rb
index abc1234..def5678 100644
--- a/lib/plugins/string_extensions/lib/string_extensions.rb
+++ b/lib/plugins/string_extensions/lib/string_extensions.rb
@@ -11,7 +11,7 @@ self.underscore.gsub(... | Use alias instead of alias_method.
|
diff --git a/coopr-provisioner/worker/plugins/automators/chef_solo_automator/resources/cookbooks/coopr_base/recipes/default.rb b/coopr-provisioner/worker/plugins/automators/chef_solo_automator/resources/cookbooks/coopr_base/recipes/default.rb
index abc1234..def5678 100644
--- a/coopr-provisioner/worker/plugins/automato... | Allow a way to disable the base cookbooks
|
diff --git a/Casks/opera-beta.rb b/Casks/opera-beta.rb
index abc1234..def5678 100644
--- a/Casks/opera-beta.rb
+++ b/Casks/opera-beta.rb
@@ -1,6 +1,6 @@ cask :v1 => 'opera-beta' do
- version '30.0.1835.47'
- sha256 '97817b3a4bbf6eb7e92493f241665012f42592b3b404e888ad3cb05f61c8b39c'
+ version '30.0.1835.49'
+ sha256 ... | Upgrade Opera Beta.app to v30.0.1835.49
|
diff --git a/player_spec.rb b/player_spec.rb
index abc1234..def5678 100644
--- a/player_spec.rb
+++ b/player_spec.rb
@@ -0,0 +1,39 @@+require_relative "player"
+
+describe Player do
+
+ before do
+ $stdout = StringIO.new # makes sure that puts results are not printed to the console
+ @initial_health = 150
+ @... | Add spec file for Player class tests
|
diff --git a/lib/convection/model/template/resource_group.rb b/lib/convection/model/template/resource_group.rb
index abc1234..def5678 100644
--- a/lib/convection/model/template/resource_group.rb
+++ b/lib/convection/model/template/resource_group.rb
@@ -9,7 +9,6 @@ include DSL::IntrinsicFunctions
includ... | Remove the unused :type attribute from ResourceGroup
|
diff --git a/lib/generators/cerberus_core/exist_generator.rb b/lib/generators/cerberus_core/exist_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/cerberus_core/exist_generator.rb
+++ b/lib/generators/cerberus_core/exist_generator.rb
@@ -11,22 +11,29 @@ rails generate cerberus_core:exist
Thi... | Add exist generator to the project.
|
diff --git a/lib/rubocop/cop/mixin/configurable_numbering.rb b/lib/rubocop/cop/mixin/configurable_numbering.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/mixin/configurable_numbering.rb
+++ b/lib/rubocop/cop/mixin/configurable_numbering.rb
@@ -7,9 +7,9 @@ module ConfigurableNumbering
include Configu... | Change regexes to not capture
|
diff --git a/spec/moneta/proxies/transformer/transformer_bson_spec.rb b/spec/moneta/proxies/transformer/transformer_bson_spec.rb
index abc1234..def5678 100644
--- a/spec/moneta/proxies/transformer/transformer_bson_spec.rb
+++ b/spec/moneta/proxies/transformer/transformer_bson_spec.rb
@@ -1,4 +1,6 @@-describe 'transform... | Specs: Mark BSON as broken in JRuby 9.3
|
diff --git a/app/controllers/debit_invoices_controller.rb b/app/controllers/debit_invoices_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/debit_invoices_controller.rb
+++ b/app/controllers/debit_invoices_controller.rb
@@ -28,7 +28,9 @@
def create
@debit_invoice = DebitInvoice.new(params[:deb... | Fix debit invoice booking building.
|
diff --git a/deviantart.gemspec b/deviantart.gemspec
index abc1234..def5678 100644
--- a/deviantart.gemspec
+++ b/deviantart.gemspec
@@ -4,24 +4,24 @@ require 'deviantart/version'
Gem::Specification.new do |spec|
- spec.name = "deviantart"
+ spec.name = 'deviantart'
spec.version = Devian... | Use single quote in .gemspec
|
diff --git a/spec/consonant_spec.rb b/spec/consonant_spec.rb
index abc1234..def5678 100644
--- a/spec/consonant_spec.rb
+++ b/spec/consonant_spec.rb
@@ -7,4 +7,21 @@ expect(consonant.input).to eq 'c'
end
end
+
+ describe '#patterns' do
+ it 'should return an Array' do
+ expect(consonant.patterns)... | Add patterns test for consonant
|
diff --git a/spec/solid/tag_spec.rb b/spec/solid/tag_spec.rb
index abc1234..def5678 100644
--- a/spec/solid/tag_spec.rb
+++ b/spec/solid/tag_spec.rb
@@ -1,7 +1,24 @@ require 'spec_helper'
+
+class DummyTag < Solid::Tag
+
+ def display(*args)
+ args.map(&:to_s).join
+ end
+
+end
describe Solid::Tag do
-
+ s... | Add some dumy specs for Solid::Tag
|
diff --git a/common/test/rb/spec/error_spec.rb b/common/test/rb/spec/error_spec.rb
index abc1234..def5678 100644
--- a/common/test/rb/spec/error_spec.rb
+++ b/common/test/rb/spec/error_spec.rb
@@ -11,6 +11,16 @@ end
it "should show stack trace information" do
- pending
+ driver.navigate.to url_for("xhtmlTe... | JariBakken: Implement pending spec for server backtrace.
git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@9511 07704840-8298-11de-bf8c-fd130f914ac9
|
diff --git a/lib/chrono/trigger.rb b/lib/chrono/trigger.rb
index abc1234..def5678 100644
--- a/lib/chrono/trigger.rb
+++ b/lib/chrono/trigger.rb
@@ -31,7 +31,7 @@ end
def period
- iterator.next - Time.now
+ iterator.next - Time.now + 1.second
end
end
end
| Add extra sleep time to adjust to exact minute
|
diff --git a/lib/queri/stats/unanswered_calls/calls_fully_within_the_given_time_interval.rb b/lib/queri/stats/unanswered_calls/calls_fully_within_the_given_time_interval.rb
index abc1234..def5678 100644
--- a/lib/queri/stats/unanswered_calls/calls_fully_within_the_given_time_interval.rb
+++ b/lib/queri/stats/unanswered... | Remove erroneous key from UnansweredCalls report
CallsFullyWithinTheGivenTimeInterval keys were off, due to a bad key given to
the ordered hash. This is now resolved.
|
diff --git a/lib/pure360/client.rb b/lib/pure360/client.rb
index abc1234..def5678 100644
--- a/lib/pure360/client.rb
+++ b/lib/pure360/client.rb
@@ -9,13 +9,13 @@ end
def subscribe(subscriber_params)
- ensure_email(subscriber_params.fetch(:email))
+ ensure_email!(subscriber_params.fetch(:email))
... | Add bang to ensure_email because it raises an error
|
diff --git a/lib/remote/printer.rb b/lib/remote/printer.rb
index abc1234..def5678 100644
--- a/lib/remote/printer.rb
+++ b/lib/remote/printer.rb
@@ -6,7 +6,7 @@
def status(where, what)
c1 = "\033[0;30m"
- c2 = "\033[0;33m"
+ c2 = "\033[0;32m"
c0 = "\033[0m"
log "#{c1}[#{where} >>#{c2} #{what}#{... | Change the status print color.
|
diff --git a/lib/tasks/resque.rake b/lib/tasks/resque.rake
index abc1234..def5678 100644
--- a/lib/tasks/resque.rake
+++ b/lib/tasks/resque.rake
@@ -9,7 +9,8 @@ Resque.workers.each do |w|
worker_start_time = w.processing.fetch("run_at", Time.current).to_time
time_running = Time.current - worker_start_... | Add ENV variable for worker timeout
|
diff --git a/lib/tasks/search.rake b/lib/tasks/search.rake
index abc1234..def5678 100644
--- a/lib/tasks/search.rake
+++ b/lib/tasks/search.rake
@@ -1,4 +1,9 @@ namespace :search do
+ task :drop do
+ ENV['INDEX'] = "issues,parties,representatives,promises,propositions,parliament_issues,topics"
+ Rake::Task['tire... | Add task to drop the index.
|
diff --git a/lib/tasks/travis.rake b/lib/tasks/travis.rake
index abc1234..def5678 100644
--- a/lib/tasks/travis.rake
+++ b/lib/tasks/travis.rake
@@ -11,9 +11,9 @@ raise "cucumber failed!" unless $?.exitstatus == 0
end
- task :protractor do
+ task :protractor => :environment do
puts "Creating test assets... | Load environment for Protractor test
|
diff --git a/MIBlurPopup.podspec b/MIBlurPopup.podspec
index abc1234..def5678 100644
--- a/MIBlurPopup.podspec
+++ b/MIBlurPopup.podspec
@@ -6,9 +6,7 @@ s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Mario Iannotta' => 'info@marioiannotta.com' }
s.source = { :git =... | Add swift version to podspec
|
diff --git a/models/cup_group.rb b/models/cup_group.rb
index abc1234..def5678 100644
--- a/models/cup_group.rb
+++ b/models/cup_group.rb
@@ -9,7 +9,7 @@ end
def positions_table
- GroupPosition.select.select_append{ Sequel.as(goals - received_goals, :diff)}.where(group_id: id).order(Sequel.desc(:points), Seque... | Add third order factor to positions table
|
diff --git a/Casks/azure-cli.rb b/Casks/azure-cli.rb
index abc1234..def5678 100644
--- a/Casks/azure-cli.rb
+++ b/Casks/azure-cli.rb
@@ -0,0 +1,15 @@+cask :v1 => 'azure-cli' do
+ version :latest
+ sha256 :no_check
+
+ url 'http://go.microsoft.com/fwlink/?linkid=252249&clcid=0x409'
+ name 'Microsoft Azure SDK'
+ ho... | Add cask for Microsoft Azure CLI
Closes #8238.
|
diff --git a/RMStore.podspec b/RMStore.podspec
index abc1234..def5678 100644
--- a/RMStore.podspec
+++ b/RMStore.podspec
@@ -1,13 +1,13 @@ Pod::Spec.new do |s|
s.name = "RMStore"
- s.version = "0.1"
+ s.version = "0.2"
s.license = "Apache 2.0"
s.summary = "A lightweight iOS framew... | Use the version of the Pod to identify the Git tag |
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -12,9 +12,15 @@ end
get "/" do
- erb :index, locals: { posts: BlogPost.all }
+ erb :index, locals: { posts: Content::BlogPost.all }
end
get "/:id" do
- erb :show, locals: { post: BlogPost.from_slug(params[:id]) }
+ post =... | Use new namespace and render 404 if blog post is not available |
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -13,6 +13,7 @@ get '/' do
@vip_clients = VipClients.all
send_invitations
+ halt 200
end
def send_invitations
| Add halt 200 to finish
|
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -9,7 +9,7 @@ erb :'index.html'
end
-get %r{/(\d{4})$} do |train|
+get %r{/(.+)$} do |train|
@train = train
@status = train_status(train)
| Remove four-number-only limit for train number (just in case we want to check Amtrak, for example)
|
diff --git a/SwiftQueue.podspec b/SwiftQueue.podspec
index abc1234..def5678 100644
--- a/SwiftQueue.podspec
+++ b/SwiftQueue.podspec
@@ -8,7 +8,10 @@ s.author = { "Lucas Nelaupe" => "lucas.nelaupe@gmail.com" }
s.source = { :git => "https://github.com/lucas34/SwiftQueue.git", :tag => s.version.t... | Add OSx and TVos as supported platform
|
diff --git a/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb b/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb
index abc1234..def5678 100644
--- a/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb
+++ b/spec/views/hyrax/base/_attribute_rows.html.erb_spec.rb
@@ -2,8 +2,13 @@
RSpec.describe 'hyrax/ba... | Add view spec for rights statement
|
diff --git a/spec/controllers/context/pages_controller_spec.rb b/spec/controllers/context/pages_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/context/pages_controller_spec.rb
+++ b/spec/controllers/context/pages_controller_spec.rb
@@ -1,12 +1,6 @@ require 'spec_helper'
describe Context::Pag... | Remove the mock_page method which isn't called within the PagesController spec
|
diff --git a/down.gemspec b/down.gemspec
index abc1234..def5678 100644
--- a/down.gemspec
+++ b/down.gemspec
@@ -12,7 +12,7 @@ spec.email = ["janko.marohnic@gmail.com"]
spec.license = "MIT"
- spec.files = Dir["README.md", "LICENSE.txt", "*.gemspec", "lib/**/*.rb"]
+ spec.files = Dir["... | Include CHANGELOG.md in the packaged gem
|
diff --git a/spec/base-common/interfaces_spec.rb b/spec/base-common/interfaces_spec.rb
index abc1234..def5678 100644
--- a/spec/base-common/interfaces_spec.rb
+++ b/spec/base-common/interfaces_spec.rb
@@ -0,0 +1,24 @@+require 'spec_helper'
+
+# This test requires a VM to be provision with two IPs, preferably one public... | Test interfaces eth0 and eth1
A Test VM must be provision with two IPs
|
diff --git a/app/controllers/mixins/actions/vm_actions/remove_security_group.rb b/app/controllers/mixins/actions/vm_actions/remove_security_group.rb
index abc1234..def5678 100644
--- a/app/controllers/mixins/actions/vm_actions/remove_security_group.rb
+++ b/app/controllers/mixins/actions/vm_actions/remove_security_grou... | Fix rubocop warning in VmActions::RemoveSecurityGroup
|
diff --git a/spec/support/log_redirect_helper.rb b/spec/support/log_redirect_helper.rb
index abc1234..def5678 100644
--- a/spec/support/log_redirect_helper.rb
+++ b/spec/support/log_redirect_helper.rb
@@ -13,6 +13,10 @@
def output
@msgs.join("\n")
+ end
+
+ def flush
+ nil
end
def cl... | Add noop flush for fake log
|
diff --git a/lita-reviewme.gemspec b/lita-reviewme.gemspec
index abc1234..def5678 100644
--- a/lita-reviewme.gemspec
+++ b/lita-reviewme.gemspec
@@ -15,7 +15,7 @@ spec.require_paths = ["lib"]
spec.add_runtime_dependency "lita", ">= 3.1"
- spec.add_runtime_dependency "octokit", "~> 3.7"
+ spec.add_runtime_depen... | Upgrade dependency requirement for octokit
Why:
* Version four has been out for over six months
* Another [Github related Lita extension](https://rubygems.org/gems/lita-github-web-hooks-core) is requiring version 4
|
diff --git a/app/db/migrate/20160207203318_create_resources.rb b/app/db/migrate/20160207203318_create_resources.rb
index abc1234..def5678 100644
--- a/app/db/migrate/20160207203318_create_resources.rb
+++ b/app/db/migrate/20160207203318_create_resources.rb
@@ -0,0 +1,11 @@+class CreateResources < ActiveRecord::Migratio... | Add migration for default content
The only class the application knows is a generic 'Resource' that has
a name as its only attribute. A migration has been added to create the
table.
|
diff --git a/Casks/handbrakecli-nightly.rb b/Casks/handbrakecli-nightly.rb
index abc1234..def5678 100644
--- a/Casks/handbrakecli-nightly.rb
+++ b/Casks/handbrakecli-nightly.rb
@@ -1,6 +1,6 @@ cask :v1 => 'handbrakecli-nightly' do
- version '7010svn'
- sha256 '1ab548fe2c78fa8115736e0c26091283e2ab990825385012bf652ce38... | Update HandbrakeCLI Nightly to v7031svn
HandBrakeCLI Nightly v7031svn built 2015-03-31.
|
diff --git a/app/helpers/blacklight_cornell_requests/request_helper.rb b/app/helpers/blacklight_cornell_requests/request_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/blacklight_cornell_requests/request_helper.rb
+++ b/app/helpers/blacklight_cornell_requests/request_helper.rb
@@ -5,7 +5,7 @@ # instead of... | Fix bug in delivery time estimates display (DISCOVERYACCESS-950)
|
diff --git a/ettu.gemspec b/ettu.gemspec
index abc1234..def5678 100644
--- a/ettu.gemspec
+++ b/ettu.gemspec
@@ -17,7 +17,9 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
- spec.add_dependency 'rails', '>= 4.0'
+ spec.required_ruby_version = '>= 1.9'
+
+ spec.... | Allow Rails v3.* as long as Ruby >= 1.9
|
diff --git a/app/models/photo.rb b/app/models/photo.rb
index abc1234..def5678 100644
--- a/app/models/photo.rb
+++ b/app/models/photo.rb
@@ -7,6 +7,7 @@ key :description, String
key :dimensions, Dimensions
key :etag, String
+ key :key, Key
key :last_modified, Time
key :o... | Store Photo Key as key
|
diff --git a/test/integration/default/minitest/test_default.rb b/test/integration/default/minitest/test_default.rb
index abc1234..def5678 100644
--- a/test/integration/default/minitest/test_default.rb
+++ b/test/integration/default/minitest/test_default.rb
@@ -7,6 +7,6 @@ it "check R version" do
system('echo "q(... | Update R version for default
|
diff --git a/config.rb b/config.rb
index abc1234..def5678 100644
--- a/config.rb
+++ b/config.rb
@@ -17,3 +17,4 @@ # To disable debugging comments that display the original location of your selectors. Uncomment:
line_comments = true
environment = :development
+sass_options = {:cache_location => "/d1/sass-cache"}
| Move sass-cache out of project
|
diff --git a/config.rb b/config.rb
index abc1234..def5678 100644
--- a/config.rb
+++ b/config.rb
@@ -27,6 +27,7 @@ }
configure :development do
+ set :protection, false
use Slimmer::App, prefix: settings.router[:path_prefix], asset_host: settings.slimmer_asset_host
end
| Disable rack protection in development.
This prevents the spurious 403 errors on /preload-autocomplete, although
I'm not sure if this is the correct solution. It would probably be better
to get rack-protection working properly.
|
diff --git a/config.rb b/config.rb
index abc1234..def5678 100644
--- a/config.rb
+++ b/config.rb
@@ -1,19 +1,3 @@-###
-# Compass
-###
-
-# Change Compass configuration
-# compass_config do |config|
-# config.output_style = :compact
-# end
-
-###
-# Helpers
-###
-
-# Automatic image dimensions on image_tag helper
-# a... | Enable asset hashing of files; set default caching policy on newly created s3 files
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -12,7 +12,7 @@ map '/' do
app = Cyclid::API::App
app.set :bind, '0.0.0.0'
- app.set :port, 80
+ app.set :port, 8361
app.run!
end
end
@@ -21,7 +21,7 @@ map '/' do
app = Cyclid::API::App
... | Use the new standard API port
|
diff --git a/stately-jekyll.gemspec b/stately-jekyll.gemspec
index abc1234..def5678 100644
--- a/stately-jekyll.gemspec
+++ b/stately-jekyll.gemspec
@@ -19,6 +19,9 @@ spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "jemoji", "~> 0"
+ spec.add_runtime_dependency "jekyll", "~> 3.... | Add jemoji as a dep
|
diff --git a/criticL/spec/models/movie_spec.rb b/criticL/spec/models/movie_spec.rb
index abc1234..def5678 100644
--- a/criticL/spec/models/movie_spec.rb
+++ b/criticL/spec/models/movie_spec.rb
@@ -22,4 +22,19 @@ expect(movie2.avg_rating).to eq 7.5
end
end
+
+ describe "#search_by_title" do
+ it "searc... | Add tests for search function
|
diff --git a/adapter_extensions.gemspec b/adapter_extensions.gemspec
index abc1234..def5678 100644
--- a/adapter_extensions.gemspec
+++ b/adapter_extensions.gemspec
@@ -20,6 +20,8 @@ s.add_runtime_dependency('rake', '>= 0.8.3')
s.add_runtime_dependency('activesupport', '>= 2.1.0')
s.add_run... | Add missing development dependencies (first pass)
|
diff --git a/ruby/hamsters.rb b/ruby/hamsters.rb
index abc1234..def5678 100644
--- a/ruby/hamsters.rb
+++ b/ruby/hamsters.rb
@@ -0,0 +1,18 @@+print "What is the hamsters name: "
+name = gets.chomp
+
+print "What is the volume (1-10) "
+volume = gets.chomp
+
+print "What is the fur color? "
+fur_color = gets.chomp
+
+pr... | Create hamster file & update with questions
|
diff --git a/recipes/mesosphere.rb b/recipes/mesosphere.rb
index abc1234..def5678 100644
--- a/recipes/mesosphere.rb
+++ b/recipes/mesosphere.rb
@@ -23,7 +23,7 @@ install_mesos
deploy_service_scripts
else
- Chef::Log.info("Mesos is already installed!! Instllation will be skipped.")
+ Chef::Log.info("Mesos is al... | Fix small typo in the log message
|
diff --git a/farmbot.rb b/farmbot.rb
index abc1234..def5678 100644
--- a/farmbot.rb
+++ b/farmbot.rb
@@ -1,6 +1,5 @@ # FarmBot Controller
require 'pry'
-
require_relative 'settings.rb'
system('clear')
@@ -13,6 +12,7 @@ puts ' \/ '
puts '========='
+require_relative 'lib/status'
$status = Status.new
$sh... | Add status require statemnt back
|
diff --git a/features/step_definitions/additional_cli_steps.rb b/features/step_definitions/additional_cli_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/additional_cli_steps.rb
+++ b/features/step_definitions/additional_cli_steps.rb
@@ -0,0 +1,20 @@+Given /^a spec file named "([^"]*)" with:$/ do... | Add custom step definitions for integration tests.
The Aruba cucumber library adds `lib` to the load path. However, it does
not auto load any files. Add a helper step to include this library so it
does not need to be required in each scenario.
Add a declarative step for checking the RSpec output from features.
|
diff --git a/test/tilt_fallback_test.rb b/test/tilt_fallback_test.rb
index abc1234..def5678 100644
--- a/test/tilt_fallback_test.rb
+++ b/test/tilt_fallback_test.rb
@@ -0,0 +1,113 @@+require 'contest'
+require 'tilt'
+
+class TiltFallbackTest < Test::Unit::TestCase
+ class FailTemplate < Tilt::Template
+ def self.... | Add tests for fallback mode |
diff --git a/vignesh/10_sep/sinatra/hello.rb b/vignesh/10_sep/sinatra/hello.rb
index abc1234..def5678 100644
--- a/vignesh/10_sep/sinatra/hello.rb
+++ b/vignesh/10_sep/sinatra/hello.rb
@@ -23,7 +23,7 @@
get'/studb' do
-result= ' Result = '
+result= 'The Result is ' + "<br>"
{
"Name "=>"VIGNESH ",
@@ -32,9 +32... | Make Alignment for the Output
|
diff --git a/examples/deploy.rb b/examples/deploy.rb
index abc1234..def5678 100644
--- a/examples/deploy.rb
+++ b/examples/deploy.rb
@@ -1,4 +1,4 @@-set :application, "asb"
+set :application, "application"
# create a pseudo terminal for every command, otherwise SSH/SVN breaks
#default_run_options[:pty] = true
| Update to generic application name
|
diff --git a/attr_vault.gemspec b/attr_vault.gemspec
index abc1234..def5678 100644
--- a/attr_vault.gemspec
+++ b/attr_vault.gemspec
@@ -18,6 +18,6 @@ gem.add_runtime_dependency 'fernet', '~> 2.1'
gem.add_development_dependency "rspec", '~> 3.0'
- gem.add_development_dependency "pg"
- gem.add_development_depen... | Adjust gem dependencies according to warnings
|
diff --git a/SpinKit.podspec b/SpinKit.podspec
index abc1234..def5678 100644
--- a/SpinKit.podspec
+++ b/SpinKit.podspec
@@ -7,7 +7,7 @@ s.source = {:git => 'https://github.com/raymondjavaxx/SpinKit-ObjC.git', :tag => '1.2.0'}
s.license = {:type => 'MIT', :file => 'LICENSE'}
s.platform = :ios, '6... | Add animator to public headers
|
diff --git a/app/services/organisational_section_service_registry.rb b/app/services/organisational_section_service_registry.rb
index abc1234..def5678 100644
--- a/app/services/organisational_section_service_registry.rb
+++ b/app/services/organisational_section_service_registry.rb
@@ -1,5 +1,2 @@ class OrganisationalSec... | Remove unused service registry constructor
|
diff --git a/script/import_i18n.rb b/script/import_i18n.rb
index abc1234..def5678 100644
--- a/script/import_i18n.rb
+++ b/script/import_i18n.rb
@@ -0,0 +1,19 @@+#!/usr/bin/env ruby
+
+SOURCE = "#{ENV['HOME']}/Downloads/OneBody.zip"
+
+if File.exist?(SOURCE)
+ puts `unzip #{SOURCE} -d /tmp/i18n`
+ Dir['/tmp/i18n/*'].... | Add really dumb script for importing i18n from OneSky.
|
diff --git a/lib/generators/forest/scaffold/templates/model.rb b/lib/generators/forest/scaffold/templates/model.rb
index abc1234..def5678 100644
--- a/lib/generators/forest/scaffold/templates/model.rb
+++ b/lib/generators/forest/scaffold/templates/model.rb
@@ -3,5 +3,9 @@ include Blockable
include Sluggable
inc... | Add resource_description placeholder method in scaffold generator
|
diff --git a/web/app/mailers/admin_mailer.rb b/web/app/mailers/admin_mailer.rb
index abc1234..def5678 100644
--- a/web/app/mailers/admin_mailer.rb
+++ b/web/app/mailers/admin_mailer.rb
@@ -4,7 +4,7 @@ def invite_csv_file_email(respond_to, file)
mail_to = "no-reply@asicshub.com.br"
subject = "Invite File to ... | Add instructions to CSV email
|
diff --git a/spec/adhearsion/xmpp_spec.rb b/spec/adhearsion/xmpp_spec.rb
index abc1234..def5678 100644
--- a/spec/adhearsion/xmpp_spec.rb
+++ b/spec/adhearsion/xmpp_spec.rb
@@ -4,8 +4,35 @@
subject { Adhearsion::XMPP }
- it "should be a module" do
- subject.should be_kind_of Module
+ before :each do
+ Adh... | Add specs for XMPP class |
diff --git a/app/controllers/api/docs/bugs.rb b/app/controllers/api/docs/bugs.rb
index abc1234..def5678 100644
--- a/app/controllers/api/docs/bugs.rb
+++ b/app/controllers/api/docs/bugs.rb
@@ -3,6 +3,59 @@ class Bugs
# :nocov:
include Swagger::Blocks
+
+ swagger_schema :Bug do
+ key :requi... | Add swagger schema for Bug
|
diff --git a/spec/dolphy/response_spec.rb b/spec/dolphy/response_spec.rb
index abc1234..def5678 100644
--- a/spec/dolphy/response_spec.rb
+++ b/spec/dolphy/response_spec.rb
@@ -10,6 +10,10 @@ expect(response.headers).to eq({"Content-type" => "text/html"})
expect(response.body).to eq []
end
+
+ it "... | Add test for instance of Dolphy::Response.
|
diff --git a/spec/swagger/v2/path_spec.rb b/spec/swagger/v2/path_spec.rb
index abc1234..def5678 100644
--- a/spec/swagger/v2/path_spec.rb
+++ b/spec/swagger/v2/path_spec.rb
@@ -0,0 +1,15 @@+require 'spec_helper'
+
+module Swagger
+ module V2
+ describe Path do
+ subject(:path) { Path.new({}) }
+ describe ... | Add spec to make sure parameters is nil by default.
|
diff --git a/app/controllers/manager/instructeurs_controller.rb b/app/controllers/manager/instructeurs_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/manager/instructeurs_controller.rb
+++ b/app/controllers/manager/instructeurs_controller.rb
@@ -2,7 +2,7 @@ class InstructeursController < Manager::A... | Fix invite instructeur from manager
|
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -9,6 +9,10 @@
CLIENT = Mosca::Client.new
+def set_log_message msg
+ @message << Time.now.strftime("%D %H:%M:%S") + " #{msg}"
+end
+
Cuba.define do
on get do
on root do
@@ -18,22 +22,20 @@
on post do
on "publis... | Set time stamp in logs.
|
diff --git a/app/models/edition/user_needs.rb b/app/models/edition/user_needs.rb
index abc1234..def5678 100644
--- a/app/models/edition/user_needs.rb
+++ b/app/models/edition/user_needs.rb
@@ -13,7 +13,9 @@ has_many :edition_user_needs, foreign_key: :edition_id, dependent: :destroy, autosave: true
has_many :us... | Validate new user needs for detailed guides
Rather than skipping the new user need fields if any of them are
blank, skip only if all the fields are blank and show validation
errors when anything has been filled in.
|
diff --git a/db/schema.rb b/db/schema.rb
index abc1234..def5678 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -13,10 +13,6 @@
ActiveRecord::Schema.define(version: 20130726103519) do
- # These are extensions that must be enabled in order to support this database
- enable_extension "plpgsql"
- enable_extension "... | Prepare location to merge with master
|
diff --git a/app/graphql/hcxp_schema.rb b/app/graphql/hcxp_schema.rb
index abc1234..def5678 100644
--- a/app/graphql/hcxp_schema.rb
+++ b/app/graphql/hcxp_schema.rb
@@ -1,5 +1,7 @@ HcxpSchema = GraphQL::Schema.define do
query(Types::QueryType)
+
+ default_max_page_size 25
rescue_from ActiveRecord::RecordNotFou... | Set global max_page_size for graphql
|
diff --git a/0_code_wars/who_likes_it.rb b/0_code_wars/who_likes_it.rb
index abc1234..def5678 100644
--- a/0_code_wars/who_likes_it.rb
+++ b/0_code_wars/who_likes_it.rb
@@ -0,0 +1,11 @@+# http://www.codewars.com/kata/5266876b8f4bf2da9b000362/
+# --- iteration 1 ---
+def likes(names)
+ case names.size
+ when 0 then "n... | Add code wars (6) - who likes it
|
diff --git a/test/test_01_add_worksheet.rb b/test/test_01_add_worksheet.rb
index abc1234..def5678 100644
--- a/test/test_01_add_worksheet.rb
+++ b/test/test_01_add_worksheet.rb
@@ -3,8 +3,41 @@
class TC_add_worksheet < Test::Unit::TestCase
- def test_true
- assert(true)
+ def setup
+ @workbook = WriteExcel.... | Test various encodings in worksheet names (failing)
|
diff --git a/anypresence_generator.gemspec b/anypresence_generator.gemspec
index abc1234..def5678 100644
--- a/anypresence_generator.gemspec
+++ b/anypresence_generator.gemspec
@@ -20,9 +20,9 @@ spec.add_development_dependency "rake"
spec.add_development_dependency "test-unit"
- spec.add_runtime_dependency "oj"... | Upgrade oj, rest-client, and fast_blank.
|
diff --git a/spec/test_examples.rb b/spec/test_examples.rb
index abc1234..def5678 100644
--- a/spec/test_examples.rb
+++ b/spec/test_examples.rb
@@ -0,0 +1,55 @@+#!/usr/bin/env ruby -wKU
+
+# Ensure that all of the examples start properly and respond to a request
+# successfully
+#
+# This set of tests relies on certai... | Add script to confirm that examples are working
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.