diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
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 @@ -6,7 +6,7 @@ require "bundler/setup" require "minitest/autorun" require "rack/test" -require "mocha" +require "mocha/setup" require "fixtures/default_mappings" require "pp"
Fix a deprecation warning in mocha.
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 @@ -16,6 +16,8 @@ def setup Rake.application = Rake::Application.new Dummy::Application.load_tasks + Object.const_set :FakeModel, MiniTest::Mock.new + TOPLEVEL_BINDI...
Add reset of Seedbank variables and FakeModel constant. Signed-off-by: James McCarthy <474ba67bdb289c6263b36dfd8a7bed6c85b04943@thisishatch.co.uk>
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,7 +4,7 @@ require 'mocha/setup' unless ENV['COVERAGE'] == 'off' - COVERAGE_THRESHOLD = 38 + COVERAGE_THRESHOLD = 37 require 'simplecov' require 'simplecov-rcov' re...
Reduce coverage for recent pull requests
diff --git a/lib/mnist_data.rb b/lib/mnist_data.rb index abc1234..def5678 100644 --- a/lib/mnist_data.rb +++ b/lib/mnist_data.rb @@ -0,0 +1,50 @@+module MNISTData + class DataUnpackingError < RuntimeError + end + + class Labels + def initialize(filename) + datafile = File.binread(filename) + @data = dat...
Add classes to manage MNIST datasets.
diff --git a/test_runner.gemspec b/test_runner.gemspec index abc1234..def5678 100644 --- a/test_runner.gemspec +++ b/test_runner.gemspec @@ -23,9 +23,9 @@ s.homepage = 'https://github.com/appium/test_runner' s.require_paths = [ 'lib' ] - s.add_runtime_dependency 'appium_lib', '= 0.15.2' - s.add_runtime_depende...
Work on new versions also
diff --git a/test/support/models.rb b/test/support/models.rb index abc1234..def5678 100644 --- a/test/support/models.rb +++ b/test/support/models.rb @@ -2,7 +2,7 @@ end class ListMixin < ActiveRecord::Base - set_table_name "mixins" + self.table_name = "mixins" default_scope order(:pos) acts_as_list :column =...
Use self.table_name as set_table_name is deprecated
diff --git a/lib/opal/paths.rb b/lib/opal/paths.rb index abc1234..def5678 100644 --- a/lib/opal/paths.rb +++ b/lib/opal/paths.rb @@ -19,19 +19,19 @@ paths << path end - def self.use_gem(gem_name, include_dependecies = true) - require_paths_for_gem(gem_name, include_dependecies).each do |path| + def self.u...
Fix typo in variable name
diff --git a/SourceKittenFramework.podspec b/SourceKittenFramework.podspec index abc1234..def5678 100644 --- a/SourceKittenFramework.podspec +++ b/SourceKittenFramework.podspec @@ -9,6 +9,6 @@ s.platform = :osx, '10.9' s.source_files = 'Source/SourceKittenFramework/{*.swift,sourcekitd.h,clang-c/*...
Update SWXMLHash to 4.1 in podspec
diff --git a/lib/token_auth.rb b/lib/token_auth.rb index abc1234..def5678 100644 --- a/lib/token_auth.rb +++ b/lib/token_auth.rb @@ -33,7 +33,6 @@ included do private :authenticate_by_token! - before_filter :authenticate_by_token! end def self.set_entity entity @@ -52,6 +51,7 @@ modu...
Fix authenticate_by_token before filter inclusion.
diff --git a/template/ecs-service.rb b/template/ecs-service.rb index abc1234..def5678 100644 --- a/template/ecs-service.rb +++ b/template/ecs-service.rb @@ -7,6 +7,7 @@ name = _resource_name(args[:name], "ecs service") cluster = _ref_string("cluster", args, "ecs cluster") +deployment = _ecs_deployment(args) desired...
Add new property ECS Service resource type
diff --git a/app/controllers/neighborly/balanced/bankaccount/payments_controller.rb b/app/controllers/neighborly/balanced/bankaccount/payments_controller.rb index abc1234..def5678 100644 --- a/app/controllers/neighborly/balanced/bankaccount/payments_controller.rb +++ b/app/controllers/neighborly/balanced/bankaccount/pa...
Remove success message when contribution is successfully
diff --git a/lib/writer.rb b/lib/writer.rb index abc1234..def5678 100644 --- a/lib/writer.rb +++ b/lib/writer.rb @@ -22,7 +22,6 @@ @config = other end - private def config @config ||= Configuration.new end
Remove pointless private getter when the setter is public
diff --git a/twocheckout.gemspec b/twocheckout.gemspec index abc1234..def5678 100644 --- a/twocheckout.gemspec +++ b/twocheckout.gemspec @@ -2,11 +2,11 @@ require File.expand_path('../lib/twocheckout/version', __FILE__) Gem::Specification.new do |gem| - gem.authors = ["Ernesto Garcia"] - gem.email = ...
Update authors and homepage info to reflect transfer of ownership
diff --git a/messaging.gemspec b/messaging.gemspec index abc1234..def5678 100644 --- a/messaging.gemspec +++ b/messaging.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'messaging' - s.version = '0.5.0.0' + s.version = '0.5.1.0' s.summary = 'Messaging primitives for Eve...
Package version is increased from 0.5.0.0 to 0.5.1.0
diff --git a/app/views/comics/index.rss.builder b/app/views/comics/index.rss.builder index abc1234..def5678 100644 --- a/app/views/comics/index.rss.builder +++ b/app/views/comics/index.rss.builder @@ -1,17 +1,27 @@ xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do - xml.title "Fu...
Add extra checks for RSS feeds
diff --git a/app/views/dumps/show.json.jbuilder b/app/views/dumps/show.json.jbuilder index abc1234..def5678 100644 --- a/app/views/dumps/show.json.jbuilder +++ b/app/views/dumps/show.json.jbuilder @@ -1,4 +1,5 @@ json.type @dump.dump_type.constant.downcase +json.generated_date @dump.generated_date json.files do Dum...
Include generated_date in the response
diff --git a/pbcopy.gemspec b/pbcopy.gemspec index abc1234..def5678 100644 --- a/pbcopy.gemspec +++ b/pbcopy.gemspec @@ -6,7 +6,7 @@ gem.email = ["josh.cheek@gmail.com"] gem.description = %q{Replicates OSX commandline utility where piping into pbcopy places things into the clipboard} gem.summary ...
Put github page as homepage
diff --git a/plugins/setup/lib/setup/dashboard_controller.rb b/plugins/setup/lib/setup/dashboard_controller.rb index abc1234..def5678 100644 --- a/plugins/setup/lib/setup/dashboard_controller.rb +++ b/plugins/setup/lib/setup/dashboard_controller.rb @@ -2,6 +2,7 @@ def index begin + @info.connect_to_data...
Fix bug showing sites on setup dashboard.
diff --git a/app/export/xlsx/theses_list.rb b/app/export/xlsx/theses_list.rb index abc1234..def5678 100644 --- a/app/export/xlsx/theses_list.rb +++ b/app/export/xlsx/theses_list.rb @@ -21,7 +21,8 @@ thesis.accepted_students.collect{|s| s.surname_name }.join(", ").to_s, I18n.t("label_status_#{thesis.sta...
Fix theses XLS table filters Change-Id: Ibd3147b3105d681d0dcb1ebf9fe88601ce0a9ffb
diff --git a/app/uploaders/file_uploader.rb b/app/uploaders/file_uploader.rb index abc1234..def5678 100644 --- a/app/uploaders/file_uploader.rb +++ b/app/uploaders/file_uploader.rb @@ -0,0 +1,52 @@+# encoding: utf-8 + +class FileUploader < CarrierWave::Uploader::Base + include Cloudinary::CarrierWave + + # Include RM...
Add uploader for image file
diff --git a/app/models/content/annotation.rb b/app/models/content/annotation.rb index abc1234..def5678 100644 --- a/app/models/content/annotation.rb +++ b/app/models/content/annotation.rb @@ -1,6 +1,6 @@ class Content::Annotation < ApplicationRecord KINDS = %w{elide replace link highlight note} - belongs_to :resou...
Fix broken association; inverse_of was missing
diff --git a/app/models/progression_review.rb b/app/models/progression_review.rb index abc1234..def5678 100644 --- a/app/models/progression_review.rb +++ b/app/models/progression_review.rb @@ -17,7 +17,7 @@ class ProgressionReview < Eventable before_create {|pr| pr.reason = nil if approved } - after_create {|pr|...
Use current for approved progr reviews since complete is meant to be hidden for staff
diff --git a/Casks/intellij-idea-eap.rb b/Casks/intellij-idea-eap.rb index abc1234..def5678 100644 --- a/Casks/intellij-idea-eap.rb +++ b/Casks/intellij-idea-eap.rb @@ -1,6 +1,6 @@ cask :v1 => 'intellij-idea-eap' do - version '141.104.1' - sha256 'a59b096cbf012f42dbaf108026de12fa1a3caf16a0f87cbc5f20aa44fa2f2156' + v...
Update IntelliJ IDEA EAP to version 141.588.1
diff --git a/vlad-extras.gemspec b/vlad-extras.gemspec index abc1234..def5678 100644 --- a/vlad-extras.gemspec +++ b/vlad-extras.gemspec @@ -12,9 +12,10 @@ s.summary = "Vlad plugin with extensions for Nginx, nodeJS, monit and more." s.description = "This gem provides extra recipes for Vlad the Deployer." - ...
Update dependencies specs to allow the upmost versions of vlad and rake-remote_task
diff --git a/oml4r.gemspec b/oml4r.gemspec index abc1234..def5678 100644 --- a/oml4r.gemspec +++ b/oml4r.gemspec @@ -19,7 +19,7 @@ gem.license = "MIT" gem.require_paths = ["lib"] gem.version = OML4R::VERSION - gem.required_ruby_version = "~> 1.9" + gem.required_ruby_version = ">= 1.9" end
Replace pessimistic constraint (~>) on 1.9 to ge (>=) Signed-off-by: Olivier Mehani <9858fe98d2c7f5f35e0d2a08f134cfc58afd42d3@nicta.com.au>
diff --git a/lib/chamber.rb b/lib/chamber.rb index abc1234..def5678 100644 --- a/lib/chamber.rb +++ b/lib/chamber.rb @@ -3,8 +3,6 @@ require 'chamber/rails' module Chamber - extend self - def load(options = {}) self.instance = Instance.new(options) end @@ -38,4 +36,12 @@ def respond_to_missing?(name, ...
Style: Convert 'extend self' to 'module_function' -------------------------------------------------------------------------------- Change-Id: I706c404fae374cd39acf66131b099dd1ebf91296 Signed-off-by: Jeff Felchner <8a84c204e2d4c387d61d20f7892a2bbbf0bc8ae8@thekompanee.com>
diff --git a/db/migrate/20190430194718_fix_photos_field_lengths.rb b/db/migrate/20190430194718_fix_photos_field_lengths.rb index abc1234..def5678 100644 --- a/db/migrate/20190430194718_fix_photos_field_lengths.rb +++ b/db/migrate/20190430194718_fix_photos_field_lengths.rb @@ -0,0 +1,11 @@+class FixPhotosFieldLengths < ...
Change Photo db fields from string to text User-uploaded images have varying lengths, and in the case of storing the direct_upload_url sometimes that URL can exceed the 255 character limit default for a string. Since Postgres will treat strings and varchars the same internally, let's just remove the length limit compl...
diff --git a/Casks/zendstudio.rb b/Casks/zendstudio.rb index abc1234..def5678 100644 --- a/Casks/zendstudio.rb +++ b/Casks/zendstudio.rb @@ -1,6 +1,6 @@ cask :v1 => 'zendstudio' do - version '12.0.1' - sha256 'e8534e6b550e075b5da42c5b1789e82b3c9e04c739f055c6980783742f6e1160' + version '13.0.0' + sha256 '3ed2492801c...
Update Zend Studio to 13.0.0
diff --git a/test/filters/test_sprockets.rb b/test/filters/test_sprockets.rb index abc1234..def5678 100644 --- a/test/filters/test_sprockets.rb +++ b/test/filters/test_sprockets.rb @@ -22,7 +22,11 @@ var foo = true; var boo = 'look me!'; var xoo = false; + + var bar = true; + + function main (argument) { // bo...
Fix sprockets test to match the new space weirdness
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 @@ -6,11 +6,11 @@ Pod::Spec.new do |s| s.name = package[:name] s.version = package[:version] + s.summary = package[:description] s.li...
Update podspec to match the new package.json
diff --git a/config/initializers/vestal_versions.rb b/config/initializers/vestal_versions.rb index abc1234..def5678 100644 --- a/config/initializers/vestal_versions.rb +++ b/config/initializers/vestal_versions.rb @@ -1,3 +1,3 @@ VestalVersions.configure do |config| - # config.class_name = "RacingOnRails::Version" + c...
Use custom VestalVersions class again
diff --git a/config/environments/development.rb b/config/environments/development.rb index abc1234..def5678 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -13,5 +13,8 @@ config.action_view.debug_rjs = true config.action_controller.perform_caching ...
Allow a config setting to specify sending mail via test and not raising errors.
diff --git a/spec/lib/membership_spec.rb b/spec/lib/membership_spec.rb index abc1234..def5678 100644 --- a/spec/lib/membership_spec.rb +++ b/spec/lib/membership_spec.rb @@ -8,5 +8,5 @@ let(:resource) { client.memberships } - include_examples 'list resource' + include_examples 'lists resource' end
Update example use in membership spec
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -14,6 +14,6 @@ # Convert the analytics object back into a string so it can stay in the ...
Use active support to_json instead of JSON.dump
diff --git a/test/support/model_stubbing_helpers.rb b/test/support/model_stubbing_helpers.rb index abc1234..def5678 100644 --- a/test/support/model_stubbing_helpers.rb +++ b/test/support/model_stubbing_helpers.rb @@ -1,6 +1,11 @@ module ModelStubbingHelpers def stub_record(type, options = {}) - build_stubbed(type...
Revert "Use FactoryGirl.build_stubbed instead of a hand-rolled solution." This reverts commit 13237e4ea7e54c4d3bc9bd8d244fe08ff0655b2f. For some reason this was causing a seg fault on CI.
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,5 @@ class ApplicationController < ActionController::Base protect_from_forgery wi...
Remove code that didn't work
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -46,6 +46,6 @@ end def configure_permitted_parameters - devise_parameter_san...
Fix Rails 5's breaking of sign in
diff --git a/app/models/network/technologies/siphon.rb b/app/models/network/technologies/siphon.rb index abc1234..def5678 100644 --- a/app/models/network/technologies/siphon.rb +++ b/app/models/network/technologies/siphon.rb @@ -31,9 +31,7 @@ def store(frame, amount) # Energy consumed by the Siphon is co...
Write to Siphon output path when amount is zero This ensures that the P2G gas load array is always the correct, full length. Closes #1377
diff --git a/lib/jruby-visualizer/visualizer_main_app.rb b/lib/jruby-visualizer/visualizer_main_app.rb index abc1234..def5678 100644 --- a/lib/jruby-visualizer/visualizer_main_app.rb +++ b/lib/jruby-visualizer/visualizer_main_app.rb @@ -8,7 +8,6 @@ def start(stage) with(stage, title: "JRuby Visualizer") do ...
Add of ruby_code string property with binding to ast_view and ruby_view
diff --git a/spec/unit/axiom/types/options/inherited_spec.rb b/spec/unit/axiom/types/options/inherited_spec.rb index abc1234..def5678 100644 --- a/spec/unit/axiom/types/options/inherited_spec.rb +++ b/spec/unit/axiom/types/options/inherited_spec.rb @@ -21,18 +21,44 @@ Class.new(object) end - it 'delegates to ...
Add spec to kill mutation in Axiom::Types::Options
diff --git a/Library/Homebrew/requirements/apr_dependency.rb b/Library/Homebrew/requirements/apr_dependency.rb index abc1234..def5678 100644 --- a/Library/Homebrew/requirements/apr_dependency.rb +++ b/Library/Homebrew/requirements/apr_dependency.rb @@ -14,27 +14,4 @@ ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula...
Remove message that is never displayed Requirements with default formulae cannot fail the build.
diff --git a/lib/dimples/plugin.rb b/lib/dimples/plugin.rb index abc1234..def5678 100644 --- a/lib/dimples/plugin.rb +++ b/lib/dimples/plugin.rb @@ -1,5 +1,12 @@+# frozen_string_literal: true + module Dimples class Plugin + EVENTS = %i[ + post_write + page_write + ].freeze + def self.inherited(...
Add the EVENTS constant, inline the default process method, add final newline
diff --git a/lib/lyricfy.rb b/lib/lyricfy.rb index abc1234..def5678 100644 --- a/lib/lyricfy.rb +++ b/lib/lyricfy.rb @@ -20,7 +20,7 @@ if !args.empty? passed_providers = {} args.each do |provider| - raise Exception if !@providers.has_key?(provider) + raise Exception unless @pro...
Add tiny refactoring: Use unless to raise Exception
diff --git a/lib/baseball_stats/calculators/slugging_percentage.rb b/lib/baseball_stats/calculators/slugging_percentage.rb index abc1234..def5678 100644 --- a/lib/baseball_stats/calculators/slugging_percentage.rb +++ b/lib/baseball_stats/calculators/slugging_percentage.rb @@ -13,12 +13,13 @@ raise NoEligibleSta...
Format slugging percentage calc for readability
diff --git a/lib/covalence/notifications/covalence_notification.rb b/lib/covalence/notifications/covalence_notification.rb index abc1234..def5678 100644 --- a/lib/covalence/notifications/covalence_notification.rb +++ b/lib/covalence/notifications/covalence_notification.rb @@ -9,6 +9,20 @@ serialize :message al...
Add back in compose method
diff --git a/FileKit.podspec b/FileKit.podspec index abc1234..def5678 100644 --- a/FileKit.podspec +++ b/FileKit.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = "FileKit" - s.version = "1.1.0" + s.version = "1.2.0" s.summary = "Simple an...
Update podspec for 1.2.0 release
diff --git a/lib/mastodon.rb b/lib/mastodon.rb index abc1234..def5678 100644 --- a/lib/mastodon.rb +++ b/lib/mastodon.rb @@ -46,4 +46,14 @@ def [](id) @lines[id] end + + # Find all todo's that have the context @+context+ + def find_context(context) + @lines.grep(/@#{context}/) + end + ...
Add `find_context' and `find_project' methods
diff --git a/rails.gemspec b/rails.gemspec index abc1234..def5678 100644 --- a/rails.gemspec +++ b/rails.gemspec @@ -25,5 +25,5 @@ s.add_dependency('activeresource', version) s.add_dependency('actionmailer', version) s.add_dependency('railties', version) - s.add_dependency('bundler', '>= 1.0.0.b...
Revert "Bump bundler to 1.0.0.beta.3" (It's not out yet) This reverts commit 64cee90c0f6bbbb2a53ffe71655a7cee1e6c99be.
diff --git a/lib/mws/serializer.rb b/lib/mws/serializer.rb index abc1234..def5678 100644 --- a/lib/mws/serializer.rb +++ b/lib/mws/serializer.rb @@ -16,7 +16,11 @@ builder.send(element) { |b| xml_for(value, b, path) } elsif value.respond_to? :each value.each do | val | - builder.send(el...
Add support for arrays of scalar values
diff --git a/lib/myaso/pi_table.rb b/lib/myaso/pi_table.rb index abc1234..def5678 100644 --- a/lib/myaso/pi_table.rb +++ b/lib/myaso/pi_table.rb @@ -1,6 +1,6 @@ # encoding: utf-8 -# A simple implementation of dynamic programming table in the following +# A simple implementation of a dynamic programming table in the f...
Bring the articles back home [ci skip]
diff --git a/lib/neptune/errors.rb b/lib/neptune/errors.rb index abc1234..def5678 100644 --- a/lib/neptune/errors.rb +++ b/lib/neptune/errors.rb @@ -14,7 +14,7 @@ attr_reader :error_code def initialize(error_code, *args) #:nodoc: - super("Received error from server: #{error_code}", *args) + super("...
Fix error codes not being displayed in exception messages properly
diff --git a/app/models/tolk/translation.rb b/app/models/tolk/translation.rb index abc1234..def5678 100644 --- a/app/models/tolk/translation.rb +++ b/app/models/tolk/translation.rb @@ -14,19 +14,17 @@ before_save :set_previous_text - before_validation :fix_text_type + before_validation :fix_text_type, :un...
Make surer to YAMLify text if they were not String before
diff --git a/test/controllers/qandas_controller_test.rb b/test/controllers/qandas_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/qandas_controller_test.rb +++ b/test/controllers/qandas_controller_test.rb @@ -22,22 +22,22 @@ test "should create qanda" do assert_difference('Qanda.count')...
Add user login to pass test
diff --git a/lib/stapler/helper.rb b/lib/stapler/helper.rb index abc1234..def5678 100644 --- a/lib/stapler/helper.rb +++ b/lib/stapler/helper.rb @@ -18,7 +18,7 @@ rewrite_asset_path_without_stapler(source) else - @@stapler ||= Stapler::Stapler.new + @@stapler ||= Stapler.new stap...
Fix class name resolution issue
diff --git a/lib/tasks/chores.rake b/lib/tasks/chores.rake index abc1234..def5678 100644 --- a/lib/tasks/chores.rake +++ b/lib/tasks/chores.rake @@ -9,4 +9,9 @@ task update_discipline_incident_counts: :environment do DisciplineIncident.find_each(&:save) end + + desc 'Update student risk levels' + task updat...
Add chore for updating student risk levels
diff --git a/lib/tasks/search.rake b/lib/tasks/search.rake index abc1234..def5678 100644 --- a/lib/tasks/search.rake +++ b/lib/tasks/search.rake @@ -14,8 +14,17 @@ namespace :search do task index: :environment do - Dir[Rails.root.join('app', 'models', '**', '*.rb')].each { |f| require f } - ActiveRecord::Bas...
Add ability to re-index specific classes
diff --git a/test/test_ply2ascii.rb b/test/test_ply2ascii.rb index abc1234..def5678 100644 --- a/test/test_ply2ascii.rb +++ b/test/test_ply2ascii.rb @@ -18,6 +18,6 @@ def test_help out = `env RUBYOPT=-I./lib bin/ply2ascii` - assert out.match /^This utility/ + assert out.match(/^This utility/) end end...
Clean up an ambiguous argument case.
diff --git a/app/helpers/license_helper.rb b/app/helpers/license_helper.rb index abc1234..def5678 100644 --- a/app/helpers/license_helper.rb +++ b/app/helpers/license_helper.rb @@ -2,8 +2,8 @@ module LicenseHelper - LICENSE_ARRAY = JSON.parse(File.read(File.join(Rails.root, 'public', 'licenses.json'))) - DATA_LIC...
Include content as well as data licenses. Sort license list
diff --git a/db/migrate/023_nukeopenid.rb b/db/migrate/023_nukeopenid.rb index abc1234..def5678 100644 --- a/db/migrate/023_nukeopenid.rb +++ b/db/migrate/023_nukeopenid.rb @@ -0,0 +1,25 @@+class Nukeopenid < ActiveRecord::Migration + def self.up + drop_table :open_id_authentication_associations + drop_table :op...
Add missing openid nuke migration
diff --git a/Casks/diskmaker-x.rb b/Casks/diskmaker-x.rb index abc1234..def5678 100644 --- a/Casks/diskmaker-x.rb +++ b/Casks/diskmaker-x.rb @@ -1,11 +1,11 @@ cask 'diskmaker-x' do - version '5.0.2' - sha256 '9a210eb4db6d860e14d7f3e63d0cc67baeadd3a80e1ef607e3d2a44b85080472' + version :latest + sha256 :no_check - ...
Remove version specific details from Diskmaker X This removes version specific details from Diskmaker X as the URL for specific versions is no longer hosted by the creator.
diff --git a/Casks/iterm2-beta.rb b/Casks/iterm2-beta.rb index abc1234..def5678 100644 --- a/Casks/iterm2-beta.rb +++ b/Casks/iterm2-beta.rb @@ -1,7 +1,7 @@ class Iterm2Beta < Cask - url 'http://www.iterm2.com/downloads/beta/iTerm2-1_0_0_20140112.zip' + url 'http://www.iterm2.com/downloads/beta/iTerm2-1_0_0_20140403....
Upgrade iterm2 beta to 1.0.0.20140403
diff --git a/Casks/uncrustifyx.rb b/Casks/uncrustifyx.rb index abc1234..def5678 100644 --- a/Casks/uncrustifyx.rb +++ b/Casks/uncrustifyx.rb @@ -1,7 +1,7 @@ class Uncrustifyx < Cask - url 'http://www.cactuslab.com/uncrustifyx/UncrustifyX-0.4.1.zip' + url 'http://www.cactuslab.com/uncrustifyx/UncrustifyX-0.4.2.zip' ...
Update UncrustifyX to v. 0.4.2
diff --git a/config/initializers/json_compatibility.rb b/config/initializers/json_compatibility.rb index abc1234..def5678 100644 --- a/config/initializers/json_compatibility.rb +++ b/config/initializers/json_compatibility.rb @@ -0,0 +1,12 @@+require 'yajl/json_gem' + +module JSON + def self.parse(str, opts=JSON.defaul...
Add patch to the yajl JSON compatibility module to accept :symbolize_names as an option
diff --git a/config/software/dep-selector-libgecode.rb b/config/software/dep-selector-libgecode.rb index abc1234..def5678 100644 --- a/config/software/dep-selector-libgecode.rb +++ b/config/software/dep-selector-libgecode.rb @@ -31,6 +31,9 @@ env["CXX"] = "g++44" end + # Ruby DevKit ships with BSD Tar + env[...
Configure Window’s environments to use `bsdtar` The Ruby DevKit ships with `bsdtar` instead of `tar`. This change just ensures the environment is configured to use it. Up until this point we have gotten lucky as our ChefDK builds build Chef first which in turn copies bsdtar.exe over to tar.exe: https://github.com/o...
diff --git a/lib/wishETL/runner.rb b/lib/wishETL/runner.rb index abc1234..def5678 100644 --- a/lib/wishETL/runner.rb +++ b/lib/wishETL/runner.rb @@ -24,7 +24,13 @@ if fork @pids << fork do # :nocov: - step.run + begin + step.run + rescue => e + ...
Add better handling for a failure in a forked process
diff --git a/spec/bundle/dumper_spec.rb b/spec/bundle/dumper_spec.rb index abc1234..def5678 100644 --- a/spec/bundle/dumper_spec.rb +++ b/spec/bundle/dumper_spec.rb @@ -8,10 +8,12 @@ before do allow(Bundle).to receive(:cask_installed?).and_return(true) allow(Bundle).to receive(:mas_installed?).and_return(fa...
Include `Whalebrew.reset!` in the test setup
diff --git a/spec/reader/series_spec.rb b/spec/reader/series_spec.rb index abc1234..def5678 100644 --- a/spec/reader/series_spec.rb +++ b/spec/reader/series_spec.rb @@ -15,30 +15,5 @@ expect(book['series']['title']).to eq("Battersea Dogs & Cats Home") expect(book['series']['number']).to eq(5) end - - ...
Remove tests for removed code
diff --git a/spec/ssdp/listener_spec.rb b/spec/ssdp/listener_spec.rb index abc1234..def5678 100644 --- a/spec/ssdp/listener_spec.rb +++ b/spec/ssdp/listener_spec.rb @@ -7,13 +7,40 @@ include EM::SpecHelper it "should receive alive and byebye notifications" - it "should ignore M-SEARCH requests" + + ...
Write 'RUPNP::SSDP::Listener should ignore M-SEARCH requests' spec.
diff --git a/spec/hertz/notifiable_spec.rb b/spec/hertz/notifiable_spec.rb index abc1234..def5678 100644 --- a/spec/hertz/notifiable_spec.rb +++ b/spec/hertz/notifiable_spec.rb @@ -13,7 +13,7 @@ describe '#notify' do before do - class TestNotification < Hertz::Notification; end + stub_const('TestNoti...
Fix leaky constant declaration in Notifiable test
diff --git a/Formula/cocoapods.rb b/Formula/cocoapods.rb index abc1234..def5678 100644 --- a/Formula/cocoapods.rb +++ b/Formula/cocoapods.rb @@ -6,6 +6,8 @@ sha1 "f727a8027a747f01323ee1188c4ce654731e3e51" depends_on "xcproj" => :recommended + + patch :DATA def install prefix.install "vendor" @@ -18,3 ...
Add patch for CocoaPods plugins until next release
diff --git a/BoxesView.podspec b/BoxesView.podspec index abc1234..def5678 100644 --- a/BoxesView.podspec +++ b/BoxesView.podspec @@ -18,9 +18,6 @@ s.requires_arc = true s.source_files = 'Pod/Classes/**/*' - s.resource_bundles = { - 'BoxesView' => ['Pod/Assets/*.png'] - } # s.public_header_files = 'Pod/...
Remove resource bundles form podspec
diff --git a/SwiftSocket.podspec b/SwiftSocket.podspec index abc1234..def5678 100644 --- a/SwiftSocket.podspec +++ b/SwiftSocket.podspec @@ -1,14 +1,14 @@ Pod::Spec.new do |s| s.name = "SwiftSocket" - s.version = "1.2" + s.version = "2.0" s.summary = "A cool framework to work with TCP a...
Update podspec source repository and edit pod version
diff --git a/Casks/opera-developer.rb b/Casks/opera-developer.rb index abc1234..def5678 100644 --- a/Casks/opera-developer.rb +++ b/Casks/opera-developer.rb @@ -1,6 +1,6 @@ cask :v1 => 'opera-developer' do - version '29.0.1795.0' - sha256 '33b33c56d079c524e43e41ff588f3cfa6bc3481f87f4c4705623220464462023' + version '...
Upgrade Opera Developer.app to v29.0.1795.14
diff --git a/nginx/parse.rb b/nginx/parse.rb index abc1234..def5678 100644 --- a/nginx/parse.rb +++ b/nginx/parse.rb @@ -1,4 +1,11 @@ # Parse nginx configs + +TOKENS = [ + :semicolon, + :term, + :block_start, + :block_end, +] class NginxParser @@ -18,28 +25,37 @@ end def parse_stream(stream) - self.w...
Move from emitting words to emitting tokens.
diff --git a/config/initializers/gds_sso.rb b/config/initializers/gds_sso.rb index abc1234..def5678 100644 --- a/config/initializers/gds_sso.rb +++ b/config/initializers/gds_sso.rb @@ -1,14 +1,3 @@ GDS::SSO.config do |config| - config.user_model = "User" - - # set up ID and Secret in a way which doesn't require it ...
Remove redundant GDS SSO initializer config This was made redundant in [1]. [1]: https://github.com/alphagov/gds-sso/pull/241
diff --git a/app/models/teaching_period.rb b/app/models/teaching_period.rb index abc1234..def5678 100644 --- a/app/models/teaching_period.rb +++ b/app/models/teaching_period.rb @@ -3,7 +3,7 @@ validates :period, length: { minimum: 1, maximum: 20, allow_blank: false }, uniqueness: true validates :year, length: { ...
FIX: Increase year window to 1000
diff --git a/hieralookup.rb b/hieralookup.rb index abc1234..def5678 100644 --- a/hieralookup.rb +++ b/hieralookup.rb @@ -7,7 +7,8 @@ hiera = Hiera.new(:config => File.join(Hiera::Util.config_dir, 'hiera.yaml')) Puppet.initialize_settings -Puppet::Node::Facts.indirection.terminus_class = :rest +# this can be :rest to...
Use puppetdb directly instead of through inventory service
diff --git a/core/app/models/global_feed.rb b/core/app/models/global_feed.rb index abc1234..def5678 100644 --- a/core/app/models/global_feed.rb +++ b/core/app/models/global_feed.rb @@ -17,4 +17,10 @@ key = @key[:all_activities] Ohm::Model::TimestampedSet.new(key, Ohm::Model::Wrapper.wrap(Activity)) end + + ...
Create redis set for discussions
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,5 +1,5 @@-eu_vat = Spree::Zone.create!(name: "EU_VAT", description: "Countries that make up the EU VAT zone.") -north_america = Spree...
Modify zone sample data for adding kind
diff --git a/app/workers/discourse_synchronization_worker.rb b/app/workers/discourse_synchronization_worker.rb index abc1234..def5678 100644 --- a/app/workers/discourse_synchronization_worker.rb +++ b/app/workers/discourse_synchronization_worker.rb @@ -11,7 +11,7 @@ email: u.email, external_id: use...
Synchronize avatar only if available
diff --git a/test/rails_1-2-3/app/controllers/application.rb b/test/rails_1-2-3/app/controllers/application.rb index abc1234..def5678 100644 --- a/test/rails_1-2-3/app/controllers/application.rb +++ b/test/rails_1-2-3/app/controllers/application.rb @@ -3,5 +3,5 @@ class ApplicationController < ActionController::Base ...
Rename the session identifier to match the database name
diff --git a/WarpSDK.podspec b/WarpSDK.podspec index abc1234..def5678 100644 --- a/WarpSDK.podspec +++ b/WarpSDK.podspec @@ -14,8 +14,8 @@ s.source = { :git => "https://github.com/kuyazee/WarpSDK-iOS.git", :tag => "#{s.version}" } s.source_files = "WarpSDK", "WarpSDK/**/*.{h,swift}" - s.dependency "Alamo...
Set Specified Versions for Alamofire, EVReflection and SwiftyJSON on PodSpec
diff --git a/onkcop.gemspec b/onkcop.gemspec index abc1234..def5678 100644 --- a/onkcop.gemspec +++ b/onkcop.gemspec @@ -20,7 +20,7 @@ spec.require_paths = ["lib"] spec.add_dependency "rubocop", "~> 0.46.0" - spec.add_dependency "rubocop-rspec", ">= 1.8.0" + spec.add_dependency "rubocop-rspec", ">= 1.9.1" s...
Update rubocop-rspec dependency version to >= 1.9.1
diff --git a/lib/bmff/box/base.rb b/lib/bmff/box/base.rb index abc1234..def5678 100644 --- a/lib/bmff/box/base.rb +++ b/lib/bmff/box/base.rb @@ -15,6 +15,13 @@ return largesize if size == 1 return nil if size == 0 return size + end + + def remaining_size + if actual_size + return (offset + actua...
Add remaining_size method to BMFF::Box::Base class. This method returns a remaining size of itself.
diff --git a/pdf_cloud.gemspec b/pdf_cloud.gemspec index abc1234..def5678 100644 --- a/pdf_cloud.gemspec +++ b/pdf_cloud.gemspec @@ -17,5 +17,5 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] - gem.add_runtime_dependency "oauth2", '>= 0.9.1' + gem.add_runtime_depen...
Revert "Require version 0.9.1 of oauth2 gem." This reverts commit 00b3ca8b546f5e3dfd9f14562cf5c00b69482b4b.
diff --git a/lib/jade/template.rb b/lib/jade/template.rb index abc1234..def5678 100644 --- a/lib/jade/template.rb +++ b/lib/jade/template.rb @@ -31,7 +31,14 @@ options = { } options[:filename] = eval_file - jade_config = context.environment.context_class.jade_config.merge(options) + # For Rails...
Jade::Template: Patch config-fetching to support Rails 4.2.x. Closes #1.
diff --git a/lib/model_patches.rb b/lib/model_patches.rb index abc1234..def5678 100644 --- a/lib/model_patches.rb +++ b/lib/model_patches.rb @@ -38,4 +38,14 @@ def qldcouncil? return self.has_tag?('QLD_council') end + #SA + # SA State + def sastate? + ...
Define SA in the PublicBody Module
diff --git a/lib/ramom/mapping.rb b/lib/ramom/mapping.rb index abc1234..def5678 100644 --- a/lib/ramom/mapping.rb +++ b/lib/ramom/mapping.rb @@ -8,7 +8,7 @@ def initialize(entity_registry, entries = EMPTY_HASH, &block) super(entity_registry, entries.dup) - infer_from_definitions + infer # done be...
Rename private method in Mapping
diff --git a/lib/rrimm/fetcher.rb b/lib/rrimm/fetcher.rb index abc1234..def5678 100644 --- a/lib/rrimm/fetcher.rb +++ b/lib/rrimm/fetcher.rb @@ -8,6 +8,11 @@ class Feed class Updated def to_date + @content + end + end + class Title + def to_s @content ...
Fix title for atom entries
diff --git a/functional_test/minitest_helper.rb b/functional_test/minitest_helper.rb index abc1234..def5678 100644 --- a/functional_test/minitest_helper.rb +++ b/functional_test/minitest_helper.rb @@ -2,7 +2,7 @@ SimpleCov.start do add_filter '/functional_test/' - coverage_dir 'fv_coverage' + command_name "Live ...
Unify code coverage output between UTs and live tests
diff --git a/pry-nav.gemspec b/pry-nav.gemspec index abc1234..def5678 100644 --- a/pry-nav.gemspec +++ b/pry-nav.gemspec @@ -19,6 +19,6 @@ # Dependencies gem.required_ruby_version = '>= 1.8.7' - gem.add_runtime_dependency 'pry', '>= 0.9.10', '< 0.12.0' + gem.add_runtime_dependency 'pry', '>= 0.9.10', '< 0.13.0...
Allow newer versions of pry to be used
diff --git a/lib/exception_notifier/rake/rake_patch.rb b/lib/exception_notifier/rake/rake_patch.rb index abc1234..def5678 100644 --- a/lib/exception_notifier/rake/rake_patch.rb +++ b/lib/exception_notifier/rake/rake_patch.rb @@ -23,7 +23,7 @@ # Only do this if we're actually in a Rake context. In some contexts (e.g.,...
Fix error exposed by running rspec in RubyMine
diff --git a/app/helpers/logo_helper.rb b/app/helpers/logo_helper.rb index abc1234..def5678 100644 --- a/app/helpers/logo_helper.rb +++ b/app/helpers/logo_helper.rb @@ -27,7 +27,7 @@ linked_logo else css_classes = logo_classes(organisation: organisation, size: options[:size], stacked: true) - con...
Fix missing span causing misalignment in org logos https://www.pivotaltracker.com/story/show/58077240
diff --git a/lib/generators/netsuite_rails/install_generator.rb b/lib/generators/netsuite_rails/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/netsuite_rails/install_generator.rb +++ b/lib/generators/netsuite_rails/install_generator.rb @@ -6,7 +6,13 @@ module Generators class InstallGene...
Support rails 3.2 in install generator
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="#{ENV['S3_BUCKET_NAME'].upcase} #{load_event.event_type.capitalize} ...
Fix the email subject line. In preparation for moving away from AWS.
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -1,10 +1,10 @@ class UserMailer < ActionMailer::Base - default from: "Ultimate Bundles <customerservice@ultimate-bundles.com>" + default from: "Ul...
Update the signup email subject
diff --git a/app/models/access_token.rb b/app/models/access_token.rb index abc1234..def5678 100644 --- a/app/models/access_token.rb +++ b/app/models/access_token.rb @@ -21,15 +21,19 @@ def self.insecure_build_for(ontology_version) repository = ontology_version.repository + AccessToken.new( + {repositor...
Put hash generation to a separate method.
diff --git a/pieces.gemspec b/pieces.gemspec index abc1234..def5678 100644 --- a/pieces.gemspec +++ b/pieces.gemspec @@ -28,4 +28,5 @@ spec.add_development_dependency 'pry' spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec' + spec.add_development_dependency 'rails' end
Add rails to dev dependencies
diff --git a/lib/armoire/railtie.rb b/lib/armoire/railtie.rb index abc1234..def5678 100644 --- a/lib/armoire/railtie.rb +++ b/lib/armoire/railtie.rb @@ -1,6 +1,6 @@ class Armoire class Railtie < Rails::Railtie - initializer "armoire.load_config" do + config.before_configuration do Armoire.load! Rails.ro...
Fix the Railtie to run on before_configuration
diff --git a/recipes/tags.rb b/recipes/tags.rb index abc1234..def5678 100644 --- a/recipes/tags.rb +++ b/recipes/tags.rb @@ -0,0 +1,20 @@+set :git_remote, "origin" + +namespace :tags do + desc <<-TEXT + Tag the (git) repository with the release name and push that tag back + upstream. This is double-entry book ke...
Create and push a git tag every time a deployment happens.