diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/rapns.gemspec b/rapns.gemspec
index abc1234..def5678 100644
--- a/rapns.gemspec
+++ b/rapns.gemspec
@@ -17,4 +17,9 @@ s.require_paths = ["lib"]
s.add_dependency "multi_json", "~> 1.0"
-end
+
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
+ s.add_dependency "jruby-openssl"
+ s.add_depend... | Add JRuby deps to gemspec.
|
diff --git a/Ascii85.gemspec b/Ascii85.gemspec
index abc1234..def5678 100644
--- a/Ascii85.gemspec
+++ b/Ascii85.gemspec
@@ -15,7 +15,8 @@
s.rubyforge_project = "Ascii85"
- s.add_development_dependency "rspec", ">= 2.4.0"
+ s.add_development_dependency "bundler", ">= 1.0.0"
+ s.add_development_dependency "rspe... | Add development dependency on bundler
|
diff --git a/Ascii85.gemspec b/Ascii85.gemspec
index abc1234..def5678 100644
--- a/Ascii85.gemspec
+++ b/Ascii85.gemspec
@@ -16,7 +16,7 @@ s.rubyforge_project = "Ascii85"
s.add_development_dependency "bundler", ">= 1.0.0"
- s.add_development_dependency "rspec", ">= 2.4.0"
+ s.add_development_dependency "mini... | Gemspec: Replace dependency on rspec with minitest
|
diff --git a/Ascii85.gemspec b/Ascii85.gemspec
index abc1234..def5678 100644
--- a/Ascii85.gemspec
+++ b/Ascii85.gemspec
@@ -15,6 +15,8 @@
s.rubyforge_project = "Ascii85"
+ s.add_development_dependency "rspec"
+
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,feat... | Add rspec as development dependency
|
diff --git a/lib/chef/knife/solo_bootstrap.rb b/lib/chef/knife/solo_bootstrap.rb
index abc1234..def5678 100644
--- a/lib/chef/knife/solo_bootstrap.rb
+++ b/lib/chef/knife/solo_bootstrap.rb
@@ -19,7 +19,7 @@
# Use (some) options from prepare and cook commands
self.options = SoloPrepare.options
- [:li... | Include `:berkshelf` option to SoloBootstrap
|
diff --git a/lib/chef/knife/solo_bootstrap.rb b/lib/chef/knife/solo_bootstrap.rb
index abc1234..def5678 100644
--- a/lib/chef/knife/solo_bootstrap.rb
+++ b/lib/chef/knife/solo_bootstrap.rb
@@ -2,10 +2,17 @@ require 'chef/knife/solo_cook'
require 'chef/knife/solo_prepare'
+require 'knife-solo/kitchen_command'
+requir... | Add validation to solo bootstrap class
Otherwise the error message will display help message for an underlying
subcommand.
|
diff --git a/test/workers/music_graph_worker_test.rb b/test/workers/music_graph_worker_test.rb
index abc1234..def5678 100644
--- a/test/workers/music_graph_worker_test.rb
+++ b/test/workers/music_graph_worker_test.rb
@@ -1,6 +1,6 @@-require_relative 'test_helper'
-class MusicGraphWorkerTest < MiniTest::Unit::TestCase
-... | Comment out test for Musicgraph
|
diff --git a/lib/github_cli/commands/forks.rb b/lib/github_cli/commands/forks.rb
index abc1234..def5678 100644
--- a/lib/github_cli/commands/forks.rb
+++ b/lib/github_cli/commands/forks.rb
@@ -5,6 +5,9 @@
namespace :fork
+ option :sort, :type => :string, :aliases => ["-s"],
+ :banner => '<sort-cate... | Update fork commands to take options.
|
diff --git a/lib/harvestman/crawler/parser.rb b/lib/harvestman/crawler/parser.rb
index abc1234..def5678 100644
--- a/lib/harvestman/crawler/parser.rb
+++ b/lib/harvestman/crawler/parser.rb
@@ -29,7 +29,7 @@ @document = doc
end
else
- @document.send("at_#{path_type}", path)
+ ... | Fix method sent to Nokogiri document
|
diff --git a/spec/fixture/phone.rb b/spec/fixture/phone.rb
index abc1234..def5678 100644
--- a/spec/fixture/phone.rb
+++ b/spec/fixture/phone.rb
@@ -1,7 +1,7 @@ # forward declaration
-#class Person
-# include Neo4j::NodeMixin
-#end
+class Person
+ include Neo4j::NodeMixin
+end
class Phone
include Neo4j::NodeMix... | Add forward declaration of Person since RSpec might fail otherwise
|
diff --git a/lib/smart_management/searcher.rb b/lib/smart_management/searcher.rb
index abc1234..def5678 100644
--- a/lib/smart_management/searcher.rb
+++ b/lib/smart_management/searcher.rb
@@ -7,7 +7,9 @@
def call
if @options.present?
- @options.each { |k, v| @data = @data.where("#{k} like ?", "%#{v... | Add the table name in query
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -3,13 +3,14 @@ license "MIT"
description "Installs/Configures New Relic"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
-version "0.3.7"
+version "0.3.8... | Add support for scientific linux
|
diff --git a/lib/clamshell/cli.rb b/lib/clamshell/cli.rb
index abc1234..def5678 100644
--- a/lib/clamshell/cli.rb
+++ b/lib/clamshell/cli.rb
@@ -26,8 +26,8 @@ raise "File: #{file}, not found" unless File.exist?(file)
if options["settings"]
- file = options["settings"]
- raise "Settings file... | Rename variable name to avoid scope issues
|
diff --git a/Casks/webstorm-bundled-jdk.rb b/Casks/webstorm-bundled-jdk.rb
index abc1234..def5678 100644
--- a/Casks/webstorm-bundled-jdk.rb
+++ b/Casks/webstorm-bundled-jdk.rb
@@ -4,7 +4,7 @@
url "https://download.jetbrains.com/webstorm/WebStorm-#{version}-custom-jdk-bundled.dmg"
name 'WebStorm'
- homepage 'ht... | Update WebStorm bundled JDK homepage URL to HTTPS |
diff --git a/Casks/plex-home-theater.rb b/Casks/plex-home-theater.rb
index abc1234..def5678 100644
--- a/Casks/plex-home-theater.rb
+++ b/Casks/plex-home-theater.rb
@@ -1,11 +1,11 @@ cask :v1 => 'plex-home-theater' do
- version '1.2.3.378-0c92ed32'
+ version '1.3.5.431-7966a4df'
if Hardware::CPU.is_32_bit?
- ... | Upgrade Plex Home Theater to 1.2.3.378-0c92ed32
|
diff --git a/lib/json_streamer.rb b/lib/json_streamer.rb
index abc1234..def5678 100644
--- a/lib/json_streamer.rb
+++ b/lib/json_streamer.rb
@@ -4,7 +4,7 @@ include Enumerable
attr_reader :json_sequence
- def initialize(model_class,ids, per_page = 1000, header = nil, footer = nil, &block)
+ def initialize(mode... | Use predefined header and footer to return correct Json.
|
diff --git a/lib/pieces/server.rb b/lib/pieces/server.rb
index abc1234..def5678 100644
--- a/lib/pieces/server.rb
+++ b/lib/pieces/server.rb
@@ -8,7 +8,8 @@
server = new(config.merge(app: app(config[:path])))
- listener = Listen.to("#{config[:path]}/config") do
+ listener = Listen.to("#{config[:path... | Add views to watched directories |
diff --git a/lib/carrierwave/zipline.rb b/lib/carrierwave/zipline.rb
index abc1234..def5678 100644
--- a/lib/carrierwave/zipline.rb
+++ b/lib/carrierwave/zipline.rb
@@ -15,7 +15,8 @@ if zip_file and is_zip?(zip_file)
Zippy.open(zip_file.tempfile) do |zip|
Zippy.list(zip_file.tempfile).sort().e... | Handle folders (by skipping names ending in /)
|
diff --git a/app/controllers/instagram_controller.rb b/app/controllers/instagram_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/instagram_controller.rb
+++ b/app/controllers/instagram_controller.rb
@@ -10,13 +10,13 @@ def tags
client = Instagram.client({})
tags = client.tag_search(params[... | Return Instagram results with tags and photos root keys.
|
diff --git a/jobs/progress.rb b/jobs/progress.rb
index abc1234..def5678 100644
--- a/jobs/progress.rb
+++ b/jobs/progress.rb
@@ -1,7 +1,19 @@ SCHEDULER.every '1h', :first_in => Time.now + 10 do
- q2_progress = Progress.new("sFETRDq0")
- send_event('2014-q2-current-month', items: q2_progress.current_month)
- send_eve... | Send jobs to all the widgets
|
diff --git a/lib/dimples/configuration.rb b/lib/dimples/configuration.rb
index abc1234..def5678 100644
--- a/lib/dimples/configuration.rb
+++ b/lib/dimples/configuration.rb
@@ -18,7 +18,7 @@
def self.default_paths
{
- output: 'public',
+ output: './public',
archives: 'archives',
... | Change the default output path
|
diff --git a/lib/stream_helper.rb b/lib/stream_helper.rb
index abc1234..def5678 100644
--- a/lib/stream_helper.rb
+++ b/lib/stream_helper.rb
@@ -1,6 +1,6 @@ require 'logger'
require 'aws-sdk-core'
require 'active_support/notifications'
-require './lib/stream_reader/sequence_number_tracker'
-require './lib/stream_read... | Change file path for required files
|
diff --git a/lib/adauth/config.rb b/lib/adauth/config.rb
index abc1234..def5678 100644
--- a/lib/adauth/config.rb
+++ b/lib/adauth/config.rb
@@ -35,11 +35,7 @@ private
def work_out_base(s)
- dcs = []
- s.split(/\./).each do |split|
- dcs.push("dc=#{split}"... | Change how adauth calculates the base
|
diff --git a/lib/blogstats/cli.rb b/lib/blogstats/cli.rb
index abc1234..def5678 100644
--- a/lib/blogstats/cli.rb
+++ b/lib/blogstats/cli.rb
@@ -9,8 +9,10 @@
def run(args = ARGV)
directory = Pathname.new(args.empty? ? Dir.getwd : args.first)
- stats = directory.each_child.reject(&:directory?).map { |f... | Reformat main file processing pipeline
|
diff --git a/app/lib/guaranteed_income_calculator.rb b/app/lib/guaranteed_income_calculator.rb
index abc1234..def5678 100644
--- a/app/lib/guaranteed_income_calculator.rb
+++ b/app/lib/guaranteed_income_calculator.rb
@@ -31,14 +31,14 @@ pot * TAXABLE_POT_PORTION
end
- # https://pensionwise-guidance.atlassian.... | Update annuity rates for February
|
diff --git a/app/serializers/news_feed_serializer.rb b/app/serializers/news_feed_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/news_feed_serializer.rb
+++ b/app/serializers/news_feed_serializer.rb
@@ -21,16 +21,9 @@ end
def comment
- first_substory = object.substories.first
- # FIXME Th... | Comment formatting performing in model.
|
diff --git a/test/spec/test_service_base.rb b/test/spec/test_service_base.rb
index abc1234..def5678 100644
--- a/test/spec/test_service_base.rb
+++ b/test/spec/test_service_base.rb
@@ -1,7 +1,6 @@ # encoding: utf-8
require 'rspec/given'
-require 'amqp'
require 'redis'
require_relative 'helpers/connection'
| Fix stale amqp require in tests
|
diff --git a/lib/nehm/playlist_manager.rb b/lib/nehm/playlist_manager.rb
index abc1234..def5678 100644
--- a/lib/nehm/playlist_manager.rb
+++ b/lib/nehm/playlist_manager.rb
@@ -1,14 +1,14 @@ module Nehm
module PlaylistManager
def self.playlist
- @temp_playlist || default_user_playlist || music_master_libra... | Add check for OS in PlaylistManager.playlist
|
diff --git a/lib/rake/rake_test_loader.rb b/lib/rake/rake_test_loader.rb
index abc1234..def5678 100644
--- a/lib/rake/rake_test_loader.rb
+++ b/lib/rake/rake_test_loader.rb
@@ -2,19 +2,23 @@
# Load the test files from the command line.
argv = ARGV.select do |argument|
- case argument
- when /^-/ then
- argument... | Make LoadError from running tests more obvious
|
diff --git a/lib/tasks/redmine_audit.rake b/lib/tasks/redmine_audit.rake
index abc1234..def5678 100644
--- a/lib/tasks/redmine_audit.rake
+++ b/lib/tasks/redmine_audit.rake
@@ -17,6 +17,11 @@ # TODO: stop load twice this .rake file.
if !Rake::Task.task_defined?(:audit)
task audit: :environment do
+ users... | Raise if 'users' environment variable does not be specified.
|
diff --git a/lib/deep_cover/ast_root.rb b/lib/deep_cover/ast_root.rb
index abc1234..def5678 100644
--- a/lib/deep_cover/ast_root.rb
+++ b/lib/deep_cover/ast_root.rb
@@ -1,21 +1,16 @@ require_relative 'node'
module DeepCover
- class AstRoot
- include Node::Mixin
- include HasTracker
- include HasChild
-
+ ... | Make AstRoot a full node
|
diff --git a/MetasploitPenTestScript.gemspec b/MetasploitPenTestScript.gemspec
index abc1234..def5678 100644
--- a/MetasploitPenTestScript.gemspec
+++ b/MetasploitPenTestScript.gemspec
@@ -20,7 +20,7 @@
spec.add_dependency 'msfrpc-client', '1.0.2'
- spec.add_development_dependency 'bundler', '~> 1.6'
+ spec.add... | Remove version pinning for RSpec and Bundler to try to fix TravisCI
|
diff --git a/db/migrate/20160922152700_convert_legacy_facilitators_to_participants.rb b/db/migrate/20160922152700_convert_legacy_facilitators_to_participants.rb
index abc1234..def5678 100644
--- a/db/migrate/20160922152700_convert_legacy_facilitators_to_participants.rb
+++ b/db/migrate/20160922152700_convert_legacy_fac... | Revise legacy facilitator import script
|
diff --git a/Aardvark.podspec b/Aardvark.podspec
index abc1234..def5678 100644
--- a/Aardvark.podspec
+++ b/Aardvark.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = 'Aardvark'
s.version = '1.0.2'
- s.license = 'Apache'
+ s.license = 'Apache License, Version 2.0'
s.summary = 'Aardvark is a libra... | Use proper license name in the podspec
|
diff --git a/spec/cocaine/command_line/runners/fake_runner_spec.rb b/spec/cocaine/command_line/runners/fake_runner_spec.rb
index abc1234..def5678 100644
--- a/spec/cocaine/command_line/runners/fake_runner_spec.rb
+++ b/spec/cocaine/command_line/runners/fake_runner_spec.rb
@@ -10,13 +10,13 @@ it 'can tell if a command... | Change assertion syntax to match Thoughtbot style guide
|
diff --git a/lib/mixpanel_magic_lamp.rb b/lib/mixpanel_magic_lamp.rb
index abc1234..def5678 100644
--- a/lib/mixpanel_magic_lamp.rb
+++ b/lib/mixpanel_magic_lamp.rb
@@ -8,4 +8,6 @@
# Include and extend the magic lamp
Mixpanel.extend MixpanelMagicLamp::ClassMethods
-Mixpanel.include MixpanelMagicLamp::InstanceMethods... | Include as a private method call
|
diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/activities_controller.rb
+++ b/app/controllers/activities_controller.rb
@@ -6,7 +6,7 @@ if params[:activity]
@activity = Activity.new(params[:activity])
el... | Fix attribute name in activites controller.
|
diff --git a/lib/puppet/type/ethtool.rb b/lib/puppet/type/ethtool.rb
index abc1234..def5678 100644
--- a/lib/puppet/type/ethtool.rb
+++ b/lib/puppet/type/ethtool.rb
@@ -3,20 +3,33 @@ newparam(:name)
{
:tso => 'if TCP segment offload is enabled or disabled for this interface',
+ :lro => 'Specifies whether l... | Fix up the type to know about the new arguments
|
diff --git a/lib/skroutz_api/parsing.rb b/lib/skroutz_api/parsing.rb
index abc1234..def5678 100644
--- a/lib/skroutz_api/parsing.rb
+++ b/lib/skroutz_api/parsing.rb
@@ -1,11 +1,11 @@ module SkroutzApi::Parsing
def parse_body(response)
- OpenStruct.new((JSON.parse response.body)[resource_prefix.singularize])
+ ... | Make SkroutzApi::Parsing parse methods return SkroutzApi::Resource instances instead of Openstructs
|
diff --git a/qa/qa/page/main/groups.rb b/qa/qa/page/main/groups.rb
index abc1234..def5678 100644
--- a/qa/qa/page/main/groups.rb
+++ b/qa/qa/page/main/groups.rb
@@ -5,7 +5,7 @@ def prepare_test_namespace
return if page.has_content?(Runtime::Namespace.name)
- click_on 'New Group'
+ ... | Fix new group button label in GitLab QA specs
|
diff --git a/lib/spikor_forge/module.rb b/lib/spikor_forge/module.rb
index abc1234..def5678 100644
--- a/lib/spikor_forge/module.rb
+++ b/lib/spikor_forge/module.rb
@@ -22,14 +22,19 @@ end
# TODO: support others than GNU tar
`tar -z -x -O --wildcards -f #{@path} '*/metadata.json' > #{@metadata_path}`
+ ... | Raise errors if metadata extraction and reading fails
|
diff --git a/ast.gemspec b/ast.gemspec
index abc1234..def5678 100644
--- a/ast.gemspec
+++ b/ast.gemspec
@@ -1,9 +1,10 @@ Gem::Specification.new do |s|
s.name = 'ast'
s.version = '2.0.0'
+ s.license = 'MIT'
s.authors = ["Peter Zotov"]
s.email = ["whitequark@whitequark.org"]
- s.ho... | Update license and homepage in gemspec.
|
diff --git a/lib/template/lib/routes.rb b/lib/template/lib/routes.rb
index abc1234..def5678 100644
--- a/lib/template/lib/routes.rb
+++ b/lib/template/lib/routes.rb
@@ -4,7 +4,10 @@ use Pliny::Middleware::RequestID
use Pliny::Middleware::RequestStore::Seed, store: Pliny::RequestStore
use Pliny::Middleware::Metr... | Add CanonicalLogLineEmitter to template middleware stack
|
diff --git a/app/controllers/answers_controller.rb b/app/controllers/answers_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/answers_controller.rb
+++ b/app/controllers/answers_controller.rb
@@ -11,7 +11,7 @@ def create
@answer=Answer.new(answer_params)
if @answer.save
- redirect_to :... | Add show route rediret to
|
diff --git a/app/controllers/fluentd_controller.rb b/app/controllers/fluentd_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/fluentd_controller.rb
+++ b/app/controllers/fluentd_controller.rb
@@ -6,7 +6,7 @@ end
def new
- @fluentd = Fluentd.new(Fluentd::Agent::Fluentd.default_options) # TODO:... | Set default API endpoint for fluentd
|
diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/members_controller.rb
+++ b/app/controllers/members_controller.rb
@@ -20,7 +20,7 @@ private
def set_member
- @member = User.current.find_by_forum_name(params[:foru... | Allow members to be found case insensitively
|
diff --git a/app/models/spree/payment_decorator.rb b/app/models/spree/payment_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/payment_decorator.rb
+++ b/app/models/spree/payment_decorator.rb
@@ -1,9 +1,10 @@-Spree::Payment.class_eval do
- alias_method :original_update_order, :update_order
-
- def up... | Fix problem with stack level too deep on PaymentDecorator
|
diff --git a/app/models/spree/variant_decorator.rb b/app/models/spree/variant_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/variant_decorator.rb
+++ b/app/models/spree/variant_decorator.rb
@@ -3,8 +3,8 @@ alias_method :orig_price_in, :price_in
def price_in(currency)
- return orig_pri... | Fix how we select sale price
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -10,7 +10,14 @@ link = page.css('td.cafename')[item_num].css('a').first['href']
members = page.css('td.member')[item_num].text.gsub(/,/, '').to_f
members = 0 if members < 1
- Cafe.create(title: n... | Update seed to check for existing db entries
|
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.1.5'
+ s.version = '0.1.6'
s.summary = 'Client for t... | Package version is increased from 0.1.5 to 0.1.6
|
diff --git a/EEEOperationCenter.podspec b/EEEOperationCenter.podspec
index abc1234..def5678 100644
--- a/EEEOperationCenter.podspec
+++ b/EEEOperationCenter.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "EEEOperationCenter"
- s.version = "0.1.0"
+ s.version = "0.0.1"
s.summ... | Reset version number to 0.0.1 |
diff --git a/app/controllers/contacts_controller.rb b/app/controllers/contacts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/contacts_controller.rb
+++ b/app/controllers/contacts_controller.rb
@@ -7,6 +7,7 @@ include QrcodeHelper
skip_before_action :allow_cors
+ skip_before_action :set_menu_... | Add skip_before_action for mapbox_popup action in ContactsController
|
diff --git a/app/controllers/location_controller.rb b/app/controllers/location_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/location_controller.rb
+++ b/app/controllers/location_controller.rb
@@ -12,7 +12,7 @@ return unless params[:location]
locations = WoeidHelper.search_by_name(params[... | Normalize single result location check
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -9,4 +9,8 @@ ExpenseType.create(name: "Phone")
ExpenseType.create(name: "Misc. 1")
ExpenseType.create(name: "Misc. 2")
-ExpenseType.create(name: "Misc. 3")+ExpenseType.create(name: "Misc. 3")
+
+PurchaseType.cr... | Add purchase type seed data
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -1,9 +1,5 @@-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup... | Add seed data for auditoriums.
|
diff --git a/app/controllers/requests_controller.rb b/app/controllers/requests_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/requests_controller.rb
+++ b/app/controllers/requests_controller.rb
@@ -4,7 +4,11 @@ job = Job.find(params[:job_id])
if @request.save
Notification.create(
- ... | Add request to notification when request is created
|
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
@@ -12,7 +12,7 @@ login_user
if admin?
flash[:notice] = "Login Successful!"
- ... | Change route on session controller for admin so that they are redirected to the homepage instead of a page listing all users
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -1,7 +1,27 @@-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setu... | Use the source xml to seed the db.
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -0,0 +1,44 @@+require 'open-uri'
+require 'active_record/fixtures'
+
+related_identifier_types = [
+ [ "DOI" ]
+ [ "URL" ]
+ [" arXiv "]
+ [" PMID "]
+ [" ARK "]
+ [" Handle "]
+ [" ISBN "]
+ [" ISTC"]
+ ... | Add Seed data to Load Relations and Related Identifiers
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -1,7 +1,15 @@-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setu... | Add seed data for testing
|
diff --git a/elk.gemspec b/elk.gemspec
index abc1234..def5678 100644
--- a/elk.gemspec
+++ b/elk.gemspec
@@ -21,7 +21,7 @@ s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ["README.MD", "MIT-LICENSE"]
- s.required_ruby_version = ">= 2.4.0"
+ s.required_ruby_version = ">= 2.3.0"
# elk dependencies
... | Allow "Ruby" 2.3 to ensure jruby works
I broke JRuby (at least 9.1, 9.2) in 0937423d5c039de2d4c0eb5443f00624d8140404
|
diff --git a/app/decorators/guest_book_decorator.rb b/app/decorators/guest_book_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/guest_book_decorator.rb
+++ b/app/decorators/guest_book_decorator.rb
@@ -7,7 +7,7 @@ delegate_all
def content
- model.content.html_safe
+ model.content.html_safe i... | Add verification if content? before to display guest_book content
|
diff --git a/lib/syllabus/core.rb b/lib/syllabus/core.rb
index abc1234..def5678 100644
--- a/lib/syllabus/core.rb
+++ b/lib/syllabus/core.rb
@@ -5,9 +5,6 @@ extend SpecInfra::Helper::DetectOS
def self.run(args)
- # XXX
- extend SpecInfra::Helper.const_get(args[:type])
-
backend = backend_for(args[:typ... | Remove unnecessary statement along with the update of specinfra
|
diff --git a/lib/data_mapper/mapper/relationship/builder/many_to_one.rb b/lib/data_mapper/mapper/relationship/builder/many_to_one.rb
index abc1234..def5678 100644
--- a/lib/data_mapper/mapper/relationship/builder/many_to_one.rb
+++ b/lib/data_mapper/mapper/relationship/builder/many_to_one.rb
@@ -9,7 +9,7 @@ d... | Make the receiver of the call explicit
|
diff --git a/app/jobs/event_job.rb b/app/jobs/event_job.rb
index abc1234..def5678 100644
--- a/app/jobs/event_job.rb
+++ b/app/jobs/event_job.rb
@@ -1,12 +1,11 @@ # A generic job for sending events to a user.
#
-# This class does not implement a usable action, so it must be implemented in a child class
-#
+# @abstract... | Remove unused mixins from EventJob
Reverts part of
https://github.com/projecthydra-labs/hyrax/commit/a397bd67277bfc2ccb83e4a637e4a2f53850fd7a
I don't think these mixins were ever doing anything useful
|
diff --git a/lib/govuk_content_models/require_all.rb b/lib/govuk_content_models/require_all.rb
index abc1234..def5678 100644
--- a/lib/govuk_content_models/require_all.rb
+++ b/lib/govuk_content_models/require_all.rb
@@ -1,7 +1,7 @@ # Require this file in a non-Rails app to load all the things
%w[ app/models app/val... | Fix incorrect load path munging
|
diff --git a/app/models/ability.rb b/app/models/ability.rb
index abc1234..def5678 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -3,13 +3,20 @@ include Sufia::Ability
def featured_work_abilities
- can [:create, :destroy, :update], FeaturedWork if user_groups.include? 'umg/up.dlt.scholarsphe... | Add abilities added to Sufia but missed in ScholarSphere due to overriding at the method level. (PR also put in to Sufia so that adopters no longer need to override methods like this.)
|
diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/errors_controller.rb
+++ b/app/controllers/errors_controller.rb
@@ -5,6 +5,6 @@ before_filter :notify_airbrake_if_needed
def notify_airbrake_if_needed
- notify_airbrake(... | Check if airbrake is available
|
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,7 +1,32 @@+#
+# == EventsController
+#
class EventsController < ApplicationController
+ before_action :set_... | Improve index and show action for Events controller
|
diff --git a/lib/tasks/import/covid19_shielding.rake b/lib/tasks/import/covid19_shielding.rake
index abc1234..def5678 100644
--- a/lib/tasks/import/covid19_shielding.rake
+++ b/lib/tasks/import/covid19_shielding.rake
@@ -0,0 +1,35 @@+SERVICE_MAPPINGS = {
+ "shielding" => { lgsl: 1287, lgil: 8 },
+ "vulnerable"... | Add import script for COVID-19 URLs for vulnerable people
We have been crowdsourcing URLs for council-provided Community Response
Hubs on [TheyHelpYou][theyhelpyou]. We've been collecting and verifying
these URLs on a publicly open [Google Sheet][sheet]. Updates to this
sheet are automatically added to our database wi... |
diff --git a/lib/weather_reporter/console_printer.rb b/lib/weather_reporter/console_printer.rb
index abc1234..def5678 100644
--- a/lib/weather_reporter/console_printer.rb
+++ b/lib/weather_reporter/console_printer.rb
@@ -1,11 +1,31 @@ module WeatherReporter
class ConsolePrinter
+
+ ERROR_MESSAGE = 'Sorry weather ... | Handle error code from api
Handle empty current object
|
diff --git a/app/mailers/account_mailer.rb b/app/mailers/account_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/account_mailer.rb
+++ b/app/mailers/account_mailer.rb
@@ -1,5 +1,5 @@ class AccountMailer < ActionMailer::Base
- default from: "from@example.com"
+ default from: "clinton@dreisbach.us"
def p... | Update email to be an authorized one
|
diff --git a/app/processors/application.rb b/app/processors/application.rb
index abc1234..def5678 100644
--- a/app/processors/application.rb
+++ b/app/processors/application.rb
@@ -2,7 +2,8 @@
def ActiveMessaging.logger
@@logger ||= begin
- logger = ActiveSupport::BufferedLogger.new(File.join(RAILS_ROOT... | Make the poller log to stdout except for when we're in the production environment
|
diff --git a/app/services/channels/base.rb b/app/services/channels/base.rb
index abc1234..def5678 100644
--- a/app/services/channels/base.rb
+++ b/app/services/channels/base.rb
@@ -3,12 +3,26 @@ module Channels
class Base < Struct.new(:subscription, :event)
def self.call(subscription, event)
- ... | Add configuration option to suppress notifications
|
diff --git a/lib/handlers/uakari_delivery_handler.rb b/lib/handlers/uakari_delivery_handler.rb
index abc1234..def5678 100644
--- a/lib/handlers/uakari_delivery_handler.rb
+++ b/lib/handlers/uakari_delivery_handler.rb
@@ -14,8 +14,8 @@ :track_clicks => settings[:track_clicks],
:message => {
:subjec... | Fix text <-> html oops
|
diff --git a/lib/infrataster/plugin/firewall/util.rb b/lib/infrataster/plugin/firewall/util.rb
index abc1234..def5678 100644
--- a/lib/infrataster/plugin/firewall/util.rb
+++ b/lib/infrataster/plugin/firewall/util.rb
@@ -5,7 +5,7 @@ # Util
class Util
def self.address(node)
- if node.respo... | Fix to accept String for node
|
diff --git a/lib/manageiq/providers/amazon/engine.rb b/lib/manageiq/providers/amazon/engine.rb
index abc1234..def5678 100644
--- a/lib/manageiq/providers/amazon/engine.rb
+++ b/lib/manageiq/providers/amazon/engine.rb
@@ -13,6 +13,14 @@ def self.plugin_name
_('Amazon Provider')
end
+
+ ... | Move logger initialization and configuration into plugins
|
diff --git a/lib/qless/middleware/redis_reconnect.rb b/lib/qless/middleware/redis_reconnect.rb
index abc1234..def5678 100644
--- a/lib/qless/middleware/redis_reconnect.rb
+++ b/lib/qless/middleware/redis_reconnect.rb
@@ -9,6 +9,7 @@ define_singleton_method :to_s do
'Qless::Middleware::RedisReconn... | Fix spec that was failing on 2.0. |
diff --git a/lib/scanny/checks/xss/xss_send_check.rb b/lib/scanny/checks/xss/xss_send_check.rb
index abc1234..def5678 100644
--- a/lib/scanny/checks/xss/xss_send_check.rb
+++ b/lib/scanny/checks/xss/xss_send_check.rb
@@ -4,17 +4,25 @@ # This can lead to download of private files from a server or to a XSS issue.
... | Add implementation for param argument
Update CWE and impacts
|
diff --git a/elk.gemspec b/elk.gemspec
index abc1234..def5678 100644
--- a/elk.gemspec
+++ b/elk.gemspec
@@ -17,7 +17,6 @@ s.license = 'MIT'
s.platform = Gem::Platform::RUBY
- s.has_rdoc = true
s.extra_rdoc_files = ["README.MD", "MIT-LICENSE"]
s.required_ruby_version = ">= 2.3.0"
| Remove deprecated has_rdoc= from gemspec
Got this warning:
> NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
> Gem::Specification#has_rdoc= called from /home/henrik/auctionet/tmp/devbox/gems/bundler/gems/elk-5e762f7b2ad2/elk.gemspec:20. |
diff --git a/plugins/commands/plugin/command/repair.rb b/plugins/commands/plugin/command/repair.rb
index abc1234..def5678 100644
--- a/plugins/commands/plugin/command/repair.rb
+++ b/plugins/commands/plugin/command/repair.rb
@@ -22,7 +22,7 @@ return if !argv
raise Vagrant::Errors::CLIInvalidUsage, ... | Use availablity of local plugins file instead of option
|
diff --git a/juxtapose.gemspec b/juxtapose.gemspec
index abc1234..def5678 100644
--- a/juxtapose.gemspec
+++ b/juxtapose.gemspec
@@ -4,11 +4,11 @@ Gem::Specification.new do |spec|
spec.name = "juxtapose"
spec.version = Juxtapose::VERSION
- spec.authors = ["Joe Lind", "Thomas Mayfield"]
+ sp... | Add Jeffrey to authors and set homepage in gemspec. |
diff --git a/learn-co.gemspec b/learn-co.gemspec
index abc1234..def5678 100644
--- a/learn-co.gemspec
+++ b/learn-co.gemspec
@@ -19,6 +19,7 @@
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dependench "pry"
spec.add_runtime_depen... | Add pry to dev dependencies
|
diff --git a/app/views/wash_with_soap/error.builder b/app/views/wash_with_soap/error.builder
index abc1234..def5678 100644
--- a/app/views/wash_with_soap/error.builder
+++ b/app/views/wash_with_soap/error.builder
@@ -1,8 +1,8 @@ xml.instruct!
-xml.Envelope "xmlns:xsi" => 'http://www.w3.org/2001/XMLSchema-instance',
- ... | Remove namespace also from faultcode and faultstring
|
diff --git a/test/everypolitician/popolo/area_test.rb b/test/everypolitician/popolo/area_test.rb
index abc1234..def5678 100644
--- a/test/everypolitician/popolo/area_test.rb
+++ b/test/everypolitician/popolo/area_test.rb
@@ -1,29 +1,40 @@ require 'test_helper'
class AreaTest < Minitest::Test
- def test_reading_popo... | Switch Area test to real data
|
diff --git a/app/jobs/search_for_gist_job.rb b/app/jobs/search_for_gist_job.rb
index abc1234..def5678 100644
--- a/app/jobs/search_for_gist_job.rb
+++ b/app/jobs/search_for_gist_job.rb
@@ -8,7 +8,7 @@ response.each do |comment|
if JSON.parse(comment['body'])['keywords'].split(',').map(&:strip).include? key... | Make Search Result responce pretty
|
diff --git a/middleman-imageoptim.gemspec b/middleman-imageoptim.gemspec
index abc1234..def5678 100644
--- a/middleman-imageoptim.gemspec
+++ b/middleman-imageoptim.gemspec
@@ -17,7 +17,7 @@ gem.require_paths = ["lib"]
gem.add_dependency "middleman-core", [">= 3.0"]
- gem.add_dependency "image_optim", "~> 0.9.1... | Bump image_optim from 0.9.1 to 0.10.2
|
diff --git a/app/screens/add_timer_screen.rb b/app/screens/add_timer_screen.rb
index abc1234..def5678 100644
--- a/app/screens/add_timer_screen.rb
+++ b/app/screens/add_timer_screen.rb
@@ -20,10 +20,9 @@ :title => nil,
:key => :primary_values,
:rows => [{
- :key => ... | Enable auto capitalization on form
|
diff --git a/lib/docs/scrapers/react_native.rb b/lib/docs/scrapers/react_native.rb
index abc1234..def5678 100644
--- a/lib/docs/scrapers/react_native.rb
+++ b/lib/docs/scrapers/react_native.rb
@@ -3,7 +3,7 @@ self.name = 'React Native'
self.slug = 'react_native'
self.type = 'react'
- self.release = '0.... | Update React Native documentation (0.31)
|
diff --git a/lib/bbq/rspec.rb b/lib/bbq/rspec.rb
index abc1234..def5678 100644
--- a/lib/bbq/rspec.rb
+++ b/lib/bbq/rspec.rb
@@ -27,7 +27,11 @@ end
::RSpec.configure do |config|
- config.include Feature, :type => :acceptance, :example_group => {:file_path => %r{spec/acceptance}}
+ if Gem::Version.n... | Fix deprecation warning for RSpec 3
|
diff --git a/lib/modables_dsl/dsl/arguments.rb b/lib/modables_dsl/dsl/arguments.rb
index abc1234..def5678 100644
--- a/lib/modables_dsl/dsl/arguments.rb
+++ b/lib/modables_dsl/dsl/arguments.rb
@@ -33,11 +33,7 @@
# Else its a String, Integer, Boolean or Array.
else
- if args.include? :json
- ... | Remove :json support for non-hash types
|
diff --git a/capistrano-team_notifications.gemspec b/capistrano-team_notifications.gemspec
index abc1234..def5678 100644
--- a/capistrano-team_notifications.gemspec
+++ b/capistrano-team_notifications.gemspec
@@ -14,6 +14,7 @@ spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
+ spec... | Exclude screenshot from gem spec |
diff --git a/lib/buffet/cli.rb b/lib/buffet/cli.rb
index abc1234..def5678 100644
--- a/lib/buffet/cli.rb
+++ b/lib/buffet/cli.rb
@@ -23,7 +23,7 @@ end
end.parse!(args)
- specs = Buffet.extract_specs_from(opts.empty? ? 'spec' : opts)
+ specs = Buffet.extract_specs_from(opts.empty? ? ['spec'] :... | Fix Ruby 1.9 compatibility issue in options passing
Wrap "spec" in an array so that Ruby 1.9 doesn't freak out when we call
`#each` on it.
Related story:
http://www.pivotaltracker.com/story/show/32230263 (fixed)
("Fix Ruby 1.9 compatibility issue in options passing")
Change-Id: I90e26c7469e9042913feffdeb897375a9... |
diff --git a/app/helpers/availability_zone_helper/textual_summary.rb b/app/helpers/availability_zone_helper/textual_summary.rb
index abc1234..def5678 100644
--- a/app/helpers/availability_zone_helper/textual_summary.rb
+++ b/app/helpers/availability_zone_helper/textual_summary.rb
@@ -35,7 +35,7 @@ end
def textua... | Fix availability zone views when infra provider is not attached
When an OpenStack infrastructure provider is not attached to
the cloud provider, an "undefined method 'infra_ems'" error is
thrown. This fix adds a nil check on provider. If it is nil,
the disk capacity is not shown for the availability zone.
Fixes BZ: h... |
diff --git a/script/collect_results.rb b/script/collect_results.rb
index abc1234..def5678 100644
--- a/script/collect_results.rb
+++ b/script/collect_results.rb
@@ -0,0 +1,45 @@+require 'pathname'
+require 'json'
+
+results_raw_path = ARGV[0]
+
+results_path = Pathname.new(results_raw_path)
+all_stats_files = Dir.glob(... | Add script which collect results
|
diff --git a/lib/travis/build/addons/srcclr.rb b/lib/travis/build/addons/srcclr.rb
index abc1234..def5678 100644
--- a/lib/travis/build/addons/srcclr.rb
+++ b/lib/travis/build/addons/srcclr.rb
@@ -11,7 +11,24 @@ def before_finish
sh.if('$TRAVIS_TEST_RESULT = 0') do
sh.newline
- ... | Read SourceClear API token from config
If it's not empty, it defers to SRCCLR_API_TOKEN.
|
diff --git a/lib/tumugi/dag_result_reporter.rb b/lib/tumugi/dag_result_reporter.rb
index abc1234..def5678 100644
--- a/lib/tumugi/dag_result_reporter.rb
+++ b/lib/tumugi/dag_result_reporter.rb
@@ -7,7 +7,7 @@ include Tumugi::Mixin::Listable
def show(dag)
- headings = ['Task', 'Requires', 'Parameters', '... | Add elapsed time column to DAG result report
|
diff --git a/roo.gemspec b/roo.gemspec
index abc1234..def5678 100644
--- a/roo.gemspec
+++ b/roo.gemspec
@@ -6,21 +6,20 @@ Gem::Specification.new do |spec|
spec.name = 'roo'
spec.version = Roo::VERSION
- spec.authors = ['Thomas Preymesser', 'Hugh McGowan', 'Ben Woosley']
- spec.email ... | Update the gemspec and reduce the published gems size
|
diff --git a/config/initializers/01_app_config.rb b/config/initializers/01_app_config.rb
index abc1234..def5678 100644
--- a/config/initializers/01_app_config.rb
+++ b/config/initializers/01_app_config.rb
@@ -1,11 +1,20 @@ module Cartodb
def self.config
return @config if @config
+
+ begin
config_file_ha... | Raise error when important keys are missing fron app_config.yml
|
diff --git a/level_1/conditional_return_2/games.rb b/level_1/conditional_return_2/games.rb
index abc1234..def5678 100644
--- a/level_1/conditional_return_2/games.rb
+++ b/level_1/conditional_return_2/games.rb
@@ -0,0 +1,15 @@+# Conditional Return II
+# One of the most common places to use conditional returns is within ... | Add a problem to be solved using conditional retur
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.