diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/hairballs.rb b/lib/hairballs.rb
index abc1234..def5678 100644
--- a/lib/hairballs.rb
+++ b/lib/hairballs.rb
@@ -1,8 +1,10 @@ require_relative 'hairballs/version'
+require_relative 'hairballs/helpers'
require_relative 'hairballs/theme'
+class Hairballs
+ extend Helpers
-class Hairballs
def self... | Use helpers in base class
|
diff --git a/lib/qu/worker.rb b/lib/qu/worker.rb
index abc1234..def5678 100644
--- a/lib/qu/worker.rb
+++ b/lib/qu/worker.rb
@@ -39,14 +39,12 @@ end
def start
- Qu.logger.info "Starting worker #{id}"
handle_signals
Qu.backend.register_worker(self)
loop { work }
rescue Abort => ... | Remove logging that wasn't ready to be committed yet |
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
@@ -22,6 +22,19 @@ system.pause_all
end
+ desc 'groups', 'List all Sonos groups'
+ def groups
+ system.groups.each do |group|
+ puts group.master_speaker.name.ljust(... | Add CLI command to list groups
|
diff --git a/lib/transrate.rb b/lib/transrate.rb
index abc1234..def5678 100644
--- a/lib/transrate.rb
+++ b/lib/transrate.rb
@@ -37,4 +37,3 @@ require 'transrate/comparative_metrics'
require 'transrate/contig_metrics'
require 'transrate/cmd'
-require 'transrate/transrate.so'
| Remove stupid include of .so file
|
diff --git a/courextool.gemspec b/courextool.gemspec
index abc1234..def5678 100644
--- a/courextool.gemspec
+++ b/courextool.gemspec
@@ -13,6 +13,8 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "courextool"
gem.require_paths = ["lib"]
- gem.version = Courextool::VE... | Add runtime dependencies to gemspec
|
diff --git a/spec/unit/chef/sugar/architecture_spec.rb b/spec/unit/chef/sugar/architecture_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/chef/sugar/architecture_spec.rb
+++ b/spec/unit/chef/sugar/architecture_spec.rb
@@ -4,9 +4,11 @@ it_behaves_like 'a chef sugar'
describe '#_64_bit?' do
- it 'returns... | Add specs for all 64-bit architectures
|
diff --git a/app/admin/provided_poi.rb b/app/admin/provided_poi.rb
index abc1234..def5678 100644
--- a/app/admin/provided_poi.rb
+++ b/app/admin/provided_poi.rb
@@ -16,7 +16,7 @@ status_tag(p.wheelchair, :class => p.wheelchair)
end
column :poi do |p|
- link_to p.poi_id, admin_poi_path(p.poi)
+ link... | Fix generation of admin poi url, as it could have changed and the id is not valid anymore. |
diff --git a/lib/services.rb b/lib/services.rb
index abc1234..def5678 100644
--- a/lib/services.rb
+++ b/lib/services.rb
@@ -8,6 +8,7 @@ @publishing_api ||= GdsApi::PublishingApiV2.new(
Plek.new.find('publishing-api'),
bearer_token: ENV['PUBLISHING_API_BEARER_TOKEN'] || 'example',
+ timeout: 10,
... | Increase the Publishing API timeout (4 -> 10 seconds)
We're seeing some timeouts with the 30K DFID research
outputs that have been imported into the system. This
isn't a very good fix so I will raise this to the
Publishing Platform team to investigate further.
|
diff --git a/lib/voot/vtt.rb b/lib/voot/vtt.rb
index abc1234..def5678 100644
--- a/lib/voot/vtt.rb
+++ b/lib/voot/vtt.rb
@@ -2,11 +2,10 @@
module Voot
class Vtt
- attr_reader :path
- attr_accessor :header
+ attr_accessor :header, :path
def initialize(options = {})
- @path = options.fetch(:path... | Make Voot::Vtt chill out about paths
|
diff --git a/lib/pay.rb b/lib/pay.rb
index abc1234..def5678 100644
--- a/lib/pay.rb
+++ b/lib/pay.rb
@@ -2,14 +2,15 @@ require 'stripe'
require 'pay/engine'
require 'pay/billable'
-require 'pay/stripe/charge_succeeded'
-require 'pay/stripe/charge_refunded'
+require_relative 'pay/stripe/charge_succeeded'
+require_rela... | Update gem for local testing
|
diff --git a/lightsd.rb b/lightsd.rb
index abc1234..def5678 100644
--- a/lightsd.rb
+++ b/lightsd.rb
@@ -3,9 +3,9 @@ class Lightsd < Formula
desc "Daemon to control your LIFX wifi smart bulbs"
homepage "https://github.com/lopter/lightsd/"
- url "https://api.github.com/repos/lopter/lightsd/tarball/0.9.1"
- sha25... | Stop following the github documentation about download links
|
diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/articles_controller.rb
+++ b/app/controllers/articles_controller.rb
@@ -40,7 +40,7 @@
# Never trust parameters from the scary internet, only allow the white list through.
... | Add category_id to strong params for articles
|
diff --git a/app/controllers/searches_controller.rb b/app/controllers/searches_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/searches_controller.rb
+++ b/app/controllers/searches_controller.rb
@@ -15,7 +15,7 @@
private
def get_sphinx_search_results(term)
- ThinkingSphinx.search term,
+ ... | Fix crash when a / is in the search string
|
diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/services_controller.rb
+++ b/app/controllers/services_controller.rb
@@ -1,2 +1,46 @@ class ServicesController < ApplicationController
+ before_action :set_service, only: [:sh... | Add actions and construct params
|
diff --git a/app/controllers/stickies_controller.rb b/app/controllers/stickies_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/stickies_controller.rb
+++ b/app/controllers/stickies_controller.rb
@@ -4,7 +4,7 @@
def index
if params[:latitude] && params[:longitude]
- respond_with Sticky.ne... | Revert "change radius to 2"
This reverts commit 90315b47397cae283fb38b30692096b0bc433740.
|
diff --git a/app/importers/iep_import/iep_storer.rb b/app/importers/iep_import/iep_storer.rb
index abc1234..def5678 100644
--- a/app/importers/iep_import/iep_storer.rb
+++ b/app/importers/iep_import/iep_storer.rb
@@ -45,10 +45,16 @@ def store_object_in_database
@logger.info("storing iep for student to db.")
- ... | Change IepStorer to update records if they exist instead of always creating
|
diff --git a/app/jobs/email_debate_scheduled_job.rb b/app/jobs/email_debate_scheduled_job.rb
index abc1234..def5678 100644
--- a/app/jobs/email_debate_scheduled_job.rb
+++ b/app/jobs/email_debate_scheduled_job.rb
@@ -0,0 +1,19 @@+class EmailDebateScheduledJob < EmailPetitionSignatories::Job
+ def self.run_later_tonigh... | Add email debate scheduled job
|
diff --git a/lib/subdomain_validator.rb b/lib/subdomain_validator.rb
index abc1234..def5678 100644
--- a/lib/subdomain_validator.rb
+++ b/lib/subdomain_validator.rb
@@ -1,7 +1,7 @@ class SubdomainValidator < ActiveModel::EachValidator
def validate_each(object, attribute, value)
return unless value.present?
- ... | Add more names to the reserved list
|
diff --git a/refinerycms-auto_tweets.gemspec b/refinerycms-auto_tweets.gemspec
index abc1234..def5678 100644
--- a/refinerycms-auto_tweets.gemspec
+++ b/refinerycms-auto_tweets.gemspec
@@ -9,6 +9,6 @@ s.require_paths = %w(lib)
s.files = Dir['lib/**/*', 'config/**/*', 'app/**/*']
- s.add_dependen... | Allow 2.x versions of refinery
|
diff --git a/app/admin/admin_user.rb b/app/admin/admin_user.rb
index abc1234..def5678 100644
--- a/app/admin/admin_user.rb
+++ b/app/admin/admin_user.rb
@@ -24,4 +24,14 @@ end
f.actions
end
+
+ show do
+ attributes_table do
+ row :id
+ row :email
+ row :sign_in_count
+ row :created_a... | Remove autogenerated content from ActiveAdmin
|
diff --git a/test/benchmark_fizzbuzz.rb b/test/benchmark_fizzbuzz.rb
index abc1234..def5678 100644
--- a/test/benchmark_fizzbuzz.rb
+++ b/test/benchmark_fizzbuzz.rb
@@ -0,0 +1,72 @@+# -*- encoding: utf-8 -*-
+
+# :enddoc:
+
+#
+# benchmark_fizzbuzz.rb
+#
+# Copyright 2012-2013 Krzysztof Wilczynski
+#
+# Licensed under ... | Add very rudimentary set of benchmarks.
Signed-off-by: Krzysztof Wilczynski <9bf091559fc98493329f7d619638c79e91ccf029@linux.com>
|
diff --git a/app/controllers/auth.rb b/app/controllers/auth.rb
index abc1234..def5678 100644
--- a/app/controllers/auth.rb
+++ b/app/controllers/auth.rb
@@ -8,7 +8,9 @@ end
post '/signup' do
-
+ user = User.new(params[:user])
+ puts user.user_name
+ puts user.password_digest
redirect '/'
end
| Update signup POST route to create new user, but not yet save to DB
|
diff --git a/date-range.gemspec b/date-range.gemspec
index abc1234..def5678 100644
--- a/date-range.gemspec
+++ b/date-range.gemspec
@@ -6,11 +6,11 @@ Gem::Specification.new do |spec|
spec.name = 'date-range'
spec.version = DateRange::VERSION
- spec.authors = ['Chris Mytton']
- spec.email ... | Replace chrismytton with everypolitician in gemspec
|
diff --git a/prius.gemspec b/prius.gemspec
index abc1234..def5678 100644
--- a/prius.gemspec
+++ b/prius.gemspec
@@ -21,6 +21,6 @@ spec.required_ruby_version = ">= 2.2"
spec.add_development_dependency "rspec", "~> 3.1"
- spec.add_development_dependency "rubocop", "~> 0.54.0"
+ spec.add_development_dependency "... | Update rubocop requirement to ~> 0.56.0
Updates the requirements on [rubocop](https://github.com/bbatsov/rubocop) to permit the latest version.
- [Release notes](https://github.com/bbatsov/rubocop/releases)
- [Changelog](https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bbatso... |
diff --git a/toadhopper-sinatra.gemspec b/toadhopper-sinatra.gemspec
index abc1234..def5678 100644
--- a/toadhopper-sinatra.gemspec
+++ b/toadhopper-sinatra.gemspec
@@ -2,7 +2,7 @@ s.name = "toadhopper-sinatra"
s.version = "0.1"
s.extra_rdoc_files = ["Readme.md"]
- s.summary = "Po... | Fix the description and gem dep
|
diff --git a/lib/erv/constant_distribution.rb b/lib/erv/constant_distribution.rb
index abc1234..def5678 100644
--- a/lib/erv/constant_distribution.rb
+++ b/lib/erv/constant_distribution.rb
@@ -10,6 +10,14 @@ @val = opts[:value].to_f
end
+ def mean
+ @val
+ end
+
+ def variance
+ 0.0
+ ... | Add mean and variance method for ConstantDistribution.
|
diff --git a/DeskAPIClient.podspec b/DeskAPIClient.podspec
index abc1234..def5678 100644
--- a/DeskAPIClient.podspec
+++ b/DeskAPIClient.podspec
@@ -1,11 +1,11 @@ Pod::Spec.new do |s|
- s.name = "DeskAPIClient"
- s.version = "1.1.0"
+ s.name = 'DeskAPIClient'
+ s.version = '1.1.0'
s.sum... | Add single quotes to pod spec.
|
diff --git a/cookbooks/dmon/recipes/mongodb.rb b/cookbooks/dmon/recipes/mongodb.rb
index abc1234..def5678 100644
--- a/cookbooks/dmon/recipes/mongodb.rb
+++ b/cookbooks/dmon/recipes/mongodb.rb
@@ -5,7 +5,7 @@ # Copyright (c) 2016 Bogdan-Constantin Irimie, All Rights Reserved.
# Install the required packages.
-packag... | Use mongoo-org package for MongoDB.
|
diff --git a/cookbooks/wt_heatmaps/metadata.rb b/cookbooks/wt_heatmaps/metadata.rb
index abc1234..def5678 100644
--- a/cookbooks/wt_heatmaps/metadata.rb
+++ b/cookbooks/wt_heatmaps/metadata.rb
@@ -3,7 +3,7 @@ license "Apache 2.0"
description "Installs heatmaps 0.8.0"
long_description IO.read(File.joi... | Make heat maps recipe version 0.10.4 so we can apply it in production
Former-commit-id: c6b9ee0d107d7fbed63c1c6bb95879de297697eb [formerly fe758180d49f32049942d79387278b1da2ede8e2] [formerly 7c5c3e4b194fa805d926e91e91b568c482e9191a [formerly 3ccb1d36a66d6913ef59de74ee86f14caaff54ce [formerly a537ba0d9de7b3486690452d9... |
diff --git a/carrierwave-azure.gemspec b/carrierwave-azure.gemspec
index abc1234..def5678 100644
--- a/carrierwave-azure.gemspec
+++ b/carrierwave-azure.gemspec
@@ -19,5 +19,6 @@ gem.add_dependency 'carrierwave'
gem.add_dependency 'azure'
+ gem.add_development_dependency 'rake'
gem.add_development_dependency... | Add rake to development dependency
|
diff --git a/lib/negroku/tasks/nodenv.rake b/lib/negroku/tasks/nodenv.rake
index abc1234..def5678 100644
--- a/lib/negroku/tasks/nodenv.rake
+++ b/lib/negroku/tasks/nodenv.rake
@@ -7,7 +7,7 @@
# Set the node version using the .node-version file
# Looks for the file in the project root
- set :nodenv_node, ... | chore(rbenv): Check if .ruby-version file exists
|
diff --git a/lib/relative_time/in_words.rb b/lib/relative_time/in_words.rb
index abc1234..def5678 100644
--- a/lib/relative_time/in_words.rb
+++ b/lib/relative_time/in_words.rb
@@ -34,7 +34,7 @@
def verb_agreement(resolution)
if resolution[0] == 1 && resolution.last == 'hours'
- "an hour"
+ '... | Use single quotes to match existing style
|
diff --git a/lib/tasks/nobody_members.rake b/lib/tasks/nobody_members.rake
index abc1234..def5678 100644
--- a/lib/tasks/nobody_members.rake
+++ b/lib/tasks/nobody_members.rake
@@ -0,0 +1,8 @@+namespace :nobodies do
+ desc 'Remove on projects users that have nobody postion'
+ task remove: :environment do
+ Project... | Create rake task for clean projects from nobody users
|
diff --git a/config/initializers/s3.rb b/config/initializers/s3.rb
index abc1234..def5678 100644
--- a/config/initializers/s3.rb
+++ b/config/initializers/s3.rb
@@ -1,7 +1,5 @@ if ENV['S3_KEY'] && ENV['S3_SECRET']
- if !Rails.env.production? && !Rails.env.staging?
- Fog.mock!
- end
+ Fog.mock! if Rails.env.test?
... | Check if Rails.env is test instead of !production && !staging |
diff --git a/config/initializers/s3.rb b/config/initializers/s3.rb
index abc1234..def5678 100644
--- a/config/initializers/s3.rb
+++ b/config/initializers/s3.rb
@@ -8,5 +8,4 @@ :aws_access_key_id => ENV['S3_KEY'],
:aws_secret_access_key => ENV['S3_SECRET']
)
- $fog.directories.create(:key => $rubygem... | Remove creating the bucket from config/initializers, assume it's created already
|
diff --git a/resources/chef-repo/site-cookbooks/backup_restore/recipes/restore_ruby.rb b/resources/chef-repo/site-cookbooks/backup_restore/recipes/restore_ruby.rb
index abc1234..def5678 100644
--- a/resources/chef-repo/site-cookbooks/backup_restore/recipes/restore_ruby.rb
+++ b/resources/chef-repo/site-cookbooks/backup... | Change base directory when extract backup archive
|
diff --git a/wheelhouse-banners.gemspec b/wheelhouse-banners.gemspec
index abc1234..def5678 100644
--- a/wheelhouse-banners.gemspec
+++ b/wheelhouse-banners.gemspec
@@ -1,7 +1,7 @@ Gem::Specification.new do |s|
s.name = "wheelhouse-banners"
s.platform = Gem::Platform::RUBY
- s.version = "0.1"
+ s.... | Update gem version and dependency
|
diff --git a/ci_environment/system_info/recipes/default.rb b/ci_environment/system_info/recipes/default.rb
index abc1234..def5678 100644
--- a/ci_environment/system_info/recipes/default.rb
+++ b/ci_environment/system_info/recipes/default.rb
@@ -13,11 +13,22 @@ action :sync
end
-bash 'Dump system information' do
+d... | Split system_info into smaller pieces
|
diff --git a/cookbooks/hadoop-upstream/recipes/datanode.rb b/cookbooks/hadoop-upstream/recipes/datanode.rb
index abc1234..def5678 100644
--- a/cookbooks/hadoop-upstream/recipes/datanode.rb
+++ b/cookbooks/hadoop-upstream/recipes/datanode.rb
@@ -0,0 +1,67 @@+#
+# Cookbook Name:: hadoop-upstream
+# Recipe:: datanode
+#
+... | Add Hadoop data node recipe
|
diff --git a/Casks/font-cardo.rb b/Casks/font-cardo.rb
index abc1234..def5678 100644
--- a/Casks/font-cardo.rb
+++ b/Casks/font-cardo.rb
@@ -2,7 +2,7 @@ url 'http://scholarsfonts.net/cardo104.zip'
homepage 'http://scholarsfonts.net/cardofnt.html'
version '1.04'
- sha1 'fb156361986052071fa8df09ab6c95749c5dad07'... | Update Cardo to sha256 checksums
|
diff --git a/app/uploaders/organization_uploader.rb b/app/uploaders/organization_uploader.rb
index abc1234..def5678 100644
--- a/app/uploaders/organization_uploader.rb
+++ b/app/uploaders/organization_uploader.rb
@@ -1,6 +1,6 @@ class OrganizationUploader < ImageUploader
- process quality: 90
+ process quality: 100... | Change quality on organizations images
|
diff --git a/spec/features/seed_spec.rb b/spec/features/seed_spec.rb
index abc1234..def5678 100644
--- a/spec/features/seed_spec.rb
+++ b/spec/features/seed_spec.rb
@@ -2,8 +2,8 @@
RSpec.feature "Seeding database", :type => :feature do
scenario "Loading seed data throws no errors" do
- allow(STDOUT).to receive(:... | Replace tabs with spaces
Fix Layout/Tab
|
diff --git a/Formula/unshield.rb b/Formula/unshield.rb
index abc1234..def5678 100644
--- a/Formula/unshield.rb
+++ b/Formula/unshield.rb
@@ -5,6 +5,12 @@ url 'http://downloads.sourceforge.net/project/synce/Unshield/0.6/unshield-0.6.tar.gz'
sha1 '3e1197116145405f786709608a5a636a19f4f3e1'
+ # Add support for new ... | Unshield: Add support for new Installshield versions
Unsheild aborts when processing Installshield versions 12 and above.
This commit adds a patch which resolves this.
Closes Homebrew/homebrew#17563.
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
|
diff --git a/part-2/sock_drawer.rb b/part-2/sock_drawer.rb
index abc1234..def5678 100644
--- a/part-2/sock_drawer.rb
+++ b/part-2/sock_drawer.rb
@@ -14,4 +14,12 @@ matched_sock = @socks.find {|s| @matcher.match?(s, possible_match)}
@socks.delete(matched_sock)
end
+
+ def supply_random_pair_of_socks
+ @s... | Add method to supply random pair of socks
|
diff --git a/app/models/renalware/pathology/view_historical_observations.rb b/app/models/renalware/pathology/view_historical_observations.rb
index abc1234..def5678 100644
--- a/app/models/renalware/pathology/view_historical_observations.rb
+++ b/app/models/renalware/pathology/view_historical_observations.rb
@@ -18,7 +1... | Introduce date range as this is how we will paginate
|
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/events_controller.rb
+++ b/app/controllers/events_controller.rb
@@ -1,6 +1,5 @@ class EventsController < ApplicationController
- before_action :authenticate_user!, only: :volunte... | Remove old before filter cruft
|
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -1,7 +1,7 @@ class SearchController < ApplicationController
def index
- @games = Search.new(Game, params... | Handle the search request even without the kw param
|
diff --git a/app/helpers/app_frame/menu_helper.rb b/app/helpers/app_frame/menu_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/app_frame/menu_helper.rb
+++ b/app/helpers/app_frame/menu_helper.rb
@@ -1,6 +1,6 @@ module AppFrame
module MenuHelper
- def menu_link(key, path, options = {}, &block)
+ def m... | Make path optional in menu_link helper
|
diff --git a/raygun_client.gemspec b/raygun_client.gemspec
index abc1234..def5678 100644
--- a/raygun_client.gemspec
+++ b/raygun_client.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'raygun_client'
- s.version = '0.0.2.0'
+ s.version = '0.0.2.1'
s.summary = 'Client f... | Package version is increased from 0.0.2.0 to 0.0.2.1
|
diff --git a/spec/unit/veritas/relation/header/class_methods/new_spec.rb b/spec/unit/veritas/relation/header/class_methods/new_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/veritas/relation/header/class_methods/new_spec.rb
+++ b/spec/unit/veritas/relation/header/class_methods/new_spec.rb
@@ -5,10 +5,10 @@ descr... | Refactor spec to use simpler let() names
|
diff --git a/db/data_migration/20141006142113_add_addintial_guidance_for_vat_detailed_guide_category.rb b/db/data_migration/20141006142113_add_addintial_guidance_for_vat_detailed_guide_category.rb
index abc1234..def5678 100644
--- a/db/data_migration/20141006142113_add_addintial_guidance_for_vat_detailed_guide_category... | Add new detailed guidance category
|
diff --git a/Formula/uploadprogress-php.rb b/Formula/uploadprogress-php.rb
index abc1234..def5678 100644
--- a/Formula/uploadprogress-php.rb
+++ b/Formula/uploadprogress-php.rb
@@ -21,7 +21,7 @@ def caveats; <<-EOS.undent
To finish installing uploadprogress-php:
* Add the following line to #{etc}/php.ini:... | Change zend_extension to extension, because using zend_extension causes PHP to say:
"uploadprogress.so doesn't appear to be a valid Zend extension"
|
diff --git a/config/initializers/raven.rb b/config/initializers/raven.rb
index abc1234..def5678 100644
--- a/config/initializers/raven.rb
+++ b/config/initializers/raven.rb
@@ -1,5 +1,5 @@ require 'raven'
Raven.configure do |config|
- config.dsn = 'https://b74e43fd5ce7444394d1f56c37f3d043:a74c45df1e05482088542cd516... | Store Sentry API key in ENV var
|
diff --git a/spec/snapcat/media_type_spec.rb b/spec/snapcat/media_type_spec.rb
index abc1234..def5678 100644
--- a/spec/snapcat/media_type_spec.rb
+++ b/spec/snapcat/media_type_spec.rb
@@ -0,0 +1,33 @@+require 'spec_helper'
+
+describe Snapcat::MediaType do
+ describe '#image?' do
+ describe 'when it is an image' d... | Add base specs for media type
|
diff --git a/app/models/manageiq/providers/amazon/inventory/targets/event_payload_vm.rb b/app/models/manageiq/providers/amazon/inventory/targets/event_payload_vm.rb
index abc1234..def5678 100644
--- a/app/models/manageiq/providers/amazon/inventory/targets/event_payload_vm.rb
+++ b/app/models/manageiq/providers/amazon/i... | Use resourceId so the code works also for instance delete
Use resourceId so the code works also for instance delete
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -2,8 +2,26 @@
require ::File.expand_path('../config/environment', __FILE__)
+class Garbage
+ def initialize(app)
+ @app = app
+ end
+
+ def call(env)
+ GC.disable
+ v = @app.call(env)
+ GC.enable
+ ... | Disable garbage collector during request
(this is terribly hacky and may be a bad idea)
|
diff --git a/app/helpers/nivo_helper.rb b/app/helpers/nivo_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/nivo_helper.rb
+++ b/app/helpers/nivo_helper.rb
@@ -1,22 +1,13 @@ module NivoHelper
- def slider(files, hash = {})
- options = { :theme => :default }
+ def nivo_slider(hash = {}, &block)
+ option... | Change the syntax of the nivo_slider helper
Now we should pass a block to the method then call helpers to generate
images, captions or whatever
|
diff --git a/app/helpers/time_helper.rb b/app/helpers/time_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/time_helper.rb
+++ b/app/helpers/time_helper.rb
@@ -2,7 +2,7 @@
module TimeHelper
def time_ago_in_words(time)
- content_tag(:abbr, title: time) do
+ content_tag(:time, datetime: time, title: t... | Use `time` tag for times rather than `abbr`
|
diff --git a/app/jobs/osm_create_job.rb b/app/jobs/osm_create_job.rb
index abc1234..def5678 100644
--- a/app/jobs/osm_create_job.rb
+++ b/app/jobs/osm_create_job.rb
@@ -7,7 +7,7 @@ # Remove wheelchair tag if value is "unknown"
tags.delete("wheelchair") if tags["wheelchair"] == 'unknown'
- new('node', tags... | Fix creation of new create jobs.
|
diff --git a/devise_masquerade.gemspec b/devise_masquerade.gemspec
index abc1234..def5678 100644
--- a/devise_masquerade.gemspec
+++ b/devise_masquerade.gemspec
@@ -8,8 +8,8 @@ gem.version = DeviseMasquerade::VERSION
gem.authors = ["Alexandr Korsak"]
gem.email = ["alex.korsak@gmail.com"]
- ... | Update description for the masquerade
|
diff --git a/gems/i18n_tasks/lib/i18n_tasks/csv_backend.rb b/gems/i18n_tasks/lib/i18n_tasks/csv_backend.rb
index abc1234..def5678 100644
--- a/gems/i18n_tasks/lib/i18n_tasks/csv_backend.rb
+++ b/gems/i18n_tasks/lib/i18n_tasks/csv_backend.rb
@@ -26,7 +26,7 @@ ret = {}
csv_locales.each do |locale|
r... | Drop explicitly empty community translations
fixes FOO-2999
Change-Id: Idd0362bb41f27a68951a7b5cc77a1719d9c8d6ed
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/300655
Reviewed-by: August Thornton <9adc7a1161ddf32ff608de792a7e50179545f026@instructure.com>
Reviewed-by: Charley Kline <05950d7e90ba5e3da323378... |
diff --git a/attributes/intellij_community_edition.rb b/attributes/intellij_community_edition.rb
index abc1234..def5678 100644
--- a/attributes/intellij_community_edition.rb
+++ b/attributes/intellij_community_edition.rb
@@ -1,10 +1,10 @@ case node[:platform]
when "centos", "redhat", "debian", "ubuntu"
- default['int... | Update to Intellij Community Edition 13.1 |
diff --git a/example/saisoku.rb b/example/saisoku.rb
index abc1234..def5678 100644
--- a/example/saisoku.rb
+++ b/example/saisoku.rb
@@ -15,7 +15,7 @@ programs = client.search(
:first => true,
:range => "2012/4/1-2012/4/30"
-)[0..10]
+)
programs.uniq!(&:title)
programs.select!(&:is_saisoku?)
| Fix bug: debug function is left
|
diff --git a/lib/rspec/composable_json_matchers/be_json.rb b/lib/rspec/composable_json_matchers/be_json.rb
index abc1234..def5678 100644
--- a/lib/rspec/composable_json_matchers/be_json.rb
+++ b/lib/rspec/composable_json_matchers/be_json.rb
@@ -1,3 +1,5 @@+require 'rspec/matchers/composable'
+
module RSpec
module C... | Add missing require for 'rspec/matchers/composable'
|
diff --git a/lib/chef_zero/endpoints/user_association_request_endpoint.rb b/lib/chef_zero/endpoints/user_association_request_endpoint.rb
index abc1234..def5678 100644
--- a/lib/chef_zero/endpoints/user_association_request_endpoint.rb
+++ b/lib/chef_zero/endpoints/user_association_request_endpoint.rb
@@ -16,8 +16,18 @@ ... | Add users to the users group in an org if not already there
|
diff --git a/spec/integration/renalware/session_timeout/session_expiry_spec.rb b/spec/integration/renalware/session_timeout/session_expiry_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/renalware/session_timeout/session_expiry_spec.rb
+++ b/spec/integration/renalware/session_timeout/session_expiry_spec.rb... | Fix intermittently failing session timeout spec
|
diff --git a/pushpop.gemspec b/pushpop.gemspec
index abc1234..def5678 100644
--- a/pushpop.gemspec
+++ b/pushpop.gemspec
@@ -9,8 +9,8 @@ s.authors = ["Josh Dzielak"]
s.email = "josh@keen.io"
s.homepage = "https://github.com/pushpop-project/pushpop"
- s.summary = "Share data between services at... | Update gemspec to match readme
|
diff --git a/Timepiece.podspec b/Timepiece.podspec
index abc1234..def5678 100644
--- a/Timepiece.podspec
+++ b/Timepiece.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Timepiece"
- s.version = `git describe --tags --abbrev=0`
+ s.version = "0.4.2"
s.summary = "Intuitive NSDate ext... | Fix the specification of version on podspec
The previous definition causes users not to install from master.
|
diff --git a/lib/dat/science/result.rb b/lib/dat/science/result.rb
index abc1234..def5678 100644
--- a/lib/dat/science/result.rb
+++ b/lib/dat/science/result.rb
@@ -44,7 +44,11 @@
def serialized_exception
return nil unless exception
- { :class => exception.class.name, :message => exception.messa... | Include backtrace in serialized exception payload
|
diff --git a/lib/facter/esx_version.rb b/lib/facter/esx_version.rb
index abc1234..def5678 100644
--- a/lib/facter/esx_version.rb
+++ b/lib/facter/esx_version.rb
@@ -10,27 +10,31 @@ if File::executable?("/usr/sbin/dmidecode")
result = Facter::Util::Resolution.exec("/usr/sbin/dmidecode 2>&1")
if result
... | Handle case where facter is run as a non-root user
|
diff --git a/lib/fulcrum/attachment.rb b/lib/fulcrum/attachment.rb
index abc1234..def5678 100644
--- a/lib/fulcrum/attachment.rb
+++ b/lib/fulcrum/attachment.rb
@@ -19,10 +19,24 @@ end
def create(file, attrs = {})
- file = Faraday::UploadIO.new(file, nil)
response = call(:post, create_action, att... | Add binary upload feature for any file
|
diff --git a/lib/guard/simple_shell.rb b/lib/guard/simple_shell.rb
index abc1234..def5678 100644
--- a/lib/guard/simple_shell.rb
+++ b/lib/guard/simple_shell.rb
@@ -1,4 +1,3 @@-require 'guard/guard'
require 'rainbow'
module Guard
class Simpleshell < Plugin
| Remove guard require for guard 2.0
|
diff --git a/lib/transpec/rspec_dsl.rb b/lib/transpec/rspec_dsl.rb
index abc1234..def5678 100644
--- a/lib/transpec/rspec_dsl.rb
+++ b/lib/transpec/rspec_dsl.rb
@@ -3,18 +3,28 @@ # Aliases by Capybara:
# https://github.com/jnicklas/capybara/blob/2.2.0/lib/capybara/rspec/features.rb
+# rubocop:disable LineLength
+
m... | Add alises of example group and example DSL
|
diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/articles_controller.rb
+++ b/app/controllers/articles_controller.rb
@@ -11,7 +11,7 @@ end
@breadcrumb_trails = @article.categories.map do |category|
- Core::Br... | Return empty array when BreadcrumbReader doesn't find the node
|
diff --git a/app/controllers/salaries_controller.rb b/app/controllers/salaries_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/salaries_controller.rb
+++ b/app/controllers/salaries_controller.rb
@@ -18,7 +18,7 @@ def select_employee
# Allow pre-seeding some parameters
salary_params = {
- ... | Use employer_id instead of customer_id when building salary_params.
|
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -1,6 +1,6 @@ class SessionsController < ApplicationController
def new
- redirect_to leads_path if ... | Fix redirect_to leads if user is logged
|
diff --git a/elasticsearch-client.gemspec b/elasticsearch-client.gemspec
index abc1234..def5678 100644
--- a/elasticsearch-client.gemspec
+++ b/elasticsearch-client.gemspec
@@ -22,7 +22,7 @@ s.add_dependency 'faraday', '~> 0.9'
s.add_dependency 'faraday_middleware', '~> 0.9'
s.add_dependency 'excon'
- s.add_de... | Update yajl-ruby dependency to get the fixes in 1.2.*
|
diff --git a/logstash-devutils.gemspec b/logstash-devutils.gemspec
index abc1234..def5678 100644
--- a/logstash-devutils.gemspec
+++ b/logstash-devutils.gemspec
@@ -6,7 +6,7 @@ files = %x{git ls-files}.split("\n")
spec.name = "logstash-devutils"
- spec.version = "0.0.18"
+ spec.version = "0.0.19"
spec.summa... | Add fivemat as a dependency
Fivemat give just the right amount of verbosity for the rspec output
Fixes #44
|
diff --git a/app/models/edition/supporting_pages.rb b/app/models/edition/supporting_pages.rb
index abc1234..def5678 100644
--- a/app/models/edition/supporting_pages.rb
+++ b/app/models/edition/supporting_pages.rb
@@ -1,22 +1,8 @@ module Edition::SupportingPages
extend ActiveSupport::Concern
- class Trait < Editio... | Rewrite the supporting pages mixin.
Currently used only by Policy.
|
diff --git a/config/initializers/trusted_proxy_fix.rb b/config/initializers/trusted_proxy_fix.rb
index abc1234..def5678 100644
--- a/config/initializers/trusted_proxy_fix.rb
+++ b/config/initializers/trusted_proxy_fix.rb
@@ -0,0 +1,8 @@+# This is a fix for to prevent resuest.remote_ip from returning the squid proxy IP
... | Add trusted proxy fix initializer.
|
diff --git a/rspec-tabular.gemspec b/rspec-tabular.gemspec
index abc1234..def5678 100644
--- a/rspec-tabular.gemspec
+++ b/rspec-tabular.gemspec
@@ -19,7 +19,7 @@ spec.require_paths = ['lib']
spec.add_runtime_dependency 'rspec-core', '>= 2.99.0'
- spec.add_development_dependency 'bundler', '~> 1.9'
+ sp... | Set bundler to 1.7 which is supported by TravisCI
|
diff --git a/cookbooks/chef/attributes/default.rb b/cookbooks/chef/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/chef/attributes/default.rb
+++ b/cookbooks/chef/attributes/default.rb
@@ -5,7 +5,7 @@ default[:chef][:server][:version] = "12.0.8-1"
# Set the default client version
-default[:chef][... | Update chef client to 12.8.1
|
diff --git a/lib/boxcar/api/smart.rb b/lib/boxcar/api/smart.rb
index abc1234..def5678 100644
--- a/lib/boxcar/api/smart.rb
+++ b/lib/boxcar/api/smart.rb
@@ -3,9 +3,7 @@ module Boxcar
module Smart
def temperature
- raw_temp = `smartctl -d ata -A /dev/#{device} | grep -i temperature`
- temp = raw_temp.... | Refactor reading values from SMART
|
diff --git a/_plugins/feed_url_filter.rb b/_plugins/feed_url_filter.rb
index abc1234..def5678 100644
--- a/_plugins/feed_url_filter.rb
+++ b/_plugins/feed_url_filter.rb
@@ -0,0 +1,11 @@+# https://github.com/jessecrouch/jekyll-rss-absolute-urls
+module Jekyll
+ module RSSURLFilter
+ def relative_urls_to_absolute(inp... | Add plugin to get absolute urls in feeds
|
diff --git a/lib/camcorder/errors.rb b/lib/camcorder/errors.rb
index abc1234..def5678 100644
--- a/lib/camcorder/errors.rb
+++ b/lib/camcorder/errors.rb
@@ -21,7 +21,7 @@ @side_effects = side_effects
end
def message
- "Recording for #{klass}.#{name} with args: #{args} and side_effects=#{side_effect... | Remove duplicated 'using' in error message |
diff --git a/app/controllers/spree/admin/look_book_image_products_controller.rb b/app/controllers/spree/admin/look_book_image_products_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/spree/admin/look_book_image_products_controller.rb
+++ b/app/controllers/spree/admin/look_book_image_products_controlle... | Use set_list_position in update positions for products
|
diff --git a/activejob/lib/active_job.rb b/activejob/lib/active_job.rb
index abc1234..def5678 100644
--- a/activejob/lib/active_job.rb
+++ b/activejob/lib/active_job.rb
@@ -41,5 +41,4 @@
autoload :TestCase
autoload :TestHelper
- autoload :QueryTags
end
| Remove autoload to unused constant
|
diff --git a/assets/config/redmine/smtp_settings.rb b/assets/config/redmine/smtp_settings.rb
index abc1234..def5678 100644
--- a/assets/config/redmine/smtp_settings.rb
+++ b/assets/config/redmine/smtp_settings.rb
@@ -8,7 +8,7 @@ :domain => "{{SMTP_DOMAIN}}",
:user_name => "{{SMTP_USER... | Fix SMTP Authentification not exist in smtp config
Forget {{}} in smtp file and :login not replaced by init script |
diff --git a/spec/workers/curry/import_unknown_pull_request_commit_authors_worker_spec.rb b/spec/workers/curry/import_unknown_pull_request_commit_authors_worker_spec.rb
index abc1234..def5678 100644
--- a/spec/workers/curry/import_unknown_pull_request_commit_authors_worker_spec.rb
+++ b/spec/workers/curry/import_unknow... | Clarify commit author import collaborators
These specs now document which messages we expect to send to
collaborators. They're also more protected from changes to the internals
of the collaborators.
|
diff --git a/ael_tracker.gemspec b/ael_tracker.gemspec
index abc1234..def5678 100644
--- a/ael_tracker.gemspec
+++ b/ael_tracker.gemspec
@@ -18,7 +18,7 @@ spec.add_development_dependency "webmock"
spec.add_development_dependency 'json'
- spec.files = `git ls-files`.split($/)
+ spec.files = `git... | Change gemspec for push to rubygems
|
diff --git a/lib/gds_api/helpers.rb b/lib/gds_api/helpers.rb
index abc1234..def5678 100644
--- a/lib/gds_api/helpers.rb
+++ b/lib/gds_api/helpers.rb
@@ -24,6 +24,7 @@ Object::const_defined?(:PANOPTICON_API_CREDENTIALS) ? PANOPTICON_API_CREDENTIALS : {}
end
+ # This method is deprecated. Use content_api... | Add deprecation notice to fetch_artefact method
|
diff --git a/lib/auth/gds_sso.rb b/lib/auth/gds_sso.rb
index abc1234..def5678 100644
--- a/lib/auth/gds_sso.rb
+++ b/lib/auth/gds_sso.rb
@@ -36,11 +36,11 @@ end
def oauth_id
- ENV.fetch("OAUTH_ID", "")
+ ENV.fetch("GDS_SSO_OAUTH_ID", "")
end
def oauth_secret
- ENV.fetch("OAUTH_SECR... | Rename GDS SSO env vars
These were renamed in Puppet [1] to better explain usage in their name,
and this change has been deployed to production already. Most applications
don't use these env vars manually and instead use the
gds-sso gem [2], however as Search API is a Sinatra app rather than
Rails it has it's own rath... |
diff --git a/core/lib/spree/testing_support/factories/inventory_unit_factory.rb b/core/lib/spree/testing_support/factories/inventory_unit_factory.rb
index abc1234..def5678 100644
--- a/core/lib/spree/testing_support/factories/inventory_unit_factory.rb
+++ b/core/lib/spree/testing_support/factories/inventory_unit_factor... | Allow passing order to inventory_unit factory
|
diff --git a/lib/quality/version.rb b/lib/quality/version.rb
index abc1234..def5678 100644
--- a/lib/quality/version.rb
+++ b/lib/quality/version.rb
@@ -4,5 +4,5 @@ # reek, flog, flay and rubocop and makes sure your numbers don't get
# any worse over time.
module Quality
- VERSION = '23.0.1'
+ VERSION = '23.0.2'
e... | Check for symlinks or submodules
|
diff --git a/lib/simplemvc/utils.rb b/lib/simplemvc/utils.rb
index abc1234..def5678 100644
--- a/lib/simplemvc/utils.rb
+++ b/lib/simplemvc/utils.rb
@@ -1,14 +1,14 @@ class String
def to_snake_case
self.gsub("::", "/").
- gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2'). # FOOBar => foo_bar
- gsub(/([a-z\d])(A-Z... | Fix some regex at controller render method
|
diff --git a/lib/slim_migrations.rb b/lib/slim_migrations.rb
index abc1234..def5678 100644
--- a/lib/slim_migrations.rb
+++ b/lib/slim_migrations.rb
@@ -13,7 +13,7 @@
# initialize migrations with <tt>migration do</tt> instead of <tt>class SomeMigration < ActiveRecord::Migration</tt>
def migration(&block)
- if... | Fix regex that creates migration class
Previously the regex would be incorrect if the migration name included a digit and a underscore, e.g. 'add_foo1_to_products'.
|
diff --git a/lib/squall/dns_zone.rb b/lib/squall/dns_zone.rb
index abc1234..def5678 100644
--- a/lib/squall/dns_zone.rb
+++ b/lib/squall/dns_zone.rb
@@ -27,7 +27,7 @@ #
# Returns a Hash.
def create(options = {})
- response = request(:post, "/dns_zones.json", query: { pack: options })
+ response ... | Use default params for DNS zones
|
diff --git a/lib/van_helsing/git.rb b/lib/van_helsing/git.rb
index abc1234..def5678 100644
--- a/lib/van_helsing/git.rb
+++ b/lib/van_helsing/git.rb
@@ -6,6 +6,7 @@ queue %{
echo "-----> Cloning from the Git repository"
git clone "#{settings.repository!}" . -n --recursive &&
+ git rev-parse "#{re... | Fix the 'Git failing without warning' bug when the current rev hasn't been pushed.
|
diff --git a/lib/generators/atlassian_jwt_authentication/templates/jwt_token.rb b/lib/generators/atlassian_jwt_authentication/templates/jwt_token.rb
index abc1234..def5678 100644
--- a/lib/generators/atlassian_jwt_authentication/templates/jwt_token.rb
+++ b/lib/generators/atlassian_jwt_authentication/templates/jwt_toke... | Add attr_accessible for JwtToken fields.
|
diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb
index abc1234..def5678 100644
--- a/app/jobs/application_job.rb
+++ b/app/jobs/application_job.rb
@@ -1,15 +1,14 @@ require 'newrelic_rpm'
class ApplicationJob < ActiveJob::Base
- around_perform :use_db_pool
rescue_from(StandardError) do |e... | Update around_perform syntax for ApplicationJob
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.