diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/test/test_monitoring.rb b/test/test_monitoring.rb
index abc1234..def5678 100644
--- a/test/test_monitoring.rb
+++ b/test/test_monitoring.rb
@@ -3,7 +3,7 @@ require File.join(File.dirname(__FILE__), 'helper')
class TestMonitor
- attr_reader :listening, :closed
+ attr_reader :listening, :closed, :accept... | Update TestMonitor in case a port receives a connection during test
|
diff --git a/nil_conditional.gemspec b/nil_conditional.gemspec
index abc1234..def5678 100644
--- a/nil_conditional.gemspec
+++ b/nil_conditional.gemspec
@@ -4,11 +4,11 @@
Gem::Specification.new do |spec|
spec.name = 'nil_conditional'
- spec.version = '2.0.0'
+ spec.version = '2.0.1'
spec.... | Change homepage URL for better compatibility with rubygems
|
diff --git a/lib/elasticsearch-node.rb b/lib/elasticsearch-node.rb
index abc1234..def5678 100644
--- a/lib/elasticsearch-node.rb
+++ b/lib/elasticsearch-node.rb
@@ -34,7 +34,7 @@ end
def self.version
- @version || ENV["ES_VERSION"] || "0.19.7"
+ @version || ENV["ES_VERSION"] || "0.20.1"
end
... | Use 0.20.1 as new default ES_VERSION
|
diff --git a/lib/kosmos/package_dsl.rb b/lib/kosmos/package_dsl.rb
index abc1234..def5678 100644
--- a/lib/kosmos/package_dsl.rb
+++ b/lib/kosmos/package_dsl.rb
@@ -6,5 +6,8 @@ FileUtils.cp_r(File.join(self.class.download_dir, from),
File.join(self.class.ksp_path, destination))
end
+ def remove_f... | Add support to remove file or path
|
diff --git a/server/cookbooks/app-recipes-backend/metadata.rb b/server/cookbooks/app-recipes-backend/metadata.rb
index abc1234..def5678 100644
--- a/server/cookbooks/app-recipes-backend/metadata.rb
+++ b/server/cookbooks/app-recipes-backend/metadata.rb
@@ -10,4 +10,5 @@ depends 'apache2'
depends 'apt'
depends 'databa... | Add nginx as a dependency to app-recipes-backend
|
diff --git a/app/interactors/convert_tts.rb b/app/interactors/convert_tts.rb
index abc1234..def5678 100644
--- a/app/interactors/convert_tts.rb
+++ b/app/interactors/convert_tts.rb
@@ -35,7 +35,7 @@ TimetableSlot.new(slot_hash) do |s|
s.id = slot.id
s.parallel_id = parallel_id
- s.room = @rooms[r... | Fix import of TimetableSlots without room
|
diff --git a/spec/controllers/contributors_controller_spec.rb b/spec/controllers/contributors_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/contributors_controller_spec.rb
+++ b/spec/controllers/contributors_controller_spec.rb
@@ -7,8 +7,14 @@ let!(:user) { create(:user) }
let!(:... | Add spec for unteamed organizers
|
diff --git a/spec/lib/services/api/options_serializer_spec.rb b/spec/lib/services/api/options_serializer_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/services/api/options_serializer_spec.rb
+++ b/spec/lib/services/api/options_serializer_spec.rb
@@ -0,0 +1,15 @@+RSpec.describe Api::OptionsSerializer do
+ it "re... | Add a smoke test for OptionsSerializer
|
diff --git a/spec/unit/vagrant-proxyconf/config/proxy_spec.rb b/spec/unit/vagrant-proxyconf/config/proxy_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/vagrant-proxyconf/config/proxy_spec.rb
+++ b/spec/unit/vagrant-proxyconf/config/proxy_spec.rb
@@ -0,0 +1,57 @@+require 'spec_helper'
+require 'vagrant-proxyconf/... | Add unit tests for Config::Proxy class
|
diff --git a/app/models/concerns/tagging.rb b/app/models/concerns/tagging.rb
index abc1234..def5678 100644
--- a/app/models/concerns/tagging.rb
+++ b/app/models/concerns/tagging.rb
@@ -11,6 +11,8 @@ taggables = Array.new
taggables << self.reaction if defined? self.reaction
taggables << self.sample if defi... | Update tag for wellplate and screen
|
diff --git a/lib/carbonmu/edge_router/telnet_connection.rb b/lib/carbonmu/edge_router/telnet_connection.rb
index abc1234..def5678 100644
--- a/lib/carbonmu/edge_router/telnet_connection.rb
+++ b/lib/carbonmu/edge_router/telnet_connection.rb
@@ -18,6 +18,7 @@
def run
info "*** Received telnet connection #{i... | Set player to superadmin for now on new connections.
|
diff --git a/lib/tasks/import/hits_mappings_relations.rake b/lib/tasks/import/hits_mappings_relations.rake
index abc1234..def5678 100644
--- a/lib/tasks/import/hits_mappings_relations.rake
+++ b/lib/tasks/import/hits_mappings_relations.rake
@@ -2,7 +2,7 @@
namespace :import do
desc 'Refresh c14nd path relations be... | Rename the rake task to match its class
|
diff --git a/lib/yard/generators/method_signature_generator.rb b/lib/yard/generators/method_signature_generator.rb
index abc1234..def5678 100644
--- a/lib/yard/generators/method_signature_generator.rb
+++ b/lib/yard/generators/method_signature_generator.rb
@@ -1,35 +1,18 @@ module YARD
module Generators
class M... | Move method formatting helpers into MethodHelper
|
diff --git a/config/initializers/01_configure_from_env.rb b/config/initializers/01_configure_from_env.rb
index abc1234..def5678 100644
--- a/config/initializers/01_configure_from_env.rb
+++ b/config/initializers/01_configure_from_env.rb
@@ -13,7 +13,9 @@ end
if ENV['QUERY_CONCURRENCY']
- Pancakes::Config.from_env :... | Correct massive brain fart re: concurrency level setup.
|
diff --git a/config/initializers/carrier_wave.rb b/config/initializers/carrier_wave.rb
index abc1234..def5678 100644
--- a/config/initializers/carrier_wave.rb
+++ b/config/initializers/carrier_wave.rb
@@ -5,7 +5,7 @@ aws_access_key_id: ENV['S3_ACCESS_KEY'],
aws_secret_access_key: ENV['S3_SECRET_KEY'],
... | Modify AWS s3 endpoint url
|
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -5,6 +5,7 @@
def restart
@user = User.find(session[:user_id])
+ Dir.mkdir('tmp') unless File.exists?(Rai... | Make tmp dir for restart.txt if it doesn't exist
|
diff --git a/app/controllers/delay_controller.rb b/app/controllers/delay_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/delay_controller.rb
+++ b/app/controllers/delay_controller.rb
@@ -1,18 +1,18 @@ require_relative 'base_controller'
-
+require 'byebug'
module Slowwly
class DelayController < Bas... | Tidy up DeejayController; bit of duplication but we will erradicate later :o
|
diff --git a/http_content_type.gemspec b/http_content_type.gemspec
index abc1234..def5678 100644
--- a/http_content_type.gemspec
+++ b/http_content_type.gemspec
@@ -13,7 +13,7 @@ s.description = 'This gem allows you to check the Content-Type of any HTTP-accessible asset.'
s.homepage = 'http://rubygems.org/g... | Fix file name in gemspec
|
diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/pages_controller.rb
+++ b/app/controllers/pages_controller.rb
@@ -19,6 +19,6 @@ end
def letsencrypt
- render text: "G__wcFN5HBF3wdt4715kV_ZC8dlsipOuAcomh6DiLI.8irEjcOIniTc... | Fix typo in verification string
|
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -0,0 +1,20 @@+get '/' do
+ erb :'index'
+end
+
+get '/users/new/?' do
+ @user = User.new
+ erb :'users/new'
+end
... | Add home route, user routes
|
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -1,5 +1,6 @@ class UsersController < ApplicationController
respond_to :html
+ before_filter :hide_filters!, only... | Hide filters in another couple of places
|
diff --git a/app/services/application_service.rb b/app/services/application_service.rb
index abc1234..def5678 100644
--- a/app/services/application_service.rb
+++ b/app/services/application_service.rb
@@ -8,7 +8,7 @@ # the Rails application name
def application_name
default = Rails.application.class.nam... | Change application name so it's not always lowercase
|
diff --git a/manifests/cf-manifest/spec/manifest_validation_spec.rb b/manifests/cf-manifest/spec/manifest_validation_spec.rb
index abc1234..def5678 100644
--- a/manifests/cf-manifest/spec/manifest_validation_spec.rb
+++ b/manifests/cf-manifest/spec/manifest_validation_spec.rb
@@ -0,0 +1,80 @@+require 'yaml'
+
+RSpec.de... | Add generic tests for manifest validity.
Initial tests that can be run against any Bosh manifest to validate some
basic properties. This initial pass only validates that resource names
are unique, and that all cross-references in the manifest exist.
These are currently applied against the combined upstream manifest.
|
diff --git a/acceptance/setup/foss_install.rb b/acceptance/setup/foss_install.rb
index abc1234..def5678 100644
--- a/acceptance/setup/foss_install.rb
+++ b/acceptance/setup/foss_install.rb
@@ -1,7 +1,7 @@ test_name "Install ACL Module on Master"
-step "Clone Git Repo"
-on master, "git clone https://github.com/cowofev... | Fix incorrect Git repo for the FOSS install script
|
diff --git a/app/models/attachment.rb b/app/models/attachment.rb
index abc1234..def5678 100644
--- a/app/models/attachment.rb
+++ b/app/models/attachment.rb
@@ -14,4 +14,10 @@ def self.codes
[['Brief-Template', 'Prawn::LetterDocument']]
end
+
+ before_save :create_title
+ private
+ def create_title
+ ... | Use the file name as title when nothing is definied.
|
diff --git a/plugins/suppliers/lib/suppliers_plugin/terms_helper.rb b/plugins/suppliers/lib/suppliers_plugin/terms_helper.rb
index abc1234..def5678 100644
--- a/plugins/suppliers/lib/suppliers_plugin/terms_helper.rb
+++ b/plugins/suppliers/lib/suppliers_plugin/terms_helper.rb
@@ -1,6 +1,8 @@ module SuppliersPlugin::Ter... | Fix use of format on older systems
|
diff --git a/app/graphql/inputs/user/login.rb b/app/graphql/inputs/user/login.rb
index abc1234..def5678 100644
--- a/app/graphql/inputs/user/login.rb
+++ b/app/graphql/inputs/user/login.rb
@@ -10,7 +10,8 @@
argument :login, String, required: true
argument :password, String, required: true
- argument... | Update the userLoginInput to default to "false".
Also replaces a null "remember_me" with the default
|
diff --git a/app/jobs/onceoff/grant_onebox.rb b/app/jobs/onceoff/grant_onebox.rb
index abc1234..def5678 100644
--- a/app/jobs/onceoff/grant_onebox.rb
+++ b/app/jobs/onceoff/grant_onebox.rb
@@ -0,0 +1,35 @@+module Jobs
+
+ class GrantOnebox < Jobs::Onceoff
+ sidekiq_options queue: 'low'
+
+ def execute_onceoff(ar... | Add onceoff job to backfill oneboxes
|
diff --git a/app/jobs/send_bulk_ticket_job.rb b/app/jobs/send_bulk_ticket_job.rb
index abc1234..def5678 100644
--- a/app/jobs/send_bulk_ticket_job.rb
+++ b/app/jobs/send_bulk_ticket_job.rb
@@ -0,0 +1,16 @@+class SendBulkTicketJob
+ include SuckerPunch::Job
+
+ def perform(conference, filter)
+
+ case filter
+ w... | Add a SuckerPunch job to transition events with their notify transition
|
diff --git a/plugins/provisioners/puppet/plugin.rb b/plugins/provisioners/puppet/plugin.rb
index abc1234..def5678 100644
--- a/plugins/provisioners/puppet/plugin.rb
+++ b/plugins/provisioners/puppet/plugin.rb
@@ -1,7 +1,7 @@ require "vagrant"
module VagrantPlugins
- module Pupppet
+ module Puppet
class Plugin... | Fix typo to make puppet provisioners work again
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -15,7 +15,7 @@ depends 'user'
depends 'partial_search'
depends 'sudo', '< 3.0.0'
-depends 'nagios', '< 8.0.0'
+depends 'nagios'
depends 'nrpe'
supports 'centos', '~> 6.0'
| Remove dep lock on nagios < 8.0.0 since we need to update it now
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -3,7 +3,7 @@ maintainer_email "msimons@inviqa.com"
license "Apache 2.0"
description "enable driving cookbooks that are not normally config driven to be so"
-version "1.3.6"
+version ... | Bump up version to 1.3.7
|
diff --git a/app/models/borrow.rb b/app/models/borrow.rb
index abc1234..def5678 100644
--- a/app/models/borrow.rb
+++ b/app/models/borrow.rb
@@ -15,13 +15,7 @@ def due_date_in_words
words = time_ago_in_words(self.due_date)
self.due_date.past? ? "+#{words}" : "-#{words}"
- end
-
- def due_date= due_date
- ... | Remove due_date= which wasn't being used.
|
diff --git a/features/step_definitions/filtering_steps.rb b/features/step_definitions/filtering_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/filtering_steps.rb
+++ b/features/step_definitions/filtering_steps.rb
@@ -5,9 +5,9 @@ Then(/^I can get a list of all merger inquiries$/) do
visit find... | Update tests for new markup
|
diff --git a/async_invocation.gemspec b/async_invocation.gemspec
index abc1234..def5678 100644
--- a/async_invocation.gemspec
+++ b/async_invocation.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-async_invocation'
- s.version = '1.0.0.0'
+ s.version = '2.0.0.0'
s.... | Package version is increased from 1.0.0.0 to 2.0.0.0
|
diff --git a/attr_sanitizable.gemspec b/attr_sanitizable.gemspec
index abc1234..def5678 100644
--- a/attr_sanitizable.gemspec
+++ b/attr_sanitizable.gemspec
@@ -10,8 +10,8 @@ s.homepage = 'https://github.com/aaronprice/attr_sanitizable'
s.license = 'MIT'
- s.add_dependency('activerecord', '~> 3.1', '>= 3... | Allow inclusion in rails 4.
|
diff --git a/config/initializers/postgres_required_versions.rb b/config/initializers/postgres_required_versions.rb
index abc1234..def5678 100644
--- a/config/initializers/postgres_required_versions.rb
+++ b/config/initializers/postgres_required_versions.rb
@@ -5,13 +5,13 @@ end
def check_version
- msg = "The ... | Allow pg 10-14+ in dev, require pg 13 in production
|
diff --git a/lib/active_mocker/mock.rb b/lib/active_mocker/mock.rb
index abc1234..def5678 100644
--- a/lib/active_mocker/mock.rb
+++ b/lib/active_mocker/mock.rb
@@ -1,3 +1,4 @@+require 'active_support/dependencies/autoload'
require 'active_support/hash_with_indifferent_access'
require 'active_support/core_ext/module/... | Fix random build failure where active_support autoload can’t be found. |
diff --git a/generator.rb b/generator.rb
index abc1234..def5678 100644
--- a/generator.rb
+++ b/generator.rb
@@ -0,0 +1,75 @@+require 'opus-ruby'
+require 'json'
+
+VERSION = '2.0.0'
+
+# Generate a 10-second long file, or however many seconds specified by console arguments
+duration = ARGV[0]&.to_i || 10
+
+# Generate... | Write a file to generate the sine.dca file
|
diff --git a/rails_event_store/lib/rails_event_store/client.rb b/rails_event_store/lib/rails_event_store/client.rb
index abc1234..def5678 100644
--- a/rails_event_store/lib/rails_event_store/client.rb
+++ b/rails_event_store/lib/rails_event_store/client.rb
@@ -10,10 +10,14 @@ dispatcher: RubyEventSto... | Allow to pass clock & correlation id generator
Use the same defaults as in RubyEventStore::Client
|
diff --git a/lib/buildr_plus/common.rb b/lib/buildr_plus/common.rb
index abc1234..def5678 100644
--- a/lib/buildr_plus/common.rb
+++ b/lib/buildr_plus/common.rb
@@ -20,7 +20,7 @@
BuildrPlus::FeatureManager.activate_features([:repositories, :idea_codestyle, :product_version, :dialect_mapping, :libs, :publish, :ci])
... | Simplify activation of single feature
|
diff --git a/app/controllers/ansible_playbook_controller.rb b/app/controllers/ansible_playbook_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/ansible_playbook_controller.rb
+++ b/app/controllers/ansible_playbook_controller.rb
@@ -18,7 +18,7 @@ private
def textual_group_list
- [%i(properties... | Remove tags from Ansible Playbook summary page
|
diff --git a/app/controllers/management/sites_controller.rb b/app/controllers/management/sites_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/management/sites_controller.rb
+++ b/app/controllers/management/sites_controller.rb
@@ -1,5 +1,5 @@ class Management::SitesController < ManagementController
- ... | Set site on structure page
|
diff --git a/app/controllers/settings/exports_controller.rb b/app/controllers/settings/exports_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/settings/exports_controller.rb
+++ b/app/controllers/settings/exports_controller.rb
@@ -1,6 +1,8 @@ # frozen_string_literal: true
class Settings::ExportsCon... | Fix data export page error
|
diff --git a/db/migrate/20161112202920_add_state_to_signups.rb b/db/migrate/20161112202920_add_state_to_signups.rb
index abc1234..def5678 100644
--- a/db/migrate/20161112202920_add_state_to_signups.rb
+++ b/db/migrate/20161112202920_add_state_to_signups.rb
@@ -1,5 +1,5 @@ class AddStateToSignups < ActiveRecord::Migrati... | Add default value to not-null column (not having one is illegal in SQLite)
|
diff --git a/app/serializers/api/v2/itinerary_serializer.rb b/app/serializers/api/v2/itinerary_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/api/v2/itinerary_serializer.rb
+++ b/app/serializers/api/v2/itinerary_serializer.rb
@@ -9,7 +9,8 @@ :transit_time,
:walk_distance,
:w... | Add itinerary duration to serializer
|
diff --git a/lib/dimples/renderable.rb b/lib/dimples/renderable.rb
index abc1234..def5678 100644
--- a/lib/dimples/renderable.rb
+++ b/lib/dimples/renderable.rb
@@ -1,17 +1,28 @@ module Dimples
module Renderable
- def render(contents, context = {})
+ def render(context = {}, body = nil)
context[:site] |... | Switch the render param order, add the scope method
|
diff --git a/config/initializers/gds-sso.rb b/config/initializers/gds-sso.rb
index abc1234..def5678 100644
--- a/config/initializers/gds-sso.rb
+++ b/config/initializers/gds-sso.rb
@@ -2,5 +2,5 @@ config.user_model = "User"
config.oauth_id = ENV["OAUTH_ID"] || "abcdefg"
config.oauth_secret = ENV["OAUTH_SECRET"]... | Use external_url_for when configuring GDS::SSO
This needs to be the external URL as it is accessed through a users
browser.
|
diff --git a/config/initializers/gds-sso.rb b/config/initializers/gds-sso.rb
index abc1234..def5678 100644
--- a/config/initializers/gds-sso.rb
+++ b/config/initializers/gds-sso.rb
@@ -2,5 +2,5 @@ config.user_model = "User"
config.oauth_id = 'abcdefgh12345678'
config.oauth_secret = 'secret'
- config.oaut... | Change Need-o-tron to use Signonotron2
|
diff --git a/lib/dotenv/environment.rb b/lib/dotenv/environment.rb
index abc1234..def5678 100644
--- a/lib/dotenv/environment.rb
+++ b/lib/dotenv/environment.rb
@@ -7,7 +7,7 @@
def load
read.each do |line|
- self[$1] = $2 || $3 if line =~ /\A(\w+)(?:=|: ?)(?:['"]([^'"]*)['"]|([^'"]*))\z/
+ se... | Allow for env variables set with 'export' keyword
|
diff --git a/lib/garelic/middleware.rb b/lib/garelic/middleware.rb
index abc1234..def5678 100644
--- a/lib/garelic/middleware.rb
+++ b/lib/garelic/middleware.rb
@@ -8,8 +8,17 @@ status, headers, response = @app.call(env)
if headers["Content-Type"] =~ /text\/html|application\/xhtml\+xml/
- body = respons... | Fix method missing on redirect response.
|
diff --git a/spec/unit/puppet/parser/functions/firewall_multi_spec.rb b/spec/unit/puppet/parser/functions/firewall_multi_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/puppet/parser/functions/firewall_multi_spec.rb
+++ b/spec/unit/puppet/parser/functions/firewall_multi_spec.rb
@@ -0,0 +1,53 @@+require 'spec_help... | Add unit tests for the function.
|
diff --git a/spec/lib/ec2-security-czar/security_group_spec.rb b/spec/lib/ec2-security-czar/security_group_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/ec2-security-czar/security_group_spec.rb
+++ b/spec/lib/ec2-security-czar/security_group_spec.rb
@@ -0,0 +1,69 @@+require 'spec_helper.rb'
+require 'ec2-securit... | Add specs for the security group class
|
diff --git a/test/bmff/box/test_edit.rb b/test/bmff/box/test_edit.rb
index abc1234..def5678 100644
--- a/test/bmff/box/test_edit.rb
+++ b/test/bmff/box/test_edit.rb
@@ -0,0 +1,26 @@+# coding: utf-8
+# vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
+
+require_relative '../../minitest_helper'
+requir... | Add a test file for BMFF::Box::Edit.
|
diff --git a/db/migrate/20110627095017_add_new_event_type.rb b/db/migrate/20110627095017_add_new_event_type.rb
index abc1234..def5678 100644
--- a/db/migrate/20110627095017_add_new_event_type.rb
+++ b/db/migrate/20110627095017_add_new_event_type.rb
@@ -0,0 +1,17 @@+class AddNewEventType < ActiveRecord::Migration
+ def... | Add PERSON JOIN event type
|
diff --git a/db/migrate/20140428205755_add_slugs_to_ideas.rb b/db/migrate/20140428205755_add_slugs_to_ideas.rb
index abc1234..def5678 100644
--- a/db/migrate/20140428205755_add_slugs_to_ideas.rb
+++ b/db/migrate/20140428205755_add_slugs_to_ideas.rb
@@ -0,0 +1,9 @@+class AddSlugsToIdeas < ActiveRecord::Migration
+ def ... | Create migration to add slugs to Ideas
|
diff --git a/lib/peat/token_manager.rb b/lib/peat/token_manager.rb
index abc1234..def5678 100644
--- a/lib/peat/token_manager.rb
+++ b/lib/peat/token_manager.rb
@@ -2,14 +2,16 @@ module TokenManager
module_function
- def token
+ def token(fuel_client_id: nil, fuel_secret: nil)
fetch_token do... | Allow client id and secret to be provided in token call |
diff --git a/hephaestus/lib/resque/entities_extraction_task.rb b/hephaestus/lib/resque/entities_extraction_task.rb
index abc1234..def5678 100644
--- a/hephaestus/lib/resque/entities_extraction_task.rb
+++ b/hephaestus/lib/resque/entities_extraction_task.rb
@@ -28,11 +28,11 @@ pos = token.pos
page = find_page(t... | [hephaestus] Fix the way form is stored
|
diff --git a/spec/support/active_record_example_group.rb b/spec/support/active_record_example_group.rb
index abc1234..def5678 100644
--- a/spec/support/active_record_example_group.rb
+++ b/spec/support/active_record_example_group.rb
@@ -8,7 +8,7 @@ let(:task) { rake[self.class.description] }
let(:namespace) { ... | Fix issue with database transactions in specs.
It seems that since upgrading to Rails 3.1 and a newer version of the
sqlite3 gem that we need to reconnect to the database after each spec,
otherwise the DDL operations are no longer being reset properly.
|
diff --git a/lib/email_address/active_record_validator.rb b/lib/email_address/active_record_validator.rb
index abc1234..def5678 100644
--- a/lib/email_address/active_record_validator.rb
+++ b/lib/email_address/active_record_validator.rb
@@ -37,9 +37,10 @@ return if r[f].nil?
e = Address.new(r[f])
un... | Fix deprecation warning when adding error to Active Record object
In Rails 6.1, adding an error to an Active Record object using `<<`
will raise the following deprecation warning:
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message
array in order to add an error is deprecated. Please call
`ActiveModel... |
diff --git a/etc/deploy/deploy.rb b/etc/deploy/deploy.rb
index abc1234..def5678 100644
--- a/etc/deploy/deploy.rb
+++ b/etc/deploy/deploy.rb
@@ -23,7 +23,8 @@ set :linked_dirs, [
fetch(:log_path),
fetch(:session_path),
- fetch(:web_path) + "/uploads"
+ fetch(:web_path) + "/uploads",
+ fetch(:var_path... | Add search index to capistrano
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -7,7 +7,7 @@ version "0.0.1"
recipe "mosquitto", "Includes the recipe to configure the broker"
-%w{ debian ubuntu }.each do |os|
+%w{ debian ubuntu mac_os_x }.each do |os|
supports os
... | Mark OSX as supported (via homebrew)
|
diff --git a/spec/mailers/previews/alert_mailer_preview.rb b/spec/mailers/previews/alert_mailer_preview.rb
index abc1234..def5678 100644
--- a/spec/mailers/previews/alert_mailer_preview.rb
+++ b/spec/mailers/previews/alert_mailer_preview.rb
@@ -0,0 +1,9 @@+class AlertMailerPreview < ActionMailer::Preview
+ def alert_e... | Add a basic mailer preview for the alert emails
|
diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_event_stream.rb b/lib/miq_automation_engine/service_models/miq_ae_service_event_stream.rb
index abc1234..def5678 100644
--- a/lib/miq_automation_engine/service_models/miq_ae_service_event_stream.rb
+++ b/lib/miq_automation_engine/service_models/miq_ae... | Automate model changes for event switchboard.
All MiqEvent and EmsEvent are sent to automate for process.
Add EventStream#event_namespace to category the event object.
(transferred from ManageIQ/manageiq@559bd25f277d9ec169a82bdebd8d52f10cc00f82)
|
diff --git a/test/metamagic_test.rb b/test/metamagic_test.rb
index abc1234..def5678 100644
--- a/test/metamagic_test.rb
+++ b/test/metamagic_test.rb
@@ -10,4 +10,14 @@
assert_equal %{<title>My Title</title>\n<meta content="My description." name="description" />\n<meta content="One, Two, Three" name="keywords" />}... | Test not adding existing meta tags
|
diff --git a/spec/controllers/events_controller_spec.rb b/spec/controllers/events_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/events_controller_spec.rb
+++ b/spec/controllers/events_controller_spec.rb
@@ -10,6 +10,7 @@
describe "GET 'index.ics'" do
it "returns http success" do
+ ... | Add an event to the calendar test
|
diff --git a/spec/private/dispatch/route_params_spec.rb b/spec/private/dispatch/route_params_spec.rb
index abc1234..def5678 100644
--- a/spec/private/dispatch/route_params_spec.rb
+++ b/spec/private/dispatch/route_params_spec.rb
@@ -0,0 +1,19 @@+require File.join(File.dirname(__FILE__), "spec_helper")
+require 'rack/mo... | Add prelim spec for route_params
Spec passes, but issue still persists. Hmm...
|
diff --git a/test/test_reporting.rb b/test/test_reporting.rb
index abc1234..def5678 100644
--- a/test/test_reporting.rb
+++ b/test/test_reporting.rb
@@ -1,12 +1,12 @@-if ENV['SIMPLECOV']
+unless ENV['SIMPLECOV'].nil?
require 'simplecov'
SimpleCov.start
end
-if ENV['JENKINS_URL']
+unless ENV['CODECLIMATE_REPO_T... | Fix test coverage reporting during CI
|
diff --git a/pgn.gemspec b/pgn.gemspec
index abc1234..def5678 100644
--- a/pgn.gemspec
+++ b/pgn.gemspec
@@ -18,6 +18,8 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
+ spec.add_dependency "whittle"
+
spec.add_development_dependency "bundler", "~> 1.3"
spe... | Use whittle gem for parsing
|
diff --git a/lib/aptible/api/image.rb b/lib/aptible/api/image.rb
index abc1234..def5678 100644
--- a/lib/aptible/api/image.rb
+++ b/lib/aptible/api/image.rb
@@ -8,6 +8,7 @@ field :git_ref
field :docker_repo
field :docker_ref
+ field :dualstack_hint
field :created_at, type: Time
fi... | Add dualstack_hint field on Image
|
diff --git a/app/controllers/concerns/persistent_warnings.rb b/app/controllers/concerns/persistent_warnings.rb
index abc1234..def5678 100644
--- a/app/controllers/concerns/persistent_warnings.rb
+++ b/app/controllers/concerns/persistent_warnings.rb
@@ -3,7 +3,7 @@ extend ActiveSupport::Concern
included do
- ... | Decrease importance of persistent warnings on controllers
Notices set in another actions should overwrite the persistent ones.
|
diff --git a/db/migrate/002_add_user_id_to_pureftpd_users.rb b/db/migrate/002_add_user_id_to_pureftpd_users.rb
index abc1234..def5678 100644
--- a/db/migrate/002_add_user_id_to_pureftpd_users.rb
+++ b/db/migrate/002_add_user_id_to_pureftpd_users.rb
@@ -0,0 +1,9 @@+class AddUserIdToPureftpdUsers < ActiveRecord::Migratio... | Add a user_id column to the pureftpd_users table.
|
diff --git a/lib/data_mapper/constraints/adapters/extension.rb b/lib/data_mapper/constraints/adapters/extension.rb
index abc1234..def5678 100644
--- a/lib/data_mapper/constraints/adapters/extension.rb
+++ b/lib/data_mapper/constraints/adapters/extension.rb
@@ -4,7 +4,7 @@ module Extension
# Include the c... | Correct documented type of arg. |
diff --git a/lib/generators/brightcontent/install_generator.rb b/lib/generators/brightcontent/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/brightcontent/install_generator.rb
+++ b/lib/generators/brightcontent/install_generator.rb
@@ -23,6 +23,10 @@ copy_file "../../../../app/assets/st... | Create empty dir in controllers at install
|
diff --git a/config/initializers/check_migration_version.rb b/config/initializers/check_migration_version.rb
index abc1234..def5678 100644
--- a/config/initializers/check_migration_version.rb
+++ b/config/initializers/check_migration_version.rb
@@ -3,7 +3,7 @@ # skip when run from tasks like rake db:migrate, or from Ca... | Update migration check for rails 3
|
diff --git a/spec/requests/request_spec_helpers.rb b/spec/requests/request_spec_helpers.rb
index abc1234..def5678 100644
--- a/spec/requests/request_spec_helpers.rb
+++ b/spec/requests/request_spec_helpers.rb
@@ -2,7 +2,8 @@ def logon(project, release)
# We need to 'grant' permissions UserSession#current_user in... | Fix specs that were regressed by the validations on password confirmation
|
diff --git a/lib/myhub.rb b/lib/myhub.rb
index abc1234..def5678 100644
--- a/lib/myhub.rb
+++ b/lib/myhub.rb
@@ -10,6 +10,23 @@ set :logging, true
# Your code here ...
+ get "/" do
+ api = Github.new
+ # get stuff from github
+ erb :index, locals: { issues: stuff }
+ end
+
+ put "/iss... | Add a bit more structure.
|
diff --git a/images/spec/lib/refinery/images/options_spec.rb b/images/spec/lib/refinery/images/options_spec.rb
index abc1234..def5678 100644
--- a/images/spec/lib/refinery/images/options_spec.rb
+++ b/images/spec/lib/refinery/images/options_spec.rb
@@ -3,13 +3,37 @@ module Refinery
describe Images::Options do
... | Improve test coverage for options reset for images engine
|
diff --git a/lib/scamp.rb b/lib/scamp.rb
index abc1234..def5678 100644
--- a/lib/scamp.rb
+++ b/lib/scamp.rb
@@ -15,7 +15,7 @@ include Users
attr_accessor :channels, :user_cache, :channel_cache
- attr :matchers, :api_key, :subdomain
+ attr_accessor :matchers, :api_key, :subdomain
def initialize(options ... | Use attr_accessor to be 1.8 friendly
|
diff --git a/test/breadcrumb_test.rb b/test/breadcrumb_test.rb
index abc1234..def5678 100644
--- a/test/breadcrumb_test.rb
+++ b/test/breadcrumb_test.rb
@@ -5,6 +5,8 @@ tracked_in 'tracking_key'
owns :a_owned_key
+
+ member_of_set :id => :a_set_of_things
end
before do
@@ -19,6 +21,10 @@
it 'ca... | Add test 'can be a member of a set'
|
diff --git a/lib/utils.rb b/lib/utils.rb
index abc1234..def5678 100644
--- a/lib/utils.rb
+++ b/lib/utils.rb
@@ -8,7 +8,7 @@ results = []
blocks.each do |b|
info = yield b
- results.push(*info)
+ results.concat [*info]
end
results
end
| Use concat instead of push to avoid stack too deep error
array.push *foo will break if foo is too long, because it adds each item to the stack.
|
diff --git a/lib/carto/visualization_invalidation_service.rb b/lib/carto/visualization_invalidation_service.rb
index abc1234..def5678 100644
--- a/lib/carto/visualization_invalidation_service.rb
+++ b/lib/carto/visualization_invalidation_service.rb
@@ -2,7 +2,7 @@ class VisualizationInvalidationService
def initi... | Use the same variable for affected visualization invalidation
|
diff --git a/lib/ventriloquist/cap/linux/rvm_install_ruby.rb b/lib/ventriloquist/cap/linux/rvm_install_ruby.rb
index abc1234..def5678 100644
--- a/lib/ventriloquist/cap/linux/rvm_install_ruby.rb
+++ b/lib/ventriloquist/cap/linux/rvm_install_ruby.rb
@@ -6,7 +6,7 @@ def self.rvm_install_ruby(machine, version)
... | Revert "Fix ruby installation with RVM"
This reverts commit 37eab68f0e31a6f4d5e1191920cebe43f3f79ecc.
|
diff --git a/test/core_ext/name_error_extension_test.rb b/test/core_ext/name_error_extension_test.rb
index abc1234..def5678 100644
--- a/test/core_ext/name_error_extension_test.rb
+++ b/test/core_ext/name_error_extension_test.rb
@@ -37,11 +37,3 @@ assert_equal 1, error.to_s.scan("Did you mean?").count
end
end
-... | Remove the test for a deprecated feature
|
diff --git a/test/decorators/update_json_decorator_test.rb b/test/decorators/update_json_decorator_test.rb
index abc1234..def5678 100644
--- a/test/decorators/update_json_decorator_test.rb
+++ b/test/decorators/update_json_decorator_test.rb
@@ -20,7 +20,9 @@ end
it "has the date published" do
- @parsed_... | Make a test comparing times use seconds since the epoch to avoid dealing with date formats
|
diff --git a/test/cookbooks/python-webapp-test/metadata.rb b/test/cookbooks/python-webapp-test/metadata.rb
index abc1234..def5678 100644
--- a/test/cookbooks/python-webapp-test/metadata.rb
+++ b/test/cookbooks/python-webapp-test/metadata.rb
@@ -6,4 +6,4 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'REA... | Update dependencies for cookbook name change
|
diff --git a/app/controllers/sprangular/products_controller.rb b/app/controllers/sprangular/products_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sprangular/products_controller.rb
+++ b/app/controllers/sprangular/products_controller.rb
@@ -1,6 +1,7 @@ class Sprangular::ProductsController < Sprangul... | Fix bug in products/controller when `Config.show_products_without_price == true`
|
diff --git a/vendor/engines/c2po/app/models/purchase_order_account.rb b/vendor/engines/c2po/app/models/purchase_order_account.rb
index abc1234..def5678 100644
--- a/vendor/engines/c2po/app/models/purchase_order_account.rb
+++ b/vendor/engines/c2po/app/models/purchase_order_account.rb
@@ -12,13 +12,14 @@ desc
end... | Bring PurchaseOrderAccount in line with CreditCardAccount
|
diff --git a/bosh_agent/lib/bosh_agent/platform/ubuntu/password.rb b/bosh_agent/lib/bosh_agent/platform/ubuntu/password.rb
index abc1234..def5678 100644
--- a/bosh_agent/lib/bosh_agent/platform/ubuntu/password.rb
+++ b/bosh_agent/lib/bosh_agent/platform/ubuntu/password.rb
@@ -4,13 +4,10 @@ class Platform::Ubuntu::Pas... | Fix bug if statement(always true)
The if statement in platform/ubuntu/password.rb is always true. |
diff --git a/core/app/interactors/interactors/channels/add_fact.rb b/core/app/interactors/interactors/channels/add_fact.rb
index abc1234..def5678 100644
--- a/core/app/interactors/interactors/channels/add_fact.rb
+++ b/core/app/interactors/interactors/channels/add_fact.rb
@@ -9,7 +9,7 @@ command :"channels/add_... | Fix adding of top topic to site, use slug_title instead of id
|
diff --git a/DeskAPIClient.podspec b/DeskAPIClient.podspec
index abc1234..def5678 100644
--- a/DeskAPIClient.podspec
+++ b/DeskAPIClient.podspec
@@ -5,8 +5,8 @@ s.license = { :type => 'BSD 3-Clause', :file => 'LICENSE.txt' }
s.homepage = "https://github.com/forcedotcom/DeskApiClient-ObjC"
s.author ... | Change podfile to point to develop branch.
|
diff --git a/test/spec/write_spec.rb b/test/spec/write_spec.rb
index abc1234..def5678 100644
--- a/test/spec/write_spec.rb
+++ b/test/spec/write_spec.rb
@@ -23,8 +23,8 @@ end
assert event_ids == %w(
- 00000001-0000-0000-0000-000000000000
- 00000002-0000-0000-0000-000000000000
+ 00000001-4000-8... | Update test to account for updated id format in controls.
|
diff --git a/test/unit/round_test.rb b/test/unit/round_test.rb
index abc1234..def5678 100644
--- a/test/unit/round_test.rb
+++ b/test/unit/round_test.rb
@@ -43,4 +43,9 @@ r.expire_time = now - 2.hours
assert_equal 0, r.seconds_left
end
+
+ test "winner returns nil if no donations" do
+ round = Round.new... | Test Round.winner returns nil if no donations
|
diff --git a/lib/blaze.rb b/lib/blaze.rb
index abc1234..def5678 100644
--- a/lib/blaze.rb
+++ b/lib/blaze.rb
@@ -1,7 +1,32 @@-require "torrent/blaze/version"
+require "blaze/version"
+require "optparse"
+module Blaze
+ class CLI
+ def start
+ options = {}
+ opt_parse = OptionParser.new do |opt|
+ opt.banner = "... | Add optparsing to CLI class
|
diff --git a/app/controllers/subscribem/accounts_controller.rb b/app/controllers/subscribem/accounts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/subscribem/accounts_controller.rb
+++ b/app/controllers/subscribem/accounts_controller.rb
@@ -8,12 +8,15 @@ end
def create
account = Subs... | Set warden with account and user info
|
diff --git a/lib/day09.rb b/lib/day09.rb
index abc1234..def5678 100644
--- a/lib/day09.rb
+++ b/lib/day09.rb
@@ -7,17 +7,15 @@ end
def parse_day9_lines(lines, default_distance)
- graph = Hash.new(default_distance)
- lines.each do |line|
+ lines.reduce(Hash.new(default_distance)) do |graph, line|
parts = line... | Make day 9 a bit more functional.
|
diff --git a/app/serializers/trade/taxon_concept_serializer.rb b/app/serializers/trade/taxon_concept_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/trade/taxon_concept_serializer.rb
+++ b/app/serializers/trade/taxon_concept_serializer.rb
@@ -1,3 +1,7 @@ class Trade::TaxonConceptSerializer < ActiveMod... | Include name_status on the trade admin interface
|
diff --git a/lib/ditty/helpers/authentication.rb b/lib/ditty/helpers/authentication.rb
index abc1234..def5678 100644
--- a/lib/ditty/helpers/authentication.rb
+++ b/lib/ditty/helpers/authentication.rb
@@ -9,8 +9,7 @@ module Authentication
def current_user
return anonymous_user if current_user_id.nil... | chore: Remove memoization from Authentication helper.
This is an attempt to make ditty more thread safe. If you need caching, using memcache or something
|
diff --git a/lib/yurei.rb b/lib/yurei.rb
index abc1234..def5678 100644
--- a/lib/yurei.rb
+++ b/lib/yurei.rb
@@ -4,13 +4,22 @@ module Yurei
class << self
-
+
def phantomjs_path
- bin_path = File.join vendor_path, 'phantomjs', '1.7.0', 'macosx', 'bin', 'phantomjs'
+ bin_path = File.join vendor_p... | Added: Support for 64-bit Ubuntu Lucid (10.04)
|
diff --git a/i18n_alchemy.gemspec b/i18n_alchemy.gemspec
index abc1234..def5678 100644
--- a/i18n_alchemy.gemspec
+++ b/i18n_alchemy.gemspec
@@ -14,9 +14,8 @@
s.rubyforge_project = "i18n_alchemy"
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\... | Change gemspec to avoid subshells [ci skip]
More information at
http://tenderlovemaking.com/2011/12/05/profiling-rails-startup-with-dtrace/
Thanks @rafaelfranca
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.