diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/vantiq-sdk-ios.podspec b/vantiq-sdk-ios.podspec
index abc1234..def5678 100644
--- a/vantiq-sdk-ios.podspec
+++ b/vantiq-sdk-ios.podspec
@@ -23,9 +23,9 @@ s.requires_arc = true
s.source_files = 'Pod/Classes/**/*'
- s.resource_bundles = {
- 'vantiq-sdk-ios' => ['Pod/Assets/*.png']
- }
+ # s.reso... | Remove default, unused resource_bundles entry which
causes "pod lib lint" to fail.
|
diff --git a/spec/lib/project_spec.rb b/spec/lib/project_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/project_spec.rb
+++ b/spec/lib/project_spec.rb
@@ -8,6 +8,6 @@
let(:resource) { client.projects }
- include_examples 'list resource'
- include_examples 'find resource'
+ include_examples 'lists resourc... | Update example use in project spec
|
diff --git a/spec/sample_file_spec.rb b/spec/sample_file_spec.rb
index abc1234..def5678 100644
--- a/spec/sample_file_spec.rb
+++ b/spec/sample_file_spec.rb
@@ -2,7 +2,7 @@
describe SampleFile do
%w(Image Video).each do |class_name|
- klass = const_get("SampleFile::#{class_name}")
+ klass = SampleFile.const_... | Fix const_get for ruby version < 2.0.0
|
diff --git a/spec/tasks/rekey_spec.rb b/spec/tasks/rekey_spec.rb
index abc1234..def5678 100644
--- a/spec/tasks/rekey_spec.rb
+++ b/spec/tasks/rekey_spec.rb
@@ -18,9 +18,16 @@ expect(existing_keys & new_keys).to be_empty
end
- it 'will rename thumbnail files' do
- end
+ it 'will rename all files' do
+ ol... | Test for all files being renamed
|
diff --git a/spec/protocol/decoder_spec.rb b/spec/protocol/decoder_spec.rb
index abc1234..def5678 100644
--- a/spec/protocol/decoder_spec.rb
+++ b/spec/protocol/decoder_spec.rb
@@ -14,24 +14,18 @@ expect { decoder.read(5) }.to raise_exception(EOFError)
end
- context "when there is no more data in the st... | Clean up the Decoder spec
|
diff --git a/Casks/font-pt-sans.rb b/Casks/font-pt-sans.rb
index abc1234..def5678 100644
--- a/Casks/font-pt-sans.rb
+++ b/Casks/font-pt-sans.rb
@@ -1,8 +1,8 @@ class FontPtSans < Cask
- version '2.004'
- sha256 'c70b683ab35d28cc65367f6b9ef5f04d6d83b1217f2e727648bbaeb12dc140e7'
+ version '2.005'
+ sha256 '65c3352a8... | Update PT Sans to 2.005
|
diff --git a/lib/cc/cli/analyze.rb b/lib/cc/cli/analyze.rb
index abc1234..def5678 100644
--- a/lib/cc/cli/analyze.rb
+++ b/lib/cc/cli/analyze.rb
@@ -12,8 +12,10 @@ def run
require_codeclimate_yml
- runner = EnginesRunner.new(registry, formatter, source_dir, config)
- runner.run
+ D... | Change into the filesystem dir before running engines
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -20,4 +20,23 @@ end
end
+ notify "Creating test cells" do
+ 5.times do |i|
+ Cell.find_or_create_by(fqdn: "cell#{i + 1}.example.com") do |cell|
+ cell.uuid = SecureRandom.uuid
+ ce... | Revert "No need for seeding when we have real data :)"
This reverts commit d0b9100cb3e8df7e5b0d54fd54ae331746b3e238.
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -5,3 +5,5 @@ #
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
+
+Courierkill.create({:killer => "nobody"})
| Add db seed for 'nobody'
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -17,8 +17,7 @@ # limitations under the License.
#
-case node['platform']
-when 'windows'
+if platform?('windows')
# https://chocolatey.org/packages/StrawberryPerl
chocolatey_p... | Simplify the platform check logic
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/rbNFA.rb b/lib/rbNFA.rb
index abc1234..def5678 100644
--- a/lib/rbNFA.rb
+++ b/lib/rbNFA.rb
@@ -14,15 +14,23 @@ case char
when 'a'..'z' then tokens << LiteralToken.new(char)
when 'A'..'Z' then tokens << LiteralToken.new(char4)
+ when '+' then tokens << OneOrMoreTo... | Add one or more Toke
|
diff --git a/lib/feedcellar/web.rb b/lib/feedcellar/web.rb
index abc1234..def5678 100644
--- a/lib/feedcellar/web.rb
+++ b/lib/feedcellar/web.rb
@@ -9,7 +9,7 @@ end
get "/search" do
- if params.has_key?(:word)
+ if params.has_key?("word")
words = params[:word].split(" ")
else
... | Use String instead of Symbol as params' key
|
diff --git a/lib/jobim/settings.rb b/lib/jobim/settings.rb
index abc1234..def5678 100644
--- a/lib/jobim/settings.rb
+++ b/lib/jobim/settings.rb
@@ -39,8 +39,10 @@ files = []
loop do
+ file = File.expand_path('.jobim.yml', dir)
+ files.unshift(file) if File.exists? file
+
file = File.expand_... | Add support for config files with the "yml" extension ("yaml" still works)
|
diff --git a/test/integration/artefact_create_test.rb b/test/integration/artefact_create_test.rb
index abc1234..def5678 100644
--- a/test/integration/artefact_create_test.rb
+++ b/test/integration/artefact_create_test.rb
@@ -0,0 +1,52 @@+require_relative '../integration_test_helper'
+
+class ArtefactCreateTest < Action... | Test creating whitehall artefacts with deep slugs
|
diff --git a/test/lib/catissue/domain/address_test.rb b/test/lib/catissue/domain/address_test.rb
index abc1234..def5678 100644
--- a/test/lib/catissue/domain/address_test.rb
+++ b/test/lib/catissue/domain/address_test.rb
@@ -26,9 +26,5 @@ # Modify the address.
expected = @addr.street = "#{CaRuby::Uniquifier.qu... | Address identifier is not set by caTissue in save result.
|
diff --git a/CacheIsKing.podspec b/CacheIsKing.podspec
index abc1234..def5678 100644
--- a/CacheIsKing.podspec
+++ b/CacheIsKing.podspec
@@ -1,8 +1,8 @@ Pod::Spec.new do |s|
s.name = 'CacheIsKing'
- s.version = '0.0.1'
+ s.version = '0.0.2'
s.license = 'MIT'
- s.summary = 'A simple cache that can hold Swift it... | Update podspec for 0.0.2 release
|
diff --git a/lib/rhinoart/utils.rb b/lib/rhinoart/utils.rb
index abc1234..def5678 100644
--- a/lib/rhinoart/utils.rb
+++ b/lib/rhinoart/utils.rb
@@ -1,3 +1,4 @@+# encoding: utf-8
module Rhinoart
class Utils
def self.to_slug(str)
| Delete russian symbols from code
|
diff --git a/app/helpers/francis_cms/application_helper.rb b/app/helpers/francis_cms/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/francis_cms/application_helper.rb
+++ b/app/helpers/francis_cms/application_helper.rb
@@ -3,7 +3,7 @@ if obj.author_avatar.present?
raw image_tag(obj.auth... | Use File.read to grab contents of default avatar. Rails.application.assets is unavailable in production.
|
diff --git a/ChartsRealm.podspec b/ChartsRealm.podspec
index abc1234..def5678 100644
--- a/ChartsRealm.podspec
+++ b/ChartsRealm.podspec
@@ -11,5 +11,5 @@ s.source = { :git => "https://github.com/danielgindi/ChartsRealm.git", :tag => "v#{s.version}" }
s.source_files = "ChartsRealm/Classes/**/*.swift", "ChartsReal... | Update RealmSwift version to 3.18
|
diff --git a/lib/tasks/chores.rake b/lib/tasks/chores.rake
index abc1234..def5678 100644
--- a/lib/tasks/chores.rake
+++ b/lib/tasks/chores.rake
@@ -4,4 +4,9 @@ Absence.find_each(&:save)
Tardy.find_each(&:save)
end
+
+ desc 'Update counter caches for DisciplineIncident'
+ task update_discipline_incident_c... | Add new chore for updating discipline incident counts
|
diff --git a/lib/twitter_client.rb b/lib/twitter_client.rb
index abc1234..def5678 100644
--- a/lib/twitter_client.rb
+++ b/lib/twitter_client.rb
@@ -26,24 +26,6 @@ end
def access_token
- @access_token ||= if has_cached_access_token?
- cached_access_token
- else
- ... | Remove fetching access token from config
|
diff --git a/Casks/android-studio.rb b/Casks/android-studio.rb
index abc1234..def5678 100644
--- a/Casks/android-studio.rb
+++ b/Casks/android-studio.rb
@@ -1,8 +1,8 @@ class AndroidStudio < Cask
- version '0.8.9'
- sha256 'ee89cc544829cb62611ac7686254c4fc2eff00fdb6ab9a49330c97b8e8e952ac'
+ version '0.8.14'
+ sha25... | Update Android Studio to 0.8.14
|
diff --git a/plugins/guests/linux/cap/insert_public_key.rb b/plugins/guests/linux/cap/insert_public_key.rb
index abc1234..def5678 100644
--- a/plugins/guests/linux/cap/insert_public_key.rb
+++ b/plugins/guests/linux/cap/insert_public_key.rb
@@ -4,7 +4,7 @@ class InsertPublicKey
def self.insert_public_key... | Apply new line before shell to system
Having looked at the code again this seems like a more straightforward way of fixing the bug. |
diff --git a/spec/support/test_permissions.rb b/spec/support/test_permissions.rb
index abc1234..def5678 100644
--- a/spec/support/test_permissions.rb
+++ b/spec/support/test_permissions.rb
@@ -4,7 +4,7 @@ for user in users
testee.should be_creatable_by(user)
testee.should be_updatable_by(user)
-... | Fix bug in spec support functions
Functions that were supposed test destroy permission were testing edit
permission instead.
|
diff --git a/storext.gemspec b/storext.gemspec
index abc1234..def5678 100644
--- a/storext.gemspec
+++ b/storext.gemspec
@@ -9,7 +9,7 @@ s.version = Storext::VERSION
s.authors = ["G5", "Ramon Tayag", "Marc Rendl Ignacio"]
s.email = ["lateam@getg5.com", "ramon.tayag@gmail.com", "marcrendlignacio@gm... | Add github url to gemspec homepage
|
diff --git a/FWTDragView.podspec b/FWTDragView.podspec
index abc1234..def5678 100644
--- a/FWTDragView.podspec
+++ b/FWTDragView.podspec
@@ -18,7 +18,7 @@ s.homepage = "https://github.com/FutureWorkshops/FWTDragView"
s.license = 'MIT'
s.author = { "Tim Chilvers" => "tim@futureworkshop... | Update repo address in podspec
|
diff --git a/server.rb b/server.rb
index abc1234..def5678 100644
--- a/server.rb
+++ b/server.rb
@@ -1,9 +1,9 @@ require 'sinatra'
require 'json'
require './filter'
-SLACK_TOKEN = ENV['SLACK_TOKEN']
+SLACK_TOKENS = ENV['SLACK_TOKENS'].split(/\,/)
-puts "TOKEN: #{SLACK_TOKEN}"
+puts "TOKEN: #{SLACK_TOKENS}"
befor... | Add multi-token options and enable expand urls
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -37,7 +37,7 @@ config.assets.js_compressor = :uglifier
config.assets.precompile += %w(mobile.css print.css)
Dir.chdir(Rails.root.join "app/assets/stylesheets"... | Fix assets precompilation for alternative CSS
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -22,6 +22,10 @@ config.time_zone = 'London'
config.active_record.default_timezone = :local
config.active_record.raise_in_transactional_callbacks = true
+
... | Add development environment to Skylight
I’m looking into using Skylight to perf some local changes before
deploying them, and I believe this is how you do it, according to
their documentation: https://www.skylight.io/support/environments
I’m happy to revert this change if it doesn’t work.
|
diff --git a/0_code_wars/how_many_word.rb b/0_code_wars/how_many_word.rb
index abc1234..def5678 100644
--- a/0_code_wars/how_many_word.rb
+++ b/0_code_wars/how_many_word.rb
@@ -0,0 +1,10 @@+# http://www.codewars.com/kata/56eff1e64794404a720002d2/
+# --- iteration 1 ---
+def testit(s)
+ s.downcase.delete("^word").scan(... | Add code wars (7) - how many word
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -4,14 +4,19 @@ Fixtures.create_fixtures("db/seed", File.basename(file, '.*'))
end
-password = SecureRandom.hex[0..8]
+password = SecureRandom.base58(8)
User.create!(
name: 'Admin',
- ... | Add a better message when seeding the DB
|
diff --git a/MarvelAPIClient.podspec b/MarvelAPIClient.podspec
index abc1234..def5678 100644
--- a/MarvelAPIClient.podspec
+++ b/MarvelAPIClient.podspec
@@ -0,0 +1,18 @@+Pod::Spec.new do |s|
+ s.name = "MarvelAPIClient"
+ s.version = "0.0.1"
+ s.summary = "Marvel API Client implementation written i... | Add podspec to the repository
|
diff --git a/config/deploy/production.rb b/config/deploy/production.rb
index abc1234..def5678 100644
--- a/config/deploy/production.rb
+++ b/config/deploy/production.rb
@@ -1,5 +1,2 @@-require 'dotenv'
-Dotenv.load
-
-server 'root@107.170.241.16', roles: [:web, :app, :db, :sidekiq_web]
-server "deploy@#{ENV['UTILITY1_H... | Update deploy settings to use domain names
|
diff --git a/config/initializers/slim.rb b/config/initializers/slim.rb
index abc1234..def5678 100644
--- a/config/initializers/slim.rb
+++ b/config/initializers/slim.rb
@@ -1,4 +1,4 @@ # Be sure to restart your server when you modify this file.
# Prettify html source for development only
-# Slim::Engine.set_options ... | Revert "Disable prettyfied html in development"
This reverts commit 36ee86a6f662b496894574fc433f905f41616973.
|
diff --git a/cookbooks/ondemand_base/recipes/windows.rb b/cookbooks/ondemand_base/recipes/windows.rb
index abc1234..def5678 100644
--- a/cookbooks/ondemand_base/recipes/windows.rb
+++ b/cookbooks/ondemand_base/recipes/windows.rb
@@ -1,7 +1,5 @@ #Make sure that this recipe only runs on Windows systems
if platform?("win... | Clean up formatting in Windows recipe
|
diff --git a/closed_struct.gemspec b/closed_struct.gemspec
index abc1234..def5678 100644
--- a/closed_struct.gemspec
+++ b/closed_struct.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundler", "~> 1.6"
+... | Use older bundle for travis
|
diff --git a/otp.rb b/otp.rb
index abc1234..def5678 100644
--- a/otp.rb
+++ b/otp.rb
@@ -28,6 +28,6 @@ bytes = hmac.bytes[offset..offset + 3]
bytes[0] = bytes[0] & 0x7f
# TODO: Try packing this array using C and then unpacking using V. I think that's what James/Edward suggested at Show & Tell 27
-bytes_as_integer = b... | Use bit-shifting to convert byte array to integer
I tried various combinations of `Array#pack` and `String.unpack` to
convert the array of 4 bytes to a single integer but didn't get
anywhere.
I then switched to learning about bit-shifting and am now using that
instead of manually creating a string of bits and convert... |
diff --git a/utils/Compile.rb b/utils/Compile.rb
index abc1234..def5678 100644
--- a/utils/Compile.rb
+++ b/utils/Compile.rb
@@ -9,7 +9,7 @@ def symlink(dir)
print 'Added '
Dir.glob("#{dir}/*").select do |file|
- file =~ /.[^.]*/ || file =~ /\.(rb|bash|sh|zsh)/
+ file =~ /^.[... | Update the regex to make sure it checkes the entire file
|
diff --git a/SVProgressHUD.podspec b/SVProgressHUD.podspec
index abc1234..def5678 100644
--- a/SVProgressHUD.podspec
+++ b/SVProgressHUD.podspec
@@ -0,0 +1,20 @@+Pod::Spec.new do |s|
+ s.name = 'SVProgressHUD'
+ s.version = '0.1'
+ s.platform = :ios
+ s.license = 'MIT'
+ s.summary = 'A clean and lightweight... | Add CocoaPods podspec for 0.1 release.
|
diff --git a/lib/cc_portal_wordpress_integration.rb b/lib/cc_portal_wordpress_integration.rb
index abc1234..def5678 100644
--- a/lib/cc_portal_wordpress_integration.rb
+++ b/lib/cc_portal_wordpress_integration.rb
@@ -6,6 +6,8 @@ Warden::Manager.after_authentication do |user, warden, options|
cookies = warden.coo... | Delete wordpress cookies before creating them again
|
diff --git a/lib/judoscale/job_metrics_collector.rb b/lib/judoscale/job_metrics_collector.rb
index abc1234..def5678 100644
--- a/lib/judoscale/job_metrics_collector.rb
+++ b/lib/judoscale/job_metrics_collector.rb
@@ -10,7 +10,7 @@ def collect
store = []
worker_adapter.collect!(store)
- store.map!... | Fix building the metrics for the worker adapters in the job collector
Because the metric arguments are reversed between the metrics store and
the metrics object, we can't just blindly pass them over, we need to
build the object with individual arguments in the right positions for
now.
|
diff --git a/lib/abbyy/xml.rb b/lib/abbyy/xml.rb
index abc1234..def5678 100644
--- a/lib/abbyy/xml.rb
+++ b/lib/abbyy/xml.rb
@@ -1,6 +1,6 @@ module Abbyy
module XML
- def task(resource)
+ def parse_task(resource)
Hash.new.tap do |task|
xml_data = REXML::Document.new(resource)
task[:id]... | Rename methods task to parse_task and error to parse_error
|
diff --git a/lib/sonos/cli.rb b/lib/sonos/cli.rb
index abc1234..def5678 100644
--- a/lib/sonos/cli.rb
+++ b/lib/sonos/cli.rb
@@ -17,17 +17,27 @@ end
end
- desc 'pause_all', 'Pauses all Sonos speaker groups'
+ desc 'pause_all', 'Pause all speaker groups.'
def pause_all
system.pause_all
... | Add party mode to CLI
|
diff --git a/lib/specinfra.rb b/lib/specinfra.rb
index abc1234..def5678 100644
--- a/lib/specinfra.rb
+++ b/lib/specinfra.rb
@@ -11,21 +11,21 @@ def configuration
SpecInfra::Configuration
end
+ end
+end
- def configure
- if defined?(RSpec)
- RSpec.configure do |c|
- c.include(... | Change behavior to call backend.set_example only if respont_to? :backend and :set_example to avoid occuring error when they are not defined
|
diff --git a/lib/pieces/compilers/style_compiler.rb b/lib/pieces/compilers/style_compiler.rb
index abc1234..def5678 100644
--- a/lib/pieces/compilers/style_compiler.rb
+++ b/lib/pieces/compilers/style_compiler.rb
@@ -17,7 +17,7 @@
def yield_stylesheets(dir)
Dir["#{path}/#{dir}/**/*.{css,scss,sass,less}"].r... | Add application stylesheets to load path options |
diff --git a/lib/coverband/utils/railtie.rb b/lib/coverband/utils/railtie.rb
index abc1234..def5678 100644
--- a/lib/coverband/utils/railtie.rb
+++ b/lib/coverband/utils/railtie.rb
@@ -3,7 +3,6 @@ module Coverband
module RailsEagerLoad
def eager_load!
- Coverband.configuration.logger.debug('Coverband: set ... | Remove eager loading debug statement
Seems a little too verbose
|
diff --git a/lib/rb/lib/thrift/server/httpserver.rb b/lib/rb/lib/thrift/server/httpserver.rb
index abc1234..def5678 100644
--- a/lib/rb/lib/thrift/server/httpserver.rb
+++ b/lib/rb/lib/thrift/server/httpserver.rb
@@ -20,7 +20,7 @@ end
response.start(200) do |head, out|
head["Content-Type"] =... | Stop using deprecated classes in SimpleMongrelHTTPServer
git-svn-id: 8d8e29b1fb681c884914062b88f3633e3a187774@668962 13f79535-47bb-0310-9956-ffa450edef68
|
diff --git a/lib/govspeak/link_extractor.rb b/lib/govspeak/link_extractor.rb
index abc1234..def5678 100644
--- a/lib/govspeak/link_extractor.rb
+++ b/lib/govspeak/link_extractor.rb
@@ -0,0 +1,24 @@+module Govspeak
+ class LinkExtractor
+ def initialize(govspeak)
+ @govspeak = govspeak
+ end
+
+ def links... | Copy govspeak link extractor from whitehall |
diff --git a/lib/osc-ruby/network_packet.rb b/lib/osc-ruby/network_packet.rb
index abc1234..def5678 100644
--- a/lib/osc-ruby/network_packet.rb
+++ b/lib/osc-ruby/network_packet.rb
@@ -12,7 +12,7 @@ @str.length - @index
end
- def eof? ()
+ def eof?()
rem <= 0
end
@@ -38,4 +38,4 @@ ... | Fix parens for warning in Ruby 2.6.5
Small chance to fix an extra space in the method definition - `def eof? ()` => `def eof?()` (without space)
Fixes the warning
```
/.gem/ruby/2.6.5/gems/osc-ruby-1.1.3/lib/osc-ruby/network_packet.rb:15: warning: parentheses after method name is interpreted as an argument list... |
diff --git a/periscope.gemspec b/periscope.gemspec
index abc1234..def5678 100644
--- a/periscope.gemspec
+++ b/periscope.gemspec
@@ -1,27 +1,22 @@-# -*- encoding: utf-8 -*-
-$:.push File.expand_path('../lib', __FILE__)
-require 'periscope/version'
+# encoding: utf-8
-Gem::Specification.new do |s|
- s.name = '... | Clean up the gemspec and target v1.0.0
|
diff --git a/periscope.gemspec b/periscope.gemspec
index abc1234..def5678 100644
--- a/periscope.gemspec
+++ b/periscope.gemspec
@@ -10,9 +10,8 @@ gem.summary = gem.description
gem.homepage = 'https://github.com/laserlemon/periscope'
- gem.add_dependency 'activesupport', '~> 3.0'
+ gem.add_dependency 'a... | Make activerecord a runtime dependency
|
diff --git a/lib/tasks/weekly_digester.rake b/lib/tasks/weekly_digester.rake
index abc1234..def5678 100644
--- a/lib/tasks/weekly_digester.rake
+++ b/lib/tasks/weekly_digester.rake
@@ -1,14 +1,20 @@ namespace :weekly_digester do
desc "Sends out all weekly digests"
- task :mail_all_users => :environment do
+ task... | Allow for end_date to be specified in WeeklyDigester task
|
diff --git a/periscope.gemspec b/periscope.gemspec
index abc1234..def5678 100644
--- a/periscope.gemspec
+++ b/periscope.gemspec
@@ -13,6 +13,7 @@ gem.add_dependency 'activesupport', '~> 3.0'
gem.add_development_dependency 'activerecord', '~> 3.0'
+ gem.add_development_dependency 'rake', '~> 0.9'
gem.add_dev... | Add rake as a development dependency
|
diff --git a/week-6/gps.rb b/week-6/gps.rb
index abc1234..def5678 100644
--- a/week-6/gps.rb
+++ b/week-6/gps.rb
@@ -0,0 +1,42 @@+# Your Names
+# 1)
+# 2)
+
+# We spent [#] hours on this challenge.
+
+# Bakery Serving Size portion calculator.
+
+def serving_size_calc(item_to_make, num_of_ingredients)
+ library = {"coo... | Add guided file for guide
|
diff --git a/core/random/default_spec.rb b/core/random/default_spec.rb
index abc1234..def5678 100644
--- a/core/random/default_spec.rb
+++ b/core/random/default_spec.rb
@@ -13,6 +13,28 @@ seed2 = ruby_exe('p Random::DEFAULT.seed', options: '--disable-gems')
seed1.should != seed2
end
+
+ ruby_versio... | Revert "Remove unnecessary Random::DEFAULT expectations"
* This reverts commit e7cef3489a4e06104c73b2d89492259ea2754a97.
* These specs are valuable for Ruby implementations, do not remove, cc @nobu.
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -20,3 +20,5 @@ | Please change this password if you're deploying to a production environment! |
+------------------------------------------------------------------------------+
MSG
+
+Scenario.create!(Scena... | Create an initial scenario when seeding DB
|
diff --git a/msfl_visitors.gemspec b/msfl_visitors.gemspec
index abc1234..def5678 100644
--- a/msfl_visitors.gemspec
+++ b/msfl_visitors.gemspec
@@ -1,7 +1,7 @@ Gem::Specification.new do |s|
s.name = 'msfl_visitors'
- s.version = '0.3.0.dev9'
- s.date = '2015-05-20'
+ s.version = '1.0.0'
+ ... | Update v to 1.0.0 in prep for QA release
|
diff --git a/lib/asciidoctor-diagram/util/svg.rb b/lib/asciidoctor-diagram/util/svg.rb
index abc1234..def5678 100644
--- a/lib/asciidoctor-diagram/util/svg.rb
+++ b/lib/asciidoctor-diagram/util/svg.rb
@@ -11,6 +11,12 @@ height = h[:value].to_i * to_px_factor(h[:unit])
return [width.to_i, height... | Add support for SVG viewbox based width/height extraction
|
diff --git a/lib/committee/rails/test/methods.rb b/lib/committee/rails/test/methods.rb
index abc1234..def5678 100644
--- a/lib/committee/rails/test/methods.rb
+++ b/lib/committee/rails/test/methods.rb
@@ -8,12 +8,8 @@ def committee_options
if defined?(RSpec) && (options = RSpec.try(:configuration).try(:c... | Remove codes about committee 2.x
|
diff --git a/lib/tasks/seed_migration_tasks.rake b/lib/tasks/seed_migration_tasks.rake
index abc1234..def5678 100644
--- a/lib/tasks/seed_migration_tasks.rake
+++ b/lib/tasks/seed_migration_tasks.rake
@@ -22,10 +22,4 @@ SeedMigration::Migrator.new(path).down
end
end
-
- desc "Import old dat... | Move rake data:bootstrap to our main repo
|
diff --git a/test/test_reporter.rb b/test/test_reporter.rb
index abc1234..def5678 100644
--- a/test/test_reporter.rb
+++ b/test/test_reporter.rb
@@ -17,7 +17,9 @@ e.message.each_line { |line| print_with_info_padding(line) }
trace = filter_backtrace(e.backtrace)
- trace.each { |line| print_with_info_... | Add manual filter to backtrace
|
diff --git a/features/step_definitions/profile_steps.rb b/features/step_definitions/profile_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/profile_steps.rb
+++ b/features/step_definitions/profile_steps.rb
@@ -7,8 +7,8 @@ end
Then(/^I see my goal and goal date is blank$/) do
- expect(profile_... | Use `be_empty` instead of `eql('')`.
|
diff --git a/scss-lint.gemspec b/scss-lint.gemspec
index abc1234..def5678 100644
--- a/scss-lint.gemspec
+++ b/scss-lint.gemspec
@@ -17,7 +17,7 @@ s.executables = ['scss-lint']
s.files = Dir['config/**/*.yml'] +
- Dir['data/**'] +
+ Dir['data/**/*'] +
... | Fix glob for data directory
This was only including files in the `data` directory, excluding
subdirectories.
Change-Id: I8a276678e0cd495196c11808ad3e3e0cdddf5c9b
Reviewed-on: http://gerrit.causes.com/40952
Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@causes.com>
Reviewed-by: Shane da Silva <67fb7bfe39... |
diff --git a/test/integration/flows/minimum_wage_calculator_employers_test.rb b/test/integration/flows/minimum_wage_calculator_employers_test.rb
index abc1234..def5678 100644
--- a/test/integration/flows/minimum_wage_calculator_employers_test.rb
+++ b/test/integration/flows/minimum_wage_calculator_employers_test.rb
@@ ... | Add comment explaining the brevity of this test
|
diff --git a/test/unit/test_helper.rb b/test/unit/test_helper.rb
index abc1234..def5678 100644
--- a/test/unit/test_helper.rb
+++ b/test/unit/test_helper.rb
@@ -7,6 +7,7 @@ require 'pantry'
Pantry.logger.disable!
+#Pantry.config.log_level = :debug
class Minitest::Test
| Document in unit tests how to turn on debug logging
|
diff --git a/app/models/project.rb b/app/models/project.rb
index abc1234..def5678 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -12,12 +12,12 @@ def calculate_pace_needed_w_per_day_date
wc_diff = self.wordcount_goal - self.current_wordcount
date_diff = self.goal_deadline_date.mjd - Date.... | Update pace calculations to display pace unit along with pace number.
|
diff --git a/allen.gemspec b/allen.gemspec
index abc1234..def5678 100644
--- a/allen.gemspec
+++ b/allen.gemspec
@@ -14,4 +14,6 @@ gem.name = "allen"
gem.require_paths = ["lib"]
gem.version = Allen::VERSION
+
+ gem.add_runtime_dependency(%q<thor>, [">= 0.16.0"])
end
| Add thor dependency to gemspec
|
diff --git a/ecology.gemspec b/ecology.gemspec
index abc1234..def5678 100644
--- a/ecology.gemspec
+++ b/ecology.gemspec
@@ -21,7 +21,7 @@ s.rubyforge_project = "ecology"
ignores = File.readlines(".gitignore").grep(/\S+/).map {|pattern| pattern.chomp }
- dotfiles = [".gemtest", ".gitignore", ".rspec", ".yardopt... | Fix gemspecs to allow 'rake build' successfully
|
diff --git a/econfig.gemspec b/econfig.gemspec
index abc1234..def5678 100644
--- a/econfig.gemspec
+++ b/econfig.gemspec
@@ -18,6 +18,7 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
+ gem.add_development_dependency "rake"
gem.add_development_dependency "rspec"
... | Add rake as development dependency |
diff --git a/lib/kosmos/packages/mk2_cockpit_interior.rb b/lib/kosmos/packages/mk2_cockpit_interior.rb
index abc1234..def5678 100644
--- a/lib/kosmos/packages/mk2_cockpit_interior.rb
+++ b/lib/kosmos/packages/mk2_cockpit_interior.rb
@@ -0,0 +1,8 @@+class Mk2CockpitInterior < Kosmos::Package
+ title 'Mk2 Cockpit Interi... | Add a package for the Mk2 Cockpit Interior.
It turns out that the URL for Curseforge downloads is malformed because of a
backslash, but that backslash can be replaced with a forward slash and
everything works well again.
|
diff --git a/lib/aozorasearch.rb b/lib/aozorasearch.rb
index abc1234..def5678 100644
--- a/lib/aozorasearch.rb
+++ b/lib/aozorasearch.rb
@@ -3,6 +3,7 @@ require "aozorasearch/groonga_searcher"
require "aozorasearch/loader"
require "aozorasearch/book"
+require "aozorasearch/command"
module Aozorasearch
end
| Add missing require for web/app.rb
|
diff --git a/lib/vines/web.rb b/lib/vines/web.rb
index abc1234..def5678 100644
--- a/lib/vines/web.rb
+++ b/lib/vines/web.rb
@@ -2,3 +2,13 @@ require 'vines/web/version'
require 'vines/web/command/init'
require 'vines/web/command/install'
+
+module Vines
+ module Web
+ def self.paths
+ js = File.expand_path... | Add paths method for assets.
|
diff --git a/Casks/charles-beta.rb b/Casks/charles-beta.rb
index abc1234..def5678 100644
--- a/Casks/charles-beta.rb
+++ b/Casks/charles-beta.rb
@@ -0,0 +1,15 @@+cask :v1 => 'charles-beta' do
+ version '3.10b6'
+ sha256 'a8c59900a81299a40751837029c5cab41810f5527d7186da244572b676c18606'
+
+ url "http://www.charlespro... | Add Charles.app beta version 3.10b6
|
diff --git a/Casks/kanmusmemory.rb b/Casks/kanmusmemory.rb
index abc1234..def5678 100644
--- a/Casks/kanmusmemory.rb
+++ b/Casks/kanmusmemory.rb
@@ -0,0 +1,12 @@+cask :v1 => 'kanmusmemory' do
+ version '0.15'
+ sha256 'af64ae0846ab0b4366693bc602a81ba7e626bafee820862594c4bcbf92acfcef'
+
+ url "http://relog.xii.jp/dow... | Add a cask for Kancolle
|
diff --git a/Casks/phpstorm-eap.rb b/Casks/phpstorm-eap.rb
index abc1234..def5678 100644
--- a/Casks/phpstorm-eap.rb
+++ b/Casks/phpstorm-eap.rb
@@ -0,0 +1,20 @@+cask :v1 => 'phpstorm-eap' do
+ version '139.873'
+ sha256 '8405a198ee9720e05f0b589367514ae4b86bb28064cd7d2a9cc9a015b30a53c3'
+
+ url "http://download.jetb... | Add PhpStorm EAP v139.873 Cask
|
diff --git a/Casks/phpstorm-eap.rb b/Casks/phpstorm-eap.rb
index abc1234..def5678 100644
--- a/Casks/phpstorm-eap.rb
+++ b/Casks/phpstorm-eap.rb
@@ -2,19 +2,28 @@ version '141.1717'
sha256 'af6087323b15205d10ede18e4aea176c6dab569adc47d0eb00d4de07ad88693d'
- url "http://download.jetbrains.com/webide/PhpStorm-EAP... | Upgrade PhpStorm EAP to 141.1717
Upgrade PhpStorm EAP to 141.1717 - feedback from @sebroeder & @vitorgalvao
|
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb
index abc1234..def5678 100644
--- a/spec/cli_spec.rb
+++ b/spec/cli_spec.rb
@@ -2,7 +2,8 @@ require "bower2gem/cli"
describe Bower2Gem::CLI do
- it "does something useful" do
- expect { Bower2Gem::CLI.new }.to output("dist/rome.js\n").to_stdout
+ it "downloads ja... | Update test for File Downloader
|
diff --git a/Formula/barty_crouch.rb b/Formula/barty_crouch.rb
index abc1234..def5678 100644
--- a/Formula/barty_crouch.rb
+++ b/Formula/barty_crouch.rb
@@ -0,0 +1,16 @@+class BartyCrouch < Formula
+ desc "Localization/I18n: Incrementally update/translate your Strings files from .swift, .h, .m(m), .storyboard or .xib ... | Add Homebrew formula that should work according to NSHipster
|
diff --git a/runtime/spec/language/variables_spec.rb b/runtime/spec/language/variables_spec.rb
index abc1234..def5678 100644
--- a/runtime/spec/language/variables_spec.rb
+++ b/runtime/spec/language/variables_spec.rb
@@ -36,4 +36,11 @@ a, = 1,2
a.should == 1
end
+
+ it "allows safe parallel swapping" do
+ ... | Add specs to test safe parallel swapping
|
diff --git a/scripts/make-time-blocks.rb b/scripts/make-time-blocks.rb
index abc1234..def5678 100644
--- a/scripts/make-time-blocks.rb
+++ b/scripts/make-time-blocks.rb
@@ -0,0 +1,31 @@+#!/usr/bin/env ruby
+# Split the remainder of the day into 30min blocks.
+
+if __FILE__ == $PROGRAM_NAME
+ hour = Time.now.hour
+ min ... | Add script time block script. (Divide the day into 30min blocks)
|
diff --git a/git_info.rb b/git_info.rb
index abc1234..def5678 100644
--- a/git_info.rb
+++ b/git_info.rb
@@ -40,6 +40,7 @@
def issue_refs
merge_base = `git merge-base HEAD master`.chomp
+
`git log #{merge_base}..HEAD --format='%b' | grep refs`.
gsub('refs', '').gsub(',', '').gsub('#', '').
... | Add empty line for easier reading
|
diff --git a/BKHitSlop.podspec b/BKHitSlop.podspec
index abc1234..def5678 100644
--- a/BKHitSlop.podspec
+++ b/BKHitSlop.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "BKHitSlop"
- s.version = "0.0.1"
+ s.version = "1.0.0"
s.summary = "A simple swizzle to allow UIV... | Update Pod version to 1.0.0 for initial release
The 1.0.0 tag will point to this.
|
diff --git a/lib/partial_ks/all_rails_models.rb b/lib/partial_ks/all_rails_models.rb
index abc1234..def5678 100644
--- a/lib/partial_ks/all_rails_models.rb
+++ b/lib/partial_ks/all_rails_models.rb
@@ -1,6 +1,6 @@ module PartialKs
def self.all_rails_models
- if defined?(Rails)
+ if defined?(Rails) && Rails.resp... | Fix a failing test where Rails in our tests is not fully loaded, so don't bother calling it in our specs
|
diff --git a/lib/stacks/loadbalancer_cluster.rb b/lib/stacks/loadbalancer_cluster.rb
index abc1234..def5678 100644
--- a/lib/stacks/loadbalancer_cluster.rb
+++ b/lib/stacks/loadbalancer_cluster.rb
@@ -0,0 +1,35 @@+require 'stacks/namespace'
+require 'stacks/machine_def_container'
+require 'stacks/app_server'
+require '... | rpearce/jheister: Add LB Balancer Cluster class
|
diff --git a/src/collection.rb b/src/collection.rb
index abc1234..def5678 100644
--- a/src/collection.rb
+++ b/src/collection.rb
@@ -29,7 +29,7 @@
# now we have to go looking for the accept
@accept = REXML::XPath.match(input, './app:accept', $appNS)
- @accept = @accept.collect { |a| a.texts.join }
+ @a... | Patch from Ben Lund to handle accept ranges properly.
|
diff --git a/boxer.gemspec b/boxer.gemspec
index abc1234..def5678 100644
--- a/boxer.gemspec
+++ b/boxer.gemspec
@@ -22,6 +22,7 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ['lib']
+ s.add_development_dependency 'bundler', '>= 1.0.10'
s.add_developmen... | Include bundler as a dev dependency.
|
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/users_controller_spec.rb
+++ b/spec/controllers/users_controller_spec.rb
@@ -9,4 +9,11 @@ end
end
+ describe "GET #show" do
+ before {get :show }
+ it "... | Add logic for which profile page shows
|
diff --git a/spec/integration/source_sync_data_spec.rb b/spec/integration/source_sync_data_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/source_sync_data_spec.rb
+++ b/spec/integration/source_sync_data_spec.rb
@@ -0,0 +1,15 @@+require 'spec_helper'
+require 'contextio'
+
+describe "Syncing data for a sou... | Add test that proves the fix works.
|
diff --git a/spec/services/application_service_spec.rb b/spec/services/application_service_spec.rb
index abc1234..def5678 100644
--- a/spec/services/application_service_spec.rb
+++ b/spec/services/application_service_spec.rb
@@ -6,8 +6,8 @@
describe "#application_name" do
it "returns the application name defin... | Fix Spec related to the previous commit
|
diff --git a/spec/services/staff/authenticator_spec.rb b/spec/services/staff/authenticator_spec.rb
index abc1234..def5678 100644
--- a/spec/services/staff/authenticator_spec.rb
+++ b/spec/services/staff/authenticator_spec.rb
@@ -16,5 +16,11 @@ m = build(:staff_member, password: nil)
expect(Staff::Authentic... | Add Spec in suspended true
|
diff --git a/spec/views/admin/attachments/show_spec.rb b/spec/views/admin/attachments/show_spec.rb
index abc1234..def5678 100644
--- a/spec/views/admin/attachments/show_spec.rb
+++ b/spec/views/admin/attachments/show_spec.rb
@@ -10,7 +10,6 @@ it "displays urls to file" do
assign(:attachment, attachment)
ren... | chore: Remove unnecessary puts from spec
|
diff --git a/Casks/sqwiggle.rb b/Casks/sqwiggle.rb
index abc1234..def5678 100644
--- a/Casks/sqwiggle.rb
+++ b/Casks/sqwiggle.rb
@@ -1,7 +1,7 @@ class Sqwiggle < Cask
url 'https://www.sqwiggle.com/download/mac'
homepage 'https://www.sqwiggle.com'
- version '0.4.2'
- sha1 '15c49c5443780749ca833605bd61f9ee0b4d810... | Modify for no version or checksum since no specific version.
|
diff --git a/app/middleware/push_backend.rb b/app/middleware/push_backend.rb
index abc1234..def5678 100644
--- a/app/middleware/push_backend.rb
+++ b/app/middleware/push_backend.rb
@@ -29,7 +29,7 @@
def call(env)
if Faye::WebSocket.websocket?(env)
- ws = Faye::WebSocket.new(env, nil, { ping: KEEPALIVE_TIM... | Revert "Using the recommended setup."
This reverts commit 311913f1acf62147d2f481791d6f965791993073.
|
diff --git a/models/cup_group.rb b/models/cup_group.rb
index abc1234..def5678 100644
--- a/models/cup_group.rb
+++ b/models/cup_group.rb
@@ -6,7 +6,11 @@ matches.map { |match| [match.host_team, match.rival_team] }.flatten.uniq
end
- def positions
+ def positions_table
GroupPosition.select.select_append{... | Fix method name, add matches table method
|
diff --git a/app/models/web_content_item.rb b/app/models/web_content_item.rb
index abc1234..def5678 100644
--- a/app/models/web_content_item.rb
+++ b/app/models/web_content_item.rb
@@ -12,7 +12,7 @@ end
CONTENT_ITEM_METHODS = [
- :content_id, :description, :analytics_identifier, :title
+ :content_id, :desc... | Update WebContentItem to include public_updated_at method
|
diff --git a/lib/generators/refinery_theme/refinery_theme_generator.rb b/lib/generators/refinery_theme/refinery_theme_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/refinery_theme/refinery_theme_generator.rb
+++ b/lib/generators/refinery_theme/refinery_theme_generator.rb
@@ -12,12 +12,12 @@ copy_fi... | Fix error when checking for non-existent "theme" setting
|
diff --git a/transform_collections_test.rb b/transform_collections_test.rb
index abc1234..def5678 100644
--- a/transform_collections_test.rb
+++ b/transform_collections_test.rb
@@ -2,7 +2,7 @@ require 'minitest/autorun'
require 'minitest/pride'
-class TransformCollectionTest < Minitest::Test
+class TransformCollecti... | Fix typo in test suite name
|
diff --git a/spec/lib/cuttlefish_smtp_server_spec.rb b/spec/lib/cuttlefish_smtp_server_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/cuttlefish_smtp_server_spec.rb
+++ b/spec/lib/cuttlefish_smtp_server_spec.rb
@@ -11,4 +11,12 @@ connection.receive_message
end
end
+
+ describe "#receive_plain_auth"... | Add simple test for smtp authentication
|
diff --git a/spec/ruby_tokenizer_spec.rb b/spec/ruby_tokenizer_spec.rb
index abc1234..def5678 100644
--- a/spec/ruby_tokenizer_spec.rb
+++ b/spec/ruby_tokenizer_spec.rb
@@ -24,5 +24,9 @@ it "returns a String" do
expect(token.filter).to be_a_kind_of String
end
+
+ it "filters tokens" do
+ expect(... | Test that filter method returns the expected string
|
diff --git a/jpp.gemspec b/jpp.gemspec
index abc1234..def5678 100644
--- a/jpp.gemspec
+++ b/jpp.gemspec
@@ -11,6 +11,8 @@ s.email = 'benton.porter@gmail.com'
s.require_paths = ['ext', 'lib']
s.executables = 'jpp'
+ s.files = Dir['Rakefile', '{bin,ext,lib,test}/**/*', 'README*', 'LICENSE*']
+... | Add rake as a development dependency |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.