diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/termnote/show.rb b/lib/termnote/show.rb
index abc1234..def5678 100644
--- a/lib/termnote/show.rb
+++ b/lib/termnote/show.rb
@@ -1,4 +1,3 @@-require 'termnote/show/control'
require 'termnote/show/key'
module TermNote
| Remove reference for deleted file (control.rb)
|
diff --git a/knife-azure.gemspec b/knife-azure.gemspec
index abc1234..def5678 100644
--- a/knife-azure.gemspec
+++ b/knife-azure.gemspec
@@ -9,19 +9,19 @@ s.authors = ["Barry Davis", "Chirag Jog"]
s.summary = "A plugin to the Chef knife tool for creating instances on the Microsoft Azure platform"
s.description ... | Update knife-windows dep to 1.0.0.rc.2
|
diff --git a/railties/lib/rails/commands/application.rb b/railties/lib/rails/commands/application.rb
index abc1234..def5678 100644
--- a/railties/lib/rails/commands/application.rb
+++ b/railties/lib/rails/commands/application.rb
@@ -9,6 +9,13 @@ ARGV[0] = "--help"
else
ARGV.shift
+ railsrc = File.join(File.expan... | Read extra args for 'rails new' from ~/.railsrc
|
diff --git a/lib/activeadmin_addons/addons/enum_tag.rb b/lib/activeadmin_addons/addons/enum_tag.rb
index abc1234..def5678 100644
--- a/lib/activeadmin_addons/addons/enum_tag.rb
+++ b/lib/activeadmin_addons/addons/enum_tag.rb
@@ -1,8 +1,9 @@ module ActiveAdminAddons
module EnumTag
class << self
- def tag(co... | feat(Enum): Add support for blocks and labels
|
diff --git a/core/app/controllers/content_controller.rb b/core/app/controllers/content_controller.rb
index abc1234..def5678 100644
--- a/core/app/controllers/content_controller.rb
+++ b/core/app/controllers/content_controller.rb
@@ -1,6 +1,6 @@ class ContentController < Spree::BaseController
- before_filter :static_... | Revert "Rewritten before filter in ContentController to not use :if option"
This reverts commit 039fd272f577794a7eccf34d5fcfec71cdab92ff.
|
diff --git a/app/controllers/design_imports_controller.rb b/app/controllers/design_imports_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/design_imports_controller.rb
+++ b/app/controllers/design_imports_controller.rb
@@ -6,7 +6,7 @@
def create
@design = Design.new
- @design_to_import =... | Allow any design to be imported.
|
diff --git a/config/initializers/attachment_notifier.rb b/config/initializers/attachment_notifier.rb
index abc1234..def5678 100644
--- a/config/initializers/attachment_notifier.rb
+++ b/config/initializers/attachment_notifier.rb
@@ -1,7 +1,9 @@ Whitehall.attachment_notifier.tap do |notifier|
notifier.subscribe do |_... | Update asset draft status for attachment events for non-editions
Originally [1] we had this only handling attachment events for policy
groups, but then we changed it [2] to handle all attachment events as a
belt and braces approach. However, I'm now more convinced that the only
scenarios where these events might be im... |
diff --git a/core_gems.rb b/core_gems.rb
index abc1234..def5678 100644
--- a/core_gems.rb
+++ b/core_gems.rb
@@ -5,3 +5,4 @@ download "cool.io", "1.2.4"
download "http_parser.rb", "0.6.0"
download "yajl-ruby", "1.2.0"
+download "rspec", "2.14.1"
| Add rspec to avoid build failure
|
diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/init_spec.rb
+++ b/spec/classes/init_spec.rb
@@ -14,6 +14,11 @@ it { should contain_class('openconnect::install') }
it { should contain_class('openconnect::config') }
it { should... | Add a failing test for undef params
I've been using this pattern whereby the parent class proxies params to the
relevant sub-classes to provide a single entry point, whilst keeping the
defaults and validation as close to the classes that use them.
However this brings up an issue with Puppet 3.x whereby the `undef` de... |
diff --git a/spec/models/state_spec.rb b/spec/models/state_spec.rb
index abc1234..def5678 100644
--- a/spec/models/state_spec.rb
+++ b/spec/models/state_spec.rb
@@ -0,0 +1,84 @@+require "rails_helper"
+
+RSpec.describe State do
+ let!(:draft_item) { FactoryGirl.create(:draft_content_item, title: "Draft Title") }
+ le... | Add model tests for State
|
diff --git a/spec/package_repo_spec.rb b/spec/package_repo_spec.rb
index abc1234..def5678 100644
--- a/spec/package_repo_spec.rb
+++ b/spec/package_repo_spec.rb
@@ -4,6 +4,10 @@ describe 'Ubuntu' do
let(:chef_run) do
ChefSpec::SoloRunner.new.converge(described_recipe)
+ end
+
+ before do
+ stub... | Fix some commands that aren't stubbed
|
diff --git a/spec/support/be_linked.rb b/spec/support/be_linked.rb
index abc1234..def5678 100644
--- a/spec/support/be_linked.rb
+++ b/spec/support/be_linked.rb
@@ -18,7 +18,7 @@ match do |actual|
link_to_args = @args || [double]
link_model = rel.is_a?(Class) ? rel.new : rel
- @link_scope = actual.link_t... | Fix RSpec matcher for linkable relation
|
diff --git a/gems.gemspec b/gems.gemspec
index abc1234..def5678 100644
--- a/gems.gemspec
+++ b/gems.gemspec
@@ -2,8 +2,8 @@ require File.expand_path('../lib/gems/version', __FILE__)
Gem::Specification.new do |gem|
- gem.add_development_dependency 'maruku', '~> 0.6'
gem.add_development_dependency 'rake', '~> 0.9... | Replace maruku with rdiscount for Markdown library
|
diff --git a/lib/cathode/base.rb b/lib/cathode/base.rb
index abc1234..def5678 100644
--- a/lib/cathode/base.rb
+++ b/lib/cathode/base.rb
@@ -1,21 +1,22 @@ require 'pry'
-require 'cathode/request'
-require 'cathode/index_request'
-require 'cathode/show_request'
-require 'cathode/create_request'
-require 'cathode/update_... | Use autoload instead of require for referenced constants
|
diff --git a/lib/czmq-ffi-gen.rb b/lib/czmq-ffi-gen.rb
index abc1234..def5678 100644
--- a/lib/czmq-ffi-gen.rb
+++ b/lib/czmq-ffi-gen.rb
@@ -1,3 +1,9 @@+base_dir = File.expand_path(File.join(__dir__, ".."))
+vendor_bin_dir = File.join(base_dir, "vendor", "local", "bin")
+if File.exist?(vendor_bin_dir)
+ ENV["PATH"] = ... | Use bundled libzmq and libczmq if exist
|
diff --git a/spec/support/vcr_setup.rb b/spec/support/vcr_setup.rb
index abc1234..def5678 100644
--- a/spec/support/vcr_setup.rb
+++ b/spec/support/vcr_setup.rb
@@ -3,4 +3,7 @@ VCR.configure do |c|
c.cassette_library_dir = 'spec/cassettes'
c.hook_into :webmock
+
+ # ensure codelimate still works
+ config.ignore... | Fix issues with VCR and CodeClimate.
|
diff --git a/lib/stellar-core.rb b/lib/stellar-core.rb
index abc1234..def5678 100644
--- a/lib/stellar-core.rb
+++ b/lib/stellar-core.rb
@@ -6,6 +6,7 @@
# See ../generated for code-gen'ed files
+require 'FBAXDR'
require 'Stellar-types'
require 'Stellar-overlay'
require 'Stellar-ledger'
| Fix test suite (but add warnings)
|
diff --git a/lib/stock_ferret.rb b/lib/stock_ferret.rb
index abc1234..def5678 100644
--- a/lib/stock_ferret.rb
+++ b/lib/stock_ferret.rb
@@ -6,11 +6,11 @@ attr_accessor :symbol, :instruction, :low_threshold, :high_threshold
def initialize(params)
- @symbol = params[:zip]
- @instruction = params[:te... | Switch from symbol to string hash access
|
diff --git a/ibge.gemspec b/ibge.gemspec
index abc1234..def5678 100644
--- a/ibge.gemspec
+++ b/ibge.gemspec
@@ -21,5 +21,5 @@ spec.add_dependency "spreadsheet", "~> 1.0"
spec.add_development_dependency "rake", "~> 13.0"
- spec.add_development_dependency "rspec", "= 3.10.0"
+ spec.add_development_dependency "r... | Update rspec requirement from = 3.10.0 to = 3.11.0
Updates the requirements on [rspec](https://github.com/rspec/rspec-metagem) to permit the latest version.
- [Release notes](https://github.com/rspec/rspec-metagem/releases)
- [Commits](https://github.com/rspec/rspec-metagem/compare/v3.10.0...v3.11.0)
---
updated-depe... |
diff --git a/isbm.gemspec b/isbm.gemspec
index abc1234..def5678 100644
--- a/isbm.gemspec
+++ b/isbm.gemspec
@@ -15,10 +15,10 @@ s.test_files = `git ls-files -- spec/*`.split("\n")
s.require_paths = ["lib"]
- s.add_development_dependency "rspec", "2.11.0"
- s.add_development_dependency "rake", "0.9.2.2"
- ... | Use semantic versioning for gem dependencies
|
diff --git a/lib/cass_schema/runner.rb b/lib/cass_schema/runner.rb
index abc1234..def5678 100644
--- a/lib/cass_schema/runner.rb
+++ b/lib/cass_schema/runner.rb
@@ -3,7 +3,7 @@ module CassSchema
class Runner
class << self
- attr_accessor :datastores
+ attr_writer :datastores
attr_writer :schema... | Raise clearer error if datastores is not initialized
|
diff --git a/lib/has_accounts/model.rb b/lib/has_accounts/model.rb
index abc1234..def5678 100644
--- a/lib/has_accounts/model.rb
+++ b/lib/has_accounts/model.rb
@@ -54,8 +54,8 @@ booking
end
- def balance(value_date = nil)
- bookings.direct_balance(value_date)
+ def balance(value_date ... | Add direct_account param to .balance.
|
diff --git a/app/inputs/color_input.rb b/app/inputs/color_input.rb
index abc1234..def5678 100644
--- a/app/inputs/color_input.rb
+++ b/app/inputs/color_input.rb
@@ -1,6 +1,6 @@ class ColorInput < SimpleForm::Inputs::Base
def input(wrapper_options)
- hex_code = object.try(attribute_name).presence || options.delete... | Allow color input default hex code to be set using `default` option
|
diff --git a/test/minitest_helper.rb b/test/minitest_helper.rb
index abc1234..def5678 100644
--- a/test/minitest_helper.rb
+++ b/test/minitest_helper.rb
@@ -1,5 +1,4 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
-require 'lknovel'
require 'minitest/autorun'
require 'pry-rescue/minitest'
| Remove lknovel require from minitest helper
No need to require it here, let the test require specific file
|
diff --git a/lib/tasks/data_clear.rake b/lib/tasks/data_clear.rake
index abc1234..def5678 100644
--- a/lib/tasks/data_clear.rake
+++ b/lib/tasks/data_clear.rake
@@ -3,8 +3,11 @@
desc 'Delete all data from employees collection'
task employees: :environment do
- puts "Removing #{Payment.count} record(s) f... | Remove registros da coleção promotions antes de proceder com a coleção employees.
|
diff --git a/test-using-gir-builder.rb b/test-using-gir-builder.rb
index abc1234..def5678 100644
--- a/test-using-gir-builder.rb
+++ b/test-using-gir-builder.rb
@@ -0,0 +1,10 @@+# Test program using actual builder
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
+require 'girffi/builder'
+
+builder = GirFFI... | Test program using actual builder mechanism now working for modules. |
diff --git a/lib/lager.rb b/lib/lager.rb
index abc1234..def5678 100644
--- a/lib/lager.rb
+++ b/lib/lager.rb
@@ -13,15 +13,6 @@ server_params = params["server"]
halt(401, "Not authorized") unless server_params
server = Server.create(host: server_params["host"], label: server_params["label"])
- p server... | Remove repeated post endpoint declaration
|
diff --git a/plugin_gems.rb b/plugin_gems.rb
index abc1234..def5678 100644
--- a/plugin_gems.rb
+++ b/plugin_gems.rb
@@ -5,7 +5,7 @@ download "fluent-plugin-td", "0.10.29"
download "uuidtools", "2.1.5"
download "aws-sdk", "2.6.42"
-download "fluent-plugin-s3", "0.8.0"
+download "fluent-plugin-s3", "1.0.0.rc1"
downlo... | Update S3 plugin to v1.0.0.rc1 for v0.14
|
diff --git a/test/models/break_test.rb b/test/models/break_test.rb
index abc1234..def5678 100644
--- a/test/models/break_test.rb
+++ b/test/models/break_test.rb
@@ -13,9 +13,9 @@ tp = TeachingPeriod.create(data)
b1 = tp.add_break('2023-01-02', 1)
- exception = assert_raise(Exception) {tp.add_break('2023-0... | TEST: Handle record invalid exception in break add |
diff --git a/lib/types.rb b/lib/types.rb
index abc1234..def5678 100644
--- a/lib/types.rb
+++ b/lib/types.rb
@@ -2,22 +2,6 @@ module Types
class Klass < DataMapper::Type
primitive Class
-
- def self.load(value, property)
- if value
- value # value.is_a?(Class) ? value : Extlib::Inflec... | Remove failing code; "primitive Class" takes care of everything
|
diff --git a/spec/lib/api_spec.rb b/spec/lib/api_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/api_spec.rb
+++ b/spec/lib/api_spec.rb
@@ -10,30 +10,28 @@ end
end
- it 'should be configured' do
+ it 'is configured' do
Fulcrum::Api.configuration.uri.should eq(@uri)
Fulcrum::Api.configuration.k... | Refactor API specs for readability
|
diff --git a/bcnd.gemspec b/bcnd.gemspec
index abc1234..def5678 100644
--- a/bcnd.gemspec
+++ b/bcnd.gemspec
@@ -17,7 +17,7 @@ s.require_paths = ["lib"]
s.add_dependency 'octokit', '~> 4.2'
- s.add_dependency 'rest-client', '~> 1.8'
+ s.add_dependency 'rest-client', '~> 2.0'
s.add_development_dependency "rs... | Update RestClient (older versions don't work with latest ruby)
|
diff --git a/lib/tasks/gitlab/bulk_add_permission.rake b/lib/tasks/gitlab/bulk_add_permission.rake
index abc1234..def5678 100644
--- a/lib/tasks/gitlab/bulk_add_permission.rake
+++ b/lib/tasks/gitlab/bulk_add_permission.rake
@@ -7,9 +7,9 @@
Project.find_each do |project|
puts "Importing #{user_ids.size... | Fix rake task - Update method name
|
diff --git a/bench/giant.rb b/bench/giant.rb
index abc1234..def5678 100644
--- a/bench/giant.rb
+++ b/bench/giant.rb
@@ -3,10 +3,8 @@ Bundler.setup
require 'benchmark'
-require 'dalli'
require 'perforated'
require 'active_support/core_ext/object'
-require 'active_support/cache/dalli_store'
require 'redis'
requir... | Stop benchmarking dalli, redis is enough
|
diff --git a/cats.gemspec b/cats.gemspec
index abc1234..def5678 100644
--- a/cats.gemspec
+++ b/cats.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_runtime_dependency "thor"
+ spec.add_runtime_dependency "thor", "~> 0.18"
... | Use a more specific version of thor in the gemspec
|
diff --git a/app/controllers/administration/settings_controller.rb b/app/controllers/administration/settings_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/administration/settings_controller.rb
+++ b/app/controllers/administration/settings_controller.rb
@@ -17,6 +17,7 @@ setting.update_attribut... | Expire all caches when changing settings.
|
diff --git a/rakwik.gemspec b/rakwik.gemspec
index abc1234..def5678 100644
--- a/rakwik.gemspec
+++ b/rakwik.gemspec
@@ -3,7 +3,7 @@
Gem::Specification.new do |gem|
gem.authors = ["Christian Aust"]
- gem.email = ["github@kontakt.software-consultant.net"]
+ gem.email = ["git@kontakt.software... | Fix contact address to match Github address
|
diff --git a/raygun.gemspec b/raygun.gemspec
index abc1234..def5678 100644
--- a/raygun.gemspec
+++ b/raygun.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
gem.name = "raygun"
gem.version = Raygun::VERSION
- gem.authors = ["Christian Nelson"]
+ gem.authors = ["Christian Nelso... | Add Jonah and Jason to authors.
|
diff --git a/lib/database_cleaner/mongoid/truncation.rb b/lib/database_cleaner/mongoid/truncation.rb
index abc1234..def5678 100644
--- a/lib/database_cleaner/mongoid/truncation.rb
+++ b/lib/database_cleaner/mongoid/truncation.rb
@@ -28,7 +28,7 @@ private
def session
- ::Mongoid.default_sessi... | Use default_client following mongoid 5.0
|
diff --git a/bullet.gemspec b/bullet.gemspec
index abc1234..def5678 100644
--- a/bullet.gemspec
+++ b/bullet.gemspec
@@ -18,7 +18,7 @@ s.required_rubygems_version = ">= 1.3.6"
s.add_runtime_dependency "activesupport", ">= 3.0.0"
- s.add_runtime_dependency "uniform_notifier", "~> 1.9.0"
+ s.add_runtime_dependen... | Update uniform_notifier dependency to 1.10
https://github.com/flyerhzm/uniform_notifier/blob/master/CHANGELOG.md |
diff --git a/test/support/test_case.rb b/test/support/test_case.rb
index abc1234..def5678 100644
--- a/test/support/test_case.rb
+++ b/test/support/test_case.rb
@@ -29,7 +29,7 @@
def _gensite_dir(&block)
@@_gensite_dir ||= begin
- dir = Dir.mktmpdir
+ dir = Dir.mktmpdir('jekyll-minibundle-tes... | Mark test tmp dir with recognizable string
|
diff --git a/lib/capistrano/git-submodule-strategy.rb b/lib/capistrano/git-submodule-strategy.rb
index abc1234..def5678 100644
--- a/lib/capistrano/git-submodule-strategy.rb
+++ b/lib/capistrano/git-submodule-strategy.rb
@@ -38,7 +38,7 @@ unless context.test(:test, '-e', release_path) && context.test("ls -A #{rel... | Fix syntax error in string |
diff --git a/lib/cb/models/cb_application_external.rb b/lib/cb/models/cb_application_external.rb
index abc1234..def5678 100644
--- a/lib/cb/models/cb_application_external.rb
+++ b/lib/cb/models/cb_application_external.rb
@@ -10,7 +10,7 @@ def initialize(args = {})
@job_did = args[:job_did] || ''
... | Add default SiteID (cbnsv) to external applications if none present
|
diff --git a/db/schema.rb b/db/schema.rb
index abc1234..def5678 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -0,0 +1,24 @@+# encoding: UTF-8
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally m... | Migrate DB to add user
|
diff --git a/lib/flipper/adapters/operation_logger.rb b/lib/flipper/adapters/operation_logger.rb
index abc1234..def5678 100644
--- a/lib/flipper/adapters/operation_logger.rb
+++ b/lib/flipper/adapters/operation_logger.rb
@@ -5,7 +5,9 @@ # Public: Adapter that wraps another adapter and stores the operations.
#
... | Switch operation logger to plain old ruby class from decorator
|
diff --git a/lib/jekyll_social_icons/option_parser.rb b/lib/jekyll_social_icons/option_parser.rb
index abc1234..def5678 100644
--- a/lib/jekyll_social_icons/option_parser.rb
+++ b/lib/jekyll_social_icons/option_parser.rb
@@ -0,0 +1,32 @@+module Jekyll
+ class OptionParser
+ icons_json = JSON.parse(IO.readlines(File... | Create an option parser to process the args passed to the tag
|
diff --git a/spec/dummy/config/boot.rb b/spec/dummy/config/boot.rb
index abc1234..def5678 100644
--- a/spec/dummy/config/boot.rb
+++ b/spec/dummy/config/boot.rb
@@ -2,9 +2,10 @@ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
if File.exist?(gemfile)
- ENV['BUNDLE_GEMFILE'] = gemfile
+ ENV['BUNDLE_GEMFI... | Fix Gemfile ENV variable being reset
|
diff --git a/spec/title_search_spec.rb b/spec/title_search_spec.rb
index abc1234..def5678 100644
--- a/spec/title_search_spec.rb
+++ b/spec/title_search_spec.rb
@@ -4,7 +4,7 @@ describe "Title Search" do
it "700t included in title search: Gothic classics b4156972" do
- #Quick sanity check
+ #Quick sanity che... | Add 505t test as well.
|
diff --git a/lib/kvg_character_recognition/datastore.rb b/lib/kvg_character_recognition/datastore.rb
index abc1234..def5678 100644
--- a/lib/kvg_character_recognition/datastore.rb
+++ b/lib/kvg_character_recognition/datastore.rb
@@ -9,7 +9,7 @@
def load_file filename
begin
- JSON.parse(File.read(fil... | Add encoding utf-8 to file otherwise some systems fall back to ascii
|
diff --git a/lib/lotus/view/rendering/partial_finder.rb b/lib/lotus/view/rendering/partial_finder.rb
index abc1234..def5678 100644
--- a/lib/lotus/view/rendering/partial_finder.rb
+++ b/lib/lotus/view/rendering/partial_finder.rb
@@ -22,7 +22,36 @@ # "_sidebar.html.erb"
PREFIX = '_'.freeze
+ ... | Modify PartialFinder to search for partial template under directory of view template, if not found search recursively from root.
|
diff --git a/lib/paper_trail_scrapbook/journal_entry.rb b/lib/paper_trail_scrapbook/journal_entry.rb
index abc1234..def5678 100644
--- a/lib/paper_trail_scrapbook/journal_entry.rb
+++ b/lib/paper_trail_scrapbook/journal_entry.rb
@@ -0,0 +1,33 @@+require_relative 'version_helpers'
+
+module PaperTrailScrapbook
+ # Clas... | Add journal entry class - equivalent to Chapter but for UserJournal
|
diff --git a/lib/transition/csv_separator_detector.rb b/lib/transition/csv_separator_detector.rb
index abc1234..def5678 100644
--- a/lib/transition/csv_separator_detector.rb
+++ b/lib/transition/csv_separator_detector.rb
@@ -9,7 +9,7 @@
def separator_count(separator)
counts = @rows.map { |row| row.count(se... | Use .reduce(&:+) to sum elements in an array
|
diff --git a/modules/golang/spec/classes/golang_spec.rb b/modules/golang/spec/classes/golang_spec.rb
index abc1234..def5678 100644
--- a/modules/golang/spec/classes/golang_spec.rb
+++ b/modules/golang/spec/classes/golang_spec.rb
@@ -13,7 +13,7 @@ end
context 'not in development' do
- let(:facts) {{}}
+ let... | Fix a test that fails in development
The domain for this test is 'development' when run on the
dev vm so the test's context is wrong. Instead, set it to
'somethingelse' that's definitely not 'development'.
|
diff --git a/spec/controllers/pages_controller_spec.rb b/spec/controllers/pages_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/pages_controller_spec.rb
+++ b/spec/controllers/pages_controller_spec.rb
@@ -21,4 +21,11 @@ expect(response).to render_template :contact
end
end
+
+ desc... | Add test for Beliefs page
|
diff --git a/spec/integration/public_relations_spec.rb b/spec/integration/public_relations_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/public_relations_spec.rb
+++ b/spec/integration/public_relations_spec.rb
@@ -17,7 +17,6 @@
attribute :title, String
attribute :priority, Integer
- ... | Remove not used attribute from spec
|
diff --git a/Casks/chrome-devtools.rb b/Casks/chrome-devtools.rb
index abc1234..def5678 100644
--- a/Casks/chrome-devtools.rb
+++ b/Casks/chrome-devtools.rb
@@ -1,8 +1,9 @@ cask :v1 => 'chrome-devtools' do
- version :latest
- sha256 :no_check
+ version '1.1.0'
+ sha256 'decb98cf06ed9dd65301449347e788dd757315460cf3c... | Update Chrome devtools to 1.1.0
|
diff --git a/crow.gemspec b/crow.gemspec
index abc1234..def5678 100644
--- a/crow.gemspec
+++ b/crow.gemspec
@@ -19,6 +19,9 @@ spec.add_development_dependency "rake", ">= 10.0.1"
spec.add_development_dependency "coveralls", ">= 0.6.7"
+ spec.add_development_dependency "narray", ">= 0.6.0.8"
+ spec.add_developm... | Add project compile dependencies to development gems
|
diff --git a/cookbooks/geoipupdate/recipes/default.rb b/cookbooks/geoipupdate/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/geoipupdate/recipes/default.rb
+++ b/cookbooks/geoipupdate/recipes/default.rb
@@ -21,9 +21,7 @@
license_keys = data_bag_item("geoipupdate", "license-keys")
-package "geoipup... | Drop forced upgrade of geoipupdate
|
diff --git a/core/app/controllers/facts_controller.rb b/core/app/controllers/facts_controller.rb
index abc1234..def5678 100644
--- a/core/app/controllers/facts_controller.rb
+++ b/core/app/controllers/facts_controller.rb
@@ -1,9 +1,5 @@ class FactsController < ApplicationController
- def show
- dead_fact = interact... | Use pavlov_action for show action
|
diff --git a/support/rspec2_formatter.rb b/support/rspec2_formatter.rb
index abc1234..def5678 100644
--- a/support/rspec2_formatter.rb
+++ b/support/rspec2_formatter.rb
@@ -27,17 +27,17 @@ exception = example.metadata[:execution_result][:exception]
backtrace = format_backtrace(exception.backtrace, ... | Append failed shared example info to location, not message
Shared example caller info was being displayed at the end of failure
output, which can be confusing when there are multiple failures.
Append the info to the location string instead, which seems more
sensible anyway.
Change-Id: I93dd5b7d8fffa73b5d99d2c3df66db... |
diff --git a/Casks/messenger-for-telegram.rb b/Casks/messenger-for-telegram.rb
index abc1234..def5678 100644
--- a/Casks/messenger-for-telegram.rb
+++ b/Casks/messenger-for-telegram.rb
@@ -6,5 +6,5 @@ appcast 'https://rink.hockeyapp.net/api/2/apps/c55f5e74ae5d0ad254df29f71a1b5f0e'
homepage 'https://vk.com/telegram... | Apply proper symlink for 'Messenger for Telegram' |
diff --git a/test/functional/view_helpers_test.rb b/test/functional/view_helpers_test.rb
index abc1234..def5678 100644
--- a/test/functional/view_helpers_test.rb
+++ b/test/functional/view_helpers_test.rb
@@ -1,10 +1,9 @@ require File.dirname(__FILE__) + '/../test_helper'
-class ViewHelpersTest < Test::Unit::TestCase... | Use ActionController::TestCase to get access to the relevant assertions.
|
diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb
index abc1234..def5678 100644
--- a/test/functional/search_controller_test.rb
+++ b/test/functional/search_controller_test.rb
@@ -4,10 +4,26 @@ include Devise::TestHelpers
test "should get index" do
+ # Only sig... | Test case for should download all
Also makes should get index sign out before doing anything
|
diff --git a/Casks/airmail-beta.rb b/Casks/airmail-beta.rb
index abc1234..def5678 100644
--- a/Casks/airmail-beta.rb
+++ b/Casks/airmail-beta.rb
@@ -1,14 +1,14 @@ cask 'airmail-beta' do
- version '2.6.1,352'
- sha256 '8ddc915a1e7e5031ff592925d55d8016992e17f497d90135d4dbafac127ee6f3'
+ version '2.6.1,353'
+ sha256 '... | Update Airmail Beta to version 2.6.1,353
This commit updates the version, sha256 and checkpoint stanzas. It
also changes the license from `:unknown` to `:commercial`
|
diff --git a/Casks/plex-media-player.rb b/Casks/plex-media-player.rb
index abc1234..def5678 100644
--- a/Casks/plex-media-player.rb
+++ b/Casks/plex-media-player.rb
@@ -0,0 +1,11 @@+cask :v1 => 'plex-media-player' do
+ version '1.0.0.5-53192cb0'
+ sha256 '82e11dde797d36d8e68e7aa2b5b25c70a05207f200737317810b8303ca54c3... | Add Plex Media Player 1.0.0.5-53192cb0
|
diff --git a/transilien_microservices.gemspec b/transilien_microservices.gemspec
index abc1234..def5678 100644
--- a/transilien_microservices.gemspec
+++ b/transilien_microservices.gemspec
@@ -13,7 +13,7 @@ gem.homepage = ""
gem.add_runtime_dependency('faraday', '>= 0.8.4') # HTTP(S) connections
- gem.add... | Upgrade nokogiri due to security issue
|
diff --git a/review.gemspec b/review.gemspec
index abc1234..def5678 100644
--- a/review.gemspec
+++ b/review.gemspec
@@ -26,6 +26,5 @@
gem.add_development_dependency("rake")
gem.add_development_dependency("test-unit")
- gem.add_development_dependency("pygments.rb")
end
| Revert "enable pygments.rb in development and test environments with Bundler"
cf. https://github.com/kmuto/review/issues/394
This reverts commit 6d99763898d292931c4db4b3fe892e5102474dac.
|
diff --git a/17-createWallOfWoolWithRandomColour.rb b/17-createWallOfWoolWithRandomColour.rb
index abc1234..def5678 100644
--- a/17-createWallOfWoolWithRandomColour.rb
+++ b/17-createWallOfWoolWithRandomColour.rb
@@ -3,6 +3,14 @@ # import needed block defintiions
require_relative 'mcpi/block'
+# create a function to... | Use function for random block creation
Move random block creation out to separate function
This shows how to use functions in own script
|
diff --git a/test/models/optional_modules/mailings/mailing_user_test.rb b/test/models/optional_modules/mailings/mailing_user_test.rb
index abc1234..def5678 100644
--- a/test/models/optional_modules/mailings/mailing_user_test.rb
+++ b/test/models/optional_modules/mailings/mailing_user_test.rb
@@ -11,6 +11,45 @@ asse... | Add tests for email and lang validation rules for MailingUser
|
diff --git a/guard-kitchen.gemspec b/guard-kitchen.gemspec
index abc1234..def5678 100644
--- a/guard-kitchen.gemspec
+++ b/guard-kitchen.gemspec
@@ -7,10 +7,10 @@ spec.name = "guard-kitchen"
spec.version = Guard::Kitchen::VERSION
spec.authors = ["Adam Jacob"]
- spec.email = ["adam@... | Update URLs and unpin bundler dev dep |
diff --git a/lib/london_bike_hire_cli/basic_renderer.rb b/lib/london_bike_hire_cli/basic_renderer.rb
index abc1234..def5678 100644
--- a/lib/london_bike_hire_cli/basic_renderer.rb
+++ b/lib/london_bike_hire_cli/basic_renderer.rb
@@ -25,7 +25,11 @@ end
def find_template(template_name)
- File.read("lib/lo... | Use relative path from renderer class
|
diff --git a/lib/middlewares/override_welcome_action.rb b/lib/middlewares/override_welcome_action.rb
index abc1234..def5678 100644
--- a/lib/middlewares/override_welcome_action.rb
+++ b/lib/middlewares/override_welcome_action.rb
@@ -20,7 +20,11 @@ # If the path is the homepage, the route should be the site root pat... | Set site default locale when module is GobiertoPeople in override welcome action for / path
|
diff --git a/app/controllers/users.rb b/app/controllers/users.rb
index abc1234..def5678 100644
--- a/app/controllers/users.rb
+++ b/app/controllers/users.rb
@@ -57,3 +57,20 @@ erb :'users/signup'
end
end
+
+put '/users/:id' do
+ @user = current_user
+
+ if @user.password == params[:current_password]
+ @use... | Add route allowing a user to edit their password.
This route checks to make sure that the user has provided their password
and that password is correct.
The route also checks if the update is successful. If it, the user gets
redirected to '/surveys'; otherwise they are shown the form again with
proper error messages.... |
diff --git a/nude.gemspec b/nude.gemspec
index abc1234..def5678 100644
--- a/nude.gemspec
+++ b/nude.gemspec
@@ -20,5 +20,10 @@ spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '~> 1.3'
+ spec.add_development_dependency 'growl'
+ spec.add_development_dependency 'guard-rspec'
spec.add_... | Add growl, guard-rspec, rspec, simplecov & yard gems to development dependency.
|
diff --git a/lib/ransack_ui/ransack_overrides/search.rb b/lib/ransack_ui/ransack_overrides/search.rb
index abc1234..def5678 100644
--- a/lib/ransack_ui/ransack_overrides/search.rb
+++ b/lib/ransack_ui/ransack_overrides/search.rb
@@ -3,11 +3,14 @@ module Ransack
Search.class_eval do
def initialize(object, params... | Update for use with activerecord-hackery gem version
|
diff --git a/lib/sessions/event/chat_status_customer.rb b/lib/sessions/event/chat_status_customer.rb
index abc1234..def5678 100644
--- a/lib/sessions/event/chat_status_customer.rb
+++ b/lib/sessions/event/chat_status_customer.rb
@@ -17,6 +17,10 @@ session_id = nil
if @data['data']['session_id']
session_... | Update ws client ids in reconnect.
|
diff --git a/test/bmff/box/test_media_data.rb b/test/bmff/box/test_media_data.rb
index abc1234..def5678 100644
--- a/test/bmff/box/test_media_data.rb
+++ b/test/bmff/box/test_media_data.rb
@@ -0,0 +1,25 @@+# coding: utf-8
+# vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
+
+require_relative '../../... | Add a test file for BMFF::Box::MediaData.
|
diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb
index abc1234..def5678 100644
--- a/test/dummy/config/application.rb
+++ b/test/dummy/config/application.rb
@@ -1,9 +1,11 @@+require 'pry'
+
require File.expand_path('../boot', __FILE__)
require 'rails/all'
Bundler.require(*Rails.gr... | Remove stale reference to blogplugin
|
diff --git a/Library/Formula/aspell.rb b/Library/Formula/aspell.rb
index abc1234..def5678 100644
--- a/Library/Formula/aspell.rb
+++ b/Library/Formula/aspell.rb
@@ -6,6 +6,7 @@ md5 'bc80f0198773d5c05086522be67334eb'
def install
+ ENV.gcc_4_2
system "./configure", "--prefix=#{prefix}"
system "make in... | Revert "Aspell compiles with newer LLVM."
This reverts commit f34d241fa1b43742416192e31271ed80ac427803.
Doesn't seemingly build with LLVM for some people.
|
diff --git a/test/integration/banning_test.rb b/test/integration/banning_test.rb
index abc1234..def5678 100644
--- a/test/integration/banning_test.rb
+++ b/test/integration/banning_test.rb
@@ -0,0 +1,22 @@+# frozen_string_literal: true
+
+require 'test_helper'
+require 'integration/concerns/authenticated_test'
+require... | Add a regression test for kicking out banned users
|
diff --git a/schema.gemspec b/schema.gemspec
index abc1234..def5678 100644
--- a/schema.gemspec
+++ b/schema.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.name = 'schema'
s.summary = "Primitives for schema and structure"
- s.version = '0.1.1'
+ s.version = '0.1.2'
s.description = ' '
s.authors... | Package version is increasd from 0.1.1 to 0.1.2
|
diff --git a/PDTSimpleCalendar.podspec b/PDTSimpleCalendar.podspec
index abc1234..def5678 100644
--- a/PDTSimpleCalendar.podspec
+++ b/PDTSimpleCalendar.podspec
@@ -15,8 +15,7 @@ s.author = { "Jerome Miglino" => "jerome.miglino@jivesoftware.com" }
s.platform = :ios, '6.0'
s.source = { :git => "h... | Fix podspec - Unwanted comma!
|
diff --git a/blinkbox-common_logging.gemspec b/blinkbox-common_logging.gemspec
index abc1234..def5678 100644
--- a/blinkbox-common_logging.gemspec
+++ b/blinkbox-common_logging.gemspec
@@ -1,5 +1,5 @@ # -*- encoding: utf-8 -*-
-$LOAD_PATH.unshift(File.join(__dir__, "lib"))
+$LOAD_PATH.unshift(File.join(File.dirname(__F... | Fix Travis using 1.9.3 to build gems
|
diff --git a/seisan.gemspec b/seisan.gemspec
index abc1234..def5678 100644
--- a/seisan.gemspec
+++ b/seisan.gemspec
@@ -10,7 +10,7 @@ spec.email = ["koji.shimada@enishi-tech.com"]
spec.description = %q{seisan solution for small team}
spec.summary = %q{seisan solution for small team}
- spec.hom... | Add repository url to gemspec
|
diff --git a/files/default/tests/minitest/service_test.rb b/files/default/tests/minitest/service_test.rb
index abc1234..def5678 100644
--- a/files/default/tests/minitest/service_test.rb
+++ b/files/default/tests/minitest/service_test.rb
@@ -19,9 +19,6 @@ describe 'chef-client::service' do
include Helpers::ChefClient... | [COOK-3874] Revert f64d9017 from main server_test
Signed-off-by: Sean OMeara <4025b808ec3cf11e3d5c9a1a3bd1e7c4003cb3a1@opscode.com>
|
diff --git a/test/controllers/store_controller_test.rb b/test/controllers/store_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/store_controller_test.rb
+++ b/test/controllers/store_controller_test.rb
@@ -4,6 +4,10 @@ test "should get index" do
get :index
assert_response :success
+ ... | Add functional test for store_controller
|
diff --git a/yard.gemspec b/yard.gemspec
index abc1234..def5678 100644
--- a/yard.gemspec
+++ b/yard.gemspec
@@ -1,13 +1,13 @@ SPEC = Gem::Specification.new do |s|
s.name = "yard"
s.version = "0.2.3"
- s.date = "2008-05-16"
+ s.date = "2009-06-07"
s.author = "Loren Seg... | Update gemspec for 0.2.3 release
|
diff --git a/spec/models.rb b/spec/models.rb
index abc1234..def5678 100644
--- a/spec/models.rb
+++ b/spec/models.rb
@@ -30,6 +30,9 @@ acts_as_tagger
end
+class InheritingTaggableUser < TaggableUser
+end
+
class UntaggableModel < ActiveRecord::Base
belongs_to :taggable_model
end
| Add inheriting user model to specs
|
diff --git a/app/models/reservation.rb b/app/models/reservation.rb
index abc1234..def5678 100644
--- a/app/models/reservation.rb
+++ b/app/models/reservation.rb
@@ -1,5 +1,22 @@+class EmailValidator < ActiveModel::EachValidator
+ def validate_each(record, attribute, value)
+ record.errors.add attribute, (options[:m... | Add vaidations in Reservation model
|
diff --git a/worker_host/sudo/recipes/default.rb b/worker_host/sudo/recipes/default.rb
index abc1234..def5678 100644
--- a/worker_host/sudo/recipes/default.rb
+++ b/worker_host/sudo/recipes/default.rb
@@ -20,8 +20,8 @@ node['sudo']['groups'].each do |group|
file "/etc/sudoers.d/90-group-#{group}" do
content <<-... | Fix indentation for Chef comment & use of `user['name']`
|
diff --git a/lib/que/rake_tasks.rb b/lib/que/rake_tasks.rb
index abc1234..def5678 100644
--- a/lib/que/rake_tasks.rb
+++ b/lib/que/rake_tasks.rb
@@ -1,15 +1,39 @@+require 'logger'
+
namespace :que do
- desc "Creates Que's job table"
+ desc "Process Que's jobs using a worker pool"
+ task :work => :environment do
+ ... | Fix up rake tasks, and add a couple options for working jobs.
|
diff --git a/lib/radiant/engine.rb b/lib/radiant/engine.rb
index abc1234..def5678 100644
--- a/lib/radiant/engine.rb
+++ b/lib/radiant/engine.rb
@@ -1,4 +1,7 @@ require 'haml'
+require 'will_paginate'
+require 'string_extensions'
+
module Radiant
class Engine < Rails::Engine
isolate_namespace Radiant
@@ -8,8 +... | Add require statements to Radiant Engine class
|
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
@@ -1 +1,8 @@-require 'resque/tasks'+require 'resque/tasks'
+
+task 'resque:setup' => :environment do
+ ENV['QUEUE'] = '*'
+end
+
+desc "Alias for resque:work (To run workers... | Configure Resque to work on Heroku
|
diff --git a/lib/tok/controller.rb b/lib/tok/controller.rb
index abc1234..def5678 100644
--- a/lib/tok/controller.rb
+++ b/lib/tok/controller.rb
@@ -10,7 +10,7 @@ end
def authenticate!
- head :unauthorized unless authorized?
+ authentication_required unless authorized?
end
def current_u... | Send WWW-Authenticate header if not authorized
|
diff --git a/0_code_wars/most_frequent_element.rb b/0_code_wars/most_frequent_element.rb
index abc1234..def5678 100644
--- a/0_code_wars/most_frequent_element.rb
+++ b/0_code_wars/most_frequent_element.rb
@@ -0,0 +1,13 @@+# http://www.codewars.com/kata/56582133c932d8239900002e/
+# --- iteration 1 ---
+def most_frequent... | Add code wars (7) - most frequent element
|
diff --git a/app/controllers/api/v1/tracks_controller.rb b/app/controllers/api/v1/tracks_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/tracks_controller.rb
+++ b/app/controllers/api/v1/tracks_controller.rb
@@ -4,7 +4,7 @@
def search
itunes = ITunes::Client.new
- songs = itunes.mus... | Fix iTunes search scope on musics
|
diff --git a/app/controllers/service_types_controller.rb b/app/controllers/service_types_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/service_types_controller.rb
+++ b/app/controllers/service_types_controller.rb
@@ -3,7 +3,7 @@
# Authentication by default inherited from ApplicationController.
... | Make sure JSON endpoint auth is restricted to districtwide access users only
|
diff --git a/config/initializers/rakismet.rb b/config/initializers/rakismet.rb
index abc1234..def5678 100644
--- a/config/initializers/rakismet.rb
+++ b/config/initializers/rakismet.rb
@@ -1,2 +1,2 @@-Rails.application.config.rakismet.key = ENV['AKISMET_KEY']
+Rails.application.config.rakismet.key = ENV['AKISMET_KEY'] ... | Add default Akismet key for testing
|
diff --git a/modules/auxiliary/scanner/http/wordpress/wp_visual_form_builder_xss_scanner.rb b/modules/auxiliary/scanner/http/wordpress/wp_visual_form_builder_xss_scanner.rb
index abc1234..def5678 100644
--- a/modules/auxiliary/scanner/http/wordpress/wp_visual_form_builder_xss_scanner.rb
+++ b/modules/auxiliary/scanner/... | Add WordPress Visual Form Builder XSS Scanner.
|
diff --git a/app/controllers/connections_controller.rb b/app/controllers/connections_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/connections_controller.rb
+++ b/app/controllers/connections_controller.rb
@@ -26,12 +26,6 @@ @connection = Connection.new(receiver_id: @receiver.id, initializer_id: ... | Delete edit and update method for connections
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.