diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/resolver/basic_spec.rb b/spec/resolver/basic_spec.rb
index abc1234..def5678 100644
--- a/spec/resolver/basic_spec.rb
+++ b/spec/resolver/basic_spec.rb
@@ -10,6 +10,6 @@ it "resolves" do
dep "rack"
- should_resolve_as [gem "rack", "1.1"]
+ should_resolve_as [gem("rack"), "1.1"]
end
e... | Fix syntax error on 1.9
|
diff --git a/lib/rom/repository/command_proxy.rb b/lib/rom/repository/command_proxy.rb
index abc1234..def5678 100644
--- a/lib/rom/repository/command_proxy.rb
+++ b/lib/rom/repository/command_proxy.rb
@@ -1,5 +1,7 @@ module ROM
class Repository
+ # TODO: look into making command graphs work without the root key i... | Add a TODO to CommandProxy
|
diff --git a/lib/tasks/personal_information.rake b/lib/tasks/personal_information.rake
index abc1234..def5678 100644
--- a/lib/tasks/personal_information.rake
+++ b/lib/tasks/personal_information.rake
@@ -1,7 +1,9 @@ namespace :anonymise do
desc 'Anonymise data that is at least 6 months old'
task remove_old_perso... | Add logging information to rake task
|
diff --git a/app/controllers/components/course/duplication_component.rb b/app/controllers/components/course/duplication_component.rb
index abc1234..def5678 100644
--- a/app/controllers/components/course/duplication_component.rb
+++ b/app/controllers/components/course/duplication_component.rb
@@ -2,7 +2,7 @@ include C... | Hide duplication sidebar item from non-administrators.
Duplication UX is not ready for end users yet.
|
diff --git a/lib/cms/hippo_importer/corporate_page.rb b/lib/cms/hippo_importer/corporate_page.rb
index abc1234..def5678 100644
--- a/lib/cms/hippo_importer/corporate_page.rb
+++ b/lib/cms/hippo_importer/corporate_page.rb
@@ -2,11 +2,11 @@ module HippoImporter
class CorporatePage < HippoImporter::Base
def ... | Fix typos for corporate pages on hippo migration
|
diff --git a/lib/cognitive_vision/analyze_response.rb b/lib/cognitive_vision/analyze_response.rb
index abc1234..def5678 100644
--- a/lib/cognitive_vision/analyze_response.rb
+++ b/lib/cognitive_vision/analyze_response.rb
@@ -3,7 +3,7 @@ attr_reader :adult, :faces
def initialize(options = {})
- @adult = ... | Make adult nil if it dont exists
|
diff --git a/lib/dmm-crawler/ranking/dojin_ranking.rb b/lib/dmm-crawler/ranking/dojin_ranking.rb
index abc1234..def5678 100644
--- a/lib/dmm-crawler/ranking/dojin_ranking.rb
+++ b/lib/dmm-crawler/ranking/dojin_ranking.rb
@@ -8,7 +8,7 @@ def initialize(agent:, submedia: nil, term: nil)
@agent = discrimina... | Fix a typo where it inserts submedia into term instance variable
|
diff --git a/lib/gov_kit/search_engines/technorati.rb b/lib/gov_kit/search_engines/technorati.rb
index abc1234..def5678 100644
--- a/lib/gov_kit/search_engines/technorati.rb
+++ b/lib/gov_kit/search_engines/technorati.rb
@@ -4,7 +4,7 @@ def self.search(options=[])
query = options.to_query('q')
h... | Replace reference to API_KEYS with GovKit::configuration
|
diff --git a/lib/lazy/pp/json/version.rb b/lib/lazy/pp/json/version.rb
index abc1234..def5678 100644
--- a/lib/lazy/pp/json/version.rb
+++ b/lib/lazy/pp/json/version.rb
@@ -1,6 +1,8 @@+# -*- coding: utf-8 -*-
+
module Lazy
module PP
- module JSON
+ class JSON < String
VERSION = "0.0.1"
end
end
| Fix class type from module to class
|
diff --git a/lib/slack/real_time/concurrency/async.rb b/lib/slack/real_time/concurrency/async.rb
index abc1234..def5678 100644
--- a/lib/slack/real_time/concurrency/async.rb
+++ b/lib/slack/real_time/concurrency/async.rb
@@ -6,15 +6,7 @@ module Async
class Client < ::Async::WebSocket::Client
e... | Use def_delegators for text and binary.
|
diff --git a/lib/yummydata/criteria/execution_time.rb b/lib/yummydata/criteria/execution_time.rb
index abc1234..def5678 100644
--- a/lib/yummydata/criteria/execution_time.rb
+++ b/lib/yummydata/criteria/execution_time.rb
@@ -47,13 +47,12 @@ start_time = Time.now
result = @client.query(sparql_quer... | Change the timing to return nil
|
diff --git a/lib/primer/table_printer.rb b/lib/primer/table_printer.rb
index abc1234..def5678 100644
--- a/lib/primer/table_printer.rb
+++ b/lib/primer/table_printer.rb
@@ -1,28 +1,27 @@ module Primer
class TablePrinter
- attr_reader :rows, :primes, :cell_width
- private :rows, :primes, :cell_width
+ attr_r... | Make table printer take the table object
|
diff --git a/lib/facter/nr_ruby_found.rb b/lib/facter/nr_ruby_found.rb
index abc1234..def5678 100644
--- a/lib/facter/nr_ruby_found.rb
+++ b/lib/facter/nr_ruby_found.rb
@@ -1,9 +1,13 @@ Facter.add(:nr_ruby_found) do
confine :kernel => :linux
setcode do
- ruby = Facter::Util::Resolution.exec('which ruby')
+ ... | Support Puppet's embedded ruby and improve the which command usage
|
diff --git a/lib/frecon/request_error.rb b/lib/frecon/request_error.rb
index abc1234..def5678 100644
--- a/lib/frecon/request_error.rb
+++ b/lib/frecon/request_error.rb
@@ -10,10 +10,7 @@ require "json"
class RequestError < StandardError
- attr_reader :code
- attr_reader :body
-
- def initialize(code, message = nil,... | Remove attr_readers, use nil default context
We do not need the attr_readers because outside of the class the return_value
method is called which gets the values internally. A nil default context is
more concise than defaulting to an error message because if someone sees
"context": null, they will understand that the... |
diff --git a/lib/jiraSOAP/JIRAservice.rb b/lib/jiraSOAP/JIRAservice.rb
index abc1234..def5678 100644
--- a/lib/jiraSOAP/JIRAservice.rb
+++ b/lib/jiraSOAP/JIRAservice.rb
@@ -24,6 +24,10 @@
#PONDER: a finalizer that will try to logout
+ def method_missing(method, *args)
+ $stderr.puts "#{method} is not a define... | Add method_missing to let users know when something is not working
To be a bit more friendly. :)
|
diff --git a/lib/ui_bibz/rails/engine.rb b/lib/ui_bibz/rails/engine.rb
index abc1234..def5678 100644
--- a/lib/ui_bibz/rails/engine.rb
+++ b/lib/ui_bibz/rails/engine.rb
@@ -25,7 +25,11 @@ end
initializer 'font-awesome-sass.assets.precompile', group: :all do |app|
- config.assets.precompile << /\.(... | Add compatibility with Sprockets 4
See https://github.com/rails/sprockets-rails/issues/269
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -10,3 +10,7 @@ %w{ubuntu debian centos redhat amazon scientific fedora}.each do |os|
supports os
end
+recipe 'zsh::default', 'Installs zsh.'
+
+source_url 'https://github.com/opscode-cookbooks/zsh' if respond... | Add source_url and issues_url metata for Chef 12
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -2,7 +2,7 @@ maintainer 'Peter Donald'
maintainer_email 'peter@realityforge.org'
license 'Apache 2.0'
-description 'Install and configure the collectd monitoring daemon and plugins'
+descrip... | Improve the description a whisker
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -1,7 +1,7 @@ name 'sys'
maintainer 'GSI HPC department'
maintainer_email 'hpc@gsi.de'
-license 'Apache 2.0'
+license 'Apache-2.0'
description 'System Software configura... | Use official SPDX identifier for the license
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -14,7 +14,7 @@ supports 'redhat', '>= 7.0'
chef_version '>= 14.0'
-depends 'java', '>= 1.39'
-depends 'runit', '>= 1.7'
+depends 'java', '< 7.0.0'
+depends 'runi... | fix: Set dep versions for Chef 14 compatibility
java >= 7.0.0 requires Chef 15 or above
The other cookbooks may require Chef >= 15 in the future, so this
avoids that.
|
diff --git a/lol2dict.rb b/lol2dict.rb
index abc1234..def5678 100644
--- a/lol2dict.rb
+++ b/lol2dict.rb
@@ -3,9 +3,6 @@ $KCODE = 'UTF8'
require 'yaml'
-
-require 'rubygems'
-gem 'builder', '~> 2.0'
class Hash
def to_apple_dictionary(io = STDOUT)
| Remove unused dependency on builder
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -8,7 +8,7 @@ recipe 'passenger_apache2', 'Installs Passenger as an Apache module'
recipe 'passenger_apache2::mod_rails', 'Enables Apache module configuration for passenger module'
-depends 'apache2', '~> 1.0'
... | Update Apache dependency from ~1.0 to >= 2.0
2.0+ brings with it Apache 2.4 support so we can support RHEL 7 and Ubuntu 14.04
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -10,4 +10,4 @@ if respond_to?(:issues_url)
issues_url 'https://github.com/GSI-HPC/sys-chef-cookbook/issues'
end
-version '1.40.4'
+version '1.40.5'
| Revert changes that are incompatible with Chef 12.0
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -18,7 +18,7 @@ license 'Apache 2.0'
description 'Installs/Configures authbind and defines resources for managing authorization'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.m... | Bump version in preparation for release
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -10,7 +10,7 @@
depends 'build-essential'
-%w(ubuntu debian redhat centos scientific oracle amazon).each do |os|
+%w( amazon debian ubuntu redhat centos scientific fedora oracle ).each do |os|
supports os
... | Add fedora to list of platforms
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -20,5 +20,5 @@ depends 'ark', '= 0.8.0'
depends 'java', '= 1.22.0'
depends 'elasticsearch', '= 0.3.8'
-depends 'mongodb', '= ... | Fix mongodb version number due to mistagging of mongodb author |
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -8,4 +8,4 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.0.2'
supports 'windows'
-depends 'windows', '~> 2.1.1'
+depends 'windows', '>=... | Add 1.2.2 version of `windows` cookbook to dependencies
Doesn't force users to upgrade to 2.x version of `windows`
cookbook.
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -1,7 +1,7 @@ name 'sqlite'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
-license 'Apache 2.0'
+license 'Apache-2.0'
description 'Installs sqlite'
long_description IO.read(File.join(Fi... | Use a SPDX standard license string
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -16,7 +16,7 @@
depends 'build-essential'
depends 'java', '~> 1.35'
-depends 'runit', '~> 3.0'
+depends 'runit', '~> 4.0'
depends 'zookeeper', '~> 8.0'
depends ... | Upgrade runit dependency to 4.x
https://supermarket.chef.io/cookbooks/runit#changelog
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -4,7 +4,7 @@ license "MIT"
description "Configures monit"
long_description "Please refer to README.md"
-version "1.5.3"
+version "1.5.2"
recipe "monit", "Sets up the serv... | Revert "Bump version to 1.5.3."
This reverts commit 24cda809dfba7789f58be68d6a0e9ddc31992f28.
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -9,3 +9,4 @@ supports 'mac_os_x'
depends 'homebrew', '~> 2.1.0'
+depends 'mac_os_x', '~> 1.4.6'
| Add dependency for mac_os_x cookbook
Again not using this yet, but will want to for defaults and plists, easier than keeping notes.
|
diff --git a/lxc.gemspec b/lxc.gemspec
index abc1234..def5678 100644
--- a/lxc.gemspec
+++ b/lxc.gemspec
@@ -13,6 +13,7 @@ s.add_development_dependency 'rspec', '~> 2.6'
s.add_development_dependency 'simplecov', '~> 0.4'
s.add_development_dependency 'rack-test', '~> 0.6'
+ s.add_development_dependency 'jso... | Make json gem a dev dependency
|
diff --git a/sandwich.rb b/sandwich.rb
index abc1234..def5678 100644
--- a/sandwich.rb
+++ b/sandwich.rb
@@ -4,6 +4,12 @@ require 'chef/recipe'
require 'chef/resource'
require 'chef/providers'
+
+class Chef::Recipe
+ def from_string(string)
+ self.instance_eval(string, 'sandwich', 1)
+ end
+end
$client = nil
... | Add from_string monkey patch to Chef::Recipe
|
diff --git a/Casks/spectacle.rb b/Casks/spectacle.rb
index abc1234..def5678 100644
--- a/Casks/spectacle.rb
+++ b/Casks/spectacle.rb
@@ -4,8 +4,8 @@ version '0.8.6'
sha256 '3e367d2d7e6fe7d5f41d717d49cb087ba7432624b71ddd91c0cfa9d5a5459b7c'
else
- version '0.8.9'
- sha256 '11058388f4f3a2f91c7f888d8bf110... | Update Spectacle.app to version 0.8.10
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -6,7 +6,7 @@ description 'Configures sysctl parameters'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.4.0'
-supports 'ubuntu', '>= 10.04'
+supports 'ubuntu', '>= 12.04'
su... | Update support to minimum of Ubuntu Precise
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -4,7 +4,7 @@ license 'all_rights'
description 'Installs/Configures win_base'
long_description 'Installs/Configures win_base'
-version '0.1.1'
+version '0.1.2'
depends 'push-jobs'
depends 'audit'
| Add audit cookbook to default recipe
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -9,3 +9,4 @@ depends "apt"
depends "nginx"
depends "r"
+depends "users"
| Make sure we depends on users cookbook.
|
diff --git a/db/migrate/20140729080040_make_common_category.rb b/db/migrate/20140729080040_make_common_category.rb
index abc1234..def5678 100644
--- a/db/migrate/20140729080040_make_common_category.rb
+++ b/db/migrate/20140729080040_make_common_category.rb
@@ -9,7 +9,7 @@ first_category.save
end
- new_c... | @thenathanjones: Put spaces in the name so it has somewhere to wrap
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -23,6 +23,7 @@ maintainer 'Rapid7 LLC'
maintainer_email 'coreservices@rapid7.com'
description 'Install and configure etcd'
+source_url 'https://github.com/rapid7/chef-etcd'
license 'MIT'
long_description IO... | Add source URL for GitHub repo
|
diff --git a/LXReorderableCollectionViewFlowLayout.podspec b/LXReorderableCollectionViewFlowLayout.podspec
index abc1234..def5678 100644
--- a/LXReorderableCollectionViewFlowLayout.podspec
+++ b/LXReorderableCollectionViewFlowLayout.podspec
@@ -12,7 +12,7 @@ :git => 'https://github.com/lxcid/LXReorderableCollection... | Set platform to iOS 6.0 since UICollectionView did not exist before that version.
|
diff --git a/Casks/brackets.rb b/Casks/brackets.rb
index abc1234..def5678 100644
--- a/Casks/brackets.rb
+++ b/Casks/brackets.rb
@@ -1,7 +1,7 @@ class Brackets < Cask
- url 'http://download.brackets.io/file.cfm?platform=OSX&build=35'
+ url 'http://download.brackets.io/file.cfm?platform=OSX&build=36'
homepage 'http... | Upgrade Brackets to Sprint 36
|
diff --git a/Casks/cocktail.rb b/Casks/cocktail.rb
index abc1234..def5678 100644
--- a/Casks/cocktail.rb
+++ b/Casks/cocktail.rb
@@ -1,5 +1,5 @@ class Cocktail < Cask
- url 'http://usa.maintain.se/CocktailMLE.dmg'
+ url 'http://usa.maintain.se/CocktailME.dmg'
homepage 'http://maintain.se/cocktail'
version 'late... | Use Cocktail for Mavericks as default
Cocktail for Mountain Lion moved to caskroom/homebrew-versions
Closes #1354 |
diff --git a/Casks/dnscrypt.rb b/Casks/dnscrypt.rb
index abc1234..def5678 100644
--- a/Casks/dnscrypt.rb
+++ b/Casks/dnscrypt.rb
@@ -4,4 +4,6 @@ version '0.19'
sha256 '36b684cc1a90a540e8c38759f509914818a1d3ca0e374ea0ab82e259cb72e1ec'
install 'DNSCrypt.mpkg'
+ uninstall :pkgutil => 'com.opendns.osx.dnscryptClie... | Add uninstall stanza for DNSCrypt
|
diff --git a/DWTagList.podspec b/DWTagList.podspec
index abc1234..def5678 100644
--- a/DWTagList.podspec
+++ b/DWTagList.podspec
@@ -6,7 +6,7 @@ s.license = 'MIT'
s.author = { "Dominic Wroblewski" => "domness@gmail.com" }
s.source = { :git => "https://github.com/domness/DWTagList.git", :tag => ... | Add platform version to podspec |
diff --git a/FSCalendar.podspec b/FSCalendar.podspec
index abc1234..def5678 100644
--- a/FSCalendar.podspec
+++ b/FSCalendar.podspec
@@ -11,7 +11,7 @@ s.source = { :git => "https://github.com/WenchaoD/FSCalendar.git", :tag => s.version.to_s }
s.platform = :ios
- s.ios.deployment_target = '7.0'
+ ... | Change iOS version of .podspec to '8.0' .
|
diff --git a/test/controllers/users_controller_test.rb b/test/controllers/users_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/users_controller_test.rb
+++ b/test/controllers/users_controller_test.rb
@@ -1,5 +1,7 @@+# Encoding: utf-8
require 'test_helper'
+# User controller tests
class User... | Clean up user test script
|
diff --git a/v1/app/controllers/v1/utils_controller.rb b/v1/app/controllers/v1/utils_controller.rb
index abc1234..def5678 100644
--- a/v1/app/controllers/v1/utils_controller.rb
+++ b/v1/app/controllers/v1/utils_controller.rb
@@ -4,7 +4,7 @@
class UtilsController < ApplicationController
before_filter :authentic... | Add generic_exception_handler rescue_from to the utils controller
|
diff --git a/vmdb/db/fixtures/ae_datastore/ManageIQ/Service/Provisioning/StateMachines/ServiceProvision_Template.class/__methods__/update_serviceprovision_status.rb b/vmdb/db/fixtures/ae_datastore/ManageIQ/Service/Provisioning/StateMachines/ServiceProvision_Template.class/__methods__/update_serviceprovision_status.rb
i... | Remove root object logging from service class update status method.
|
diff --git a/Library/Homebrew/compat/fails_with_llvm.rb b/Library/Homebrew/compat/fails_with_llvm.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/compat/fails_with_llvm.rb
+++ b/Library/Homebrew/compat/fails_with_llvm.rb
@@ -2,10 +2,6 @@ def fails_with_llvm msg=nil, data=nil
opoo "Calling fails_with_llvm... | Remove an internal method from compat
|
diff --git a/activestorage/lib/tasks/activestorage.rake b/activestorage/lib/tasks/activestorage.rake
index abc1234..def5678 100644
--- a/activestorage/lib/tasks/activestorage.rake
+++ b/activestorage/lib/tasks/activestorage.rake
@@ -1,6 +1,6 @@ # frozen_string_literal: true
-namespace :activestorage do
+namespace :ac... | Change namespace of Active Storage rake task
|
diff --git a/AMPEasyTable.podspec b/AMPEasyTable.podspec
index abc1234..def5678 100644
--- a/AMPEasyTable.podspec
+++ b/AMPEasyTable.podspec
@@ -24,6 +24,6 @@ s.platform = :ios, "5.0"
s.source = { :git => "https://github.com/alvaromurillo/AMPEasyTable.git", :tag => "0.0.1" }
- s.source_files = "AMPEa... | Add arc requirement to podspec file
|
diff --git a/nap.gemspec b/nap.gemspec
index abc1234..def5678 100644
--- a/nap.gemspec
+++ b/nap.gemspec
@@ -17,7 +17,13 @@ Nap is a really simple REST library.
EOF
- spec.files = ['lib/rest.rb', 'lib/rest/request.rb', 'lib/rest/response.rb', 'support/cacert.pem']
+ spec.files = [
+ 'lib/rest.rb',
+ 'l... | Add error.rb to the gem.
|
diff --git a/test/yt/audit_test.rb b/test/yt/audit_test.rb
index abc1234..def5678 100644
--- a/test/yt/audit_test.rb
+++ b/test/yt/audit_test.rb
@@ -8,35 +8,26 @@
assert_equal 'Info Cards', result[0].title
assert_equal 2, result[0].valid_count
- assert_equal 4, result[0].total_count
+ assert_equal 5, r... | Remove Ring channel test case (change custom sample channel)
It was Branding annotation subclassing Card annotation
on yt-annotation gem. Add Branding Card to our sample channel.
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -4,7 +4,7 @@ license 'Apache v2.0'
description 'Installs/Configures consul'
long_description 'Installs/Configures consul'
-version '0.4.4'
+version '0.5.0'
recipe 'consul', 'Installs and starts consul servic... | Bump version to highlight breaking changes.
This is a version bump as commits for #56 caused some breaking
changes. Since we haven't pushed 0.4.4 yet to supermarket (or tagged
release, for that matter) let's bump this. There are a few pull-requests
that we are waiting on prior to release.
|
diff --git a/nap.gemspec b/nap.gemspec
index abc1234..def5678 100644
--- a/nap.gemspec
+++ b/nap.gemspec
@@ -16,7 +16,7 @@ spec.files = ['lib/rest.rb', 'lib/rest/request.rb', 'lib/rest/response.rb', 'support/cacert.pem']
spec.has_rdoc = true
- spec.extra_rdoc_files = ['README', 'LICENSE']
+ spec.extra_rdoc_fil... | Use README.md in the gemspec too.
|
diff --git a/features/support/env.rb b/features/support/env.rb
index abc1234..def5678 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,6 +1,7 @@ require 'fileutils'
require_relative "../../lib/cranium"
+FileUtils.mkdir_p("log") unless Dir.exists?("log")
Cranium.configure do |config|
con... | Create log dir before cucumber tests
|
diff --git a/features/support/env.rb b/features/support/env.rb
index abc1234..def5678 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -29,4 +29,9 @@ c.cassette_library_dir = 'fixtures/vcr_cassettes'
c.hook_into :webmock
end
+
+ # Clean up any state left behind
+ at_exit do
+ # T... | Add a place for post-test cleanup to go
Tests should be idempotent when run without VCR. 0:05
|
diff --git a/features/support/vcr.rb b/features/support/vcr.rb
index abc1234..def5678 100644
--- a/features/support/vcr.rb
+++ b/features/support/vcr.rb
@@ -0,0 +1,12 @@+require 'vcr'
+
+VCR.config do |conf|
+ conf.stub_with :webmock
+ conf.cassette_library_dir = 'features/cassettes'
+ conf.default_cassette_options ... | Add support for feature testing of live requests.
|
diff --git a/postfix_admin.gemspec b/postfix_admin.gemspec
index abc1234..def5678 100644
--- a/postfix_admin.gemspec
+++ b/postfix_admin.gemspec
@@ -5,6 +5,7 @@ gem.add_dependency 'thor'
gem.add_dependency 'data_mapper'
gem.add_dependency 'dm-mysql-adapter'
+ gem.add_development_dependency 'dm-sqlite-adapter'
... | Add dm-sqlite-adapter in development dependency
|
diff --git a/lib/active_record/validations/string_truncator.rb b/lib/active_record/validations/string_truncator.rb
index abc1234..def5678 100644
--- a/lib/active_record/validations/string_truncator.rb
+++ b/lib/active_record/validations/string_truncator.rb
@@ -23,7 +23,7 @@ module ClassMethods
def trunca... | Use super instead of write_attribute
|
diff --git a/ohm.gemspec b/ohm.gemspec
index abc1234..def5678 100644
--- a/ohm.gemspec
+++ b/ohm.gemspec
@@ -15,7 +15,7 @@ s.add_dependency "redic"
s.add_dependency "nido"
s.add_dependency "stal"
- s.add_dependency "msgpack"
+ s.add_dependency "msgpack", "~> 0.5.0"
s.add_development_dependency "cutest"
... | Add explicit version range to msgpack dependency
`msgpack` version 0.6.0 introduces some breaking changes, so it is now
necessary to specify version range for this dependency until that issue
is resolved.
|
diff --git a/frontend/spree_frontend.gemspec b/frontend/spree_frontend.gemspec
index abc1234..def5678 100644
--- a/frontend/spree_frontend.gemspec
+++ b/frontend/spree_frontend.gemspec
@@ -21,7 +21,7 @@ s.add_dependency 'spree_api', version
s.add_dependency 'spree_core', version
- s.add_dependency 'bootstrap-sa... | Update bootstrap-sass dependency in spree/frontend
|
diff --git a/test/options_test.rb b/test/options_test.rb
index abc1234..def5678 100644
--- a/test/options_test.rb
+++ b/test/options_test.rb
@@ -20,3 +20,21 @@ assert_equal(params[:ci], false)
assert_equal(params[:mrbgem_name], "mruby-buz")
end
+
+assert("MrbgemTemplate.parse_options! default values") do
+ argv ... | Add a test of default values
|
diff --git a/db/migrate/20130424180022_visualizations.rb b/db/migrate/20130424180022_visualizations.rb
index abc1234..def5678 100644
--- a/db/migrate/20130424180022_visualizations.rb
+++ b/db/migrate/20130424180022_visualizations.rb
@@ -1,24 +1,16 @@ # encoding: utf-8
-class VisualizationsMigration < Sequel::Migratio... | Fix visualizations table by casting the type of the map_id column
|
diff --git a/db/migration/20130108000009_create_users.rb b/db/migration/20130108000009_create_users.rb
index abc1234..def5678 100644
--- a/db/migration/20130108000009_create_users.rb
+++ b/db/migration/20130108000009_create_users.rb
@@ -2,15 +2,19 @@
class CreateUsers < ActiveRecord::Migration[4.2]
def change
- ... | Add password_digest column if users table already exists
|
diff --git a/grape_devise_token_auth.gemspec b/grape_devise_token_auth.gemspec
index abc1234..def5678 100644
--- a/grape_devise_token_auth.gemspec
+++ b/grape_devise_token_auth.gemspec
@@ -19,6 +19,6 @@ spec.add_development_dependency "bundler", "~> 1.8"
spec.add_development_dependency "rake", "~> 10.0"
spec.ad... | Update to use latest devise version
|
diff --git a/lib/yodleeicious.rb b/lib/yodleeicious.rb
index abc1234..def5678 100644
--- a/lib/yodleeicious.rb
+++ b/lib/yodleeicious.rb
@@ -12,7 +12,8 @@
class Faraday::Adapter::NetHttp
def net_http_connection(env)
- if !(proxy = env[:request][:proxy]).empty?
+ proxy = env[:request][:proxy]
+ if proxy &&... | Fix calling `.empty?` on `nil` (Faraday Monkey Patch)
If `env[:request][:proxy]` was `nil` an error would be raised as `nil` does not have `.empty?`. This caused problems with code that used Faraday (such as librato-rack). |
diff --git a/app/controller.rb b/app/controller.rb
index abc1234..def5678 100644
--- a/app/controller.rb
+++ b/app/controller.rb
@@ -11,5 +11,10 @@
post '/' do
puts params.inspect
- #HTTParty.post("http://www.flysfo.com/sites/all/themes/sfo/php/sendmail.php", params)
+ if ENV['LIVE_FIRE'] == 'true'
+ puts "se... | Add config switch to enable/disable email sending
|
diff --git a/spec/lib/special_route_publisher_spec.rb b/spec/lib/special_route_publisher_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/special_route_publisher_spec.rb
+++ b/spec/lib/special_route_publisher_spec.rb
@@ -3,40 +3,50 @@
RSpec.describe SpecialRoutePublisher do
describe "publish" do
- it "calls... | Update specs following simplification of SpecialRoutePublisher
|
diff --git a/spec/requests/users/active_admin_spec.rb b/spec/requests/users/active_admin_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/users/active_admin_spec.rb
+++ b/spec/requests/users/active_admin_spec.rb
@@ -0,0 +1,35 @@+require 'spec_helper'
+
+describe 'Active Admin' do
+
+ it "authorizes a superadm... | Add authorization spec for active_admin.
- Only superadmins are allowed to use the backend (/admin).
- Users, Admins and Guests are not authorized.
|
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/loc_scraper.gemspec b/loc_scraper.gemspec
index abc1234..def5678 100644
--- a/loc_scraper.gemspec
+++ b/loc_scraper.gemspec
@@ -8,16 +8,18 @@ gem.email = ['stuff@milkfarmproductions.com']
gem.description = %q{Scrape the loc record associated with a given ISBN}
gem.summary = %q{Given... | Adjust dependencies to address installation errors on Travis CI
|
diff --git a/json_yaml_assets.gemspec b/json_yaml_assets.gemspec
index abc1234..def5678 100644
--- a/json_yaml_assets.gemspec
+++ b/json_yaml_assets.gemspec
@@ -17,5 +17,5 @@
s.files = Dir["lib/**/*"] + ["MIT-LICENSE", "README.md"]
- s.add_dependency "rails", "~> 3.2"
+ s.add_dependency "rails", ">= 3.2"
end
| Allow rails >= 3.2 (including 4+)
|
diff --git a/etc/reversal_stub.rb b/etc/reversal_stub.rb
index abc1234..def5678 100644
--- a/etc/reversal_stub.rb
+++ b/etc/reversal_stub.rb
@@ -0,0 +1,34 @@+class ApplicationController
+ def self.before_filter(*args)
+ end
+end
+
+class ActionView
+ module Helpers
+ module JavaScriptHelper
+ end
+ end
+end
+... | Add a stub that will let you mostly boot a rails app
|
diff --git a/jquery-datatables-rails.gemspec b/jquery-datatables-rails.gemspec
index abc1234..def5678 100644
--- a/jquery-datatables-rails.gemspec
+++ b/jquery-datatables-rails.gemspec
@@ -10,6 +10,7 @@ s.homepage = "https://github.com/rweng/jquery-datatables-rails"
s.summary = %q{jquery datatables for rails}
s... | Add license flag to the gemspec
|
diff --git a/rubyfromexcel.gemspec b/rubyfromexcel.gemspec
index abc1234..def5678 100644
--- a/rubyfromexcel.gemspec
+++ b/rubyfromexcel.gemspec
@@ -4,7 +4,7 @@ s.add_dependency('rubyscriptwriter','>= 0.0.1')
s.add_dependency('rubypeg','>= 0.0.2')
s.required_ruby_version = "~>1.9.1"
- s.version = '0.0.20'
+ s... | Update for releasing v21 of the gem
|
diff --git a/examples/workflow.rb b/examples/workflow.rb
index abc1234..def5678 100644
--- a/examples/workflow.rb
+++ b/examples/workflow.rb
@@ -1,7 +1,7 @@ # An example post-processing workflow using polisher
require 'polisher/git'
-require 'polisher/rpmspec'
+require 'polisher/rpm/spec'
require 'polisher/gem'
... | Fix require path in example
|
diff --git a/spec/workers/save_to_cloud_storage_worker_spec.rb b/spec/workers/save_to_cloud_storage_worker_spec.rb
index abc1234..def5678 100644
--- a/spec/workers/save_to_cloud_storage_worker_spec.rb
+++ b/spec/workers/save_to_cloud_storage_worker_spec.rb
@@ -1,4 +1,5 @@ require 'rails_helper'
+
RSpec.describe SaveTo... | Add blank line between require statement and spec definition
To improve readability.
|
diff --git a/lib/ab_panel/mixpanel.rb b/lib/ab_panel/mixpanel.rb
index abc1234..def5678 100644
--- a/lib/ab_panel/mixpanel.rb
+++ b/lib/ab_panel/mixpanel.rb
@@ -15,7 +15,19 @@ end
def track(event_name, properties, options={})
- @tracker.track event_name, properties, options
+ if defined?(Re... | Use Resque for background jobs if present.
|
diff --git a/lib/graphql/language/nodes/deep_freeze_ext.rb b/lib/graphql/language/nodes/deep_freeze_ext.rb
index abc1234..def5678 100644
--- a/lib/graphql/language/nodes/deep_freeze_ext.rb
+++ b/lib/graphql/language/nodes/deep_freeze_ext.rb
@@ -10,16 +10,10 @@ #
# Returns self Node.
def deep_f... | Refactor deep-freeze for 1.8-dev support
|
diff --git a/rakefile.rb b/rakefile.rb
index abc1234..def5678 100644
--- a/rakefile.rb
+++ b/rakefile.rb
@@ -17,6 +17,17 @@ cd 'app' do
sh "BUCKET=#{DOMAIN} rake deploy"
end
+
+ name_servers = `terraform output name_servers`
+ .split(/[,\s]+/)
+ .map { |s| 'Name=' + s }
+ ... | Update name servers on deployment
|
diff --git a/bricolage.gemspec b/bricolage.gemspec
index abc1234..def5678 100644
--- a/bricolage.gemspec
+++ b/bricolage.gemspec
@@ -16,12 +16,12 @@ s.executables = s.files.grep(%r{bin/}).map {|path| File.basename(path) }
s.require_path = 'lib'
- s.required_ruby_version = '>= 2.0.0'
- s.add_dependency 'pg', '~... | Upgrade pg from 0.18 to 1.2.3. Note: pg 1.x does not support Redshift (PostgreSQL 8)
|
diff --git a/lib/api-client/configuration.rb b/lib/api-client/configuration.rb
index abc1234..def5678 100644
--- a/lib/api-client/configuration.rb
+++ b/lib/api-client/configuration.rb
@@ -18,7 +18,7 @@ #
# @param [String] path api url.
def path=(path)
- path = "#{path}/" unless path[-1] == '/'
+ ... | Fix for ruby 1.8.7 and ree
|
diff --git a/lib/chatrix/bot/plugins/echo.rb b/lib/chatrix/bot/plugins/echo.rb
index abc1234..def5678 100644
--- a/lib/chatrix/bot/plugins/echo.rb
+++ b/lib/chatrix/bot/plugins/echo.rb
@@ -7,6 +7,8 @@ # Provides a command to make the bot echo what was passed in as
# argument to the command.
class Ec... | Add a power level restriction on Echo
|
diff --git a/lib/dry/types/coercions/json.rb b/lib/dry/types/coercions/json.rb
index abc1234..def5678 100644
--- a/lib/dry/types/coercions/json.rb
+++ b/lib/dry/types/coercions/json.rb
@@ -8,7 +8,7 @@ module Coercions
module JSON
def self.to_nil(input)
- input unless input.is_a?(String) && ... | Refactor `JSON.to_nil` to use `eql?`
The check
input.is_a?(String) && input == ''
is equivalent to
''.eql?(input)
since `eql?` does not permit coercion
|
diff --git a/lib/masamune/tasks/hive_thor.rb b/lib/masamune/tasks/hive_thor.rb
index abc1234..def5678 100644
--- a/lib/masamune/tasks/hive_thor.rb
+++ b/lib/masamune/tasks/hive_thor.rb
@@ -17,6 +17,7 @@ method_option :output, :aliases => '-o', :desc => 'Save SQL output to file'
method_option :delimiter, :desc ... | Allow variables to be passed through via CLI
|
diff --git a/lib/rubocop/cop/rails/output.rb b/lib/rubocop/cop/rails/output.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/rails/output.rb
+++ b/lib/rubocop/cop/rails/output.rb
@@ -13,7 +13,8 @@ :print,
:p,
:pp,
- :pretty_print... | Include ap (awesome_print) in list of print methods |
diff --git a/rakuten_web_service.gemspec b/rakuten_web_service.gemspec
index abc1234..def5678 100644
--- a/rakuten_web_service.gemspec
+++ b/rakuten_web_service.gemspec
@@ -1,4 +1,3 @@-# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rakuten_... | Remove `executables` since this gem doesn't provide any command [ci skip]
|
diff --git a/react-native-branch.podspec b/react-native-branch.podspec
index abc1234..def5678 100644
--- a/react-native-branch.podspec
+++ b/react-native-branch.podspec
@@ -23,7 +23,7 @@ s.compiler_flags = %[-DRNBRANCH_VERSION=@\\"#{s.version}\\"]
s.header_dir = 'RNBranch' # also sets generated module name
s.... | Use React-Core instead of React
We should depend on React-Core instead of React according to facebook/react-native#29633 (comment). You can check all the related PRs links to this issue. |
diff --git a/lib/jpmobile/resolver.rb b/lib/jpmobile/resolver.rb
index abc1234..def5678 100644
--- a/lib/jpmobile/resolver.rb
+++ b/lib/jpmobile/resolver.rb
@@ -8,5 +8,26 @@ super(path, pattern || DEFAULT_PATTERN)
@path = File.expand_path(path)
end
+
+ private
+
+ def query(path, details, format... | Modify virtual_path in ActionView::Template for TESTING
|
diff --git a/lib/fabrication/fabricator.rb b/lib/fabrication/fabricator.rb
index abc1234..def5678 100644
--- a/lib/fabrication/fabricator.rb
+++ b/lib/fabrication/fabricator.rb
@@ -1,48 +1,44 @@ class Fabrication::Fabricator
- class << self
+ def self.define(name, options={}, &block)
+ raise Fabrication::Duplica... | Change how class methods are specified in Fabricator
|
diff --git a/chefstyle.gemspec b/chefstyle.gemspec
index abc1234..def5678 100644
--- a/chefstyle.gemspec
+++ b/chefstyle.gemspec
@@ -9,12 +9,12 @@ spec.authors = ["Chef Software, Inc."]
spec.email = ["oss@chef.io"]
- spec.summary = %q{Rubocop configuration for Chef's ruby projects}
+ spec.s... | Stop shipping the Gemfile and Gemspec in the gem
We never appbundler this app so we don't need either of these.
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/noosfero/plugin/routes.rb b/lib/noosfero/plugin/routes.rb
index abc1234..def5678 100644
--- a/lib/noosfero/plugin/routes.rb
+++ b/lib/noosfero/plugin/routes.rb
@@ -3,5 +3,6 @@ map.connect 'plugin/' + plugin_name + '/:action/:id', :controller => plugin_name + '_plugin_environment'
map.connect 'prof... | Add route for plugin administration
|
diff --git a/lib/simple_templates/lexer.rb b/lib/simple_templates/lexer.rb
index abc1234..def5678 100644
--- a/lib/simple_templates/lexer.rb
+++ b/lib/simple_templates/lexer.rb
@@ -16,8 +16,7 @@ end
def tokenize
- tokens = []
- text, start_text_pos = '', 0
+ tokens = []
... | Remove unnecessary code in Lexer pointed out by Stepan
|
diff --git a/twitter-text.gemspec b/twitter-text.gemspec
index abc1234..def5678 100644
--- a/twitter-text.gemspec
+++ b/twitter-text.gemspec
@@ -1,10 +1,10 @@ spec = Gem::Specification.new do |s|
s.name = "twitter-text"
- s.version = "1.4.9"
+ s.version = "1.4.10"
s.authors = ["Matt Sanford", "Patrick Ewing", "... | Change the version number to 1.4.10.
|
diff --git a/mysql-tools.gemspec b/mysql-tools.gemspec
index abc1234..def5678 100644
--- a/mysql-tools.gemspec
+++ b/mysql-tools.gemspec
@@ -11,7 +11,7 @@ s.description = "Backup, Restore and Obfuscate database dumps."
s.required_rubygems_version = ">= 1.3.6"
- s.add_dependency "gli", "2.4.1"
+ s.add_dependenc... | Update gli dependency to version 2.5.4.
|
diff --git a/lib/zuora/http_client.rb b/lib/zuora/http_client.rb
index abc1234..def5678 100644
--- a/lib/zuora/http_client.rb
+++ b/lib/zuora/http_client.rb
@@ -5,5 +5,6 @@ format :json
headers "Accept" => "application/json"
headers "Content-Type" => "application/json"
+ headers "User-Agent" => "zuora... | Add a user agent to API requests |
diff --git a/lib/ankirb/anki/deck.rb b/lib/ankirb/anki/deck.rb
index abc1234..def5678 100644
--- a/lib/ankirb/anki/deck.rb
+++ b/lib/ankirb/anki/deck.rb
@@ -28,18 +28,19 @@ attr_accessor :front, :back, :tags, :deck
attr_reader :id
- @@defaults = {
- :front => 'Card Front',
- :back => 'Card B... | Add front / back aliases.
|
diff --git a/Casks/polar-websync.rb b/Casks/polar-websync.rb
index abc1234..def5678 100644
--- a/Casks/polar-websync.rb
+++ b/Casks/polar-websync.rb
@@ -2,6 +2,7 @@ version '2.8.2'
sha256 '287230ee323cca9887f31e448cbac759c770448e25c31c164b87f69bb3ead9b9'
+ # polarpersonaltrainer.com was verified as official whe... | Fix `url` stanza comment for Polar WebSync Software.
|
diff --git a/jekyll-cloudinary.gemspec b/jekyll-cloudinary.gemspec
index abc1234..def5678 100644
--- a/jekyll-cloudinary.gemspec
+++ b/jekyll-cloudinary.gemspec
@@ -24,5 +24,5 @@
spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "rake", "~> 12.0"
- spec.add_development_depende... | Update rubocop requirement from ~> 0.74.0 to ~> 1.37.1
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://gi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.