diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/value_objects/contacts_search.rb b/app/value_objects/contacts_search.rb
index abc1234..def5678 100644
--- a/app/value_objects/contacts_search.rb
+++ b/app/value_objects/contacts_search.rb
@@ -1,5 +1,5 @@ class ContactsSearch < Searchlight::Search
- search_on Contact.includes(:contact_memberships, :con... | Fix for 500 when using the Topic filter
If you were to use the Topic filter with a search term, it was 500ing from
an ambiguous column name in contact_search.rb, specifically in the include
of contact_groups, which wasn't needed for the search to function.
|
diff --git a/vmdb/db/migrate/20150505160516_add_status_reason_and_cloud_tenant_to_orchestration_stacks.rb b/vmdb/db/migrate/20150505160516_add_status_reason_and_cloud_tenant_to_orchestration_stacks.rb
index abc1234..def5678 100644
--- a/vmdb/db/migrate/20150505160516_add_status_reason_and_cloud_tenant_to_orchestration_... | Add status_reason and cloud_tenant to orchestration_stacks
|
diff --git a/Casks/tilemill.rb b/Casks/tilemill.rb
index abc1234..def5678 100644
--- a/Casks/tilemill.rb
+++ b/Casks/tilemill.rb
@@ -0,0 +1,7 @@+class Tilemill < Cask
+ url 'http://tilemill.s3.amazonaws.com/latest/TileMill-0.10.1.zip'
+ homepage 'http://www.mapbox.com/tilemill/'
+ version '0.10.1'
+ sha1 '5ea8ad1fc... | Add Cask for TileMill 0.10.1
|
diff --git a/Casks/razer-synapse.rb b/Casks/razer-synapse.rb
index abc1234..def5678 100644
--- a/Casks/razer-synapse.rb
+++ b/Casks/razer-synapse.rb
@@ -1,6 +1,6 @@ cask 'razer-synapse' do
- version '1.45'
- sha256 '4b4368bf5f90cb94667a60a120d49b9073329ba6d9efcd4f5108cf709bfe8115'
+ version '1.46'
+ sha256 'eeb264d... | Update Razer Synapse to 1.46
|
diff --git a/Sage.podspec b/Sage.podspec
index abc1234..def5678 100644
--- a/Sage.podspec
+++ b/Sage.podspec
@@ -5,6 +5,7 @@ s.homepage = "https://github.com/nvzqz/#{s.name}"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE.txt" }
s.author ... | Add twitter URL to podspec
|
diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_service_template_provision_request.rb b/lib/miq_automation_engine/service_models/miq_ae_service_service_template_provision_request.rb
index abc1234..def5678 100644
--- a/lib/miq_automation_engine/service_models/miq_ae_service_service_template_provisio... | Add miq_provision_quota mixin to Service Template Provision Request
Service model.
https://bugzilla.redhat.com/show_bug.cgi?id=1491409
|
diff --git a/jasmine_junitxml_formatter.gemspec b/jasmine_junitxml_formatter.gemspec
index abc1234..def5678 100644
--- a/jasmine_junitxml_formatter.gemspec
+++ b/jasmine_junitxml_formatter.gemspec
@@ -22,6 +22,6 @@ spec.add_development_dependency 'rspec'
spec.add_development_dependency "rake"
- spec.add_depende... | Allow minor version number bumps of jasmine, but not major
|
diff --git a/config/software/gitlab-core.rb b/config/software/gitlab-core.rb
index abc1234..def5678 100644
--- a/config/software/gitlab-core.rb
+++ b/config/software/gitlab-core.rb
@@ -16,7 +16,7 @@ #
name "gitlab-core"
-version "6-5-stable"
+version "master"
dependency "ruby"
dependency "bundler"
| Switch the GitLab main repo to master
|
diff --git a/write_now/db/migrate/20141013213821_create_projects.rb b/write_now/db/migrate/20141013213821_create_projects.rb
index abc1234..def5678 100644
--- a/write_now/db/migrate/20141013213821_create_projects.rb
+++ b/write_now/db/migrate/20141013213821_create_projects.rb
@@ -1,6 +1,12 @@ class CreateProjects < Act... | Update project migration with fields.
* belongs_to user association
* goal_time_limit integer
* active, archived, and complete booleans
|
diff --git a/cookbooks/wt_edge_server/attributes/default.rb b/cookbooks/wt_edge_server/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/wt_edge_server/attributes/default.rb
+++ b/cookbooks/wt_edge_server/attributes/default.rb
@@ -1,5 +1,5 @@ #
-# Cookbook Name:: wt_collection_services
+# Cookbook Nam... | Fix attribute name for edge server
Former-commit-id: 8827ade9f3884d80e7b31318f9f8c09a11d0e46c [formerly 535b32f89a77acc07d97ccda855018d914830701] [formerly 6f8f07ee6a0e10cae30045f1dd57183454269f26 [formerly c0b86315a535e52e89ea33d8f7f28dd3e6164c2f [formerly cc8afdc0e8ff9b20f2b97862b9e3726b5f1bd96a]]]
Former-commit-id... |
diff --git a/app/jobs/export_job.rb b/app/jobs/export_job.rb
index abc1234..def5678 100644
--- a/app/jobs/export_job.rb
+++ b/app/jobs/export_job.rb
@@ -23,6 +23,6 @@ end
export.file = temp_file
export.save!
- ExportCompleteMailer.send_export(export.id, "Results")
+ ExportCompleteMailer.send_export(... | Send email after export job
|
diff --git a/lib/straight_engine/blockchain_adapters/helloblock_io.rb b/lib/straight_engine/blockchain_adapters/helloblock_io.rb
index abc1234..def5678 100644
--- a/lib/straight_engine/blockchain_adapters/helloblock_io.rb
+++ b/lib/straight_engine/blockchain_adapters/helloblock_io.rb
@@ -2,12 +2,6 @@ module Blockchai... | Remove the some BlockchainInfo adapter related code from HelloblockIo adapter
|
diff --git a/app/models/organism.rb b/app/models/organism.rb
index abc1234..def5678 100644
--- a/app/models/organism.rb
+++ b/app/models/organism.rb
@@ -5,22 +5,25 @@ end
def english_name
- @taxon[:common_name][:name]
+ if @taxon[:common_name] != nil
+ common = @taxon[:common_name]
+ return commo... | Update english_name method so that it is functional
|
diff --git a/app/models/question.rb b/app/models/question.rb
index abc1234..def5678 100644
--- a/app/models/question.rb
+++ b/app/models/question.rb
@@ -4,4 +4,12 @@
validates_presence_of :body
validates_presence_of :title
+
+ def self.search(words)
+ matches = []
+ words.split(' ').each do |word|
+ ... | Add search class method for Question.
|
diff --git a/config/initializers/will_paginate.rb b/config/initializers/will_paginate.rb
index abc1234..def5678 100644
--- a/config/initializers/will_paginate.rb
+++ b/config/initializers/will_paginate.rb
@@ -27,7 +27,7 @@ end
def gap
- tag :li, link('…'.html_safe, '#', :class => 'disabled'... | Fix gap styling by moving disabled class up to the li tag
|
diff --git a/UIFontComplete.podspec b/UIFontComplete.podspec
index abc1234..def5678 100644
--- a/UIFontComplete.podspec
+++ b/UIFontComplete.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'UIFontComplete'
- s.version = '1.1.0'
+ s.version = '2.0.0'
s.summary = 'Make... | Update Cocoapods version to 2.0.0
|
diff --git a/app/models/concerns/padawan_run.rb b/app/models/concerns/padawan_run.rb
index abc1234..def5678 100644
--- a/app/models/concerns/padawan_run.rb
+++ b/app/models/concerns/padawan_run.rb
@@ -8,10 +8,10 @@ improvements = {time_differences: [], missed_splits: []}
return improvements if category !... | Fix a 500 on comparison pages for runs with missed splits
|
diff --git a/app/models/gobierto_people/gift.rb b/app/models/gobierto_people/gift.rb
index abc1234..def5678 100644
--- a/app/models/gobierto_people/gift.rb
+++ b/app/models/gobierto_people/gift.rb
@@ -7,9 +7,10 @@
include GobiertoCommon::Metadatable
include GobiertoCommon::UrlBuildable
+ include BelongsTo... | Add BelongsToPersonWithCharge to GobiertoPeople::Gift model
|
diff --git a/app/modules/device_size_manager.rb b/app/modules/device_size_manager.rb
index abc1234..def5678 100644
--- a/app/modules/device_size_manager.rb
+++ b/app/modules/device_size_manager.rb
@@ -3,12 +3,12 @@ module_function
def select_sizes
- case UIDevice.currentDevice.name
+ case UIDevice.... | Fix broken layout for iPad on Simulator
- now UIDevice.currnet(Device) returns Mac name.
This method had been returned Simulator device name
- so, use "model" instead of "name" from now on.
|
diff --git a/ext/unf_ext/extconf.rb b/ext/unf_ext/extconf.rb
index abc1234..def5678 100644
--- a/ext/unf_ext/extconf.rb
+++ b/ext/unf_ext/extconf.rb
@@ -4,17 +4,6 @@ $LDFLAGS << ' ' << `#{CONFIG['CC']} -print-file-name=libstdc++.a`.chomp
else
have_library('stdc++')
-end
-
-case RUBY_PLATFORM
-when /\Aarm/
- # A ... | Revert special case for signed char in ARM
There other architectures where char is not signed as well.
Since 8a6a735b51ef903200fc541112e35b7cea781856 introduces
a real fix, I think this should be reverted. |
diff --git a/config/initializers/forest_engine.rb b/config/initializers/forest_engine.rb
index abc1234..def5678 100644
--- a/config/initializers/forest_engine.rb
+++ b/config/initializers/forest_engine.rb
@@ -1,4 +1,4 @@-MediaItem.expire_cache!
-Menu.expire_cache!
-Setting.expire_cache!
-Setting.expire_application_cach... | Fix issue when referencing models that don't exist in first installation
|
diff --git a/core/db/default/spree/zones.rb b/core/db/default/spree/zones.rb
index abc1234..def5678 100644
--- a/core/db/default/spree/zones.rb
+++ b/core/db/default/spree/zones.rb
@@ -1,6 +1,7 @@ eu_vat = Spree::Zone.create!(name: "EU_VAT", description: "Countries that make up the EU VAT zone.", kind: 'country')
nort... | Add Croatia, Czech Republic and Greece to EU_VAT
This change was already merged on Sep 17, 2015:
e645b8c6d318b639bb3bbc5d507c6212565fb1a
But was overwritten/lost by commit on Dec 3, 2015:
b08f40eefe670ad07dc0019f8ba7c49d6ab4dcc4
|
diff --git a/benchmark/yaml.rb b/benchmark/yaml.rb
index abc1234..def5678 100644
--- a/benchmark/yaml.rb
+++ b/benchmark/yaml.rb
@@ -12,7 +12,7 @@ data = "hello: world\nworld: hello"
Benchmark.ips :quiet => true do |x|
x.json! "benchmark.json"
- x.report("B:Pathutil.parse_yaml") { Pathutil.parse_yaml(data) }
x.... | Move the benchmark line down.
|
diff --git a/rails_singlefile_template.rb b/rails_singlefile_template.rb
index abc1234..def5678 100644
--- a/rails_singlefile_template.rb
+++ b/rails_singlefile_template.rb
@@ -0,0 +1,91 @@+begin
+ require 'bundler/inline'
+rescue LoadError => e
+ $stderr.puts 'Bundler version 1.10 or later is required. Please update... | Add single file rails template
|
diff --git a/test/helpers/assets_helper_test.rb b/test/helpers/assets_helper_test.rb
index abc1234..def5678 100644
--- a/test/helpers/assets_helper_test.rb
+++ b/test/helpers/assets_helper_test.rb
@@ -6,21 +6,20 @@ class AssetsHelperTest < ActionView::TestCase
include AssetsHelper
- # TODO: fix this broken test w... | Add test for attachment_url method
|
diff --git a/test/unit/local_import_box_test.rb b/test/unit/local_import_box_test.rb
index abc1234..def5678 100644
--- a/test/unit/local_import_box_test.rb
+++ b/test/unit/local_import_box_test.rb
@@ -17,7 +17,7 @@ @td.rmtree
end
- def test_local_import_box
+ def test_local_import_box_from_file
box_path... | Test also remote (URL) OVA import
|
diff --git a/data-aggregation-accumulator.gemspec b/data-aggregation-accumulator.gemspec
index abc1234..def5678 100644
--- a/data-aggregation-accumulator.gemspec
+++ b/data-aggregation-accumulator.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'data_aggregation-accumulator'... | Package version is increased from 0.0.1.0 to 0.0.1.1
|
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
@@ -9,6 +9,7 @@ region: Figaro.env.fog_region,
host: Figaro.env.fog_host
... | Set Cache Control on upload
|
diff --git a/config/initializers/registration.rb b/config/initializers/registration.rb
index abc1234..def5678 100644
--- a/config/initializers/registration.rb
+++ b/config/initializers/registration.rb
@@ -3,14 +3,14 @@ routes.url_helpers.new_payment_path(contribution_id: contribution)
end
-total_with_fees = ->(v... | Rename the total_with_fees to value_with_fees
|
diff --git a/lib/asciidoctor/doctest/version.rb b/lib/asciidoctor/doctest/version.rb
index abc1234..def5678 100644
--- a/lib/asciidoctor/doctest/version.rb
+++ b/lib/asciidoctor/doctest/version.rb
@@ -1,5 +1,5 @@ module Asciidoctor
module DocTest
- VERSION = '1.5.1.1'
+ VERSION = '1.5.2.dev'
end
end
| Prepare for next development iteration
|
diff --git a/lib/carto/export/map_statistics.rb b/lib/carto/export/map_statistics.rb
index abc1234..def5678 100644
--- a/lib/carto/export/map_statistics.rb
+++ b/lib/carto/export/map_statistics.rb
@@ -29,12 +29,13 @@ end
def statistics_for_visualization(visualization)
- analysis_node_count = visua... | Add number of non_source nodes to map stats
|
diff --git a/lib/asciidoctor/doctest/version.rb b/lib/asciidoctor/doctest/version.rb
index abc1234..def5678 100644
--- a/lib/asciidoctor/doctest/version.rb
+++ b/lib/asciidoctor/doctest/version.rb
@@ -1,5 +1,5 @@ module Asciidoctor
module DocTest
- VERSION = '1.5.2.0'
+ VERSION = '2.0.0.dev'
end
end
| Prepare for next development iteration
|
diff --git a/lib/epub/content_document/xhtml.rb b/lib/epub/content_document/xhtml.rb
index abc1234..def5678 100644
--- a/lib/epub/content_document/xhtml.rb
+++ b/lib/epub/content_document/xhtml.rb
@@ -1,9 +1,10 @@ module EPUB
module ContentDocument
class XHTML
- attr_accessor :book
+ attr_accessor :it... | Add attribute "item" instead of "book" to ContentDocument::XHTML
|
diff --git a/test/integration/test_orders.rb b/test/integration/test_orders.rb
index abc1234..def5678 100644
--- a/test/integration/test_orders.rb
+++ b/test/integration/test_orders.rb
@@ -14,8 +14,8 @@
next if order_ids.count < 2
- orders = client.get_order(*order_ids)
- .dig('Orders... | Break into two lines for easier debugging
|
diff --git a/spec/plugin/html_spec.rb b/spec/plugin/html_spec.rb
index abc1234..def5678 100644
--- a/spec/plugin/html_spec.rb
+++ b/spec/plugin/html_spec.rb
@@ -6,6 +6,14 @@ before :each do
vim.set(:expandtab)
vim.set(:shiftwidth, 2)
+ end
+
+ def simple_test(joined_html, split_html)
+ set_file_content... | Add specs for html attribute splitting
|
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.1'
+ s.version = '0.0.2.2'
s.summary = 'Client f... | Package version is increased from 0.0.2.1 to 0.0.2.2
|
diff --git a/FBAnnotationClusteringSwift.podspec b/FBAnnotationClusteringSwift.podspec
index abc1234..def5678 100644
--- a/FBAnnotationClusteringSwift.podspec
+++ b/FBAnnotationClusteringSwift.podspec
@@ -22,6 +22,7 @@
s.platform = :ios, '8.0'
s.requires_arc = true
+ s.swift_version = '4.2'
s.source_fi... | Update podspec to specify swift version
|
diff --git a/lib/roleify/roleifyable_controller.rb b/lib/roleify/roleifyable_controller.rb
index abc1234..def5678 100644
--- a/lib/roleify/roleifyable_controller.rb
+++ b/lib/roleify/roleifyable_controller.rb
@@ -8,6 +8,8 @@ #TODO make deny action configurable, now depends on Clearance
def allowed?
+ # ... | Allow public actions, marked as pseudo-role :public.
|
diff --git a/lib/topicz/commands/report_command.rb b/lib/topicz/commands/report_command.rb
index abc1234..def5678 100644
--- a/lib/topicz/commands/report_command.rb
+++ b/lib/topicz/commands/report_command.rb
@@ -1,5 +1,4 @@ require_relative 'repository_command'
-require 'json'
module Topicz::Commands
@@ -10,7 +9,... | Clean up code for the `report` command.
|
diff --git a/lib/typus/orm/active_record/search.rb b/lib/typus/orm/active_record/search.rb
index abc1234..def5678 100644
--- a/lib/typus/orm/active_record/search.rb
+++ b/lib/typus/orm/active_record/search.rb
@@ -26,9 +26,8 @@ data.join(' OR ')
end
- # TODO: Use Rails scopes to build the sea... | Use where interval instead of using SQL
|
diff --git a/spec/translate_spec.rb b/spec/translate_spec.rb
index abc1234..def5678 100644
--- a/spec/translate_spec.rb
+++ b/spec/translate_spec.rb
@@ -7,7 +7,7 @@ it { Norwegish.translate("The thing is a thing").should eq("The tingen is a ting") }
it { Norwegish.translate("Thor was a nordic god").should eq("Tør ... | Fix typo in original English in spec
|
diff --git a/ruby/scrabble-score/scrabble_score.rb b/ruby/scrabble-score/scrabble_score.rb
index abc1234..def5678 100644
--- a/ruby/scrabble-score/scrabble_score.rb
+++ b/ruby/scrabble-score/scrabble_score.rb
@@ -8,24 +8,20 @@ return 0 if word_invalid
points = 0
word.each_char do |char|
- points += C... | Change constant name and call score in self.score
|
diff --git a/lib/puppet/type/ora_role/grants.rb b/lib/puppet/type/ora_role/grants.rb
index abc1234..def5678 100644
--- a/lib/puppet/type/ora_role/grants.rb
+++ b/lib/puppet/type/ora_role/grants.rb
@@ -0,0 +1,77 @@+newproperty(:grants, :array_matching => :all) do
+ include EasyType
+ include ::OraUtils::OracleAccess
+... | Add grant privileges function to ora_role.rb
|
diff --git a/app/services/action/project/rebuild_via_hook.rb b/app/services/action/project/rebuild_via_hook.rb
index abc1234..def5678 100644
--- a/app/services/action/project/rebuild_via_hook.rb
+++ b/app/services/action/project/rebuild_via_hook.rb
@@ -9,10 +9,9 @@
def initialize(params)
if params[:pay... | Update RebuildViaHook to accept different param format
|
diff --git a/lib/valid_email/email_validator.rb b/lib/valid_email/email_validator.rb
index abc1234..def5678 100644
--- a/lib/valid_email/email_validator.rb
+++ b/lib/valid_email/email_validator.rb
@@ -21,6 +21,9 @@ require 'valid_email/ban_disposable_email_validator'
r = BanDisposableEmailValidator.new(:at... | Support interpolation of validation error messages
Error messages can now contain the string %{value}, which will be interpolated with the email. |
diff --git a/spec/acceptance/basic_gnocchi_spec.rb b/spec/acceptance/basic_gnocchi_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/basic_gnocchi_spec.rb
+++ b/spec/acceptance/basic_gnocchi_spec.rb
@@ -10,40 +10,9 @@ include ::openstack_integration::repos
include ::openstack_integration::mysql
... | Switch acceptance test to use integration classes
Change-Id: I79e4be4ff0a3eca635979c9b2ac9c0a2b33c9954
Depends-On: I3680dbad11435ac82ad03d0195d8e348d21b1433
|
diff --git a/spec/features/course_deletion_spec.rb b/spec/features/course_deletion_spec.rb
index abc1234..def5678 100644
--- a/spec/features/course_deletion_spec.rb
+++ b/spec/features/course_deletion_spec.rb
@@ -0,0 +1,22 @@+# frozen_string_literal: true
+
+require 'rails_helper'
+
+describe 'course deletion', type: :... | Add browser test for course deletion
|
diff --git a/spec/integrations/client_zpty_spec.rb b/spec/integrations/client_zpty_spec.rb
index abc1234..def5678 100644
--- a/spec/integrations/client_zpty_spec.rb
+++ b/spec/integrations/client_zpty_spec.rb
@@ -5,6 +5,6 @@ sleep 1 # Give a little time for precmd hooks to run
session.run_command('zpty -t kitt... | Test should be passing block to RSpec wait_for
Fixes flaky test
|
diff --git a/spec/ethon/curl_spec.rb b/spec/ethon/curl_spec.rb
index abc1234..def5678 100644
--- a/spec/ethon/curl_spec.rb
+++ b/spec/ethon/curl_spec.rb
@@ -2,6 +2,8 @@
describe Ethon::Curl do
describe ".init" do
+ before { Ethon::Curl.class_variable_set(:@@initialized, false) }
+
context "when global_init... | Make sure @@initialized is false.
|
diff --git a/spec/repository_spec.rb b/spec/repository_spec.rb
index abc1234..def5678 100644
--- a/spec/repository_spec.rb
+++ b/spec/repository_spec.rb
@@ -0,0 +1,35 @@+require 'turntables/repository'
+
+include Turntables
+
+describe Repository do
+
+ before :each do
+ @repo = Repository.new
+ end
+
+ it "#ne... | Add minor testing for repository object
|
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index abc1234..def5678 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -4,9 +4,9 @@ SNIFFER_GROUP_COUNT = Dir.glob(File.dirname(__FILE__) + "/../../lib/sniffles/sniffers/**").count
def page_body(url)
- Typhoeus::Request.get(url).bo... | Add User-Agent to test request
|
diff --git a/config/initializers/deplayed_job_set_priority_plugin.rb b/config/initializers/deplayed_job_set_priority_plugin.rb
index abc1234..def5678 100644
--- a/config/initializers/deplayed_job_set_priority_plugin.rb
+++ b/config/initializers/deplayed_job_set_priority_plugin.rb
@@ -8,7 +8,7 @@ job_class_n... | Check configured priority exist or not before using it
|
diff --git a/bootstrap-sass.gemspec b/bootstrap-sass.gemspec
index abc1234..def5678 100644
--- a/bootstrap-sass.gemspec
+++ b/bootstrap-sass.gemspec
@@ -7,7 +7,7 @@ s.homepage = "http://github.com/thomas-mcdonald/bootstrap-sass"
s.add_development_dependency 'compass'
- s.add_development_dependency 'sass-rails',... | Update sass-rails dependency version to require > 3.2
|
diff --git a/spec/lib/rearview/ext/numeric_spec.rb b/spec/lib/rearview/ext/numeric_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/rearview/ext/numeric_spec.rb
+++ b/spec/lib/rearview/ext/numeric_spec.rb
@@ -0,0 +1,16 @@+require 'spec_helper'
+
+describe 'Rearview::Ext::Numeric' do
+ context '#bytes_to_kilobytes'... | Add missing spec for Numeric extension
|
diff --git a/app/controllers/api/v1/concepts_controller.rb b/app/controllers/api/v1/concepts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/concepts_controller.rb
+++ b/app/controllers/api/v1/concepts_controller.rb
@@ -11,6 +11,14 @@ end
def index
+ # Returns all the concepts, sorted... | Add example response for Concepts API controller Index action. |
diff --git a/app/controllers/dossier/reports_controller.rb b/app/controllers/dossier/reports_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/dossier/reports_controller.rb
+++ b/app/controllers/dossier/reports_controller.rb
@@ -29,11 +29,11 @@ end
end
+ private
+
def report_class
... | Revert `report_class` to being private, since it
should not be routed to. |
diff --git a/app/controllers/pro_memberships_controller.rb b/app/controllers/pro_memberships_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/pro_memberships_controller.rb
+++ b/app/controllers/pro_memberships_controller.rb
@@ -30,8 +30,17 @@ return render(text: "Couldn't find user: #{params[... | Add mixpanel tracking of PRO.
|
diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec
index abc1234..def5678 100644
--- a/activesupport/activesupport.gemspec
+++ b/activesupport/activesupport.gemspec
@@ -20,7 +20,7 @@
s.rdoc_options.concat ['--encoding', 'UTF-8']
- s.add_dependency 'i18n', '~> 0.6', '>= ... | Enforce i18n version >= v0.6.4
Keep in sync with 3-2-stable.
|
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb
index abc1234..def5678 100644
--- a/activesupport/test/abstract_unit.rb
+++ b/activesupport/test/abstract_unit.rb
@@ -24,3 +24,8 @@
# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = ... | Define jruby_skip to skip test on JRuby
|
diff --git a/db/migrate/20111118164631_create_skrill_transactions.rb b/db/migrate/20111118164631_create_skrill_transactions.rb
index abc1234..def5678 100644
--- a/db/migrate/20111118164631_create_skrill_transactions.rb
+++ b/db/migrate/20111118164631_create_skrill_transactions.rb
@@ -7,7 +7,7 @@ t.integer :transa... | Add `null: false` to migrations.
Rails 5 is making it the default and specifying nothing results in a
deprecation warning.
|
diff --git a/has_publishing.gemspec b/has_publishing.gemspec
index abc1234..def5678 100644
--- a/has_publishing.gemspec
+++ b/has_publishing.gemspec
@@ -19,6 +19,7 @@
gem.add_dependency "activerecord"
gem.add_dependency "activesupport"
+ gem.add_development_dependency "debugger"
gem.add_development_dependenc... | Add development dependency on debugger
|
diff --git a/spec/features/create_a_question_spec.rb b/spec/features/create_a_question_spec.rb
index abc1234..def5678 100644
--- a/spec/features/create_a_question_spec.rb
+++ b/spec/features/create_a_question_spec.rb
@@ -10,6 +10,7 @@
context "whit valid attributes" do
subject do
+ fill_in "question_score... | Fix feature test of question creation
|
diff --git a/chefspec.gemspec b/chefspec.gemspec
index abc1234..def5678 100644
--- a/chefspec.gemspec
+++ b/chefspec.gemspec
@@ -15,7 +15,7 @@
s.add_dependency('chef', '>= 10.0')
s.add_dependency('erubis')
- s.add_dependency('fauxhai', '~> 0.1')
+ s.add_dependency('fauxhai', '>= 0.1.1', '< 2.0')
s.add_depen... | Update Fauxhai dependency to allow also v1.x
v1.0.0 has been released. Besides few fixture chenges and additions it
includes new `path` option for specifying a local fixture data file.
It also drops undocumented support for default platform version (except
for the special "fauxhai" platform).
|
diff --git a/config.rb b/config.rb
index abc1234..def5678 100644
--- a/config.rb
+++ b/config.rb
@@ -19,9 +19,22 @@ activate :relative_assets
end
-activate :deploy do |deploy|
- deploy.build_before = true
- deploy.method = :git
+case ENV['TARGET'].to_s.downcase
+when 'production'
+ activate :deploy do |deploy|
... | Add production option to deployment
|
diff --git a/app/controllers/forms_controller.rb b/app/controllers/forms_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/forms_controller.rb
+++ b/app/controllers/forms_controller.rb
@@ -2,26 +2,10 @@ include Cadmus::Renderable
load_and_authorize_resource through: :convention
- respond_to :htm... | Remove the unnecessary actions only
|
diff --git a/config.rb b/config.rb
index abc1234..def5678 100644
--- a/config.rb
+++ b/config.rb
@@ -5,13 +5,14 @@ http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
-images_dir = "images"
+images_dir = "assets"
javascripts_dir = "javascripts"
# You can select your preferred output style here (can be overr... | Change default images directory before actually referencing it
|
diff --git a/app/controllers/index_controller.rb b/app/controllers/index_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/index_controller.rb
+++ b/app/controllers/index_controller.rb
@@ -1,5 +1,7 @@ class IndexController < ApplicationController
REDIS_KEY_PREFIX = "bus-detective:index"
+
+ force_ss... | Use SSL for all non-api requests
|
diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/items_controller.rb
+++ b/app/controllers/items_controller.rb
@@ -2,13 +2,19 @@
def index
@items = Item.all
+ respond_to do |format|
+ format.html # index.html.erb
... | Add respond_to method to user controller specifying response format
|
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/posts_controller.rb
+++ b/app/controllers/posts_controller.rb
@@ -18,17 +18,26 @@ end
end
- # GET /users/:user_id/posts/:id/edit
- def edit
- end
-
# PU... | Modify posts controllers and add new features
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -1,4 +1,6 @@ # This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run TravelSupportProgram::Application
+map (ENV['RAILS_RELATIVE_URL_ROOT... | Support for RAILS_RELATIVE_URL_ROOT (running in a subdirectory)
|
diff --git a/lib/salesforce_bulk/query_result_collection.rb b/lib/salesforce_bulk/query_result_collection.rb
index abc1234..def5678 100644
--- a/lib/salesforce_bulk/query_result_collection.rb
+++ b/lib/salesforce_bulk/query_result_collection.rb
@@ -22,10 +22,12 @@
def next
if next?
- @client.que... | Update next and previous methods to use the Array.replace method to update collection with result from query_result call instead. If value is committed then the current index and result id values are updated.
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -1,6 +1,6 @@ require './init'
-use Rack::Cache
+use Rack::Cache if ENV['RACK_ENV'] == 'production'
use Warden::Manager do |manager|
manager.default_strategies :password
| Use rack-cache only in production
|
diff --git a/cc-tool.rb b/cc-tool.rb
index abc1234..def5678 100644
--- a/cc-tool.rb
+++ b/cc-tool.rb
@@ -5,6 +5,9 @@
depends_on "boost" => :build
depends_on "pkg-config" => :build
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
depends_on "libusb"
d... | Add missing autocrap tools to generate `configure` script
|
diff --git a/dinghy.rb b/dinghy.rb
index abc1234..def5678 100644
--- a/dinghy.rb
+++ b/dinghy.rb
@@ -10,7 +10,7 @@
depends_on 'docker'
depends_on 'docker-machine'
- depends_on 'unfs3' => %w[--HEAD]
+ depends_on 'unfs3'
depends_on 'dnsmasq'
def install
| Revert "trying out a HEAD dependency"
This reverts commit 1c7e7fdca4811e4569227817fb569b627540c9b2.
|
diff --git a/db/schema.rb b/db/schema.rb
index abc1234..def5678 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1,3 +1,32 @@-ActiveRecord::Schema.define(:version => 0) do
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active ... | Add User model to the database.
|
diff --git a/attributes/php.rb b/attributes/php.rb
index abc1234..def5678 100644
--- a/attributes/php.rb
+++ b/attributes/php.rb
@@ -1,3 +1,3 @@-default['php']['versions'] = %w(5.5 5.6 7.0)
+default['php']['versions'] = %w(5.5 5.6 7.0 7.1)
default['php']['extensions'] = %w(bcmath bz2 cli common curl fpm gd gmp imap in... | [TASK] Install PHP 7.1 by default
|
diff --git a/core/lib/spree/localized_number.rb b/core/lib/spree/localized_number.rb
index abc1234..def5678 100644
--- a/core/lib/spree/localized_number.rb
+++ b/core/lib/spree/localized_number.rb
@@ -8,7 +8,9 @@ separator, delimiter = I18n.t([:'number.currency.format.separator', :'number.currency.format.delimite... | Fix of bug in `Spree::LocalizedNumber.parse`, which mangles object passed as an argument.
|
diff --git a/dumb_delegator.gemspec b/dumb_delegator.gemspec
index abc1234..def5678 100644
--- a/dumb_delegator.gemspec
+++ b/dumb_delegator.gemspec
@@ -6,9 +6,12 @@ gem.required_ruby_version = ">= 2.4.0"
gem.authors = ["Andy Lindeman", "Steven Harman"]
gem.email = ["alindeman@gmail.com", "steven@harmanly.com"]... | Add license to Gemspec and tweak description
|
diff --git a/awsecrets.gemspec b/awsecrets.gemspec
index abc1234..def5678 100644
--- a/awsecrets.gemspec
+++ b/awsecrets.gemspec
@@ -20,7 +20,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
- spec.add_runtime_dependency 'aws-sdk', '~> 2'
+ spec.add_run... | Update aws-sdk version from `'~> 2'` to `'>= 2', '< 4'`
|
diff --git a/config/deploy.rb b/config/deploy.rb
index abc1234..def5678 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -7,13 +7,24 @@ set :log_level, :info
namespace :deploy do
-
after :restart, :clear_cache do
on roles(:app), in: :groups, limit: 3, wait: 10 do
- execute :sudo, :service, :tandygram,... | [F] Add Capistrano task to reset data
Backs it up first ;)
|
diff --git a/test/background_test.rb b/test/background_test.rb
index abc1234..def5678 100644
--- a/test/background_test.rb
+++ b/test/background_test.rb
@@ -8,11 +8,9 @@ end
def test_background_render
- assert_silent do
- InvoicePrinter.render(document: @invoice, background: './examples/background.jpg')
... | Remove assert_silent call from background test
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,7 +1,7 @@ # rubocop:disable Metrics/BlockLength
Rails.application.routes.draw do
authenticated :developer do
- root 'developers#profile', as: :developer_root
+ root 'search#index'... | Make search default root for logged in user
|
diff --git a/test/form/test_combo.rb b/test/form/test_combo.rb
index abc1234..def5678 100644
--- a/test/form/test_combo.rb
+++ b/test/form/test_combo.rb
@@ -4,29 +4,17 @@ require_relative '../../lib/ppcurses.rb'
+@app = PPCurses::Application.new
+
+form = PPCurses::Form.new
+
+state_box = PPCurses::ComboBox.new('St... | Revise test to latest interfaces.
|
diff --git a/lib/ui.rb b/lib/ui.rb
index abc1234..def5678 100644
--- a/lib/ui.rb
+++ b/lib/ui.rb
@@ -0,0 +1,23 @@+require_relative 'console'
+
+class Ui
+ attr_reader :io
+
+ def initialize(io)
+ @io = io
+ end
+
+ def display_intro_msg(game_being_played)
+ io.display_intro_msg(game_being_played)
+ end
+
+ ... | Create Ui class inorder to remove dependency on stdin and stdout
|
diff --git a/sensu-plugins.gemspec b/sensu-plugins.gemspec
index abc1234..def5678 100644
--- a/sensu-plugins.gemspec
+++ b/sensu-plugins.gemspec
@@ -1,4 +1,4 @@-require File.expand_path(File.dirname(__FILE__)) + '/lib/sensu/plugins'
+require File.expand_path(File.dirname(__FILE__)) + '/lib/sensu/plugin'
Gem::Specifi... | Fix require (for VERSION) in gemspec
|
diff --git a/lib/twitch_ruby/representers/credentials_representer.rb b/lib/twitch_ruby/representers/credentials_representer.rb
index abc1234..def5678 100644
--- a/lib/twitch_ruby/representers/credentials_representer.rb
+++ b/lib/twitch_ruby/representers/credentials_representer.rb
@@ -17,8 +17,8 @@
property :acc... | Add expires_in to returned credentials
|
diff --git a/spec/models/attendee_spec.rb b/spec/models/attendee_spec.rb
index abc1234..def5678 100644
--- a/spec/models/attendee_spec.rb
+++ b/spec/models/attendee_spec.rb
@@ -0,0 +1,22 @@+# == Schema Information
+# Schema version: 20090224005026
+#
+# Table name: attendees
+#
+# id :integer(4) not null,... | Add an Attendee spec, just in case we ever do anything in that model.
|
diff --git a/spec/load_profiles_spec.rb b/spec/load_profiles_spec.rb
index abc1234..def5678 100644
--- a/spec/load_profiles_spec.rb
+++ b/spec/load_profiles_spec.rb
@@ -0,0 +1,26 @@+require 'spec_helper'
+
+describe 'Load profiles' do
+ Atlas::Dataset.all.each do |dataset|
+ describe "for #{ dataset.key.upcase }" d... | Add validation of load profiles
Asserts that:
* The file does not use CR (\r) line endings. Such files will not load
correctly in the Merit library (and aren't "correct" on any modern
platform anyway).
* That the values in the load profile won't overload or underload the
producer in the Merit Library... |
diff --git a/mailer.rb b/mailer.rb
index abc1234..def5678 100644
--- a/mailer.rb
+++ b/mailer.rb
@@ -22,7 +22,8 @@ class AuthorityMailer < ActionMailer::Base
def email(to, message_text, message_url)
mail(:to => to, :bcc => "contact@openaustralia.org", :from => "noreply@openaustraliafoundation.org.au",
- :s... | Revert accidental commenting out of body of email!
|
diff --git a/lib/clearance/sessions_controller.rb b/lib/clearance/sessions_controller.rb
index abc1234..def5678 100644
--- a/lib/clearance/sessions_controller.rb
+++ b/lib/clearance/sessions_controller.rb
@@ -32,6 +32,7 @@ def login_via_password(email, password, remember_me)
user = User.authenticate(emai... | Create session for user when logging in.
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -4,9 +4,10 @@ require File.expand_path("../dummy/config/environment.rb", __FILE__)
require "rails/test_help"
-require "minitest/pride"
+require "minitest/spec"
require "minite... | Clean up requires in test helper
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -36,6 +36,8 @@ require 'fluent/plugin/out_filter_list'
require 'fluent/plugin/filter_filter_list'
-class Minitest::Test
- include Fluent::Test::Helpers
+module Minitest
+ clas... | Use nested style class notation
|
diff --git a/db/migrate/20110125200118_add_uniqueness_index_to_people.rb b/db/migrate/20110125200118_add_uniqueness_index_to_people.rb
index abc1234..def5678 100644
--- a/db/migrate/20110125200118_add_uniqueness_index_to_people.rb
+++ b/db/migrate/20110125200118_add_uniqueness_index_to_people.rb
@@ -2,15 +2,11 @@ def... | Fix migration path for PostgreSQL compatbility
|
diff --git a/spec/lib/luhn_spec.rb b/spec/lib/luhn_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/luhn_spec.rb
+++ b/spec/lib/luhn_spec.rb
@@ -0,0 +1,81 @@+require 'spec_helper'
+
+describe Luhnc do
+
+ describe 'attributes' do
+ subject { described_class.new(123) }
+
+ it 'responds to attribute' do
+ ... | Write specs for the Luhn class
|
diff --git a/lib/HDLRuby/high_samples/instance.rb b/lib/HDLRuby/high_samples/instance.rb
index abc1234..def5678 100644
--- a/lib/HDLRuby/high_samples/instance.rb
+++ b/lib/HDLRuby/high_samples/instance.rb
@@ -0,0 +1,38 @@+require 'HDLRuby'
+
+configure_high
+
+
+# A simple 16-bit or
+system :or16 do
+ [15..0].input ... | Add a sample for testing instantiation.
|
diff --git a/jekyll-conrefifier.gemspec b/jekyll-conrefifier.gemspec
index abc1234..def5678 100644
--- a/jekyll-conrefifier.gemspec
+++ b/jekyll-conrefifier.gemspec
@@ -19,5 +19,5 @@
spec.add_development_dependency "jekyll", "~> 2.0"
spec.add_development_dependency "rake"
- spec.add_development_dependency 'm... | Add rspec as dev dependency
|
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
@@ -18,7 +18,7 @@ can :manage, Event
can :create, Alert
can [:update, :remove_avatar], User, :id => user.id
- can [:read, :added_relics, :chec... | Allow user to access "My routes" tab
|
diff --git a/app/models/lottery.rb b/app/models/lottery.rb
index abc1234..def5678 100644
--- a/app/models/lottery.rb
+++ b/app/models/lottery.rb
@@ -13,4 +13,8 @@
validates_presence_of :name, :scheduled_start_date
validates_uniqueness_of :name, case_sensitive: false, scope: :organization
+
+ scope :with_policy_... | Add policy scope attributes to Lottery model
|
diff --git a/lib/geokit-rails3/core_extensions.rb b/lib/geokit-rails3/core_extensions.rb
index abc1234..def5678 100644
--- a/lib/geokit-rails3/core_extensions.rb
+++ b/lib/geokit-rails3/core_extensions.rb
@@ -5,6 +5,6 @@ # resulting distance.
def sort_by_distance_from(origin, opts={})
warn "[DEPRECATION] `Arr... | Make code ruby 1.8 compatible
|
diff --git a/lib/nehm/commands/version_command.rb b/lib/nehm/commands/version_command.rb
index abc1234..def5678 100644
--- a/lib/nehm/commands/version_command.rb
+++ b/lib/nehm/commands/version_command.rb
@@ -1,4 +1,21 @@ module Nehm
- class DlCommand < Command
+ class VersionCommand < Command
+
+ def execute
+ ... | Add all logic to 'version' command
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.