diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/pothoven-attachment_fu.rb b/lib/pothoven-attachment_fu.rb index abc1234..def5678 100644 --- a/lib/pothoven-attachment_fu.rb +++ b/lib/pothoven-attachment_fu.rb @@ -1,12 +1,25 @@-class Engine < Rails::Engine - # Mimic old vendored plugin behavior, attachment_fu/lib is autoloaded. - config.autoload_pat...
Allow use as gem on Rails 2
diff --git a/lib/relative_time/in_words.rb b/lib/relative_time/in_words.rb index abc1234..def5678 100644 --- a/lib/relative_time/in_words.rb +++ b/lib/relative_time/in_words.rb @@ -33,7 +33,9 @@ end def verb_agreement(resolution) - if resolution[0] == 1 + if resolution[0] == 1 && resolution.last ==...
Use 'an' rather than 'a' as the article where the time period variance is one hour
diff --git a/app/controllers/menu_controller.rb b/app/controllers/menu_controller.rb index abc1234..def5678 100644 --- a/app/controllers/menu_controller.rb +++ b/app/controllers/menu_controller.rb @@ -11,18 +11,18 @@ @data = [ 'Authorize', 'Characteristics', + 'ObserverQuery', + 'SourceQuery...
Rearrange app controllers so query mirrors finder
diff --git a/app/decorators/plugin_decorator.rb b/app/decorators/plugin_decorator.rb index abc1234..def5678 100644 --- a/app/decorators/plugin_decorator.rb +++ b/app/decorators/plugin_decorator.rb @@ -2,10 +2,10 @@ delegate_all def status - if installed? + if processing? + I18n.t("terms.processing") +...
Change the priority of checking status because both installed and not installed plugins could be processing.
diff --git a/app/helpers/organisation_helper.rb b/app/helpers/organisation_helper.rb index abc1234..def5678 100644 --- a/app/helpers/organisation_helper.rb +++ b/app/helpers/organisation_helper.rb @@ -17,6 +17,6 @@ def organisation_view_all_tag(organisation, kind) path = send(:"#{kind}_organisation_path", @org...
Use Ruby 1.9 hash syntax. Whenever it comes to using class as a hash key, I get a bit nervous.
diff --git a/app/models/concerns/crop_search.rb b/app/models/concerns/crop_search.rb index abc1234..def5678 100644 --- a/app/models/concerns/crop_search.rb +++ b/app/models/concerns/crop_search.rb @@ -18,7 +18,7 @@ scientific_names: scientific_names.pluck(:name), # boost the crops that are planted the ...
Use the counter for harvests
diff --git a/app/policies/application_policy.rb b/app/policies/application_policy.rb index abc1234..def5678 100644 --- a/app/policies/application_policy.rb +++ b/app/policies/application_policy.rb @@ -43,7 +43,7 @@ end def resolve - scope.all + scope.all if user.is_a?(AdminUser) end end en...
Add guard for ApplicationPolicy>Scope resolve method
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 @@ -5,7 +5,7 @@ flash.inject("") do |sum, message| content_tag :div, :class => "alert alert-#{types[message[0]]}" do...
Fix flash notice HTML bug
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true class ApplicationMailer < ActionMailer::Base - default from: "from@example.com"...
Update default from in application mailer to eightynotes.com
diff --git a/app/models/domain.rb b/app/models/domain.rb index abc1234..def5678 100644 --- a/app/models/domain.rb +++ b/app/models/domain.rb @@ -13,7 +13,8 @@ doc = "" end - tag = Nokogiri::HTML(doc).at("html head meta[name='Description']") + header = Nokogiri::HTML(doc).at("html head") + ...
Handle lower case and capitalised meta tag
diff --git a/lib/bunny.rb b/lib/bunny.rb index abc1234..def5678 100644 --- a/lib/bunny.rb +++ b/lib/bunny.rb @@ -34,4 +34,15 @@ Bunny::Client.new(opts) end -end+ def self.open(opts = {}, &block) + raise ArgumentError, 'open requires a block' unless block + + client = Bunny::Client.new(opts) + client.sta...
Add Bunny.open for short lived connections.
diff --git a/lib/gaffe.rb b/lib/gaffe.rb index abc1234..def5678 100644 --- a/lib/gaffe.rb +++ b/lib/gaffe.rb @@ -2,23 +2,28 @@ require 'gaffe/errors' module Gaffe + # Yield a block to populate @configuration def self.configure yield configuration end + # Return the configuration settings def self.c...
Add documentation to a few methods
diff --git a/ohm-contrib.gemspec b/ohm-contrib.gemspec index abc1234..def5678 100644 --- a/ohm-contrib.gemspec +++ b/ohm-contrib.gemspec @@ -13,5 +13,6 @@ s.add_dependency "ohm", "~> 2.0.0.rc1" s.add_development_dependency "cutest" + s.add_development_dependency "iconv" s.add_development_dependency "override...
Add iconv as a development dependency.
diff --git a/wellspring.gemspec b/wellspring.gemspec index abc1234..def5678 100644 --- a/wellspring.gemspec +++ b/wellspring.gemspec @@ -9,9 +9,9 @@ s.version = Wellspring::VERSION s.authors = ["Piotr Chmolowski"] s.email = ["piotr@chmolowski.pl"] - s.homepage = "TODO" - s.summary = "TODO...
Add valid gemspec metadata to fix bundle errors Solves: https://github.com/pch/wellspring-example-blog/issues/2
diff --git a/with_model.gemspec b/with_model.gemspec index abc1234..def5678 100644 --- a/with_model.gemspec +++ b/with_model.gemspec @@ -6,9 +6,9 @@ s.name = "with_model" s.version = WithModel::VERSION s.platform = Gem::Platform::RUBY - s.authors = ["Peter Jaros", "Grant Hutchins"] - s.email...
Update gemspec to prepare for 0.1 gem release
diff --git a/lib/active_merchant/billing/integrations/ipay88.rb b/lib/active_merchant/billing/integrations/ipay88.rb index abc1234..def5678 100644 --- a/lib/active_merchant/billing/integrations/ipay88.rb +++ b/lib/active_merchant/billing/integrations/ipay88.rb @@ -21,14 +21,14 @@ self.merch_key = key ...
Swap service_url and entry_url to play nice with ActiveMerchant's payment_service_for view helper
diff --git a/lib/ama_validators/postal_code_format_validator.rb b/lib/ama_validators/postal_code_format_validator.rb index abc1234..def5678 100644 --- a/lib/ama_validators/postal_code_format_validator.rb +++ b/lib/ama_validators/postal_code_format_validator.rb @@ -1,7 +1,7 @@ class PostalCodeFormatValidator < ActiveMod...
Change postal code in e.g message * This probably have to change algo in the en.yml file for each project
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,8 @@+require "codeclimate-test-reporter" +CodeClimate::TestReporter.start + ENV['RACK_ENV'] = 'test' require_relative './mock/app' require 'rspec' require 'rack/test'...
Move codeclimate code to the top
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,41 @@ $TESTING=true $:.push File.join(File.dirname(__FILE__), '..', 'lib') require 'iniparse' + +# Taken from Merb Core's spec helper. +# Merb is licenced using the MIT L...
Add +be_kind_of+ spec helper from Merb.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,7 +5,7 @@ RSpec.configure do |config| config.platform = 'centos' - config.version = '7.2.1511' + config.version = '7.5.1804' end def mock_web_xml(role_name = 'user'...
Fix Chefspecs by bumping centos platform version Recent versions of fauxhai do not support CentOS 7.2 anymore.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,9 +1,9 @@+require 'json' require 'faker' require 'vimrunner' require 'vimrunner/testing' require_relative 'lib/cmakevim' require_relative 'lib/vimrunner/extras' -require_re...
Edit basis of test suite.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,6 +6,8 @@ require 'ramesh' require 'webmock/rspec' +WebMock.disable_net_connect!(allow: "codeclimate.com") + def fixture_path(name) File.expand_path(File.join("..", "fixt...
Allow connection to Code Climate
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,8 @@ require 'chefspec' require 'chefspec/berkshelf' -ChefSpec::Coverage.start! +RSpec.configure do |config| + config.color = true # Use color in STDOUT +...
Remove the chefspec coverage report Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,6 @@ if ENV["CODECLIMATE_REPO_TOKEN"] - require "codeclimate-test-reporter" - CodeClimate::TestReporter.start + require "simplecov" + SimpleCov.start end require "i...
Upgrade to the latest version of the CodeClimate test reporter
diff --git a/lib/concurrent/thread_safe/util/array_hash_rbx.rb b/lib/concurrent/thread_safe/util/array_hash_rbx.rb index abc1234..def5678 100644 --- a/lib/concurrent/thread_safe/util/array_hash_rbx.rb +++ b/lib/concurrent/thread_safe/util/array_hash_rbx.rb @@ -10,10 +10,9 @@ @_monitor = Monitor.new unless @...
Fix broken initialization arguments on TruffleRuby The `make_synchronized_on_rbx` method is used to intercept the `.new` method on Array/Hash/Set but it broke whenever the `.new` was being used with arguments. (This was shown by the Array/Hash/Set specs that were added in the previous commits being broken on TruffleR...
diff --git a/test/surface_spec.rb b/test/surface_spec.rb index abc1234..def5678 100644 --- a/test/surface_spec.rb +++ b/test/surface_spec.rb @@ -0,0 +1,86 @@+# This is mostly for regression testing and bugfix confirmation at the moment. + +require 'rubygame' +include Rubygame + +context "A Surface being created (with a...
Add some tests/specs for recently fixed Surface methods.
diff --git a/0_code_wars/decoding_a_message.rb b/0_code_wars/decoding_a_message.rb index abc1234..def5678 100644 --- a/0_code_wars/decoding_a_message.rb +++ b/0_code_wars/decoding_a_message.rb @@ -0,0 +1,11 @@+# http://www.codewars.com/kata/565b9d6f8139573819000056/ +# --- iteration 1 --- +def decode(message) + messag...
Add code wars - decoding a message
diff --git a/CKCircleMenuView.podspec b/CKCircleMenuView.podspec index abc1234..def5678 100644 --- a/CKCircleMenuView.podspec +++ b/CKCircleMenuView.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = "CKCircleMenuView" - s.version = "0.1.2" + s.version = "0.1.3" s.summary = "An easy-...
Prepare .podspec for next release.
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -6,8 +6,13 @@ set :database, "sqlite3:pizzashop.db" +after do + ActiveRecord::Base.clear_active_connections! +end + class Product < ActiveRecord::Base end + get '/' do @products = Product.all
Add function after for ActiveRecord connections
diff --git a/Casks/xact.rb b/Casks/xact.rb index abc1234..def5678 100644 --- a/Casks/xact.rb +++ b/Casks/xact.rb @@ -1,6 +1,6 @@ class Xact < Cask - version '2.30' - sha256 '49f7770ad682bdb36f63bebaf98875c22c1ffc7bb9a14b616213039506a9cf74' + version '2.31' + sha256 '8e971fb8ae3f24a8188b9f70366993520c31922649058c04d...
Update xACT 2.30 to 2.31
diff --git a/run.rb b/run.rb index abc1234..def5678 100644 --- a/run.rb +++ b/run.rb @@ -1,4 +1,11 @@-#run.rb -#TODO: test on Windows +#run.rb #TODO: test on Windows -`g++ #{ARGF.filename}` +require 'tmpdir' + +src = ARGF.filename +puts "about to compile and run #{src}" +Dir.mktmpdir do |tmp| + exe = "#{tmp}/#{src}....
Add more compiler options Build executable in temporary directory Run executable if compile is successful
diff --git a/lib/sastrawi/stemmer/confix_stripping/precedence_adjustment_specification.rb b/lib/sastrawi/stemmer/confix_stripping/precedence_adjustment_specification.rb index abc1234..def5678 100644 --- a/lib/sastrawi/stemmer/confix_stripping/precedence_adjustment_specification.rb +++ b/lib/sastrawi/stemmer/confix_stri...
Remove apostrophe in array of regular expressions
diff --git a/config/initializers/hoptoad.rb b/config/initializers/hoptoad.rb index abc1234..def5678 100644 --- a/config/initializers/hoptoad.rb +++ b/config/initializers/hoptoad.rb @@ -1,3 +1,11 @@ HoptoadNotifier.configure do |config| config.api_key = ENV['HOPTOAD_API_KEY'] + + config.environment_filters << "GMAIL...
Make sure to filter sensitive environment variables for Hoptoad
diff --git a/config/initializers/lograge.rb b/config/initializers/lograge.rb index abc1234..def5678 100644 --- a/config/initializers/lograge.rb +++ b/config/initializers/lograge.rb @@ -6,6 +6,7 @@ { application_id: controller.current_application.try(:id), application_type: controller.current_applicati...
Add current admin user’s email to every log line.
diff --git a/Formula/jp.rb b/Formula/jp.rb index abc1234..def5678 100644 --- a/Formula/jp.rb +++ b/Formula/jp.rb @@ -1,13 +1,12 @@ class Jp < Formula desc "Command-line interface to JMESPath, a query language for JSON" homepage "http://jmespath.org/" - url "https://github.com/jmespath/jp/archive/0.1.1.tar.gz" - ...
Use prebuilt binary instead of requiring go Faster installs and better reliability that we're installing the exact same version we've tested and signed.
diff --git a/Casks/hush.rb b/Casks/hush.rb index abc1234..def5678 100644 --- a/Casks/hush.rb +++ b/Casks/hush.rb @@ -1,6 +1,6 @@ class Hush < Cask - version '1.0' - sha256 'da31f0abd7c531e87c9f171493d318535cb24f1335e7e2b1c0fa68eeed685b2e' + version 'latest' + sha256 :no_check url 'https://coffitivity.com/hush/...
Update Hush.app to use latest with :no_check.
diff --git a/Casks/zest.rb b/Casks/zest.rb index abc1234..def5678 100644 --- a/Casks/zest.rb +++ b/Casks/zest.rb @@ -2,6 +2,7 @@ version '0.1.1' sha256 '9405fecb40731b47bb357e87714711afe6d1f6a9c3a4fa9d01b0109da9c3f947' + # github.com/zestdocs/zest was verified as official when first introduced to the cask ur...
Fix `url` stanza comment for Zest.
diff --git a/app/models/event.rb b/app/models/event.rb index abc1234..def5678 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -3,4 +3,5 @@ validates :shift_length, :address, presence: true + accepts_nested_attributes_for :shifts end
Implement nested shift attribute acceptance
diff --git a/core/app/controllers/spree/admin/states_controller.rb b/core/app/controllers/spree/admin/states_controller.rb index abc1234..def5678 100644 --- a/core/app/controllers/spree/admin/states_controller.rb +++ b/core/app/controllers/spree/admin/states_controller.rb @@ -1,7 +1,7 @@ module Spree module Admin ...
Correct reference to Spree::Country in Admin::StatesController
diff --git a/ActivityKit.podspec b/ActivityKit.podspec index abc1234..def5678 100644 --- a/ActivityKit.podspec +++ b/ActivityKit.podspec @@ -4,7 +4,7 @@ s.version = '1.0.2' s.summary = 'Custom application activities for iOS.' s.homepage = 'https://github.com/ccrazy88/activity-kit' - s.author = { 'Chrisna Aing'...
Change email address in pod specification.
diff --git a/upstreamer.gemspec b/upstreamer.gemspec index abc1234..def5678 100644 --- a/upstreamer.gemspec +++ b/upstreamer.gemspec @@ -22,6 +22,7 @@ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ["lib"] + spec.add_runtime_dependency "octokit" spec.add_develop...
Add octokit as runtime dependency
diff --git a/Casks/parallels9.rb b/Casks/parallels9.rb index abc1234..def5678 100644 --- a/Casks/parallels9.rb +++ b/Casks/parallels9.rb @@ -0,0 +1,20 @@+class Parallels < Cask + version '9.0.24237.1028877' + sha256 'da71645ff1f0076ab5b2f8fa5eefb63bcd921e5f52161fd4dd85e6fb19ae2c57' + + url "http://download.parallels...
Move Parallels 9 to Cask versions repo
diff --git a/app/factories/shopify/product_image_factory.rb b/app/factories/shopify/product_image_factory.rb index abc1234..def5678 100644 --- a/app/factories/shopify/product_image_factory.rb +++ b/app/factories/shopify/product_image_factory.rb @@ -20,9 +20,9 @@ # else if it's hosted online we must get the `url` ...
Use open instead of File.open That way we can open the online URLs instead of just local files.
diff --git a/lib/nehm.rb b/lib/nehm.rb index abc1234..def5678 100644 --- a/lib/nehm.rb +++ b/lib/nehm.rb @@ -28,15 +28,17 @@ PathManager.set_dl_path UI.newline + UserManager.set_uid + UI.newline + if OS.mac? PlaylistManager.set_playlist UI.newline end - UserManager.set_uid ...
Change the order of initialization
diff --git a/hasugar.gemspec b/hasugar.gemspec index abc1234..def5678 100644 --- a/hasugar.gemspec +++ b/hasugar.gemspec @@ -9,6 +9,7 @@ spec.authors = ["Martin Fernandez"] spec.email = ["me@bilby91.com"] spec.summary = %q{ Sugar for ruby hash class. } + spec.description = %q{ Sugar for r...
Add missing information to gemspec
diff --git a/rubygems-yardoc.gemspec b/rubygems-yardoc.gemspec index abc1234..def5678 100644 --- a/rubygems-yardoc.gemspec +++ b/rubygems-yardoc.gemspec @@ -20,5 +20,6 @@ gem.add_runtime_dependency 'yard', '~> 0.8.5' gem.add_development_dependency 'bundler' + gem.add_development_dependency 'rake' gem.add_dev...
Add Rake to dependent gems
diff --git a/resources/notify.rb b/resources/notify.rb index abc1234..def5678 100644 --- a/resources/notify.rb +++ b/resources/notify.rb @@ -37,7 +37,7 @@ options['channel'] = channel if new_resource.channels options['username'] = new_resource.username if new_resource.username options['icon_emoji'] ...
Fix Depricated features used! Warning
diff --git a/lib/tent-validator/validators/posts_feed_validator.rb b/lib/tent-validator/validators/posts_feed_validator.rb index abc1234..def5678 100644 --- a/lib/tent-validator/validators/posts_feed_validator.rb +++ b/lib/tent-validator/validators/posts_feed_validator.rb @@ -19,18 +19,29 @@ set(:post_types, post...
Add basic GET /posts?types=... validation
diff --git a/week-4/math/my_solution.rb b/week-4/math/my_solution.rb index abc1234..def5678 100644 --- a/week-4/math/my_solution.rb +++ b/week-4/math/my_solution.rb @@ -7,16 +7,20 @@ def add(num_1, num_2) #your code here + num_1 + num_2 end def subtract(num_1, num_2) #your code here + num_1 - num_2 end de...
Complete the answer for 4.3.2 Defining Math Methods.
diff --git a/test/unit/gen/code_gen_test.rb b/test/unit/gen/code_gen_test.rb index abc1234..def5678 100644 --- a/test/unit/gen/code_gen_test.rb +++ b/test/unit/gen/code_gen_test.rb @@ -1,7 +1,7 @@ require 'test/unit' require File.expand_path '../../../assert_helper.rb', __FILE__ require File.expand_path '../../../../...
Rename from code_generator to code_gen.
diff --git a/rails/script/update.rb b/rails/script/update.rb index abc1234..def5678 100644 --- a/rails/script/update.rb +++ b/rails/script/update.rb @@ -4,9 +4,9 @@ puts "Fetching latest Rails locale files to #{rails_locale_dir}" exec %( - curl http://github.com/rails/rails/tree/master/actionpack/lib/action_view/lo...
Update and fix Rails locale fetch script
diff --git a/vapor_extension.rb b/vapor_extension.rb index abc1234..def5678 100644 --- a/vapor_extension.rb +++ b/vapor_extension.rb @@ -16,7 +16,7 @@ FlowMeter.initialize_all if ActiveRecord::Base.connection.tables.include?('flow_meters') SiteController.send :include, Vapor::ControllerExtensions - if...
Fix in case help extension not installed.
diff --git a/app/api/entities/payload_formatter.rb b/app/api/entities/payload_formatter.rb index abc1234..def5678 100644 --- a/app/api/entities/payload_formatter.rb +++ b/app/api/entities/payload_formatter.rb @@ -1,13 +1,14 @@ # Adds a method for formatting payload contents. module PayloadFormatter - extend self - ...
Fix bug in JSON k/v ordering Don't assign null properties
diff --git a/spec/requests/products_spec.rb b/spec/requests/products_spec.rb index abc1234..def5678 100644 --- a/spec/requests/products_spec.rb +++ b/spec/requests/products_spec.rb @@ -1,9 +1,9 @@ require 'rails_helper' RSpec.describe 'Products', type: :request do - describe 'GET /products' do + describe 'shows sa...
Add spec for showing monthly sold for a product
diff --git a/config/environment.rb b/config/environment.rb index abc1234..def5678 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -16,7 +16,7 @@ ALLOW_TAGS = %w(a i u b em strong table tr td th tbody font center div pre code blockquote ins del img br p hr ul li ol dl dt dd) ALLOW_ATTRIBUTES = %w(src ...
Change a content type of opml
diff --git a/examples/read_rdb.rb b/examples/read_rdb.rb index abc1234..def5678 100644 --- a/examples/read_rdb.rb +++ b/examples/read_rdb.rb @@ -2,4 +2,8 @@ require 'rdb' -RDB::Reader.read_file('test/rdb/multiple_databases.rdb', callbacks: RDB::DebugCallbacks.new) +options = { + callbacks: RDB::DebugCallbacks.new,...
Fix rdb path in example.
diff --git a/virtualbox.gemspec b/virtualbox.gemspec index abc1234..def5678 100644 --- a/virtualbox.gemspec +++ b/virtualbox.gemspec @@ -1,5 +1,6 @@ # -*- encoding: utf-8 -*- -require File.expand_path("../lib/virtualbox/version", __FILE__) +$:.unshift File.expand_path("../lib", __FILE__) +require "virtualbox/version" ...
Update gemspec so that when used as a source gem, warnings aren't thrown for duplicate VERSION Constant
diff --git a/SwiftDDP.podspec b/SwiftDDP.podspec index abc1234..def5678 100644 --- a/SwiftDDP.podspec +++ b/SwiftDDP.podspec @@ -14,9 +14,10 @@ # Attempt to be compatible on all platforms # s.platform = :ios, '8.0' + s.requires_arc = true - s.source_files = 'SwiftDDP/**/*' + s.source_files = 'SwiftDDP...
Enhance source_files selector to only work with swift files
diff --git a/fastlane/actions/test_github_access.rb b/fastlane/actions/test_github_access.rb index abc1234..def5678 100644 --- a/fastlane/actions/test_github_access.rb +++ b/fastlane/actions/test_github_access.rb @@ -0,0 +1,109 @@+module Fastlane + module Actions + module SharedValues + end + + class TestGith...
Add action to check GitHub access via user request
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -6,5 +6,5 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version "0.3.0" depends "sys", '>= 1.51.0' -depends "apache2", '< 6' +depends "apache2",...
Fix "ERROR: Chef::Exceptions::InvalidCookbookVersion: '6' does not match 'x.y.z' or 'x.y'"
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -22,7 +22,7 @@ depends "redisio", ">= 1.7.0" # available @ https://supermarket.chef.io/cookbooks/chef-vault -depends "chef-vault", ">= 1.2.0" +suggests "chef-vault", ">= 1.2.0" %w[ ubuntu
Change this back to a suggest Only the wrapper cookbook needs to mark it as a dependency to load the library.
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,22 +2,19 @@ maintainer 'Franklin Webber' maintainer_email 'frank@chef.io' license 'Apache 2.0' -description 'Installs/Configures ark' +description 'Provides a custom resource for ins...
Fix description, expand platforms, depend on all deps Suggests does nothing and should not be used. There's a foodcritic rule to check for this in 6.0 There was a missing question mark in the source_url check that would fail things Write an actual description of what this cookbook does
diff --git a/app/controllers/index.rb b/app/controllers/index.rb index abc1234..def5678 100644 --- a/app/controllers/index.rb +++ b/app/controllers/index.rb @@ -1,4 +1,5 @@-RESTRICTED_PATHS = [/\/users\/.+/] +RESTRICTED_PATHS = [] +# /\/users\/.+/ RESTRICTED_PATHS.each do |path| redirect "/" unless current_user
Remove restricted route; need to figure out what format works for regex on that
diff --git a/app/controllers/songs.rb b/app/controllers/songs.rb index abc1234..def5678 100644 --- a/app/controllers/songs.rb +++ b/app/controllers/songs.rb @@ -3,16 +3,18 @@ end get '/songs/new' do + 'create a song form' +end + +post '/songs/new' do 'create a song' end - -post '/s' get '/songs/:id' do 's...
Create POST route for new song
diff --git a/spec/feature/original_assigned_file_is_not_modified_spec.rb b/spec/feature/original_assigned_file_is_not_modified_spec.rb index abc1234..def5678 100644 --- a/spec/feature/original_assigned_file_is_not_modified_spec.rb +++ b/spec/feature/original_assigned_file_is_not_modified_spec.rb @@ -0,0 +1,43 @@+requir...
Test assigned file is never affected
diff --git a/app/controllers/explore_controller.rb b/app/controllers/explore_controller.rb index abc1234..def5678 100644 --- a/app/controllers/explore_controller.rb +++ b/app/controllers/explore_controller.rb @@ -3,6 +3,7 @@ class ExploreController < ApplicationController layout 'explore' + ssl_allowed :index, :s...
Allow ssl for explore site endpoints
diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb index abc1234..def5678 100644 --- a/app/controllers/members_controller.rb +++ b/app/controllers/members_controller.rb @@ -1,7 +1,7 @@ class MembersController < ApplicationController def index - @organizations = Organizati...
Order organizations by name in the main list
diff --git a/XPCSwift.podspec b/XPCSwift.podspec index abc1234..def5678 100644 --- a/XPCSwift.podspec +++ b/XPCSwift.podspec @@ -5,7 +5,7 @@ s.summary = "Type safe Swift wrapper for libxpc" s.description = <<-DESC - XPCSwift makes it easy to use xpc_object_t in a type safe manner. + ...
Use markdown syntax in podspec description
diff --git a/vim-flavor.gemspec b/vim-flavor.gemspec index abc1234..def5678 100644 --- a/vim-flavor.gemspec +++ b/vim-flavor.gemspec @@ -20,5 +20,6 @@ gem.add_development_dependency('aruba', '~> 0.5') gem.add_development_dependency('cucumber', '~> 1.2') + gem.add_development_dependency('pry') gem.add_develop...
Add pry as a development dependency
diff --git a/ActiveLabel.podspec b/ActiveLabel.podspec index abc1234..def5678 100644 --- a/ActiveLabel.podspec +++ b/ActiveLabel.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ActiveLabel' - s.version = '1.0.0' + s.version = '1.0.1' s.author = { 'Optonaut' => 'hello@optonaut.co' } s.homepage ...
Update podspec for Swift 4.2 and Xcode 10
diff --git a/app/mailers/pay/application_mailer.rb b/app/mailers/pay/application_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/pay/application_mailer.rb +++ b/app/mailers/pay/application_mailer.rb @@ -1,6 +1,6 @@ module Pay class ApplicationMailer < ActionMailer::Base - default from: 'from@example.com...
Use support email for pay mailer
diff --git a/app/models/refinery/user_decorator.rb b/app/models/refinery/user_decorator.rb index abc1234..def5678 100644 --- a/app/models/refinery/user_decorator.rb +++ b/app/models/refinery/user_decorator.rb @@ -1,11 +1,21 @@+ + Refinery::User.class_eval do + class DestroyWithOrdersError < StandardError; end + + in...
Add spree includes to the Refinery::User decorator
diff --git a/app/models/species/csv_copy_export.rb b/app/models/species/csv_copy_export.rb index abc1234..def5678 100644 --- a/app/models/species/csv_copy_export.rb +++ b/app/models/species/csv_copy_export.rb @@ -16,7 +16,7 @@ \\COPY (#{query_sql.gsub(/"/,"\\\"")}) TO ? WITH DELIMITER ',' - ENC...
Revert to utf8 as with latin1 things were breaking
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 @@ -31,4 +31,17 @@ text_formatted end + + def page_header + case controller_name + when "notebooks" + @not...
Add helper for generating page header.
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 @@ -2,12 +2,20 @@ def display_address address street = address.try(:_street) - address_line = [address, street].com...
Put break between address lines, remove local authority Display address, street and place on separate lines in school view.
diff --git a/app/models/biodiversity_report.rb b/app/models/biodiversity_report.rb index abc1234..def5678 100644 --- a/app/models/biodiversity_report.rb +++ b/app/models/biodiversity_report.rb @@ -34,7 +34,7 @@ end def destroy_plant_samples - self.plant_samples.each {|sample| sample.destroy } + self.plant_...
Clean up biodiverity's delete_plant_samples method
diff --git a/tomafro-deploy.gemspec b/tomafro-deploy.gemspec index abc1234..def5678 100644 --- a/tomafro-deploy.gemspec +++ b/tomafro-deploy.gemspec @@ -7,9 +7,9 @@ s.version = Tomafro::Deploy::VERSION s.authors = ["Tom Ward"] s.email = ["tom@popdog.net"] - s.homepage = "" - s.summary = %...
Add a description, summary and homepage to the gemspec
diff --git a/lib/oxford_learners_dictionaries/definition.rb b/lib/oxford_learners_dictionaries/definition.rb index abc1234..def5678 100644 --- a/lib/oxford_learners_dictionaries/definition.rb +++ b/lib/oxford_learners_dictionaries/definition.rb @@ -18,6 +18,8 @@ def parse_multiple_definitions index @signif...
Check for examples before parsing them
diff --git a/lib/rspec/formatters/illustration_formatter.rb b/lib/rspec/formatters/illustration_formatter.rb index abc1234..def5678 100644 --- a/lib/rspec/formatters/illustration_formatter.rb +++ b/lib/rspec/formatters/illustration_formatter.rb @@ -8,7 +8,7 @@ # @return [Array<Hash>] The list of illustrations in th...
Return empty list if key not present. If the example hash doesn't contain any illustrations-key, it should return an empty list instead of nil. This happens during --dry-run.
diff --git a/app/graphql/types/mailbox_type.rb b/app/graphql/types/mailbox_type.rb index abc1234..def5678 100644 --- a/app/graphql/types/mailbox_type.rb +++ b/app/graphql/types/mailbox_type.rb @@ -8,6 +8,12 @@ field :type, types.String, 'The type of the mailbox' do resolve ->(obj, _args, _ctx) do obj.type...
Add user_type field to mailbox
diff --git a/app/helpers/surveys_url_helper.rb b/app/helpers/surveys_url_helper.rb index abc1234..def5678 100644 --- a/app/helpers/surveys_url_helper.rb +++ b/app/helpers/surveys_url_helper.rb @@ -2,6 +2,7 @@ module SurveysUrlHelper def course_survey_url(notification) - "#{survey_url(notification.survey)}?cours...
Add https to survey link
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,4 +1,7 @@ class ApplicationMailer < ActionMailer::Base - default from: Rails.application.config.action_mailer.smtp_setti...
Add default message id for spam http://blog.mailgun.com/tips-tricks-avoiding-gmail-spam-filtering-when-using-ruby-on-rails-action-mailer/
diff --git a/lib/hightops.rb b/lib/hightops.rb index abc1234..def5678 100644 --- a/lib/hightops.rb +++ b/lib/hightops.rb @@ -22,7 +22,10 @@ # We ignore env configuration for Sneakers as it is too tied to its # internals. - Sneakers.configure env: nil + # + # Note: Sneakers 0.1.0 ...
Set up Sneakers amqp from Hightops configuration
diff --git a/lib/jukeberx.rb b/lib/jukeberx.rb index abc1234..def5678 100644 --- a/lib/jukeberx.rb +++ b/lib/jukeberx.rb @@ -22,15 +22,30 @@ end get '/artists' do - settings.library.list_artists.to_json + if params['name'] + name = params['name'] + settings.library.match_artists(name)...
Add parameter checking code to allow search on specific attributes.
diff --git a/lib/naginata.rb b/lib/naginata.rb index abc1234..def5678 100644 --- a/lib/naginata.rb +++ b/lib/naginata.rb @@ -1,16 +1,16 @@-require "naginata/command/external_command" -require "naginata/configuration" -require "naginata/configuration/filter" -require "naginata/configuration/nagios_server" -require "nagi...
Fix uninitialized constant Naginata (NameError) This raises when require external_command before define Naginata namespace.
diff --git a/blogo.gemspec b/blogo.gemspec index abc1234..def5678 100644 --- a/blogo.gemspec +++ b/blogo.gemspec @@ -22,5 +22,5 @@ s.add_dependency "jquery-rails" s.add_dependency 'coffee-rails' s.add_dependency "bcrypt-ruby", "~> 3.0" - s.add_dependency "sass-rails" , "~> 4.0" + s.add_dependency "sass-rails"...
Update rails-sass dependency to be compatible with rails 4.2
diff --git a/script/backwards_compatibility.rb b/script/backwards_compatibility.rb index abc1234..def5678 100644 --- a/script/backwards_compatibility.rb +++ b/script/backwards_compatibility.rb @@ -1,19 +1,25 @@+# @!visibility private if Kernel.const_defined?(:CALABASH_BACKWARDS_COMPATIBILITY_SCRIPT_RUN) raise 'Cala...
Use private flag for yard
diff --git a/NSObject+Rx.podspec b/NSObject+Rx.podspec index abc1234..def5678 100644 --- a/NSObject+Rx.podspec +++ b/NSObject+Rx.podspec @@ -19,5 +19,5 @@ s.source = { :git => "https://github.com/RxSwiftCommunity/NSObject-Rx.git", :tag => s.version } s.source_files = %w(NSObject+Rx.swift HasDisposeBag.swift...
Fix support for RxSwift 6.x
diff --git a/init.rb b/init.rb index abc1234..def5678 100644 --- a/init.rb +++ b/init.rb @@ -29,11 +29,11 @@ Redmine::Plugin.register :redmine_project_filtering do name 'Redmine Project filtering plugin' - author 'Enrique García Cota' - url 'http://development.splendeo.es/projects/redm-project-filter' + author ...
Update authors and url. Version bump to 0.9.6
diff --git a/test/integration/default/serverspec/tasks_spec.rb b/test/integration/default/serverspec/tasks_spec.rb index abc1234..def5678 100644 --- a/test/integration/default/serverspec/tasks_spec.rb +++ b/test/integration/default/serverspec/tasks_spec.rb @@ -1,7 +1,7 @@ require 'serverspec_helper' describe 'nexus:...
Make nexus3_tasks integration tests compatible with 3.8.0
diff --git a/examples/exception_handling.rb b/examples/exception_handling.rb index abc1234..def5678 100644 --- a/examples/exception_handling.rb +++ b/examples/exception_handling.rb @@ -42,7 +42,7 @@ puts "Some other Error #{e.inspect}" end -Bigcommerce::HttpError::ERRORS.each do |k, v| +Bigcommerce::HttpErrors::ER...
Fix exception handling example typo
diff --git a/test/controllers/transition_landing_page_controller_test.rb b/test/controllers/transition_landing_page_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/transition_landing_page_controller_test.rb +++ b/test/controllers/transition_landing_page_controller_test.rb @@ -20,5 +20,34 @@ ...
Add tests for accounts A/B test
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 @@ -14,19 +14,19 @@ it 'correctly identified https URLs' do r = DataKitten::Dataset.new(access_url: "https://github.com/theodi/github-viewer-test-data.git...
Move to new rspec expectation format
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 @@ -13,4 +13,5 @@ s.source = { git: package.dig(:repository, :url) } s.source_files = "ios/*" s.platform = :ios, "8.0" + s.dependency ...
Add Lookback 1.4.1 as a dependency to be installed by cocoapods
diff --git a/holiday_list.gemspec b/holiday_list.gemspec index abc1234..def5678 100644 --- a/holiday_list.gemspec +++ b/holiday_list.gemspec @@ -27,4 +27,5 @@ spec.add_development_dependency "vcr" spec.add_development_dependency "webmock", "~> 1.15.0" spec.add_development_dependency "timecop" + spec.add_develo...
Add rubocop gem in development
diff --git a/app/services/update_item/movie.rb b/app/services/update_item/movie.rb index abc1234..def5678 100644 --- a/app/services/update_item/movie.rb +++ b/app/services/update_item/movie.rb @@ -3,9 +3,9 @@ def update_item! item.assign_attributes(updated_attributes) - update_association!(tmdb_movie, :tmdb...
Refactor UpdateItem::Movie: extract methods for readability
diff --git a/IRC/IRCPlugin.rb b/IRC/IRCPlugin.rb index abc1234..def5678 100644 --- a/IRC/IRCPlugin.rb +++ b/IRC/IRCPlugin.rb @@ -5,6 +5,11 @@ # IRCPlugin is the superclass of all plugins class IRCPlugin < IRCListener + # Returns the root dir of the plugin + def plugin_root + "IRC/plugins/#{name}" + end + # Return...
Add plugin_root method to plugin superclass
diff --git a/fastlane-plugin-wait_xcrun.gemspec b/fastlane-plugin-wait_xcrun.gemspec index abc1234..def5678 100644 --- a/fastlane-plugin-wait_xcrun.gemspec +++ b/fastlane-plugin-wait_xcrun.gemspec @@ -7,10 +7,10 @@ spec.name = 'fastlane-plugin-wait_xcrun' spec.version = Fastlane::WaitXcrun::VERSION ...
Update email and github homepage
diff --git a/spec/integration/cookbook_spec.rb b/spec/integration/cookbook_spec.rb index abc1234..def5678 100644 --- a/spec/integration/cookbook_spec.rb +++ b/spec/integration/cookbook_spec.rb @@ -11,15 +11,13 @@ Zlib::GzipReader.open(tarball.path) do |gzip| Gem::Package::TarReader.new(gzip) do |ta...
Sort tarball entries in tests
diff --git a/spec/unit/recipes/default_spec.rb b/spec/unit/recipes/default_spec.rb index abc1234..def5678 100644 --- a/spec/unit/recipes/default_spec.rb +++ b/spec/unit/recipes/default_spec.rb @@ -20,6 +20,6 @@ end it { expect(chef_run).not_to include_recipe('consul::install_binary') } - it { expect(chef_...
Fix copy and paste blunder on ChefSpec.