diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/config/initializers/refile.rb b/config/initializers/refile.rb index abc1234..def5678 100644 --- a/config/initializers/refile.rb +++ b/config/initializers/refile.rb @@ -7,5 +7,5 @@ } Refile.cache = Refile::S3.new prefix: "cache", **aws Refile.store = Refile::S3.new prefix: "store", **aws - Refile.c...
Disable CDN host until we can figure things out
diff --git a/app/helpers/pubdraft_helper.rb b/app/helpers/pubdraft_helper.rb index abc1234..def5678 100644 --- a/app/helpers/pubdraft_helper.rb +++ b/app/helpers/pubdraft_helper.rb @@ -6,4 +6,8 @@ def pubdraft_state_options(klass) options_for_select pubdraft_states_for_select(klass) end + + def state_label(s...
Add state label helper here
diff --git a/lib/rack/locale-root-redirect.rb b/lib/rack/locale-root-redirect.rb index abc1234..def5678 100644 --- a/lib/rack/locale-root-redirect.rb +++ b/lib/rack/locale-root-redirect.rb @@ -14,13 +14,13 @@ def call(env) status, headers, response = @app.call(env) - if env["REQUEST_URI"] == "/" + ...
Add support for query string in root URL
diff --git a/lib/redirector/path_detection.rb b/lib/redirector/path_detection.rb index abc1234..def5678 100644 --- a/lib/redirector/path_detection.rb +++ b/lib/redirector/path_detection.rb @@ -34,19 +34,19 @@ # Path needs to contain 3 components + return false unless path_parts.count == 3 + ...
Use a regexp, better/faster than casting to integer. (plus we didn't check for number of digits before)
diff --git a/app/models/version_observer.rb b/app/models/version_observer.rb index abc1234..def5678 100644 --- a/app/models/version_observer.rb +++ b/app/models/version_observer.rb @@ -1,9 +1,14 @@ class VersionObserver < ActiveRecord::Observer - # Cache latest version in the package record def after_create(versi...
Update the author's updated_at attribute when new versions are released
diff --git a/lib/tasks/i18n_missing_keys.rake b/lib/tasks/i18n_missing_keys.rake index abc1234..def5678 100644 --- a/lib/tasks/i18n_missing_keys.rake +++ b/lib/tasks/i18n_missing_keys.rake @@ -0,0 +1,92 @@+# Invoke this task with "rake i18n:missing_keys" + +namespace :i18n do + desc "Find and list translation keys tha...
[i18n] Add rake task for finding missing_keys
diff --git a/lib/wordlist/builders/website.rb b/lib/wordlist/builders/website.rb index abc1234..def5678 100644 --- a/lib/wordlist/builders/website.rb +++ b/lib/wordlist/builders/website.rb @@ -26,9 +26,11 @@ # # Builds the wordlist file by spidering the +host+ and parsing the # inner-text from all H...
Call the given block before, the site is spidered.
diff --git a/spec/github/validation_spec.rb b/spec/github/validation_spec.rb index abc1234..def5678 100644 --- a/spec/github/validation_spec.rb +++ b/spec/github/validation_spec.rb @@ -0,0 +1,61 @@+require 'spec_helper' + +describe Github::Validation, :type => :base do + + context '#_validate_inputs' do + before do...
Add specs for new validations module.
diff --git a/spec/lib/i18n/core_ext_spec.rb b/spec/lib/i18n/core_ext_spec.rb index abc1234..def5678 100644 --- a/spec/lib/i18n/core_ext_spec.rb +++ b/spec/lib/i18n/core_ext_spec.rb @@ -29,7 +29,7 @@ I18n.backend.load_translations(filename) end - it 'loads data from a yml.erb file and interpolates ...
Change the wording the i18n spec
diff --git a/spec/node/node_version_spec.rb b/spec/node/node_version_spec.rb index abc1234..def5678 100644 --- a/spec/node/node_version_spec.rb +++ b/spec/node/node_version_spec.rb @@ -10,7 +10,7 @@ # Node 4.x if property[:name] =~ /v4./ describe command('node -v') do - its(:stdout) { should contain('v4.4.5') } ...
Revert test for Node.js v4.4.4
diff --git a/Casks/witch.rb b/Casks/witch.rb index abc1234..def5678 100644 --- a/Casks/witch.rb +++ b/Casks/witch.rb @@ -1,10 +1,17 @@ cask :v1 => 'witch' do - version :latest - sha256 :no_check + if MacOS.release == :snow_leopard + version '3.9.1' + sha256 '5e46508e150ff16be14b9955abdcd15098376230ef71e3de6f15...
Add Witch 3.9.1 (Snow Leopard compatible) Closes #8095.
diff --git a/spec/support/test_user_type.rb b/spec/support/test_user_type.rb index abc1234..def5678 100644 --- a/spec/support/test_user_type.rb +++ b/spec/support/test_user_type.rb @@ -9,7 +9,7 @@ description "The test name" end - assoc :posts, Kanji::Types::Array.member(TestPost).default([]), "All of t...
Fix bad type name in support file
diff --git a/app/services/ak_user_params.rb b/app/services/ak_user_params.rb index abc1234..def5678 100644 --- a/app/services/ak_user_params.rb +++ b/app/services/ak_user_params.rb @@ -1,12 +1,15 @@ require 'browser' class AkUserParams - def self.create(params) - # I'm assuming that the form params will come in wi...
Add basic class for building objects to pass for the message queue for storing user actions.
diff --git a/_scripts/update-and-preprocess.rb b/_scripts/update-and-preprocess.rb index abc1234..def5678 100644 --- a/_scripts/update-and-preprocess.rb +++ b/_scripts/update-and-preprocess.rb @@ -0,0 +1,21 @@+# go through projects and clean and update + +require 'yaml' + +$basedir = Dir.pwd +config = YAML.load_f...
Include project clone and pull script.
diff --git a/cabinet.gemspec b/cabinet.gemspec index abc1234..def5678 100644 --- a/cabinet.gemspec +++ b/cabinet.gemspec @@ -9,8 +9,8 @@ s.authors = ["Sebastian von Conrad"] s.email = ["sebastian@vonconrad.com"] s.homepage = "http://github.com/vonconrad/cabinet" - s.summary = %q{} - s.descrip...
Add gem description and summary
diff --git a/blinkbox-common_config.gemspec b/blinkbox-common_config.gemspec index abc1234..def5678 100644 --- a/blinkbox-common_config.gemspec +++ b/blinkbox-common_config.gemspec @@ -1,5 +1,5 @@ # -*- encoding: utf-8 -*- -$LOAD_PATH.unshift(File.join(__dir__, "lib")) +$LOAD_PATH.unshift(File.join(File.dirname(__FILE_...
Fix Travis using 1.9.3 to build gems
diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb index abc1234..def5678 100644 --- a/config/initializers/carrierwave.rb +++ b/config/initializers/carrierwave.rb @@ -14,6 +14,6 @@ config.fog_attributes = {'Cache-Control' => 'max-age=315576000'} else config.storage = :file ...
Enable image processing in development.
diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb index abc1234..def5678 100644 --- a/config/initializers/carrierwave.rb +++ b/config/initializers/carrierwave.rb @@ -3,13 +3,23 @@ config.fog_directory = ENV['AWS_BUCKET'] config.fog_public = false config.fog_attributes ...
Use IAM profile when key isn't available
diff --git a/cookbooks/homebrew/recipes/brew.rb b/cookbooks/homebrew/recipes/brew.rb index abc1234..def5678 100644 --- a/cookbooks/homebrew/recipes/brew.rb +++ b/cookbooks/homebrew/recipes/brew.rb @@ -28,6 +28,7 @@ brew 'neovim' { head true } brew 'node' brew 'packer' +brew 'php' brew 'pinentry-mac' brew 'pstree' ...
Install php for macOS Monterey PHP requires in alfred-github-workflow
diff --git a/core_gem/spec/char_cover/module.rb b/core_gem/spec/char_cover/module.rb index abc1234..def5678 100644 --- a/core_gem/spec/char_cover/module.rb +++ b/core_gem/spec/char_cover/module.rb @@ -1,6 +1,7 @@ ### Empty module - module A + x = module A end.to_s + assert_equal '', x #### Explicit glo...
Make sure of result of Module/Class
diff --git a/test/fixtures/cookbooks/install_varnish/recipes/full_stack.rb b/test/fixtures/cookbooks/install_varnish/recipes/full_stack.rb index abc1234..def5678 100644 --- a/test/fixtures/cookbooks/install_varnish/recipes/full_stack.rb +++ b/test/fixtures/cookbooks/install_varnish/recipes/full_stack.rb @@ -1,4 +1,4 @@...
Fix tests for apt platforms
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,5 +1,7 @@ # Methods added to this helper will be available to all templates in the application. module ApplicationHelper...
Include ActionView::Helpers::NumberHelper in ApplicationHelper for number_with_precision.
diff --git a/app/presenters/project_request.rb b/app/presenters/project_request.rb index abc1234..def5678 100644 --- a/app/presenters/project_request.rb +++ b/app/presenters/project_request.rb @@ -10,6 +10,7 @@ # TODO validate project isn't already member of project validates :project_uri, :nature_uri, presence:...
Validate project request is not made for an existing project membership
diff --git a/Mortar.podspec b/Mortar.podspec index abc1234..def5678 100644 --- a/Mortar.podspec +++ b/Mortar.podspec @@ -13,7 +13,7 @@ s.author = { "Jason Fieldman" => "jason@fieldman.org" } s.social_media_url = 'http://fieldman.org' - s.ios.deployment_target = "10.0" + s.ios.deployment_target = "8.0" ...
Revert "update podspec deployment target" This reverts commit 8ad13386b051b00d9ba91cc44c573bc0999737e3.
diff --git a/spec/watirspec/labels_spec.rb b/spec/watirspec/labels_spec.rb index abc1234..def5678 100644 --- a/spec/watirspec/labels_spec.rb +++ b/spec/watirspec/labels_spec.rb @@ -14,7 +14,7 @@ end describe "#[]" do - it "returns the pre at the given index" do + it "returns the label at the given index" d...
Correct element name in spec description
diff --git a/db/migrations/001_create_things.rb b/db/migrations/001_create_things.rb index abc1234..def5678 100644 --- a/db/migrations/001_create_things.rb +++ b/db/migrations/001_create_things.rb @@ -0,0 +1,41 @@+Sequel.migration do + string_size = 2048 + + up do + create_table(:things) do + primary_key :id ...
Add draft migration for a relational data model
diff --git a/server/roles/src/nginx/spec/boot-script.rb b/server/roles/src/nginx/spec/boot-script.rb index abc1234..def5678 100644 --- a/server/roles/src/nginx/spec/boot-script.rb +++ b/server/roles/src/nginx/spec/boot-script.rb @@ -8,11 +8,21 @@ ansiblevars = MakeServer::Ansible.load_variables v = ansiblevars['ro...
Add test code for checking nginx service
diff --git a/rails-better-filters.gemspec b/rails-better-filters.gemspec index abc1234..def5678 100644 --- a/rails-better-filters.gemspec +++ b/rails-better-filters.gemspec @@ -16,5 +16,5 @@ s.require_paths = ['lib'] s.files = Dir.glob('lib/**/*.rb') - s.add_development_dependency 'rspec' + s.add_devel...
Resolve open-ended dependency on rspec to fix the warning.
diff --git a/refinerycms-products.gemspec b/refinerycms-products.gemspec index abc1234..def5678 100644 --- a/refinerycms-products.gemspec +++ b/refinerycms-products.gemspec @@ -18,6 +18,8 @@ s.add_dependency 'refinerycms-core', '~> 3.0.0' s.add_dependency 'refinerycms-page-images', '~> 3.0.0' ...
Add friendly_id and globalize dependencies in gempsec
diff --git a/spec/features/worker_picks_project_spec.rb b/spec/features/worker_picks_project_spec.rb index abc1234..def5678 100644 --- a/spec/features/worker_picks_project_spec.rb +++ b/spec/features/worker_picks_project_spec.rb @@ -1,6 +1,7 @@ require 'rails_helper' -feature 'worker picks project' do +feature 'Loggi...
Test logging capacity when do not bill isn't checked We appear to be requiring Do Not Bill to be set instead of letting it default to false. This is causing the capacity not to be saved unless it's marked as DNB
diff --git a/spec/routing/network_ports_routing_spec.rb b/spec/routing/network_ports_routing_spec.rb index abc1234..def5678 100644 --- a/spec/routing/network_ports_routing_spec.rb +++ b/spec/routing/network_ports_routing_spec.rb @@ -0,0 +1,16 @@+describe "routes for Network Ports" do + let(:controller_name) { "network...
Test for listnav saved search routes
diff --git a/spec/toy_robot_simulator/simulator_spec.rb b/spec/toy_robot_simulator/simulator_spec.rb index abc1234..def5678 100644 --- a/spec/toy_robot_simulator/simulator_spec.rb +++ b/spec/toy_robot_simulator/simulator_spec.rb @@ -1,4 +1,19 @@ require 'spec_helper' describe ToyRobotSimulator::Simulator do + descr...
Add first specs for Simulator to accept commands
diff --git a/server/spec/challenge_spec.rb b/server/spec/challenge_spec.rb index abc1234..def5678 100644 --- a/server/spec/challenge_spec.rb +++ b/server/spec/challenge_spec.rb @@ -37,19 +37,25 @@ subject.play end - context 'when there was no such challenge' + context 'but there was no such challenge...
Clarify the test plan a litte
diff --git a/test/support.rb b/test/support.rb index abc1234..def5678 100644 --- a/test/support.rb +++ b/test/support.rb @@ -15,7 +15,7 @@ require 'minitest/autorun' FIXTURES_PATH = File.absolute_path("#{File.dirname(__FILE__)}/fixtures") -TEST_KEY = '74c608b61192dd78076fc97af82bbe808415355e' +TEST_KEY = '...
Update new test API key
diff --git a/db/migrate/20121112213825_remove_default_from_comments.rb b/db/migrate/20121112213825_remove_default_from_comments.rb index abc1234..def5678 100644 --- a/db/migrate/20121112213825_remove_default_from_comments.rb +++ b/db/migrate/20121112213825_remove_default_from_comments.rb @@ -0,0 +1,9 @@+class RemoveDef...
Add missing migration from 3297c389a1d4976f671
diff --git a/config/initializers/twitter.rb b/config/initializers/twitter.rb index abc1234..def5678 100644 --- a/config/initializers/twitter.rb +++ b/config/initializers/twitter.rb @@ -1,7 +1,7 @@ Twitter.configure do |config| - config.consumer_key = ENV['twitter_consumer_key'] - config.consumer_secret = ENV['twitter...
Use environment variables, the way grown ups do it today
diff --git a/lib/generators/express_admin/install/install_generator.rb b/lib/generators/express_admin/install/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/express_admin/install/install_generator.rb +++ b/lib/generators/express_admin/install/install_generator.rb @@ -18,7 +18,7 @@ Bundler.c...
Fix install generator commit failure
diff --git a/plugins/push_notification/test/helpers/observers_test_helper.rb b/plugins/push_notification/test/helpers/observers_test_helper.rb index abc1234..def5678 100644 --- a/plugins/push_notification/test/helpers/observers_test_helper.rb +++ b/plugins/push_notification/test/helpers/observers_test_helper.rb @@ -9,7...
Fix addMember task creation for push_notification plugin
diff --git a/array_lists.rb b/array_lists.rb index abc1234..def5678 100644 --- a/array_lists.rb +++ b/array_lists.rb @@ -1,8 +1,13 @@ class ArrayList - def initialize + attr_accessor :size, :array + def initialize(size) + @size = size + @array = Array.new(size) end def add(element) + @array.push(ele...
Create initialize method, create add(element) method
diff --git a/lib/generators/spree_gateway/install/install_generator.rb b/lib/generators/spree_gateway/install/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/spree_gateway/install/install_generator.rb +++ b/lib/generators/spree_gateway/install/install_generator.rb @@ -8,7 +8,7 @@ def run...
Allow res to be nil in InstallGenerator's run_migrations Fixes: http://ci.spreecommerce.com/viewLog.html?buildId=5911&buildTypeId=bt14&tab=buildLog#_focus=123
diff --git a/app/controllers/gobierto_budgets/featured_budget_lines_controller.rb b/app/controllers/gobierto_budgets/featured_budget_lines_controller.rb index abc1234..def5678 100644 --- a/app/controllers/gobierto_budgets/featured_budget_lines_controller.rb +++ b/app/controllers/gobierto_budgets/featured_budget_lines_c...
Fix response when code is not present The blank response of featured_budgets_lines_controller was failing with a 500 error
diff --git a/test/integration/instance/instance_spec.rb b/test/integration/instance/instance_spec.rb index abc1234..def5678 100644 --- a/test/integration/instance/instance_spec.rb +++ b/test/integration/instance/instance_spec.rb @@ -15,10 +15,8 @@ it { should be_running } end -describe service('memcached_painful_c...
Switch back to command for process checking InSpec fails to find the init services on Ubuntu Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/test/lib/restforce/db/runner_cache_test.rb b/test/lib/restforce/db/runner_cache_test.rb index abc1234..def5678 100644 --- a/test/lib/restforce/db/runner_cache_test.rb +++ b/test/lib/restforce/db/runner_cache_test.rb @@ -32,7 +32,7 @@ end before do - cache.collection(mapping, :database...
Remove obsolete block invocation in Cache spec
diff --git a/rails_event_store-rspec/lib/rails_event_store/rspec/have_applied.rb b/rails_event_store-rspec/lib/rails_event_store/rspec/have_applied.rb index abc1234..def5678 100644 --- a/rails_event_store-rspec/lib/rails_event_store/rspec/have_applied.rb +++ b/rails_event_store-rspec/lib/rails_event_store/rspec/have_ap...
Use new public API correctly. https://github.com/RailsEventStore/rails_event_store/pull/114/
diff --git a/lib/infoblox_client/client/zones.rb b/lib/infoblox_client/client/zones.rb index abc1234..def5678 100644 --- a/lib/infoblox_client/client/zones.rb +++ b/lib/infoblox_client/client/zones.rb @@ -15,8 +15,7 @@ end def create_zone(attrs={}) - body = attrs.merge({'view' => 'default'}) - ...
Remove hardcoding view from create_zone method
diff --git a/lib/php_serialization/serializer.rb b/lib/php_serialization/serializer.rb index abc1234..def5678 100644 --- a/lib/php_serialization/serializer.rb +++ b/lib/php_serialization/serializer.rb @@ -13,7 +13,7 @@ when Float then "d:#{object};" when String, Symbol then - "s:#{object.to...
Fix serializing multibyte character length issue. When developer serialize multibyte character, it seems serialized, but unserialize it through php fails. It is because php serialization expects sting byte length, but `String#length` is just length of string in ruby >= 1.9. To fix the issue, changed to use `String#byt...
diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb index abc1234..def5678 100644 --- a/config/initializers/doorkeeper.rb +++ b/config/initializers/doorkeeper.rb @@ -2,7 +2,15 @@ orm :active_record resource_owner_authenticator do - env[:clearance].try(:current_user) + clearan...
Bring back redirect_to or sign in on oauth flow won't work!
diff --git a/db/migrate/20140210121403_add_unique_index_to_trade_permits.rb b/db/migrate/20140210121403_add_unique_index_to_trade_permits.rb index abc1234..def5678 100644 --- a/db/migrate/20140210121403_add_unique_index_to_trade_permits.rb +++ b/db/migrate/20140210121403_add_unique_index_to_trade_permits.rb @@ -1,5 +1,...
Set the index to be actually unique
diff --git a/gas.gemspec b/gas.gemspec index abc1234..def5678 100644 --- a/gas.gemspec +++ b/gas.gemspec @@ -20,7 +20,6 @@ s.add_dependency 'thor', '~> 0.14.6' s.add_development_dependency 'rspec' - s.add_development_dependency 'rr' s.add_development_dependency 'bundler' s.files = Dir.glob("{bin,lib,spe...
Remove rr as development dependency
diff --git a/lib/extensions/deferred_workflow_state_persistence/workflow.rb b/lib/extensions/deferred_workflow_state_persistence/workflow.rb index abc1234..def5678 100644 --- a/lib/extensions/deferred_workflow_state_persistence/workflow.rb +++ b/lib/extensions/deferred_workflow_state_persistence/workflow.rb @@ -1,10 +1...
Include WorkflowActiverecord in the state persistence extension.
diff --git a/spec/lib/column_spec.rb b/spec/lib/column_spec.rb index abc1234..def5678 100644 --- a/spec/lib/column_spec.rb +++ b/spec/lib/column_spec.rb @@ -0,0 +1,72 @@+require 'spec_helper' + +describe MightyGrid::Column do + + describe '#new' do + describe 'with attribute' do + context 'without options' do ...
Add specs for MightyGrid::Column class
diff --git a/spec/sawarineko_spec.rb b/spec/sawarineko_spec.rb index abc1234..def5678 100644 --- a/spec/sawarineko_spec.rb +++ b/spec/sawarineko_spec.rb @@ -5,7 +5,7 @@ RSpec.describe Sawarineko do subject(:sawarineko) { described_class } - describe '#nya' do + describe '.nya' do it { is_expected.to respond...
Fix description for class method It's `Sawarineko.nya`, not `Sawarineko#nya`.
diff --git a/authem.gemspec b/authem.gemspec index abc1234..def5678 100644 --- a/authem.gemspec +++ b/authem.gemspec @@ -12,8 +12,7 @@ spec.required_ruby_version = ">= 1.9.3" - spec.files = `git ls-files`.split($/) - spec.test_files = spec.files.grep("spec") + spec.files ...
Clean up gemspec a bit
diff --git a/lib/inch/cli/command/output/stats.rb b/lib/inch/cli/command/output/stats.rb index abc1234..def5678 100644 --- a/lib/inch/cli/command/output/stats.rb +++ b/lib/inch/cli/command/output/stats.rb @@ -32,27 +32,6 @@ puts JSON.pretty_generate(hash) end - - private - - d...
Remove dead code from Command::Output::Stats
diff --git a/lib/markety/authentication_header.rb b/lib/markety/authentication_header.rb index abc1234..def5678 100644 --- a/lib/markety/authentication_header.rb +++ b/lib/markety/authentication_header.rb @@ -1,7 +1,7 @@ module Markety # This class exists only to encapsulate the authentication header part of a soap ...
Use OpenSSL::Digest rather than OpenSSL::Digest::Digest This eliminates the `Digest::Digest is deprecated; use Digest` warning when markety is required.
diff --git a/lib/metasploit/credential/version.rb b/lib/metasploit/credential/version.rb index abc1234..def5678 100644 --- a/lib/metasploit/credential/version.rb +++ b/lib/metasploit/credential/version.rb @@ -7,7 +7,7 @@ # The minor version number, scoped to the {MAJOR} version number. MINOR = 4 # T...
Use correct branch name in PR.
diff --git a/lib/poloxy/item_merge/per_address.rb b/lib/poloxy/item_merge/per_address.rb index abc1234..def5678 100644 --- a/lib/poloxy/item_merge/per_address.rb +++ b/lib/poloxy/item_merge/per_address.rb @@ -0,0 +1,41 @@+class Poloxy::ItemMerge::PerAddress < Poloxy::ItemMerge::Base + + private + + # @param data [Has...
Implement 'PerAddress' config option for deliver.item.merger
diff --git a/spec/lib/lasp/params_builder_spec.rb b/spec/lib/lasp/params_builder_spec.rb index abc1234..def5678 100644 --- a/spec/lib/lasp/params_builder_spec.rb +++ b/spec/lib/lasp/params_builder_spec.rb @@ -2,6 +2,14 @@ module Lasp describe ParamsBuilder do + it "creates a Params object for normal params" do ...
Add happy path tests for ParamsBuilder
diff --git a/app/helpers/orgs_helper.rb b/app/helpers/orgs_helper.rb index abc1234..def5678 100644 --- a/app/helpers/orgs_helper.rb +++ b/app/helpers/orgs_helper.rb @@ -1,19 +1,17 @@ module OrgsHelper + # frozen_string_literal: true - DEFAULT_EMAIL = '%{organisation_email}'.freeze + DEFAULT_EMAIL = '%{organisation...
Fix how strings are wrapped in translation helper
diff --git a/app/mailers/load_mailer.rb b/app/mailers/load_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/load_mailer.rb +++ b/app/mailers/load_mailer.rb @@ -8,7 +8,7 @@ end def send_notification(email, load_event) - subject_line="AACT #{ENV['RAILS_ENV']} #{load_event.event_type} Status: #{load_eve...
Update subject line to reveal environment. In Heroku, RAILS_ENV is defined as production, even in dev environment, so use the S3_Bucket_Name which reveals the actual environment.
diff --git a/react-native-lookback.podspec b/react-native-lookback.podspec index abc1234..def5678 100644 --- a/react-native-lookback.podspec +++ b/react-native-lookback.podspec @@ -14,5 +14,4 @@ s.source_files = "ios/*" s.platform = :ios, "8.0" s.dependency "Lookback", "1.4.1" - s.vendored_frameworks = "Lookba...
Revert and remove lookback as a vendored framework
diff --git a/core/app/controllers/spree/admin/return_authorizations_controller.rb b/core/app/controllers/spree/admin/return_authorizations_controller.rb index abc1234..def5678 100644 --- a/core/app/controllers/spree/admin/return_authorizations_controller.rb +++ b/core/app/controllers/spree/admin/return_authorizations_c...
Correct reference to order model in ReturnAuthorizationsController
diff --git a/Casks/spotifybeta.rb b/Casks/spotifybeta.rb index abc1234..def5678 100644 --- a/Casks/spotifybeta.rb +++ b/Casks/spotifybeta.rb @@ -1,6 +1,6 @@ cask :v1 => 'spotifybeta' do - version '1.0.0.1093.g2eba9b4b-1679' - sha256 'ac5e99bfb448d3f4ee46b1a95bd428c5d8f27e193b44895754ac4150a0f56a60' + version '1.0.0....
Update SpotifyBeta.app to latest version.
diff --git a/tool/remove_old_guards.rb b/tool/remove_old_guards.rb index abc1234..def5678 100644 --- a/tool/remove_old_guards.rb +++ b/tool/remove_old_guards.rb @@ -1,4 +1,6 @@-# Remove old version guards in ruby/spec +# Removes old version guards in ruby/spec. +# Run it from the ruby/spec repository root. +# The argum...
Improve tool to remove old guards
diff --git a/rforce-wrapper.gemspec b/rforce-wrapper.gemspec index abc1234..def5678 100644 --- a/rforce-wrapper.gemspec +++ b/rforce-wrapper.gemspec @@ -18,6 +18,8 @@ s.add_development_dependency 'mocha' else s.add_dependency 'rforce' + s.add_dependency 'rspec' + s.add_dependency 'mocha' end s...
Add rspec and mocha as dependencies for older Gem::Versions
diff --git a/spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb b/spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb index abc1234..def5678 100644 --- a/spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb +++ b/spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb @@ -15,6 +1...
Mark failing test as pending for now Until we can get to the bottom of the issue
diff --git a/spec/acceptances/manage_spec.rb b/spec/acceptances/manage_spec.rb index abc1234..def5678 100644 --- a/spec/acceptances/manage_spec.rb +++ b/spec/acceptances/manage_spec.rb @@ -34,4 +34,15 @@ expect(page).to have_content('Guirec Corbel2') end end + + scenario 'Delete a user', js: true do + ...
Add a scenario to delete users
diff --git a/spec/sonar/registration_spec.rb b/spec/sonar/registration_spec.rb index abc1234..def5678 100644 --- a/spec/sonar/registration_spec.rb +++ b/spec/sonar/registration_spec.rb @@ -28,11 +28,11 @@ context 'POSTing an invalid product key' do let (:resp) { client.register_metasploit("DDXXXX") } - xit ...
Add the live MS registration specs
diff --git a/Casks/divvy.rb b/Casks/divvy.rb index abc1234..def5678 100644 --- a/Casks/divvy.rb +++ b/Casks/divvy.rb @@ -3,5 +3,5 @@ homepage 'http://mizage.com/divvy/' version 'latest' no_checksum - link :app, 'Divvy.app' + link 'Divvy.app' end
Remove :app designation from link
diff --git a/Casks/slack.rb b/Casks/slack.rb index abc1234..def5678 100644 --- a/Casks/slack.rb +++ b/Casks/slack.rb @@ -8,7 +8,7 @@ :sha256 => 'e7af629495c52f3082dd4d7dca917a5a21921031b871461045e204bcc6d8fe03' name 'Slack' homepage 'http://slack.com' - license :unknown # todo: change license and re...
Add license info for Slack
diff --git a/test/integration/test_mws_headers.rb b/test/integration/test_mws_headers.rb index abc1234..def5678 100644 --- a/test/integration/test_mws_headers.rb +++ b/test/integration/test_mws_headers.rb @@ -11,6 +11,11 @@ res = client.get_lowest_priced_offers_for_asin(client.marketplace.id, ...
Add all accessors to test
diff --git a/Clappr.podspec b/Clappr.podspec index abc1234..def5678 100644 --- a/Clappr.podspec +++ b/Clappr.podspec @@ -1,30 +1,11 @@-# -# Be sure to run `pod lib lint Clappr.podspec' to ensure this is a -# valid spec before submitting. -# -# Any lines starting with a # are optional, but their use is encouraged -# To ...
Update podspec homepage and description
diff --git a/app/controllers/detailed_guides_controller.rb b/app/controllers/detailed_guides_controller.rb index abc1234..def5678 100644 --- a/app/controllers/detailed_guides_controller.rb +++ b/app/controllers/detailed_guides_controller.rb @@ -2,7 +2,7 @@ layout "detailed-guidance" skip_before_filter :set_search_...
Rename filter method to set detailed guide breadcrumbs
diff --git a/app/controllers/shipit/webhooks_controller.rb b/app/controllers/shipit/webhooks_controller.rb index abc1234..def5678 100644 --- a/app/controllers/shipit/webhooks_controller.rb +++ b/app/controllers/shipit/webhooks_controller.rb @@ -42,7 +42,8 @@ end def repository_owner - params.dig('reposi...
Handle more payload types in WebhookController calls
diff --git a/Cassette.podspec b/Cassette.podspec index abc1234..def5678 100644 --- a/Cassette.podspec +++ b/Cassette.podspec @@ -14,7 +14,7 @@ spec.source_files = 'Cassette/*.{h,m}' spec.ios.deployment_target = '8.0' - spec.osx.deployment_target = '10.9' + spec.osx.deployment_target = '10.11' spec....
Support back to macOS 10.11
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -12,6 +12,7 @@ map "/api/tiramisu/v1" do use Rack::PostBodyContentTypeParser use Rack::MethodOverride + use Pebbles::Cors run TiramisuV1 end
Add Pebbles::Cors to endpoint too
diff --git a/ruby-jwt.gemspec b/ruby-jwt.gemspec index abc1234..def5678 100644 --- a/ruby-jwt.gemspec +++ b/ruby-jwt.gemspec @@ -6,7 +6,6 @@ spec.name = 'jwt' spec.version = JWT.gem_version spec.authors = [ - 'Jeff Lindsay', 'Tim Rudat' ] spec.email = 'timrudat@gmail.com' @@ -14,6 +13,7 @@ spec....
Add minimum required ruby version to gemspec
diff --git a/db/migrate/20140618224954_add_fingerprint_to_gitolite_public_keys.rb b/db/migrate/20140618224954_add_fingerprint_to_gitolite_public_keys.rb index abc1234..def5678 100644 --- a/db/migrate/20140618224954_add_fingerprint_to_gitolite_public_keys.rb +++ b/db/migrate/20140618224954_add_fingerprint_to_gitolite_pu...
Fix db migration to v0.8 for Postgres
diff --git a/config/initializers/devise_custom_flash_messages.rb b/config/initializers/devise_custom_flash_messages.rb index abc1234..def5678 100644 --- a/config/initializers/devise_custom_flash_messages.rb +++ b/config/initializers/devise_custom_flash_messages.rb @@ -11,7 +11,7 @@ if kind == :signed_up || (kind ==...
Fix devise custom flash messages
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'All rights reserved' description 'Installs/Configures local_apt' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.1.0' +version ...
Bump version on master after 0.1.0 release
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'MIT' description 'Installs/Configures dokku' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '1.0.0' +version '0.2.0' s...
Make cookbook version 0.2.0 to match dokku's version
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -6,12 +6,12 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) source_url 'https://github.com/stevenhaddox/cookbook-rvm_fw' issues_url 'https://github.com/stevenhaddox/cookbook-rvm_fw/i...
Remove dependency version locking for flexibility
diff --git a/spec/classes/example_spec.rb b/spec/classes/example_spec.rb index abc1234..def5678 100644 --- a/spec/classes/example_spec.rb +++ b/spec/classes/example_spec.rb @@ -10,7 +10,6 @@ context "netrc class without any parameters" do it { is_expected.to compile.with_all_deps } - end ...
Remove empty line in spec test
diff --git a/spec/support/vault_server.rb b/spec/support/vault_server.rb index abc1234..def5678 100644 --- a/spec/support/vault_server.rb +++ b/spec/support/vault_server.rb @@ -7,6 +7,9 @@ class VaultServer include Singleton + TOKEN_PATH = File.expand_path("~/.vault-token").freeze + TOKEN_PATH_BKUP = "#{...
Update Vault server spec to use local token
diff --git a/epicify.gemspec b/epicify.gemspec index abc1234..def5678 100644 --- a/epicify.gemspec +++ b/epicify.gemspec @@ -8,7 +8,7 @@ s.platform = Gem::Platform::RUBY s.authors = ["Gordon McCreight", "Kaushik Gopal", "Guilherme Moura"] s.email = ["gordon@weddingparty"] - s.homepage = "" + s...
Add a homepage to the gem spec
diff --git a/ZettaKit.podspec b/ZettaKit.podspec index abc1234..def5678 100644 --- a/ZettaKit.podspec +++ b/ZettaKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "ZettaKit" - s.version = "0.0.6" + s.version = "0.0.7" s.summary = "A Reactive Hypermedia Client for t...
Update to podspec to bump version.
diff --git a/app/helpers/sessions_helper.rb b/app/helpers/sessions_helper.rb index abc1234..def5678 100644 --- a/app/helpers/sessions_helper.rb +++ b/app/helpers/sessions_helper.rb @@ -19,4 +19,11 @@ def signed_in? !current_user.nil? end + + # remembers a user in a persistent session (secure cookie) + def r...
Add remember method to sessions helper to call user remember method, and set secure cookies for user id and remember token. Add call to remember helper in session controller create action.
diff --git a/jekyll-crosspost-to-medium.gemspec b/jekyll-crosspost-to-medium.gemspec index abc1234..def5678 100644 --- a/jekyll-crosspost-to-medium.gemspec +++ b/jekyll-crosspost-to-medium.gemspec @@ -22,7 +22,7 @@ s.homepage = 'http://rubygems.org/gems/jekyll-crosspost-to-medium' s.license = 'MIT' - s.a...
Bump the jekyll version dependency The gem runs fine currently on 4.0.1 so we can probably safely bump the max or remove it altogether
diff --git a/Casks/coreclr.rb b/Casks/coreclr.rb index abc1234..def5678 100644 --- a/Casks/coreclr.rb +++ b/Casks/coreclr.rb @@ -7,5 +7,7 @@ license :mit pkg "dotnet-osx-x64.#{version}.pkg" + depends_on macos: '>= :yosemite' + uninstall pkgutil: 'com.microsoft.dotnet.cli.pkg.dotnet-osx-x64.*' end
Add depends_on >= :yosemite (10.10)
diff --git a/app/controllers/components/course/duplication_component.rb b/app/controllers/components/course/duplication_component.rb index abc1234..def5678 100644 --- a/app/controllers/components/course/duplication_component.rb +++ b/app/controllers/components/course/duplication_component.rb @@ -6,7 +6,7 @@ end ...
Allow course managers to duplicate their course. Use the previously defined :duplicate ability to check. Coursemology administrators can still duplicate courses as administrators have all abilities.
diff --git a/Formula/tsuru.rb b/Formula/tsuru.rb index abc1234..def5678 100644 --- a/Formula/tsuru.rb +++ b/Formula/tsuru.rb @@ -11,6 +11,12 @@ zsh_completion.install "misc/zsh-completion" => "tsuru" end + devel do + url "https://github.com/tsuru/tsuru-client/releases/download/1.7.0/tsuru_1.7.0_macOS_amd64...
Add devel release pointing to stable version No surprises or errors for people using install --devel by default.
diff --git a/cookbooks/travis_ci_cookiecat/attributes/default.rb b/cookbooks/travis_ci_cookiecat/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/travis_ci_cookiecat/attributes/default.rb +++ b/cookbooks/travis_ci_cookiecat/attributes/default.rb @@ -22,7 +22,6 @@ openjdk7 openjdk8 oraclejdk7 ...
Remove oraclejdk9 from list of java alternate versions for now? Because travis-ci/travis-ci#7778
diff --git a/db/migrate/20150803165102_add_choice_foreign_key.rb b/db/migrate/20150803165102_add_choice_foreign_key.rb index abc1234..def5678 100644 --- a/db/migrate/20150803165102_add_choice_foreign_key.rb +++ b/db/migrate/20150803165102_add_choice_foreign_key.rb @@ -1,5 +1,6 @@ class AddChoiceForeignKey < ActiveRecor...
2283: Fix previous migration (remove FK before adding it). This is necessary because the staging database already have it. Since the local one will not have it, a rescue is also needed.
diff --git a/db/migrate/20190811191846_rename_entry_content_hash_to_unique_hash.rb b/db/migrate/20190811191846_rename_entry_content_hash_to_unique_hash.rb index abc1234..def5678 100644 --- a/db/migrate/20190811191846_rename_entry_content_hash_to_unique_hash.rb +++ b/db/migrate/20190811191846_rename_entry_content_hash_t...
Use id to order entries in migration When deleting entries with duplicate hashes in this migration it is important to leave the oldest entry alone and delete any newer duplicates. The id attribute is used in the case of duplicate entries with the same publish date and created_at date; in this case the entry with the l...
diff --git a/smiling.gemspec b/smiling.gemspec index abc1234..def5678 100644 --- a/smiling.gemspec +++ b/smiling.gemspec @@ -15,6 +15,7 @@ gem.require_paths = ["lib"] gem.version = Smiling::VERSION + gem.add_development_dependency 'rake', '~> 0.9.0' gem.add_development_dependency 'rdoc', '~> 3.0' ge...
Add rake to development dependencies
diff --git a/common/test/rb/spec/error_spec.rb b/common/test/rb/spec/error_spec.rb index abc1234..def5678 100644 --- a/common/test/rb/spec/error_spec.rb +++ b/common/test/rb/spec/error_spec.rb @@ -11,6 +11,16 @@ end it "should show stack trace information" do - pending + driver.navigate.to url_for("xhtmlTe...
JariBakken: Implement pending spec for server backtrace. git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@9511 07704840-8298-11de-bf8c-fd130f914ac9
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index abc1234..def5678 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -3,3 +3,4 @@ # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf # Mime::Type.r...
Add SVG mime type support
diff --git a/app/controllers/api/clef_tasks_controller.rb b/app/controllers/api/clef_tasks_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/clef_tasks_controller.rb +++ b/app/controllers/api/clef_tasks_controller.rb @@ -15,7 +15,7 @@ ensure Rails.logger.info "API: #{message}" rend...
Add missing field 'name' to JSON output
diff --git a/app/controllers/mixins/generic_form_mixin.rb b/app/controllers/mixins/generic_form_mixin.rb index abc1234..def5678 100644 --- a/app/controllers/mixins/generic_form_mixin.rb +++ b/app/controllers/mixins/generic_form_mixin.rb @@ -3,7 +3,7 @@ def cancel_action(message) session[:edit] = nil f...
Fix rubocop warnings in GenericFormMixin
diff --git a/spec/lib/gitlab/background_migration/populate_external_pipeline_source_spec.rb b/spec/lib/gitlab/background_migration/populate_external_pipeline_source_spec.rb index abc1234..def5678 100644 --- a/spec/lib/gitlab/background_migration/populate_external_pipeline_source_spec.rb +++ b/spec/lib/gitlab/background...
Add frozen string literal comment