diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/helpers/items_helper.rb b/app/helpers/items_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/items_helper.rb
+++ b/app/helpers/items_helper.rb
@@ -1,5 +1,4 @@ module ItemsHelper
-
def itemable_items_path(itemable)
if itemable.class.name =~ /Channel$/
channel_items_path(channel_i... | Change excerpt name and correct instagram url
|
diff --git a/safedep.gemspec b/safedep.gemspec
index abc1234..def5678 100644
--- a/safedep.gemspec
+++ b/safedep.gemspec
@@ -20,6 +20,5 @@
spec.add_runtime_dependency 'parser'
spec.add_runtime_dependency 'astrolabe'
-
- spec.add_development_dependency 'bundler', '~> 1.7'
+ spec.add_runtime_dependency 'bundler'... | Change Bundler dependency to runtime one
|
diff --git a/libraries/solaris.rb b/libraries/solaris.rb
index abc1234..def5678 100644
--- a/libraries/solaris.rb
+++ b/libraries/solaris.rb
@@ -0,0 +1,41 @@+
+class Chef
+ class Provider
+ class User
+ class Solaris < Chef::Provider::User::Useradd
+ def create
+ super
+ manage_passwor... | Add Solaris class in preparation for newer versions of Chef
User creation is splitting out into a new class for
solaris/smartos on chef master. |
diff --git a/lib/catscan/scannable.rb b/lib/catscan/scannable.rb
index abc1234..def5678 100644
--- a/lib/catscan/scannable.rb
+++ b/lib/catscan/scannable.rb
@@ -14,7 +14,7 @@ module ClassMethods
def scan(context, comment = nil, &block)
- klass_name = context.class.name
+ klass_name = %w(Class... | Clarify class name based on _klass context
|
diff --git a/lib/coinmux/file_util.rb b/lib/coinmux/file_util.rb
index abc1234..def5678 100644
--- a/lib/coinmux/file_util.rb
+++ b/lib/coinmux/file_util.rb
@@ -1,12 +1,13 @@ require 'fileutils'
+require 'tmpdir'
module Coinmux::FileUtil
class << self
- def root_mkdir_p(*path)
+ def root_mkdir_p(*paths)
... | Use temp dir when cannot mkdir at Coinmux.root |
diff --git a/gilt-rb.gemspec b/gilt-rb.gemspec
index abc1234..def5678 100644
--- a/gilt-rb.gemspec
+++ b/gilt-rb.gemspec
@@ -17,8 +17,4 @@ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["... | Remove filler text from gemspec
|
diff --git a/benchmark/capture-assign.rb b/benchmark/capture-assign.rb
index abc1234..def5678 100644
--- a/benchmark/capture-assign.rb
+++ b/benchmark/capture-assign.rb
@@ -0,0 +1,20 @@+require "liquid"
+require "benchmark/ips"
+
+puts "Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
+puts "Liquid #{Liquid::VERSION}"
+
+temp... | Add a benchmark for capture vs. assign in Liquid. [ci skip]
|
diff --git a/slather.gemspec b/slather.gemspec
index abc1234..def5678 100644
--- a/slather.gemspec
+++ b/slather.gemspec
@@ -25,5 +25,5 @@ spec.add_development_dependency "cocoapods", "~> 0.34"
spec.add_dependency "clamp", "~> 0.6"
- spec.add_dependency "xcodeproj", "~> 0.17"
+ spec.add_dependency "xcodeproj",... | [Gemspec] Upgrade xcodeproj dependency to match new cocoapods verison's.
|
diff --git a/lib/ducktrap/external.rb b/lib/ducktrap/external.rb
index abc1234..def5678 100644
--- a/lib/ducktrap/external.rb
+++ b/lib/ducktrap/external.rb
@@ -2,44 +2,126 @@ class External < self
register :extern
+ include Equalizer.new(:block, :inverse_block)
+
+ # Return inverse
+ #
+ # @return... | Add yard docks for Ducktrap::External
|
diff --git a/plugin/dtrace/lib/dtrace_report.rb b/plugin/dtrace/lib/dtrace_report.rb
index abc1234..def5678 100644
--- a/plugin/dtrace/lib/dtrace_report.rb
+++ b/plugin/dtrace/lib/dtrace_report.rb
@@ -13,7 +13,7 @@ if options[:tracer] == :self
DtraceReport.tracer = Dtracer.new
elsif options[... | Fix "helper" mode, typo corrected.
git-svn-id: 40196796c19c0e7557af02d93710b150381d7241@72 f5dbc166-08e2-44d3-850c-36126807790f
|
diff --git a/lib/woodhouse/process.rb b/lib/woodhouse/process.rb
index abc1234..def5678 100644
--- a/lib/woodhouse/process.rb
+++ b/lib/woodhouse/process.rb
@@ -1,11 +1,11 @@ # TODO: take arguments. Also consider using thor.
class Woodhouse::Process
+
+ def initialize(keyw = {})
+ @server = keyw[:server] || build_... | Allow alternate layout or node name to be passed into Woodhouse::Process.
|
diff --git a/test/server/metrics.rb b/test/server/metrics.rb
index abc1234..def5678 100644
--- a/test/server/metrics.rb
+++ b/test/server/metrics.rb
@@ -2,7 +2,7 @@ MIN = {
test_count:1,
app_coverage:100,
- test_coverage:98,
+ test_coverage:100,
line_ratio:2.1,
hits_ratio:0.7
}
| Set min test-coverage (of tests) on server to 100%
|
diff --git a/fotoramajs.gemspec b/fotoramajs.gemspec
index abc1234..def5678 100644
--- a/fotoramajs.gemspec
+++ b/fotoramajs.gemspec
@@ -1,4 +1,4 @@-require_relative 'lib/fotoramajs/version'
+require File.expand_path('../lib/fotoramajs/version', __FILE__)
Gem::Specification.new do |s|
s.platform = Gem::Platfor... | Fix require for old Ruby
|
diff --git a/config/deploy.rb b/config/deploy.rb
index abc1234..def5678 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -20,7 +20,7 @@ set :rails_env, "production"
# for carrierwave
-set :shared_children, shared_children + %w{public/uploads}
+set :shared_children, shared_children + %w{public/uploads tmp/sock... | Fix missing shared sockets folder [ci skip]
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,6 +1,11 @@ Rails.application.routes.draw do
- resources :expanded_test_ads
- resources :ad_groups
- resources :campaigns
- # For details on the DSL available within this file, see http:... | Configure to route to controllers in API module
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -31,5 +31,7 @@ end
resources :search, only: :index
+ resources :recruiters, only: :show
+
get '/:id', to: 'developers#show', as: :developer
end
| Add route for recruiter show
|
diff --git a/flipper-active_support_cache_store.gemspec b/flipper-active_support_cache_store.gemspec
index abc1234..def5678 100644
--- a/flipper-active_support_cache_store.gemspec
+++ b/flipper-active_support_cache_store.gemspec
@@ -21,5 +21,5 @@ gem.metadata = Flipper::METADATA
gem.add_dependency 'flipper'... | Update gemspec for active support to < 8 also
|
diff --git a/bin/geocode_nicab.rb b/bin/geocode_nicab.rb
index abc1234..def5678 100644
--- a/bin/geocode_nicab.rb
+++ b/bin/geocode_nicab.rb
@@ -6,19 +6,21 @@
locations = []
-# "Antrim CAB","Farranshane House","1 Ballygore Road","Antrim","BT41 2RN"
+# "Antrim","Farranshane House","1 Ballygore Road","Antrim","BT41 2... | Update NICAB script to handle most recent CSV
|
diff --git a/lib/zendesk_apps_support/sass_functions.rb b/lib/zendesk_apps_support/sass_functions.rb
index abc1234..def5678 100644
--- a/lib/zendesk_apps_support/sass_functions.rb
+++ b/lib/zendesk_apps_support/sass_functions.rb
@@ -26,9 +26,9 @@ module SassC::Script::Functions
module AppAssetUrl
def app_asset_... | Check for the right SassC string type
|
diff --git a/test/fallback_pure_spec.rb b/test/fallback_pure_spec.rb
index abc1234..def5678 100644
--- a/test/fallback_pure_spec.rb
+++ b/test/fallback_pure_spec.rb
@@ -24,9 +24,10 @@
require 'inline'
+require 'fuzzystringmatch'
describe Inline, "when c compile failed, fall back into pure " do
it "is for JRub... | Support rspec 3.0 syntax on JRuby, too.
|
diff --git a/xylem.gemspec b/xylem.gemspec
index abc1234..def5678 100644
--- a/xylem.gemspec
+++ b/xylem.gemspec
@@ -18,10 +18,10 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_dependency 'pg', '>= 0.11'
spec.add_dependency 'activerecord', '>= 3.2'... | Move pg gem to a dev dependency
|
diff --git a/helpers.rb b/helpers.rb
index abc1234..def5678 100644
--- a/helpers.rb
+++ b/helpers.rb
@@ -3,6 +3,13 @@ def faraday(options = {})
@faraday ||= begin
options[:timeout] ||= 6
+
+ # Make SSL work on heroku
+ if File.exists?('/usr/lib/ssl/certs/ca-certificates.crt')
+ ... | Make SSL work on heroku.
|
diff --git a/json_model.gemspec b/json_model.gemspec
index abc1234..def5678 100644
--- a/json_model.gemspec
+++ b/json_model.gemspec
@@ -11,8 +11,6 @@ s.description = "ActiveRecord replacement for pure JSON models"
s.required_rubygems_version = ">= 1.3.6"
-
- s.add_dependency "activemodel", "~> 3.0.0"
s.... | Revert "Dependency for active model"
This reverts commit 72c7d09db27233f740e79908ece54e71e120d5e9.
Conflicts:
json_model.gemspec
|
diff --git a/app/models/item.rb b/app/models/item.rb
index abc1234..def5678 100644
--- a/app/models/item.rb
+++ b/app/models/item.rb
@@ -1,5 +1,7 @@ class Item < ActiveRecord::Base
include Taggable
+ has_many :channel_inherited_keywords, source: :keywords, through: :channel
+ has_many :entity_inherited_keywords, s... | Allow for loading all associated keywords efficiently
|
diff --git a/app/models/site.rb b/app/models/site.rb
index abc1234..def5678 100644
--- a/app/models/site.rb
+++ b/app/models/site.rb
@@ -6,6 +6,7 @@ has_many :images, dependent: :destroy
has_many :authors, dependent: :destroy
has_many :memberships, dependent: :destroy
+ has_many :editors, through: :memberships... | Add relationship: Site -> User
|
diff --git a/distribo.gemspec b/distribo.gemspec
index abc1234..def5678 100644
--- a/distribo.gemspec
+++ b/distribo.gemspec
@@ -22,6 +22,8 @@ spec.add_development_dependency "faker"
spec.add_development_dependency "webmock"
+ spec.add_dependency 'eye'
+ spec.add_dependency 'dotenv'
spec.add_dependency 'act... | Add eye and dotenv gems
|
diff --git a/app/game_layer.rb b/app/game_layer.rb
index abc1234..def5678 100644
--- a/app/game_layer.rb
+++ b/app/game_layer.rb
@@ -2,12 +2,13 @@ scene
def on_enter
+ load_sprite_sheet
+ @sprite_batch << Sprite.new(frame_name: 'boy.png', position: [Screen.half_width, Screen.half_height])
+ end
+
+ def l... | Refactor load_sprite_sheet and remove bottom-left/top-right sprites.
|
diff --git a/app/models/arp.rb b/app/models/arp.rb
index abc1234..def5678 100644
--- a/app/models/arp.rb
+++ b/app/models/arp.rb
@@ -7,10 +7,12 @@ end
def self.present_users
- User.joins(:network_devices).where(network_devices: {
- mac_address: all.map(&:mac_address),
-... | Hide users that don't want to be shown
|
diff --git a/app/models/url.rb b/app/models/url.rb
index abc1234..def5678 100644
--- a/app/models/url.rb
+++ b/app/models/url.rb
@@ -2,9 +2,10 @@ include Mongoid::Document
field :site_name, type: String
field :origin_url, type: String
+ field :movie_pics, type: Array
field :title, type: String
field :tim... | Modify Urls model to add movie pictures.
|
diff --git a/repository/memory.rb b/repository/memory.rb
index abc1234..def5678 100644
--- a/repository/memory.rb
+++ b/repository/memory.rb
@@ -1,4 +1,5 @@ # encoding: utf-8
+require 'set'
module Blabber
module Repository
@@ -27,11 +28,11 @@ end
def add(id, *members)
- memory.store(id, memo... | Use sets to initialize collection keys in Repository::Memory
|
diff --git a/attributes/chef.rb b/attributes/chef.rb
index abc1234..def5678 100644
--- a/attributes/chef.rb
+++ b/attributes/chef.rb
@@ -8,3 +8,4 @@ default[:sys][:chef][:server_url] = nil
default[:sys][:chef][:use_syslog] = false
default[:sys][:chef][:log_level] = ':info'
+default[:sys][:chef][:overwrit... | Add a tempate for the "don't edit" warning
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,5 +1,8 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
+
+# RAILS_ENV needs to be set to development to mount t... | Make sure the error page debug view gets mounted
|
diff --git a/lib/fetch/async.rb b/lib/fetch/async.rb
index abc1234..def5678 100644
--- a/lib/fetch/async.rb
+++ b/lib/fetch/async.rb
@@ -3,6 +3,7 @@ def self.included(base)
base.define_callback :url,
:user_agent,
+ :headers,
:b... | Support sending headers to requests
|
diff --git a/lib/gitlab/util.rb b/lib/gitlab/util.rb
index abc1234..def5678 100644
--- a/lib/gitlab/util.rb
+++ b/lib/gitlab/util.rb
@@ -24,6 +24,8 @@ def section_start(name, description = name)
return unless ENV['CI']
+ name.tr!(':', '-')
+
@section_name = name
$stdout.puts "s... | Remove colons from section names
Collapsible sections use colons as a separator, so we replace them in
the name with hyphens.
|
diff --git a/lib/results/why.rb b/lib/results/why.rb
index abc1234..def5678 100644
--- a/lib/results/why.rb
+++ b/lib/results/why.rb
@@ -6,13 +6,15 @@ module Results
module_function
- # Wraps `arg` in a `Why` by calling the appropriate constructor.
- def Why(arg)
- case arg
- when Because then Why::One.new... | Improve yard documentation of Why()
|
diff --git a/lib/rich/engine.rb b/lib/rich/engine.rb
index abc1234..def5678 100644
--- a/lib/rich/engine.rb
+++ b/lib/rich/engine.rb
@@ -7,7 +7,21 @@ isolate_namespace Rich
initializer "rich.add_middleware" do |app|
- app.config.assets.precompile += %w(rich/base.js rich/editor.css ckeditor)
+ confi... | Include all js and css assets in precompilation
|
diff --git a/spec/features/comment_spec.rb b/spec/features/comment_spec.rb
index abc1234..def5678 100644
--- a/spec/features/comment_spec.rb
+++ b/spec/features/comment_spec.rb
@@ -4,7 +4,7 @@ context "on new comment page" do
let(:query) { FactoryGirl.create(:query) }
it "can see a form to write a new comment" d... | Comment out stub_authorize_user call - awaiting user auth helpers
|
diff --git a/spec/features/metrics_spec.rb b/spec/features/metrics_spec.rb
index abc1234..def5678 100644
--- a/spec/features/metrics_spec.rb
+++ b/spec/features/metrics_spec.rb
@@ -6,9 +6,9 @@ include_examples 'create visits with dates'
before do
- book_a_luna_visit_late
- book_a_luna_visit_late
- book_... | Tweak feature spec to create overdue visits
|
diff --git a/twitter4j4r.gemspec b/twitter4j4r.gemspec
index abc1234..def5678 100644
--- a/twitter4j4r.gemspec
+++ b/twitter4j4r.gemspec
@@ -2,7 +2,7 @@ require File.expand_path('../lib/twitter4j4r/version', __FILE__)
Gem::Specification.new do |gem|
- gem.authors = ["Tobias Crawley", "Marek Jelen"]
+ gem.aut... | Add gregors as a gem author
|
diff --git a/migrate.rb b/migrate.rb
index abc1234..def5678 100644
--- a/migrate.rb
+++ b/migrate.rb
@@ -2,79 +2,3 @@ require "sequel"
$db = Sequel.connect("sqlite://database/database.db", :logger => Logger.new("log/db.log"))
-
-# $db.create_table :teams do
-# Integer :number
-# primary_key :number
-
-# String :n... | Remove old reference code, as migrations are written.
|
diff --git a/lib/readonce.rb b/lib/readonce.rb
index abc1234..def5678 100644
--- a/lib/readonce.rb
+++ b/lib/readonce.rb
@@ -3,7 +3,7 @@ require 'httparty'
class ReadOnce
- BASE_URI = 'http://readonce-production.herokuapp.com'
+ BASE_URI = 'https://readonce-production.herokuapp.com'
def self.from_key(key)
... | Use HTTPS, since Heroku now supports it OOB.
|
diff --git a/app/forms/taxon_form.rb b/app/forms/taxon_form.rb
index abc1234..def5678 100644
--- a/app/forms/taxon_form.rb
+++ b/app/forms/taxon_form.rb
@@ -36,7 +36,7 @@ ]
)
- Services.publishing_api.publish(content_id, "major")
+ Services.publishing_api.publish(content_id, "minor")
Services.... | Use "minor" update type for tag publishing
Setting the update type to minor means we won't send email alerts for
changes to a topic title or description. This will become relevant if
topics will be tagged to other topics (we have no plans to do this, but
we need to be careful).
Since there is only ever one update typ... |
diff --git a/NTMonthYearPicker.podspec b/NTMonthYearPicker.podspec
index abc1234..def5678 100644
--- a/NTMonthYearPicker.podspec
+++ b/NTMonthYearPicker.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'NTMonthYearPicker'
- s.version = '1.0'
+ s.version = '1.0.0'
s.summary = 'A simple month / year... | Use semantic versioning in podspec
|
diff --git a/week-4/largest-integer/13-largest-integer/my_solution.rb b/week-4/largest-integer/13-largest-integer/my_solution.rb
index abc1234..def5678 100644
--- a/week-4/largest-integer/13-largest-integer/my_solution.rb
+++ b/week-4/largest-integer/13-largest-integer/my_solution.rb
@@ -12,8 +12,22 @@
#Your Solution... | Add initial solution back in and use max in refactored solution
|
diff --git a/chef-zero.gemspec b/chef-zero.gemspec
index abc1234..def5678 100644
--- a/chef-zero.gemspec
+++ b/chef-zero.gemspec
@@ -2,25 +2,25 @@ require 'chef_zero/version'
Gem::Specification.new do |s|
- s.name = "chef-zero"
+ s.name = 'chef-zero'
s.version = ChefZero::VERSION
s.platform = Gem::Platform::... | Fix up gemspec; add puma
|
diff --git a/APJSONMapping.podspec b/APJSONMapping.podspec
index abc1234..def5678 100644
--- a/APJSONMapping.podspec
+++ b/APJSONMapping.podspec
@@ -10,7 +10,7 @@ s.author = { "Alexander Perechnev" => "herfleisch@me.com" }
s.source = { :git => "https://github.com/aperechnev/APJSONMapping.git", :tag => ... | Make iOS 8.4 as minimum requirement.
|
diff --git a/core/db/migrate/20170317035819_add_lft_and_rgt_indexes_to_taxons.rb b/core/db/migrate/20170317035819_add_lft_and_rgt_indexes_to_taxons.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20170317035819_add_lft_and_rgt_indexes_to_taxons.rb
+++ b/core/db/migrate/20170317035819_add_lft_and_rgt_indexes_to_t... | Add missing indexes for Spree::Taxon lft and rgt columns
* These are used by `awesome_nested_set` to perform ordering and
therefore indexes should be added to them
|
diff --git a/performance/aur.rb b/performance/aur.rb
index abc1234..def5678 100644
--- a/performance/aur.rb
+++ b/performance/aur.rb
@@ -5,12 +5,20 @@
require 'aurb'
-Benchmark.bm 7 do |x|
- x.report 'search' do
+Benchmark.bm 20 do |x|
+ x.report 'aurb upgrade' do
+ Aurb.aur.upgrade *`pacman -Qm`.split(/\n/)
+... | Add contenders to performance check
|
diff --git a/asciidoctor-playground.rb b/asciidoctor-playground.rb
index abc1234..def5678 100644
--- a/asciidoctor-playground.rb
+++ b/asciidoctor-playground.rb
@@ -0,0 +1,49 @@+#!/usr/bin/env ruby
+
+require 'asciidoctor'
+
+topics = Hash.new
+
+base_dir = ARGV[0]
+
+Dir.glob base_dir + '/docs/**/*.adoc' do |doc|
+ ... | Add playground for asciidoctor ruby api
|
diff --git a/event_store-entity_projection.gemspec b/event_store-entity_projection.gemspec
index abc1234..def5678 100644
--- a/event_store-entity_projection.gemspec
+++ b/event_store-entity_projection.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-entity_projec... | Package version is increased from 0.0.2.2 to 0.0.3.0
|
diff --git a/KINWebBrowser.podspec b/KINWebBrowser.podspec
index abc1234..def5678 100644
--- a/KINWebBrowser.podspec
+++ b/KINWebBrowser.podspec
@@ -17,7 +17,6 @@ s.source_files = 'KINWebBrowser', 'KINWebBrowser/**/*.{h,m}'
s.resources = "Assets/*.png"
s.requires_arc = true
-
- s.weak_framework = 'WebKit'
+ ... | Make reference to 'WebKit' strong
|
diff --git a/httpauth.gemspec b/httpauth.gemspec
index abc1234..def5678 100644
--- a/httpauth.gemspec
+++ b/httpauth.gemspec
@@ -15,5 +15,6 @@
spec.has_rdoc = true
spec.extra_rdoc_files = ["README.md", "LICENSE"]
+ spec.license = "MIT"
spec.rdoc_options << "--charset=utf-8"
end
| Add license abbreviation to gemspec
|
diff --git a/spec/cc/engine/content_spec.rb b/spec/cc/engine/content_spec.rb
index abc1234..def5678 100644
--- a/spec/cc/engine/content_spec.rb
+++ b/spec/cc/engine/content_spec.rb
@@ -8,14 +8,8 @@ describe "#body" do
subject { content.body }
- it "pulls from the config/contents directory" do
- content... | Improve test for content body
|
diff --git a/spec/client/connection_spec.rb b/spec/client/connection_spec.rb
index abc1234..def5678 100644
--- a/spec/client/connection_spec.rb
+++ b/spec/client/connection_spec.rb
@@ -29,7 +29,7 @@
it "raises error" do
expect { connection.get("profile") }.
- to raise_error Magnum::Client::Error, "A... | Change error type in api tests
|
diff --git a/spec/program_area_list_spec.rb b/spec/program_area_list_spec.rb
index abc1234..def5678 100644
--- a/spec/program_area_list_spec.rb
+++ b/spec/program_area_list_spec.rb
@@ -1,85 +1,13 @@ require 'spec_helper'
+require 'shared_verso_list_examples'
describe Verso::ProgramAreaList do
use_vcr_cassette :re... | Use shared examples for array-like behavior
|
diff --git a/spec/recipes/ec2_hints_spec.rb b/spec/recipes/ec2_hints_spec.rb
index abc1234..def5678 100644
--- a/spec/recipes/ec2_hints_spec.rb
+++ b/spec/recipes/ec2_hints_spec.rb
@@ -3,7 +3,7 @@ describe 'aws::ec2_hints' do
let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
- it 'adds the hint f... | Use a better description in the ChefSpec
|
diff --git a/foreigner-matcher.gemspec b/foreigner-matcher.gemspec
index abc1234..def5678 100644
--- a/foreigner-matcher.gemspec
+++ b/foreigner-matcher.gemspec
@@ -12,7 +12,7 @@ s.summary = %q{Rspec matcher for testing the presence of foreign keys generated by Foreigner}
s.description = %q{Adds rspec matcher ... | Support foreigner versions ~> 0.9.1
|
diff --git a/site-cookbooks/nan-base/recipes/default.rb b/site-cookbooks/nan-base/recipes/default.rb
index abc1234..def5678 100644
--- a/site-cookbooks/nan-base/recipes/default.rb
+++ b/site-cookbooks/nan-base/recipes/default.rb
@@ -22,6 +22,10 @@ tcsh
nodejs
npm
+ mysql-server
+ postgresql
+ redis-server
+
... | Add mysql, postgres & redis.
Fixes #4.
|
diff --git a/app/controllers/rooms_controller.rb b/app/controllers/rooms_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/rooms_controller.rb
+++ b/app/controllers/rooms_controller.rb
@@ -4,11 +4,15 @@
def show
@room = Room.find(params[:id])
- current_user.join(@room) unless @room.users.inc... | Fix join/leave events not sent in some cases
|
diff --git a/JDSlider.podspec b/JDSlider.podspec
index abc1234..def5678 100644
--- a/JDSlider.podspec
+++ b/JDSlider.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "JDSlider"
- s.version = "0.0.1"
+ s.version = "1.0.0"
s.summary = "An iOS Slider written in swift."
... | [MODIFIED] Set PodSpec to release 1.0.0
|
diff --git a/spec/features/admin/administrators_spec.rb b/spec/features/admin/administrators_spec.rb
index abc1234..def5678 100644
--- a/spec/features/admin/administrators_spec.rb
+++ b/spec/features/admin/administrators_spec.rb
@@ -0,0 +1,37 @@+require 'rails_helper'
+
+feature 'Admin administrators' do
+ background ... | Add feature spec for new Administrators management in Admin area
|
diff --git a/spec/requests/receive_notification_spec.rb b/spec/requests/receive_notification_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/receive_notification_spec.rb
+++ b/spec/requests/receive_notification_spec.rb
@@ -15,7 +15,7 @@ }
expect {
- post '/ses', body
+ post '/ses', body.to... | Fix spec: test with actual json-body
|
diff --git a/Casks/path-finder.rb b/Casks/path-finder.rb
index abc1234..def5678 100644
--- a/Casks/path-finder.rb
+++ b/Casks/path-finder.rb
@@ -1,6 +1,7 @@ class PathFinder < Cask
url 'http://get.cocoatech.com/PF6_LION.zip'
homepage 'http://www.cocoatech.com/pathfinder/'
- version '6.1.5'
- sha1 '5c05b1f4b9c9f... | Fix PathFinder cask version and add link
|
diff --git a/app/models/spree/order_decorator.rb b/app/models/spree/order_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/order_decorator.rb
+++ b/app/models/spree/order_decorator.rb
@@ -1,7 +1,18 @@ module Spree
class Order < ActiveRecord::Base
- attr_accessible :use_corrected_address
- attr... | Redefine clone billing address to set is_shipping = true on ship address
|
diff --git a/month.gemspec b/month.gemspec
index abc1234..def5678 100644
--- a/month.gemspec
+++ b/month.gemspec
@@ -5,7 +5,7 @@ s.platform = Gem::Platform::RUBY
s.authors = ['Tim Craft']
s.email = ['mail@timcraft.com']
- s.homepage = 'http://github.com/timcraft/month'
+ s.homepage = 'https://github.com/timcr... | Use https url in gemspec
|
diff --git a/DPFoundation.podspec b/DPFoundation.podspec
index abc1234..def5678 100644
--- a/DPFoundation.podspec
+++ b/DPFoundation.podspec
@@ -1,12 +1,12 @@ Pod::Spec.new do |s|
s.name = 'DPFoundation'
- s.version = '0.0.1'
+ s.version = '1.0.0'
s.license = 'MIT'
s.summary = 'A minimal set of addit... | Bring the 1.0.0 version live
|
diff --git a/lib/adminable/presenters/entry_presenter.rb b/lib/adminable/presenters/entry_presenter.rb
index abc1234..def5678 100644
--- a/lib/adminable/presenters/entry_presenter.rb
+++ b/lib/adminable/presenters/entry_presenter.rb
@@ -12,6 +12,13 @@ next
end
end
+ end
+
+ def link_to_s... | Add link_to_self to entry presenter
|
diff --git a/idlewatch.rb b/idlewatch.rb
index abc1234..def5678 100644
--- a/idlewatch.rb
+++ b/idlewatch.rb
@@ -24,10 +24,13 @@
Thread.new do
debug "Starting timer"
- loop do
- sleep 29 * 60
- imap.idle_done
- end
+ sleep 29 * 60
+ imap.idle_done
+ end
+
+ Thread.new do
+ debug "Sta... | Add ssl timer : 11h minus 1 min
|
diff --git a/app/lib/services.rb b/app/lib/services.rb
index abc1234..def5678 100644
--- a/app/lib/services.rb
+++ b/app/lib/services.rb
@@ -3,10 +3,16 @@
module Services
def self.content_store
- @content_store ||= GdsApi::ContentStore.new(Plek.find("content-store"))
+ @content_store ||= GdsApi::ContentStore... | Disable cacheing in development env
Rummager request responses were being cached and caused surprising behaviour
in that newly added specialist documents would not show up in search results
after cacheing on the dev vm. Also disable cacheing for content store to be
consistent.
|
diff --git a/app/models/admin.rb b/app/models/admin.rb
index abc1234..def5678 100644
--- a/app/models/admin.rb
+++ b/app/models/admin.rb
@@ -8,6 +8,8 @@ attr_accessible :email, :password, :password_confirmation, :remember_me
attr_accessible :role_ids
+ validates :role_ids, presence: true
+
before_save :ensur... | Add validation for role for new users. Note: there is still a bug when a
user doesn't have a role assigned, which results in an infinite loop
when they log in. This is because the root_url is /validations, which is
limited to project_participants and above, and CanCan redirects to
root_url on AccessDenied exceptions. T... |
diff --git a/app/models/quote.rb b/app/models/quote.rb
index abc1234..def5678 100644
--- a/app/models/quote.rb
+++ b/app/models/quote.rb
@@ -11,7 +11,7 @@ end
def replace_with_raw_quote!(raw_quote, new_description)
- self.description = new_description
+ update_attribute(:description, new_description)
... | Fix updating of the description.
|
diff --git a/app/models/theme.rb b/app/models/theme.rb
index abc1234..def5678 100644
--- a/app/models/theme.rb
+++ b/app/models/theme.rb
@@ -1,7 +1,8 @@ class Theme
+ ALPHA_TAXONOMY = '/alpha-taxonomy'.freeze # TODO: remove once all base paths have been updated
EDUCATION_THEME_BASE_PATH = '/education-training-and-s... | Add alpha taxonomy to allowable path prefixes
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -10,6 +10,12 @@ end
def permission_denied
- redirect_to new_user_session_path if c... | Fix permission_denied method so it actually denies permission.
|
diff --git a/cookbooks/pacman/default.rb b/cookbooks/pacman/default.rb
index abc1234..def5678 100644
--- a/cookbooks/pacman/default.rb
+++ b/cookbooks/pacman/default.rb
@@ -53,4 +53,5 @@ package 'xf86-video-intel'
package 'xorg'
package 'xorg-xinit'
+package 'xsel'
package 'yarn'
| Fix an issue that yank to clipboard in neovim
See https://github.com/neovim/neovim/issues/2642
|
diff --git a/app/helpers/status_helper.rb b/app/helpers/status_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/status_helper.rb
+++ b/app/helpers/status_helper.rb
@@ -0,0 +1,28 @@+#
+# Copyright:: Copyright (c) 2008-2012 Opscode, Inc.
+# License:: Apache License, Version 2.0
+#
+# Licensed under the Apache Li... | Add missing missing status helpers. |
diff --git a/qjson.gemspec b/qjson.gemspec
index abc1234..def5678 100644
--- a/qjson.gemspec
+++ b/qjson.gemspec
@@ -15,8 +15,9 @@ s.description = "Description of Qjson."
s.license = "MIT"
- s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
+ s.files = `git ls-files`.split... | Use more normal file inclusion description. |
diff --git a/spec/models/spree/shipment_spec.rb b/spec/models/spree/shipment_spec.rb
index abc1234..def5678 100644
--- a/spec/models/spree/shipment_spec.rb
+++ b/spec/models/spree/shipment_spec.rb
@@ -6,54 +6,30 @@ subject { shipment.determine_state(shipment.order) }
describe "#determine_state_with_signifyd" do
... | Remove talk of risky order from shipment spec
The determine_state override no longer takes order riskyness into
account so let's eliminate that discussion from the specs and instead
specify the current behaviour.
|
diff --git a/lib/axiom/types/numeric.rb b/lib/axiom/types/numeric.rb
index abc1234..def5678 100644
--- a/lib/axiom/types/numeric.rb
+++ b/lib/axiom/types/numeric.rb
@@ -5,6 +5,8 @@
# Represents a numeric type
class Numeric < Object
+ extend ValueComparable
+
primitive ::Numeric
coerc... | Update Numeric types to be value comparable
|
diff --git a/app/daily_job.rb b/app/daily_job.rb
index abc1234..def5678 100644
--- a/app/daily_job.rb
+++ b/app/daily_job.rb
@@ -30,13 +30,14 @@ system("git add index.html")
system("git commit -m 'Site Update on #{today}'")
- system "git push orgin gh-pages"
+ # Push the branch
+ system("git push or... | Fix typos and push to correct branch
|
diff --git a/lib/league_manager/team.rb b/lib/league_manager/team.rb
index abc1234..def5678 100644
--- a/lib/league_manager/team.rb
+++ b/lib/league_manager/team.rb
@@ -1,6 +1,6 @@ module LeagueManager
class Team < LeagueManager::Base
attr_reader :color, :division_name, :league_name, :season_name, :active, :div... | Add season and playoffs champions flags
|
diff --git a/ext/spyglass/extconf.rb b/ext/spyglass/extconf.rb
index abc1234..def5678 100644
--- a/ext/spyglass/extconf.rb
+++ b/ext/spyglass/extconf.rb
@@ -3,4 +3,4 @@ $CFLAGS = ENV["CFLAGS"].to_s + " " + `pkg-config opencv --cflags`.chomp
$LOCAL_LIBS = ENV["LIBS"].to_s + " " + `pkg-config opencv --libs`.chom... | Create the makefile with the right path.
|
diff --git a/devise_campaignable.gemspec b/devise_campaignable.gemspec
index abc1234..def5678 100644
--- a/devise_campaignable.gemspec
+++ b/devise_campaignable.gemspec
@@ -21,7 +21,8 @@ spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
spec.add_development_dependency "r... | Add activemodel as a dev dependency. The specs load Devise, which in turn loads active_support/dependencies but this isn't itself an explicit dependency for devise
|
diff --git a/rack-uri_sanitizer.gemspec b/rack-uri_sanitizer.gemspec
index abc1234..def5678 100644
--- a/rack-uri_sanitizer.gemspec
+++ b/rack-uri_sanitizer.gemspec
@@ -11,7 +11,7 @@ spec.description = %q{Rack::URISanitizer is a Rack middleware which cleans up } <<
%q{trailing % characters i... | Add homepage reference in gemspec
|
diff --git a/bedrock.rb b/bedrock.rb
index abc1234..def5678 100644
--- a/bedrock.rb
+++ b/bedrock.rb
@@ -1,5 +1,5 @@ # Base Rails template for setting up a new project.
-TEMPLATE_ROOT = "./rails-templates"
+TEMPLATE_ROOT = "http://github.com/thethirdswitch/rails-templates/raw/master"
['test-frameworks.rb', 'formtast... | Set template root to github repo
|
diff --git a/docker/docparse/generate.rb b/docker/docparse/generate.rb
index abc1234..def5678 100644
--- a/docker/docparse/generate.rb
+++ b/docker/docparse/generate.rb
@@ -6,8 +6,8 @@ args = Shellwords.split(File.read('.yardopts').gsub(/^[ \t]*#.+/m, ''))
args.each_with_index do |arg, i|
next unless arg == '... | Fix bug in YARD gem plugin installation
|
diff --git a/ruby/subscription-ach.rb b/ruby/subscription-ach.rb
index abc1234..def5678 100644
--- a/ruby/subscription-ach.rb
+++ b/ruby/subscription-ach.rb
@@ -0,0 +1,26 @@+require 'chargify_api_ares'
+
+Chargify.configure do |c|
+ c.subdomain = ENV['CHARGIFY_SUBDOMAIN']
+ c.api_key = ENV['CHARGIFY_API_KEY']
+end
... | Add example of creating an ACH subscription with the Ruby gem
|
diff --git a/spec/models/machine_spec.rb b/spec/models/machine_spec.rb
index abc1234..def5678 100644
--- a/spec/models/machine_spec.rb
+++ b/spec/models/machine_spec.rb
@@ -1,4 +1,25 @@ require 'spec_helper'
describe Machine do
+ describe 'create' do
+ before do
+ Machine.create(
+ name: 'sample',
+ ... | Add specs for Machine model.
|
diff --git a/spec/requests/links_spec.rb b/spec/requests/links_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/links_spec.rb
+++ b/spec/requests/links_spec.rb
@@ -9,4 +9,25 @@ expect(response.status).to be(200)
end
end
+
+ describe "GET /l/:short_name" do
+ context "when short_name exists" d... | Add request specs for short URL redirects
- For a valid short URL, ensure that we respond with a 302 redirect
- For an invalid short URL, ensure that we respond with a 404
|
diff --git a/dta_rapid.gemspec b/dta_rapid.gemspec
index abc1234..def5678 100644
--- a/dta_rapid.gemspec
+++ b/dta_rapid.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "dta_rapid"
- spec.version = "1.4.8"
+ spec.version = "1.4.9"
spec.authors = ["Gareth Rogers"... | Update gem version to 1.4.9
|
diff --git a/lib/acclimate/output.rb b/lib/acclimate/output.rb
index abc1234..def5678 100644
--- a/lib/acclimate/output.rb
+++ b/lib/acclimate/output.rb
@@ -39,7 +39,7 @@ write "#{msg}... ", color
block.call
say_ok
- rescue ConfirmationError => e
+ rescue Acclimate::ConfirmationError => e
... | Fix NameError caused by not providing namesspace (due to Autolaoded).
|
diff --git a/lib/adhearsion/calls.rb b/lib/adhearsion/calls.rb
index abc1234..def5678 100644
--- a/lib/adhearsion/calls.rb
+++ b/lib/adhearsion/calls.rb
@@ -49,6 +49,8 @@ call_id = key call
remove_inactive_call call
return unless reason
+ Adhearsion::Events.trigger :exception, reason
+ ... | Add logging of exceptions which cause call actors to die and be force-hung-up
|
diff --git a/lib/eol_deprecations.rb b/lib/eol_deprecations.rb
index abc1234..def5678 100644
--- a/lib/eol_deprecations.rb
+++ b/lib/eol_deprecations.rb
@@ -17,7 +17,7 @@ attr_reader :name, :version_line, :date, :link
def initialize(hash)
@name = hash['name']
- @match = Regexp.new(hash['mat... | Add default empty string for eol_extensions if no match
Co-authored-by: David Freilich <0106e5ee349bb58d7c51800b6acf5b57cf80aef6@pivotal.io>
|
diff --git a/lib/fappu/connection.rb b/lib/fappu/connection.rb
index abc1234..def5678 100644
--- a/lib/fappu/connection.rb
+++ b/lib/fappu/connection.rb
@@ -1,5 +1,5 @@+require 'open-uri'
require 'json'
-require 'faraday'
module Fappu
class Connection
@@ -8,10 +8,11 @@
def initialize(settings={})
@b... | Use core uri lib. desu.
|
diff --git a/lib/redirector/tests.rb b/lib/redirector/tests.rb
index abc1234..def5678 100644
--- a/lib/redirector/tests.rb
+++ b/lib/redirector/tests.rb
@@ -6,7 +6,7 @@ Old Url,New Url,Status
http://#{args.host},https://www.gov.uk/government/organisations/#{args.whitehall_slug},301
CSV
- `echo -n '#{tests_csv}' ... | Add a chomp, remove an echo
|
diff --git a/lib/s3browser/worker.rb b/lib/s3browser/worker.rb
index abc1234..def5678 100644
--- a/lib/s3browser/worker.rb
+++ b/lib/s3browser/worker.rb
@@ -14,8 +14,8 @@ key = record['s3']['object']['key']
info = s3.head_object({ bucket: bucket, key: key })
+ info = info.to_h.merge(r... | fix: Merge in missing object info
|
diff --git a/lib/stacks/inventory.rb b/lib/stacks/inventory.rb
index abc1234..def5678 100644
--- a/lib/stacks/inventory.rb
+++ b/lib/stacks/inventory.rb
@@ -1,12 +1,16 @@ class Stacks::Inventory
def initialize(stack_dir)
- stack_file = "#{stack_dir}/stack.rb"
- raise "no stack.rb found in #{stack_dir}" unles... | Revert "Revert "rpearce: Adding support for multiple stackbuilder-config files""
This reverts commit 36c6eec0ee544e0d7524a923aa116e95775df4d4.
|
diff --git a/spec/models/grok_spec.rb b/spec/models/grok_spec.rb
index abc1234..def5678 100644
--- a/spec/models/grok_spec.rb
+++ b/spec/models/grok_spec.rb
@@ -14,13 +14,33 @@
end
+ describe "API response parsing for a single date" do
- describe "API response parsing" do
-
- it "should return page views f... | Fix Grok tests so they don't depend on when you create the fixtures
|
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb
index abc1234..def5678 100644
--- a/spec/support/capybara.rb
+++ b/spec/support/capybara.rb
@@ -0,0 +1,8 @@+require 'capybara/rails'
+require 'capybara/dsl'
+
+RSpec.configure do |c|
+ c.include Capybara, :example_group => {
+ :file_path => /\bspec\/... | Remove Test::Unit, replace with RSpec + Capybara
|
diff --git a/sorting.rb b/sorting.rb
index abc1234..def5678 100644
--- a/sorting.rb
+++ b/sorting.rb
@@ -6,7 +6,15 @@ lesser.quicksort + [pivot] + greater.quicksort
end
+ def quicksort!
+ self.replace(self.quicksort)
+ end
+
def insertion_sort
+ self.dup.insertion_sort!
+ end
+
+ def insertion_sor... | Add mutable and non-mutable versions of existing algorithms
|
diff --git a/hive-runner-android.gemspec b/hive-runner-android.gemspec
index abc1234..def5678 100644
--- a/hive-runner-android.gemspec
+++ b/hive-runner-android.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |s|
s.name = 'hive-runner-android'
- s.version = '1.1.0'
+ s.version = '1.1.1'
s.date ... | Check to see if an error message has been returned from DeviceDBComms
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.