diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/lib/rspec/helper_file_spec.rb b/spec/lib/rspec/helper_file_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/rspec/helper_file_spec.rb
+++ b/spec/lib/rspec/helper_file_spec.rb
@@ -0,0 +1,18 @@+RSpec.describe Rambo::RSpec::HelperFile do
+ let(:template_path) {
+ File.expand_path("lib/rspec/templ... | Add test for HelperFile class
|
diff --git a/lib/shipping_materials/mixins/sortable.rb b/lib/shipping_materials/mixins/sortable.rb
index abc1234..def5678 100644
--- a/lib/shipping_materials/mixins/sortable.rb
+++ b/lib/shipping_materials/mixins/sortable.rb
@@ -6,7 +6,7 @@ def sort(context=:objects, &block)
@sorters ||= {}
@sorters[c... | Revert a faulty bug fix
|
diff --git a/lib/deploy/sharing-files.rb b/lib/deploy/sharing-files.rb
index abc1234..def5678 100644
--- a/lib/deploy/sharing-files.rb
+++ b/lib/deploy/sharing-files.rb
@@ -13,4 +13,40 @@ end
end
-after "deploy:finalize_update", "deploy:app_symlinks"+after "deploy:finalize_update", "deploy:app_symlinks"
+
+namespa... | Add more basic setup actions
|
diff --git a/lib/devise_userbin/hooks.rb b/lib/devise_userbin/hooks.rb
index abc1234..def5678 100644
--- a/lib/devise_userbin/hooks.rb
+++ b/lib/devise_userbin/hooks.rb
@@ -1,15 +1,23 @@-# After login
+# Everytime current_<scope> is prepared
#
-Warden::Manager.after_set_user :except => :fetch do |record, warden, opts|... | Use new top-level API from userbin-ruby
|
diff --git a/carrierwave-aws.gemspec b/carrierwave-aws.gemspec
index abc1234..def5678 100644
--- a/carrierwave-aws.gemspec
+++ b/carrierwave-aws.gemspec
@@ -17,7 +17,7 @@ gem.require_paths = ['lib']
gem.add_dependency 'carrierwave', '~> 0.7'
- gem.add_dependency 'aws-sdk', '~> 1.58'
+ gem.add_dependency 'a... | Upgrade aws-sdk to latest in the 2.0 line
|
diff --git a/lib/frontend_generators.rb b/lib/frontend_generators.rb
index abc1234..def5678 100644
--- a/lib/frontend_generators.rb
+++ b/lib/frontend_generators.rb
@@ -2,6 +2,14 @@
module FrontendGenerators
class Bootstrap
+
+ def run
+
+ end
+
+ def bootstrap_css
+ File.join(root, "assets", "... | Write a couple of methods to get paths
|
diff --git a/lib/paypoint/blue/utils.rb b/lib/paypoint/blue/utils.rb
index abc1234..def5678 100644
--- a/lib/paypoint/blue/utils.rb
+++ b/lib/paypoint/blue/utils.rb
@@ -7,7 +7,7 @@ def snakecase_and_symbolize_keys(hash)
case hash
when Hash
- hash.each_with_object({},) do |(key, value), ... | Fix a method visibility issue with `module_function`
|
diff --git a/lib/rspec/parameterized.rb b/lib/rspec/parameterized.rb
index abc1234..def5678 100644
--- a/lib/rspec/parameterized.rb
+++ b/lib/rspec/parameterized.rb
@@ -2,5 +2,16 @@
module RSpec
module Parameterized
+ module ExampleGroupMethods
+ def where(&b)
+ puts "here"
+ end
+ end
+ en... | Add where to example group methods
|
diff --git a/lib/stacks/shiny_server.rb b/lib/stacks/shiny_server.rb
index abc1234..def5678 100644
--- a/lib/stacks/shiny_server.rb
+++ b/lib/stacks/shiny_server.rb
@@ -0,0 +1,15 @@+require 'stacks/namespace'
+require 'stacks/machine_def'
+
+class Stacks::ShinyServer < Stacks::MachineDef
+ def initialize(virtual_servi... | Add incredibly simple shiny server stack
|
diff --git a/lib/tasks/application.rake b/lib/tasks/application.rake
index abc1234..def5678 100644
--- a/lib/tasks/application.rake
+++ b/lib/tasks/application.rake
@@ -12,18 +12,26 @@ loader.load_all
end
+ desc 'Update all the caches'
+ task :update_caches => [:update_member_distances_cache, :update_whip_ca... | Add rake task for updating all caches and set dependencies
|
diff --git a/rails/spec/requests/account_controller_spec.rb b/rails/spec/requests/account_controller_spec.rb
index abc1234..def5678 100644
--- a/rails/spec/requests/account_controller_spec.rb
+++ b/rails/spec/requests/account_controller_spec.rb
@@ -27,7 +27,7 @@ it { compare url, true }
context "new password... | Change example passwords to make it clearer what we're testing
|
diff --git a/lib/lighter/lamp_control.rb b/lib/lighter/lamp_control.rb
index abc1234..def5678 100644
--- a/lib/lighter/lamp_control.rb
+++ b/lib/lighter/lamp_control.rb
@@ -26,11 +26,11 @@ end
def fadeData(lamps, length, cols)
- [mode(lamps,FADE), cols[0].to_i, cols[1].to_i, cols[2].to_i, length]
+ ... | Refactor arrays with splat (*)
|
diff --git a/lib/quickeebooks/logging.rb b/lib/quickeebooks/logging.rb
index abc1234..def5678 100644
--- a/lib/quickeebooks/logging.rb
+++ b/lib/quickeebooks/logging.rb
@@ -35,6 +35,8 @@ end
end
+ extend Logging::ClassMethods
+
class << self
attr_accessor :log_to
attr_accessor :log_formatter_clas... | Add back global Quickeebooks.logger method
This makes it possible to easily use the logger that Quickeebooks is using
outside of Quickeebooks itself.
|
diff --git a/lib/virtus/configuration.rb b/lib/virtus/configuration.rb
index abc1234..def5678 100644
--- a/lib/virtus/configuration.rb
+++ b/lib/virtus/configuration.rb
@@ -9,7 +9,6 @@ @coercer = Coercible::Coercer.new
end
- def call(&block)
yield self if block_given?
self
end
| Remove unused block capture in Configuration
|
diff --git a/app/controllers/contact_controller.rb b/app/controllers/contact_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/contact_controller.rb
+++ b/app/controllers/contact_controller.rb
@@ -1,5 +1,52 @@ class ContactController < ApplicationController
+ def date_count(var_date)
+ str = ''
+ ... | Define date diff. First step.
|
diff --git a/app/controllers/lessons_controller.rb b/app/controllers/lessons_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/lessons_controller.rb
+++ b/app/controllers/lessons_controller.rb
@@ -23,6 +23,19 @@ respond_with_bip @lesson
end
+ def update_file_attachment
+ @lesson = @course.l... | Add File Upload Action for LessonsController
Update the LessonsController to add a file upload action to handle file
uploads.
|
diff --git a/app/controllers/schools_controller.rb b/app/controllers/schools_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/schools_controller.rb
+++ b/app/controllers/schools_controller.rb
@@ -4,61 +4,13 @@ # GET /schools
# GET /schools.json
def index
- @schools = School.all
+ @distric... | Add district variable to index method, remove new, create, edit, update, destroy methods
|
diff --git a/app/controllers/v_cards_controller.rb b/app/controllers/v_cards_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/v_cards_controller.rb
+++ b/app/controllers/v_cards_controller.rb
@@ -1,7 +1,6 @@ class VCardsController < ApplicationController
def show
- return unless params[:id]
- ... | Use params.require to respond with Bad Request should id parameter not be included in request
|
diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/welcome_controller.rb
+++ b/app/controllers/welcome_controller.rb
@@ -2,5 +2,10 @@ layout 'home'
def index
+ if request.host == 'activities.fairwoodexplorer.org'
+ ... | Add top-level redirects to /activities and /walkathon if a user's url is activities.fairwoodexplorer.org or walkathon.fairwoodexplorer.org
|
diff --git a/lib/cineworld_uk/version.rb b/lib/cineworld_uk/version.rb
index abc1234..def5678 100644
--- a/lib/cineworld_uk/version.rb
+++ b/lib/cineworld_uk/version.rb
@@ -1,3 +1,6 @@+# Ruby interface for http://www.cineworld.co.uk
+# @version 0.0.1
module CineworldUk
+ # Gem version
VERSION = "0.0.1"
end
| Document how we mean to go on |
diff --git a/app/models/spree/variant_decorator.rb b/app/models/spree/variant_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/variant_decorator.rb
+++ b/app/models/spree/variant_decorator.rb
@@ -5,6 +5,7 @@ validates :sku, 'spree_fishbowl/sku_in_fishbowl' => true, :if => "sku.present?"
alia... | Allow setting inventory when Fishbowl integration is disabled |
diff --git a/core/file/absolute_path_spec.rb b/core/file/absolute_path_spec.rb
index abc1234..def5678 100644
--- a/core/file/absolute_path_spec.rb
+++ b/core/file/absolute_path_spec.rb
@@ -17,8 +17,15 @@ end
end
- it "doesn't expand '~'" do
+ it "does not expand '~' to a home directory." do
Fi... | Add spec for receiving '~user' in File.absolute_path.
|
diff --git a/spec/models/site_spec.rb b/spec/models/site_spec.rb
index abc1234..def5678 100644
--- a/spec/models/site_spec.rb
+++ b/spec/models/site_spec.rb
@@ -1,12 +1,10 @@ require 'rails_helper'
-RSpec.describe Site, 'site attribut testing' do
- it 'cannot save without a name' do
- site = build(:site, name: ni... | Update site spec with shoulda gem
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -8,6 +8,7 @@
it { is_expected.to have_many(:languages)}
it { is_expected.to have_many(:abilities)}
+ it { is_expected.to define_enum_for(:locale).with([... | Add spec to check the user defines locale enum
The two expected values are German and English.
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -2,4 +2,40 @@
RSpec.describe User, type: :model do
it { should validate_presence_of(:name) }
+
+ context "sign in with omniauth" do
+ let(:exists_user)... | Add omniauth relate test for user model
|
diff --git a/test/cookbooks/rabbitmq_test/recipes/default.rb b/test/cookbooks/rabbitmq_test/recipes/default.rb
index abc1234..def5678 100644
--- a/test/cookbooks/rabbitmq_test/recipes/default.rb
+++ b/test/cookbooks/rabbitmq_test/recipes/default.rb
@@ -19,10 +19,7 @@ # limitations under the License.
#
-case node['pl... | Simplify a platform family check in the test recipe
Ubuntu isn't a platform family and we have a nice helper for this
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/client_spec.rb
+++ b/spec/unit/client_spec.rb
@@ -15,6 +15,11 @@ invalid_url = 'I am not a valid URL'
expect{Client.new invalid_url}.to raise_error(URI::InvalidURIError)
end
+
+ ... | Introduce spurious test failure to test Travis failure reporting
|
diff --git a/lib/geocoder/models/base.rb b/lib/geocoder/models/base.rb
index abc1234..def5678 100644
--- a/lib/geocoder/models/base.rb
+++ b/lib/geocoder/models/base.rb
@@ -9,7 +9,11 @@ module Base
def geocoder_options
- @geocoder_options
+ if defined?(@geocoder_options)
+ @geocoder_... | Fix single table inheritance bug.
Child classes didn't have access to parent's configuration. This is kind
of crude (if geocoder_options not defined, see parent) but it works.
|
diff --git a/lib/forge/cli.rb b/lib/forge/cli.rb
index abc1234..def5678 100644
--- a/lib/forge/cli.rb
+++ b/lib/forge/cli.rb
@@ -26,8 +26,8 @@ project = Forge::Project.create(dir, config, self)
end
- desc "preview", "Start preview process"
- def preview
+ desc "watch", "Start watch process"
+ d... | Rename preview task to watch
|
diff --git a/lib/bigfloat/bigdecimal.rb b/lib/bigfloat/bigdecimal.rb
index abc1234..def5678 100644
--- a/lib/bigfloat/bigdecimal.rb
+++ b/lib/bigfloat/bigdecimal.rb
@@ -1,6 +1,7 @@ # This adds some extensions to BigDecimal for (limited) compatibility with BigFloat types
-# require 'bigdecimal'
+require 'bigdecimal'
+... | Add BigDecimal::Math to simplify use of BigDecimal math functions.
|
diff --git a/spec/controllers/challenges_controller_spec.rb b/spec/controllers/challenges_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/challenges_controller_spec.rb
+++ b/spec/controllers/challenges_controller_spec.rb
@@ -2,69 +2,6 @@
describe ChallengesController do
- # let!(:user) { Us... | Remove all challenge controller tests
|
diff --git a/lib/dm-address/zip_code.rb b/lib/dm-address/zip_code.rb
index abc1234..def5678 100644
--- a/lib/dm-address/zip_code.rb
+++ b/lib/dm-address/zip_code.rb
@@ -1,6 +1,6 @@ module DataMapper
module Address
- class ZipCode < String
+ class ZipCode < String
# Remove all non-digits from given ... | Remove some extra spaces in ZipCode (it was annoying me)
|
diff --git a/lib/identity/heroku_api.rb b/lib/identity/heroku_api.rb
index abc1234..def5678 100644
--- a/lib/identity/heroku_api.rb
+++ b/lib/identity/heroku_api.rb
@@ -7,12 +7,13 @@ "Accept" => "application/vnd.heroku+json; version=3"
}.merge(options[:headers] || {})
if options[:user] || options[... | CHANGE STUFF TO FIND BUG
|
diff --git a/motion-screenshots.gemspec b/motion-screenshots.gemspec
index abc1234..def5678 100644
--- a/motion-screenshots.gemspec
+++ b/motion-screenshots.gemspec
@@ -19,8 +19,9 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_dependency "motion-cocoa... | Add dependency to plist gem and bump others to working versions.
|
diff --git a/lib/rom/yaml/repository.rb b/lib/rom/yaml/repository.rb
index abc1234..def5678 100644
--- a/lib/rom/yaml/repository.rb
+++ b/lib/rom/yaml/repository.rb
@@ -7,13 +7,17 @@ module YAML
# YAML repository
#
+ # Connects to a yaml file and uses it as a data-source
+ #
# @example
- # r... | Change repo example in yard docs [ci skip]
|
diff --git a/lib/fog/bin/hp.rb b/lib/fog/bin/hp.rb
index abc1234..def5678 100644
--- a/lib/fog/bin/hp.rb
+++ b/lib/fog/bin/hp.rb
@@ -0,0 +1,40 @@+class HP < Fog::Bin
+ class << self
+
+ def class_for(key)
+ case key
+ when :cdn
+ Fog::HP::CDN
+ when :compute
+ Fog::HP::Compute
+ wh... | Add a HP provider class for the fog binary.
|
diff --git a/lib/tasks/full_import.rake b/lib/tasks/full_import.rake
index abc1234..def5678 100644
--- a/lib/tasks/full_import.rake
+++ b/lib/tasks/full_import.rake
@@ -25,6 +25,7 @@ client.download_xml_files
client.populate_studies
+ load_event.update(new_studies: Study.count, changed_studies... | Add full import load event study count.
|
diff --git a/lib/tasks/maintenance.rake b/lib/tasks/maintenance.rake
index abc1234..def5678 100644
--- a/lib/tasks/maintenance.rake
+++ b/lib/tasks/maintenance.rake
@@ -16,6 +16,9 @@ begin
m.attachment_height = Paperclip::Geometry.from_file(m.attachment.path(:big)).height.to_i
... | Add debug puts in rake task
|
diff --git a/app/controllers/profile_photos_controller.rb b/app/controllers/profile_photos_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/profile_photos_controller.rb
+++ b/app/controllers/profile_photos_controller.rb
@@ -1,7 +1,7 @@ class ProfilePhotosController < ApplicationController
def create... | Return photo JSON with text MIME type
This is a work around for an IE issue. Recent versions of IE treat the
photo JSON returned as a file download, instead of passing it to the
target iframe.
Tested in IE11 against staging environment.
|
diff --git a/qu.gemspec b/qu.gemspec
index abc1234..def5678 100644
--- a/qu.gemspec
+++ b/qu.gemspec
@@ -2,7 +2,9 @@ $:.push File.expand_path("../lib", __FILE__)
require "qu/version"
-plugins = Dir['qu-*.gemspec'].map {|gemspec| gemspec.scan(/qu-(.*)\.gemspec/).flatten.first }.join('\|')
+plugin_files = Dir['qu-*.ge... | Read plugin gemspecs to get list of plugin files.
|
diff --git a/spec/controllers/static_pages_controller_spec.rb b/spec/controllers/static_pages_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/static_pages_controller_spec.rb
+++ b/spec/controllers/static_pages_controller_spec.rb
@@ -8,12 +8,5 @@ expect(response).to have_http_status(:succes... | Remove test for old static map
|
diff --git a/app/workers/share_analytics_updater.rb b/app/workers/share_analytics_updater.rb
index abc1234..def5678 100644
--- a/app/workers/share_analytics_updater.rb
+++ b/app/workers/share_analytics_updater.rb
@@ -3,21 +3,44 @@
class ShareAnalyticsUpdater
def self.update_shares
- puts "Fetching data..."
+ ... | Tidy up share analytics updater class
|
diff --git a/spec/views/duckrails/home/index.html.erb_spec.rb b/spec/views/duckrails/home/index.html.erb_spec.rb
index abc1234..def5678 100644
--- a/spec/views/duckrails/home/index.html.erb_spec.rb
+++ b/spec/views/duckrails/home/index.html.erb_spec.rb
@@ -1,5 +1,20 @@ require 'rails_helper'
-RSpec.describe "home/ind... | Add view specs for application’s index. |
diff --git a/app/controllers/api/logs_controller.rb b/app/controllers/api/logs_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/logs_controller.rb
+++ b/app/controllers/api/logs_controller.rb
@@ -16,7 +16,12 @@ log[:event] = params[:event]
log[:time] = DateTime.strptime("#{params[:time].... | Store extra key:value pairs from json post in extras
|
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
@@ -1,7 +1,7 @@ class CommentsController < ApplicationController
- before_action :set_submission
def ... | Refactor comments controller, remove set_submission method
|
diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/services_controller.rb
+++ b/app/controllers/services_controller.rb
@@ -1,6 +1,6 @@ class ServicesController < ApplicationController
def index
@authority = LocalAuthor... | Order Services by LGSL code
The services are now ordered by LGSL until we decide there is a better
way to order them.
|
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
@@ -3,13 +3,15 @@
def create
session[:user_id] = user.id
- redirect_to session[:return_url] || ... | Return users to the correct page on sign out
|
diff --git a/app/controllers/versions_controller.rb b/app/controllers/versions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/versions_controller.rb
+++ b/app/controllers/versions_controller.rb
@@ -9,7 +9,7 @@ if @version
@instrument_version = @version.reify
else
- redirect_to @i... | Send to current project instruments path for current instrument version
|
diff --git a/test/helper.rb b/test/helper.rb
index abc1234..def5678 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,4 +1,5 @@ require 'rubygems'
+gem 'test-unit', '>= 2.1'
require 'test/unit'
require 'shoulda'
| Add gem version dependency on test-unit >= 2.1.0
|
diff --git a/test/integration/add-ons-no-fqdn/default_spec.rb b/test/integration/add-ons-no-fqdn/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/add-ons-no-fqdn/default_spec.rb
+++ b/test/integration/add-ons-no-fqdn/default_spec.rb
@@ -10,8 +10,4 @@ describe command('chef-manage-ctl status') do
... | Remove the test from the old sync install
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/cowserv.rb b/cowserv.rb
index abc1234..def5678 100644
--- a/cowserv.rb
+++ b/cowserv.rb
@@ -1,8 +1,10 @@ #!/usr/bin/env ruby
+
+require "erb"
+require "open3"
require "rubygems"
require "sinatra"
-require "erb"
COWSAY_OPTIONS = %w(f b d g p s t w y e T W)
@@ -19,29 +21,34 @@ end
get "/list" do
... | Use Open3 to execute cowsay instead of dangerous backticks
|
diff --git a/app/models/document_series.rb b/app/models/document_series.rb
index abc1234..def5678 100644
--- a/app/models/document_series.rb
+++ b/app/models/document_series.rb
@@ -4,7 +4,9 @@
belongs_to :organisation
- has_many :groups, class_name: 'DocumentSeriesGroup', order: 'document_series_groups.ordering'... | Destroy doc series groups when series deleted
|
diff --git a/tasks/vendor_sqlite3.rake b/tasks/vendor_sqlite3.rake
index abc1234..def5678 100644
--- a/tasks/vendor_sqlite3.rake
+++ b/tasks/vendor_sqlite3.rake
@@ -17,7 +17,7 @@
unless File.exist?(checkpoint)
cflags = "-O2 -DSQLITE_ENABLE_COLUMN_METADATA"
- cflags << " -fPIC" if recipe.host.include?(... | Fix mini ports compilation issue
Host might not be set when doing native compilation.
|
diff --git a/lib/chef/provider/log.rb b/lib/chef/provider/log.rb
index abc1234..def5678 100644
--- a/lib/chef/provider/log.rb
+++ b/lib/chef/provider/log.rb
@@ -24,6 +24,8 @@ # @author Cary Penniman <cary@rightscale.com>
# @author Tyler Cloke <tyler@chef.io>
class ChefLog < Chef::Provider
+ p... | Add back the provides to the provider
Magic doesn't work here since the class name isn't magical
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/dbt/drivers/mssql.rb b/lib/dbt/drivers/mssql.rb
index abc1234..def5678 100644
--- a/lib/dbt/drivers/mssql.rb
+++ b/lib/dbt/drivers/mssql.rb
@@ -17,7 +17,7 @@ include Dbt::SqlServerConfig
def self.jdbc_driver_dependencies
- %w(net.sourceforge.jtds:jtds:jar:1.2.4)
+ %w(net.sourceforg... | Upgrade to a more modern version of jtds
|
diff --git a/omniauth-eventbrite.gemspec b/omniauth-eventbrite.gemspec
index abc1234..def5678 100644
--- a/omniauth-eventbrite.gemspec
+++ b/omniauth-eventbrite.gemspec
@@ -14,7 +14,6 @@
spec.files = `git ls-files`.split("\n")
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s... | Remove non-existent executables from spec
|
diff --git a/lib/heroku/kensa/http.rb b/lib/heroku/kensa/http.rb
index abc1234..def5678 100644
--- a/lib/heroku/kensa/http.rb
+++ b/lib/heroku/kensa/http.rb
@@ -27,12 +27,13 @@
begin
args = [
- (OkJson.encode(payload) if payload),
- {
- :accept => "application/jso... | Use JSON content-type only if payload exists
|
diff --git a/lib/mnemosyne/builder.rb b/lib/mnemosyne/builder.rb
index abc1234..def5678 100644
--- a/lib/mnemosyne/builder.rb
+++ b/lib/mnemosyne/builder.rb
@@ -11,7 +11,22 @@ # rubocop:disable Metrics/AbcSize
# rubocop:disable Metrics/MethodLength
def create!
+ activity = ::Activity.fetch payload.fe... | Move Activity and Application fetchout of transaction
This should reduce not unique record exceptions due to creating unique
activities in longer transactions.
|
diff --git a/lib/pager_api/railtie.rb b/lib/pager_api/railtie.rb
index abc1234..def5678 100644
--- a/lib/pager_api/railtie.rb
+++ b/lib/pager_api/railtie.rb
@@ -1,8 +1,7 @@ module PagerApi
class Railtie < Rails::Railtie
- config.after_initialize do
+ initializer "pager_api.configure_pagination_helpers" do
... | Fix loading pagination helpers for rails 5
|
diff --git a/lib/serverkit/command.rb b/lib/serverkit/command.rb
index abc1234..def5678 100644
--- a/lib/serverkit/command.rb
+++ b/lib/serverkit/command.rb
@@ -26,7 +26,7 @@ when "validate"
validate
else
- raise Errors::UnknownActionNameError
+ raise Errors::UnknownActionNameError, ... | Fix unknown action name handling
|
diff --git a/lib/similarweb/client.rb b/lib/similarweb/client.rb
index abc1234..def5678 100644
--- a/lib/similarweb/client.rb
+++ b/lib/similarweb/client.rb
@@ -31,7 +31,10 @@ protected
def request(uri, params = {}, http_method = :get)
- response = http_client.public_send(http_method, "#{uri}?Format=JSO... | Refactor to add a parse response method
|
diff --git a/lib/tasks/start_app.rake b/lib/tasks/start_app.rake
index abc1234..def5678 100644
--- a/lib/tasks/start_app.rake
+++ b/lib/tasks/start_app.rake
@@ -0,0 +1,10 @@+require 'test_app_starter.rb'
+
+namespace :idt do # idt stands for Image Downloader Test
+ desc 'Start test sinatra application'
+ task :start_... | Add rake task to start test app
|
diff --git a/lib/vcloud/net_launch.rb b/lib/vcloud/net_launch.rb
index abc1234..def5678 100644
--- a/lib/vcloud/net_launch.rb
+++ b/lib/vcloud/net_launch.rb
@@ -5,7 +5,7 @@ class NetLaunch
def initialize
- @config_loader = Vcloud::ConfigLoader.new
+ @config_loader = Vcloud::Core::ConfigLoader.new
... | Update Net Launch to use core config
I meant to do this and forgot, and this was only picked up in the long version of the integration tests. Meaning that there are no unit tests around this at all. We should fix that.
|
diff --git a/sequel/benchmarks/bm_sequel_discourse.rb b/sequel/benchmarks/bm_sequel_discourse.rb
index abc1234..def5678 100644
--- a/sequel/benchmarks/bm_sequel_discourse.rb
+++ b/sequel/benchmarks/bm_sequel_discourse.rb
@@ -0,0 +1,79 @@+require "bundler/setup"
+require "sequel"
+
+require_relative "support/benchmark_s... | Add sequel real world discourse bench
|
diff --git a/MBAlertView.podspec b/MBAlertView.podspec
index abc1234..def5678 100644
--- a/MBAlertView.podspec
+++ b/MBAlertView.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "MBAlertView"
- s.version = "1.2.0"
+ s.version = "1.3.0"
s.summary = "Fast, fun, and simple block-based a... | Update pod spec to new tag
Pulled from upstream. |
diff --git a/test_lib/broker_config.rb b/test_lib/broker_config.rb
index abc1234..def5678 100644
--- a/test_lib/broker_config.rb
+++ b/test_lib/broker_config.rb
@@ -7,7 +7,8 @@ when 'bunny'
{
adapter: :bunny,
- vhost: 'message-driver-test'
+ vhost: 'message-driver-test',
+ ... | Increase bunny continuation_timeout since ci is slow
|
diff --git a/distribution/homebrew/mhost.rb b/distribution/homebrew/mhost.rb
index abc1234..def5678 100644
--- a/distribution/homebrew/mhost.rb
+++ b/distribution/homebrew/mhost.rb
@@ -1,8 +1,8 @@ class Mhost < Formula
desc "More than host - A modern take on the classic host DNS lookup utility"
homepage "https://... | Update homebrew formula for release 0.3.0
|
diff --git a/spec/features/course/lesson_plan_spec.rb b/spec/features/course/lesson_plan_spec.rb
index abc1234..def5678 100644
--- a/spec/features/course/lesson_plan_spec.rb
+++ b/spec/features/course/lesson_plan_spec.rb
@@ -0,0 +1,51 @@+require 'rails_helper'
+
+RSpec.feature 'Course: Lesson Plan' do
+ subject { page... | Add Course Lesson Plan feature specs
|
diff --git a/spec/functional/web_link_row_spec.rb b/spec/functional/web_link_row_spec.rb
index abc1234..def5678 100644
--- a/spec/functional/web_link_row_spec.rb
+++ b/spec/functional/web_link_row_spec.rb
@@ -0,0 +1,35 @@+describe "FormController/WebLinkRow" do
+ tests Formotion::FormController
+
+ # By default, `tes... | Add functional test for WebLinkRow
|
diff --git a/db/migrate/20190221194939_change_admin_partner_id_to_bigint.rb b/db/migrate/20190221194939_change_admin_partner_id_to_bigint.rb
index abc1234..def5678 100644
--- a/db/migrate/20190221194939_change_admin_partner_id_to_bigint.rb
+++ b/db/migrate/20190221194939_change_admin_partner_id_to_bigint.rb
@@ -0,0 +1,... | Update admin_partner_id primary key to bigint
|
diff --git a/users.gemspec b/users.gemspec
index abc1234..def5678 100644
--- a/users.gemspec
+++ b/users.gemspec
@@ -18,7 +18,6 @@ spec.require_paths = ["lib"]
spec.add_dependency 'bound'
- spec.add_dependency 'bcrypt'
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "... | Revert "Add bcrypt and bundle"
This reverts commit 2d33b11fb46e360afe8f7c350a19e181d0531827.
|
diff --git a/valor.gemspec b/valor.gemspec
index abc1234..def5678 100644
--- a/valor.gemspec
+++ b/valor.gemspec
@@ -20,4 +20,6 @@
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
+
+ spec.add_runtime_dependency 'json'
end
| Add json to runtime dependency list
|
diff --git a/mp4-h264-nginx-module.rb b/mp4-h264-nginx-module.rb
index abc1234..def5678 100644
--- a/mp4-h264-nginx-module.rb
+++ b/mp4-h264-nginx-module.rb
@@ -14,16 +14,18 @@ end
__END__
---- ../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c.orig 2010-05-24 18:04:43.000000000 +0400
-+++ ../nginx_mo... | Fix patch __END__ data for mp4-h264 module
Homebrew/homebrew-nginx#68 |
diff --git a/core/lib/refinery/catch_all_routes.rb b/core/lib/refinery/catch_all_routes.rb
index abc1234..def5678 100644
--- a/core/lib/refinery/catch_all_routes.rb
+++ b/core/lib/refinery/catch_all_routes.rb
@@ -1,11 +1,3 @@ ::Refinery::Application.routes.draw do
- match '/admin(/*path)', :to => redirect {|params, re... | Remove /admin catch all route.
|
diff --git a/test/features/loged_user_can_only_manages_its_owm_organization_services_test.rb b/test/features/loged_user_can_only_manages_its_owm_organization_services_test.rb
index abc1234..def5678 100644
--- a/test/features/loged_user_can_only_manages_its_owm_organization_services_test.rb
+++ b/test/features/loged_use... | Add test for user can't mannage services,
or versions for other organizations.
|
diff --git a/lib/active_record/associations/builder/count_loader.rb b/lib/active_record/associations/builder/count_loader.rb
index abc1234..def5678 100644
--- a/lib/active_record/associations/builder/count_loader.rb
+++ b/lib/active_record/associations/builder/count_loader.rb
@@ -1,6 +1,8 @@ module ActiveRecord::Associ... | Support all of has_many options
|
diff --git a/core/spec/interactors/queries/feed_global.rb b/core/spec/interactors/queries/feed_global.rb
index abc1234..def5678 100644
--- a/core/spec/interactors/queries/feed_global.rb
+++ b/core/spec/interactors/queries/feed_global.rb
@@ -0,0 +1,32 @@+require 'spec_helper'
+
+describe Interactors::Feed::Global do
+ ... | Add unit test verifying that activities are now lazily fetched as needed
|
diff --git a/spec/models/person_spec.rb b/spec/models/person_spec.rb
index abc1234..def5678 100644
--- a/spec/models/person_spec.rb
+++ b/spec/models/person_spec.rb
@@ -22,7 +22,7 @@ end
it 'stores arbitrary fields' do
- fields = { 'a field' => 'b', 'd' => 3, 'f' => true }
+ fields = { 'a field!@#$%^&*()... | Test that arbitrary fields can hold non-ascii characters.
|
diff --git a/db/migrate/8_add_timestamps_to_all_tables.rb b/db/migrate/8_add_timestamps_to_all_tables.rb
index abc1234..def5678 100644
--- a/db/migrate/8_add_timestamps_to_all_tables.rb
+++ b/db/migrate/8_add_timestamps_to_all_tables.rb
@@ -0,0 +1,12 @@+class AddTimestampsToAllTables < ActiveRecord::Migration
+ def ch... | Add timestamps to all tables
|
diff --git a/Casks/appcleaner.rb b/Casks/appcleaner.rb
index abc1234..def5678 100644
--- a/Casks/appcleaner.rb
+++ b/Casks/appcleaner.rb
@@ -1,13 +1,13 @@ cask :v1 => 'appcleaner' do
- version '2.2.3'
- sha256 '90b3d8e3c32388035e5154594222d66d48d5cad263a5387f77f9ea77315af84d'
+ version '2.3'
+ sha256 '69da212e2972e... | Update AppCleaner.app to version 2.3
|
diff --git a/Casks/endlesssky.rb b/Casks/endlesssky.rb
index abc1234..def5678 100644
--- a/Casks/endlesssky.rb
+++ b/Casks/endlesssky.rb
@@ -1,6 +1,6 @@ cask :v1 => 'endlesssky' do
- version '0.8.2'
- sha256 '65ae266e629c17b46fa69593fdbb7b318620f4eb68085f135e63046dae6751ad'
+ version '0.8.3'
+ sha256 'f3f96120d6222... | Update Endless Sky to v0.8.3
|
diff --git a/app/controllers/concerns/repository_manager.rb b/app/controllers/concerns/repository_manager.rb
index abc1234..def5678 100644
--- a/app/controllers/concerns/repository_manager.rb
+++ b/app/controllers/concerns/repository_manager.rb
@@ -21,7 +21,14 @@ date = params[:snapshot_id] || params[:id]
if... | Use latest snapshot if snapshot cannot be found
A snapshot might be selected through the URL that is not available.
Instead of failing all together, the latest snapshot of the repository
is selected. What is still missing is an automated redirection.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579... |
diff --git a/app/controllers/supporting_pages_controller.rb b/app/controllers/supporting_pages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/supporting_pages_controller.rb
+++ b/app/controllers/supporting_pages_controller.rb
@@ -1,11 +1,13 @@ class SupportingPagesController < PublicFacingController
... | Make view and preview of supporting pages work
Also make the preview checking more secure by ensuring the
current user can see the previewed records.
|
diff --git a/migrate/20190826124739_add_well_connected_and_importance_to_country_statistic.rb b/migrate/20190826124739_add_well_connected_and_importance_to_country_statistic.rb
index abc1234..def5678 100644
--- a/migrate/20190826124739_add_well_connected_and_importance_to_country_statistic.rb
+++ b/migrate/201908261247... | Add stats for marine as well
|
diff --git a/app/serializers/api/admin/exchange_serializer.rb b/app/serializers/api/admin/exchange_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/api/admin/exchange_serializer.rb
+++ b/app/serializers/api/admin/exchange_serializer.rb
@@ -4,9 +4,6 @@ has_many :enterprise_fees, serializer: Api::Admin... | Load actual variants in the exchange, wrong behaviour was implemented in previous two commits
|
diff --git a/spec/unit/mutant/matcher/methods/instance_spec.rb b/spec/unit/mutant/matcher/methods/instance_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/mutant/matcher/methods/instance_spec.rb
+++ b/spec/unit/mutant/matcher/methods/instance_spec.rb
@@ -1,39 +1,40 @@ RSpec.describe Mutant::Matcher::Methods::Inst... | Redefine class in instance matcher spec
- rspec describes are not classes, so the class was defined globally
- this caused warnings for other matchers |
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -12,7 +12,6 @@ :always_check => true
)
use Sass::Plugin::Rack
- use Rack::Reloader
end
dbconfig = YAML.load(File.read('config/database.yml'))
Kalimba::Models::Base.establish_connection dbconfig[environment]... | Remove reloader, doesn't work with camping
|
diff --git a/recipes/final.rb b/recipes/final.rb
index abc1234..def5678 100644
--- a/recipes/final.rb
+++ b/recipes/final.rb
@@ -38,3 +38,17 @@ members 'git'
append true
end
+
+# Thanks http://programster.blogspot.ca/2014/09/docker-implementing-container-memory.html
+
+bash 'remove warning when adding memory limi... | Update Grub to fix memory allocation warning.
|
diff --git a/app/models/competitions/oregon_womens_prestige_series.rb b/app/models/competitions/oregon_womens_prestige_series.rb
index abc1234..def5678 100644
--- a/app/models/competitions/oregon_womens_prestige_series.rb
+++ b/app/models/competitions/oregon_womens_prestige_series.rb
@@ -13,6 +13,8 @@ def categorie... | Add Category 3 Women to OWPS
|
diff --git a/lib/breaker/rails_cache/repo.rb b/lib/breaker/rails_cache/repo.rb
index abc1234..def5678 100644
--- a/lib/breaker/rails_cache/repo.rb
+++ b/lib/breaker/rails_cache/repo.rb
@@ -25,10 +25,11 @@ def upsert(attributes)
fuse = store.find attributes.fetch(:name)
fuse.update attributes
+ ... | Fix a bug with returning the fuse and calculating the size of the store
|
diff --git a/lib/contextio/email_settings.rb b/lib/contextio/email_settings.rb
index abc1234..def5678 100644
--- a/lib/contextio/email_settings.rb
+++ b/lib/contextio/email_settings.rb
@@ -1,10 +1,34 @@ module ContextIO
class EmailSettings < APIResource
def self.discover_for(email_address, source_type = 'imap')... | Fix API param name and sugar over nested attributes.
|
diff --git a/slack-bot-server/server.rb b/slack-bot-server/server.rb
index abc1234..def5678 100644
--- a/slack-bot-server/server.rb
+++ b/slack-bot-server/server.rb
@@ -13,7 +13,7 @@ def restart!(wait = 1)
# when an integration is disabled, a live socket is closed, which causes the default behavior of the cl... | Improve restart on close performance.
|
diff --git a/test/models/post_test.rb b/test/models/post_test.rb
index abc1234..def5678 100644
--- a/test/models/post_test.rb
+++ b/test/models/post_test.rb
@@ -30,4 +30,24 @@ assert_equal(["は数値で入力してください"], category.errors[:order])
end
end
+
+ sub_test_case "relation" do
+ setup do
+ @author = @s... | test: Destroy author that has posts
|
diff --git a/xpath.gemspec b/xpath.gemspec
index abc1234..def5678 100644
--- a/xpath.gemspec
+++ b/xpath.gemspec
@@ -14,7 +14,7 @@ s.description = 'XPath is a Ruby DSL for generating XPath expressions'
s.license = 'MIT'
- s.files = Dir.glob('{lib,spec}/**/*') + %w[README.md]
+ s.files = Dir.glob('lib/**/*') + ... | Remove spec files from bundled gem
|
diff --git a/test/test_constructor.rb b/test/test_constructor.rb
index abc1234..def5678 100644
--- a/test/test_constructor.rb
+++ b/test/test_constructor.rb
@@ -4,8 +4,9 @@
def test_build_fail
- spore = Spore.new() rescue nil
- assert_nil spore
+ assert_raise ArgumentError do
+ spore = Spore.new()
+... | Use assert_raise to catch an exception in tests
|
diff --git a/.chef/knife.rb b/.chef/knife.rb
index abc1234..def5678 100644
--- a/.chef/knife.rb
+++ b/.chef/knife.rb
@@ -1,3 +1,21 @@ current_dir = File.dirname(__FILE__)
+
+log_level :debug
+log_location STDOUT
+node_name "odi"
+client_key "#{current_dir}/odi.pem"
+v... | Bring in bits from cuke-chef
|
diff --git a/lib/esri/cli/cmd/dataset_cmd.rb b/lib/esri/cli/cmd/dataset_cmd.rb
index abc1234..def5678 100644
--- a/lib/esri/cli/cmd/dataset_cmd.rb
+++ b/lib/esri/cli/cmd/dataset_cmd.rb
@@ -15,7 +15,7 @@ dataset.desc 'Links'
dataset.command :links do |links|
links.action do
- pp Esri::Dataset.fetch_links
... | Use puts instead of pp
|
diff --git a/lib/flame/dispatcher/request.rb b/lib/flame/dispatcher/request.rb
index abc1234..def5678 100644
--- a/lib/flame/dispatcher/request.rb
+++ b/lib/flame/dispatcher/request.rb
@@ -33,11 +33,8 @@ env.each_with_object({}) do |(key, value), result|
next unless key.start_with?(HEADER_PREFIX)
- ## T... | Complete `TODO` after Ruby < 2.5 dropping
|
diff --git a/lib/frisky/models/repository.rb b/lib/frisky/models/repository.rb
index abc1234..def5678 100644
--- a/lib/frisky/models/repository.rb
+++ b/lib/frisky/models/repository.rb
@@ -2,15 +2,18 @@ module Model
class Repository < ProxyBase
attr_accessor :homepage, :watchers_count, :html_url, :owner, ... | Rename fork method to stop forking myself
|
diff --git a/lib/lib/config/custom-routes.rb b/lib/lib/config/custom-routes.rb
index abc1234..def5678 100644
--- a/lib/lib/config/custom-routes.rb
+++ b/lib/lib/config/custom-routes.rb
@@ -1,14 +1,10 @@ if Rails.env != "test"
- ActionController::Routing::Routes.draw do |map|
+ Alaveteli::Application.routes.draw d... | Update routes to new Rails 3 format
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.