diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/app/controllers/api/search_controller.rb b/app/controllers/api/search_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/search_controller.rb +++ b/app/controllers/api/search_controller.rb @@ -15,7 +15,7 @@ respond_with( neurons, meta: { - total_items: ne...
Use total_count instead of count
diff --git a/app/controllers/punchcards_controller.rb b/app/controllers/punchcards_controller.rb index abc1234..def5678 100644 --- a/app/controllers/punchcards_controller.rb +++ b/app/controllers/punchcards_controller.rb @@ -1,2 +1,12 @@ class PunchcardsController < ApplicationController + + before_action :authe...
Add auth to punchcards controller
diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb index abc1234..def5678 100644 --- a/app/controllers/imports_controller.rb +++ b/app/controllers/imports_controller.rb @@ -22,7 +22,7 @@ mixpanel.track "Imported from MyAnimeList", {email: current_user.email} if Rails.en...
CHange MAL import failure email address.
diff --git a/app/controllers/metrics_controller.rb b/app/controllers/metrics_controller.rb index abc1234..def5678 100644 --- a/app/controllers/metrics_controller.rb +++ b/app/controllers/metrics_controller.rb @@ -1,12 +1,14 @@ class MetricsController < ApplicationController include Layouts::ApplicationLayoutHelper ...
Include default values for metrics endpoint if none are supplied
diff --git a/normalize-scss.gemspec b/normalize-scss.gemspec index abc1234..def5678 100644 --- a/normalize-scss.gemspec +++ b/normalize-scss.gemspec @@ -21,14 +21,11 @@ s.files = %w[ _normalize.scss - bower.json CHANGELOG.md - component.json CONTRIBUTING.md lib/normalize-scss.rb ...
Remove unneeded files from gemspec.
diff --git a/lib/dominion/engine/action/base/feast.rb b/lib/dominion/engine/action/base/feast.rb index abc1234..def5678 100644 --- a/lib/dominion/engine/action/base/feast.rb +++ b/lib/dominion/engine/action/base/feast.rb @@ -6,7 +6,7 @@ def to_s() 'Feast' end def play(turn) - card = turn.sel...
Make Feast card selection clearer.
diff --git a/lib/ghtorrent/migrations/003_add_orgs.rb b/lib/ghtorrent/migrations/003_add_orgs.rb index abc1234..def5678 100644 --- a/lib/ghtorrent/migrations/003_add_orgs.rb +++ b/lib/ghtorrent/migrations/003_add_orgs.rb @@ -10,8 +10,8 @@ end puts("Updating users with default values") - DB.transaction(:ro...
Fix bug in migration 003 not running from within ghtorrent The DB constant is only defined in the sequel cmd-line tool
diff --git a/lib/metamodel/template/model_relation.rb b/lib/metamodel/template/model_relation.rb index abc1234..def5678 100644 --- a/lib/metamodel/template/model_relation.rb +++ b/lib/metamodel/template/model_relation.rb @@ -0,0 +1,82 @@+public class <%= model.relation_name %>: Relation<<%= model.name %>> { + overri...
Complete model relation template file
diff --git a/spec/pagseguro/payment_request/response_spec.rb b/spec/pagseguro/payment_request/response_spec.rb index abc1234..def5678 100644 --- a/spec/pagseguro/payment_request/response_spec.rb +++ b/spec/pagseguro/payment_request/response_spec.rb @@ -10,7 +10,7 @@ "[]" => nil ) - Aitch::Response...
Update spec to conform new Aitch API.
diff --git a/lib/graphql/analysis/ast/field_usage.rb b/lib/graphql/analysis/ast/field_usage.rb index abc1234..def5678 100644 --- a/lib/graphql/analysis/ast/field_usage.rb +++ b/lib/graphql/analysis/ast/field_usage.rb @@ -9,7 +9,7 @@ @used_deprecated_fields = Set.new end - def on_leave_field(...
Fix FieldUsage analyzer method args
diff --git a/lib/tasks/export_mainstream_taxons.rake b/lib/tasks/export_mainstream_taxons.rake index abc1234..def5678 100644 --- a/lib/tasks/export_mainstream_taxons.rake +++ b/lib/tasks/export_mainstream_taxons.rake @@ -6,6 +6,7 @@ answer guide simple_smart_answer + smart_answer transac...
Add support for exporting smart answers content This adds support for the new `smart_answer` schema when exporting taxons of mainstream content as CSV. Previously smart answers were represented by the transaction schema. This ensures the functionality doesn't break when Smart Answer flows are republished with the new ...
diff --git a/mill.gemspec b/mill.gemspec index abc1234..def5678 100644 --- a/mill.gemspec +++ b/mill.gemspec @@ -25,7 +25,6 @@ s.add_dependency 'kramdown' s.add_dependency 'nokogiri' s.add_dependency 'path' - s.add_dependency 'rmagick' s.add_dependency 'sinatra' s.add_development_dependency 'bundler'
Remove RMagick, since resizing no longer necessary.
diff --git a/moob.gemspec b/moob.gemspec index abc1234..def5678 100644 --- a/moob.gemspec +++ b/moob.gemspec @@ -9,8 +9,8 @@ s.name = 'moob' s.version = Moob::VERSION.join '.' s.platform = Gem::Platform::RUBY - s.authors = ['Pierre Carrier'] - s.email = ['pierre@spotify.com'] + s.auth...
Update gemspec author since nf took maintainership
diff --git a/chinese_faker.gemspec b/chinese_faker.gemspec index abc1234..def5678 100644 --- a/chinese_faker.gemspec +++ b/chinese_faker.gemspec @@ -20,5 +20,9 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] + spec.add_development_dependency "bundler", "~> 1.15" ...
Add development dependency for running rake
diff --git a/omnibus-delivery-cli/config/projects/delivery-cli.rb b/omnibus-delivery-cli/config/projects/delivery-cli.rb index abc1234..def5678 100644 --- a/omnibus-delivery-cli/config/projects/delivery-cli.rb +++ b/omnibus-delivery-cli/config/projects/delivery-cli.rb @@ -5,6 +5,7 @@ # name "delivery-cli" +friendly_...
Add friendly name to Omnibus project config
diff --git a/Charts.podspec b/Charts.podspec index abc1234..def5678 100644 --- a/Charts.podspec +++ b/Charts.podspec @@ -2,13 +2,13 @@ s.name = "Charts" s.version = "2.2.3" s.summary = "ios-charts is a powerful & easy to use chart library for iOS, tvOS and OSX" - s.homepage = "https://github.com/danielgindi/io...
Update podspec to point to forked repo
diff --git a/Casks/phoenix-slides.rb b/Casks/phoenix-slides.rb index abc1234..def5678 100644 --- a/Casks/phoenix-slides.rb +++ b/Casks/phoenix-slides.rb @@ -1,8 +1,8 @@ cask :v1 => 'phoenix-slides' do - version '1.3.1' - sha256 '6e5df9e586bb33b79249d9917f99f50395f255b85bf39c5fafca64fe66aef758' + version '1.4.0' + s...
Update Phoenix Slides.app to 1.4.0
diff --git a/Casks/thunderbird-ja.rb b/Casks/thunderbird-ja.rb index abc1234..def5678 100644 --- a/Casks/thunderbird-ja.rb +++ b/Casks/thunderbird-ja.rb @@ -1,6 +1,6 @@ cask :v1 => 'thunderbird-ja' do - version '38.2.0' - sha256 '2014b6fac54d398f63c442cc531ddfa77b604ecd616a98e67b2197225135398b' + version '38.3.0' + ...
Upgrade Thunderbird (Japanese) to 38.3.0
diff --git a/updater.rb b/updater.rb index abc1234..def5678 100644 --- a/updater.rb +++ b/updater.rb @@ -9,8 +9,8 @@ DOWNLOAD_URI = 'https://raw.githubusercontent.com/Stawberri/twitter_dbooks/master/v2.rb' START_COMMAND = 'ebooks start' -error_message = '' begin + error_message = '' raise IOError, NO_DOWNLOAD_E...
Delete downloaded file after running complete This line really has no effect on anything whatsoever, and I'm just adding it because I keep accidentally editing bots.rb instead of v2.rb in my development environment. Also moved a line inside begin statement so everything could be contained inside. Feels cleaner.
diff --git a/DateRangePicker.podspec b/DateRangePicker.podspec index abc1234..def5678 100644 --- a/DateRangePicker.podspec +++ b/DateRangePicker.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DateRangePicker' - s.version = '2.1' + s.version = '3.0' ...
Update the Podspec to v3.0.
diff --git a/POSRx.podspec b/POSRx.podspec index abc1234..def5678 100644 --- a/POSRx.podspec +++ b/POSRx.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = 'POSRx' - s.version = '0.6.0' + s.version = '0.6.1' s.license = 'MIT' s.summary = 'Utilities around ReactiveCocoa.' s...
Update podspec versino: 0.6.0 -> 0.6.1
diff --git a/examples/extract-contents-from-web.rb b/examples/extract-contents-from-web.rb index abc1234..def5678 100644 --- a/examples/extract-contents-from-web.rb +++ b/examples/extract-contents-from-web.rb @@ -0,0 +1,46 @@+require 'pathname' +require 'tmpdir' +require 'epub/parser' +require 'epub/ocf/physical_contai...
Add example script for UnpackedURI
diff --git a/spec/implementation.rb b/spec/implementation.rb index abc1234..def5678 100644 --- a/spec/implementation.rb +++ b/spec/implementation.rb @@ -1,25 +1,40 @@ require File.expand_path("../spec_helper", __FILE__) WatirSpec.implementation do |imp| - name = :webdriver browser = (ENV['WATIR_WEBDRIVER_BROW...
Add the ability to differentiate native vs synthesized events when running specs.
diff --git a/spec/kinetosis_spec.rb b/spec/kinetosis_spec.rb index abc1234..def5678 100644 --- a/spec/kinetosis_spec.rb +++ b/spec/kinetosis_spec.rb @@ -6,26 +6,27 @@ describe Kinetosis do before do - @object = Object.new - @object.extend(Kinetosis) + @mbp = Object.new.extend(Kinetosis) end descri...
Check that x and y respond with a signed integer between -255 and 255. Renamed @object -> @mbp
diff --git a/spec/skip_test_spec.rb b/spec/skip_test_spec.rb index abc1234..def5678 100644 --- a/spec/skip_test_spec.rb +++ b/spec/skip_test_spec.rb @@ -1,5 +1,5 @@ # xdescribe makes all test cases under this scenario go into skip mode -describe "Skip 101" do +xdescribe "Skip 101" do # appending 'x' on a tes...
Use xdescribe to avoid confusion on test
diff --git a/Verso.podspec b/Verso.podspec index abc1234..def5678 100644 --- a/Verso.podspec +++ b/Verso.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Verso' - s.version = '1.0.0' + s.version = '1.0.1' s.summary = 'A multi-paged image viewer for iOS' s.descri...
Increase version number to 1.0.1
diff --git a/getinline.gemspec b/getinline.gemspec index abc1234..def5678 100644 --- a/getinline.gemspec +++ b/getinline.gemspec @@ -6,21 +6,13 @@ Gem::Specification.new do |spec| spec.name = 'getinline' spec.version = Getinline::VERSION - spec.authors = ['Jeremy Kahn'] + spec.authors ...
Fix merge conflicts, add author
diff --git a/gititback.gemspec b/gititback.gemspec index abc1234..def5678 100644 --- a/gititback.gemspec +++ b/gititback.gemspec @@ -0,0 +1,53 @@+# Generated by jeweler +# DO NOT EDIT THIS FILE DIRECTLY +# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command +# -*- encoding: utf-8 -*- + +Gem::Specifica...
Set to proper Github location
diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index abc1234..def5678 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -13,14 +13,14 @@ authenticate_user! @game = Game.find(params[:id]) @game.upvote_by(current_user) - ...
Fix voting from game page.
diff --git a/app/controllers/login_controller.rb b/app/controllers/login_controller.rb index abc1234..def5678 100644 --- a/app/controllers/login_controller.rb +++ b/app/controllers/login_controller.rb @@ -1,5 +1,22 @@ class LoginController < ApplicationController get '/' do + redirect to '../' if authenticated? +...
Add authenticate method and post route
diff --git a/app/models/concerns/http_request.rb b/app/models/concerns/http_request.rb index abc1234..def5678 100644 --- a/app/models/concerns/http_request.rb +++ b/app/models/concerns/http_request.rb @@ -7,16 +7,18 @@ end def self.get_request(key:, uri_string:) - # http://stackoverflow.com/a/4581116/4765379 ...
Reimplement APICache but heavily reduce the cache time
diff --git a/app/services/crop_search_service.rb b/app/services/crop_search_service.rb index abc1234..def5678 100644 --- a/app/services/crop_search_service.rb +++ b/app/services/crop_search_service.rb @@ -10,12 +10,13 @@ match: :word_start, boost_by: [:plantings_count], includes: %i(s...
Load crops from search, without hitting the database
diff --git a/discogs.gemspec b/discogs.gemspec index abc1234..def5678 100644 --- a/discogs.gemspec +++ b/discogs.gemspec @@ -21,7 +21,7 @@ s.add_development_dependency "rspec", "= 2.12.0" s.add_development_dependency "simplecov", "= 0.7.1" - s.add_runtime_dependency "hashie", "~> 2.1" + s.add_runtime_depende...
Remove Hashie version in gemspec
diff --git a/SwiftCarousel.podspec b/SwiftCarousel.podspec index abc1234..def5678 100644 --- a/SwiftCarousel.podspec +++ b/SwiftCarousel.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SwiftCarousel" - s.version = "0.5" + s.version = "0.6" s.summary = "Infinite caro...
[CocoaPods] Update podspec for 0.6 version
diff --git a/Casks/beyond-compare.rb b/Casks/beyond-compare.rb index abc1234..def5678 100644 --- a/Casks/beyond-compare.rb +++ b/Casks/beyond-compare.rb @@ -1,8 +1,9 @@ cask :v1 => 'beyond-compare' do - version '4.0.4.19477' - sha256 'f37569d5f116ac76607e4c0df6081cf93d8c16ac61c4350e8e9495cc89714ceb' + version '4.0.5...
Update Beyond Compare.app to v4.0.5.19480 & add name
diff --git a/DSAWSOperations.podspec b/DSAWSOperations.podspec index abc1234..def5678 100644 --- a/DSAWSOperations.podspec +++ b/DSAWSOperations.podspec @@ -12,6 +12,6 @@ s.platform = :ios, '6.0' s.source_files = 'DSAWSOperations', 'DSAWSOperations/**/*.{h,m}' s.exclude_files = 'Classes/Exclude' - s.framew...
Update podspec to use a dependency on the iOS SDK instead of the frameworks.
diff --git a/BlocksKit.podspec b/BlocksKit.podspec index abc1234..def5678 100644 --- a/BlocksKit.podspec +++ b/BlocksKit.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = 'BlocksKit' - s.version = '1.0.0' + s.version = '1.0.1' s.license = 'MIT' s.summary = 'The Objective-C block utilities you a...
Update pod spec for 1.0.1. Signed-off-by: Zachary Waldowski <f6cb034ae1bf314d2c0261a7a22e4684d1f74b57@gmail.com>
diff --git a/db/seeds/expense_types.rb b/db/seeds/expense_types.rb index abc1234..def5678 100644 --- a/db/seeds/expense_types.rb +++ b/db/seeds/expense_types.rb @@ -5,8 +5,6 @@ 'Conference and view - hotel stay', 'Conference and view - train', 'Conference and view - travel time', - 'Costs judge application fee...
Remove Unused expense types from seed data The two Cost Judge expense types in the seed data are not used in real life, and cannot be migrated as part of the expense type refactor. This PR removes them from the seed data so that demo data claims using them is not created.
diff --git a/tradera.rb b/tradera.rb index abc1234..def5678 100644 --- a/tradera.rb +++ b/tradera.rb @@ -1,9 +1,11 @@ require 'open-uri' require 'savon' +# FIXME: Could be cool to use method_missing with the SOAP API class Tradera # Credentials for Campanja test app + # TODO: Move this outside the module! ...
Add some comments to Tradera module
diff --git a/Casks/gpgtools.rb b/Casks/gpgtools.rb index abc1234..def5678 100644 --- a/Casks/gpgtools.rb +++ b/Casks/gpgtools.rb @@ -0,0 +1,10 @@+class Gpgtools < Cask + url 'https://s3.amazonaws.com/gpgtools/GPGTools-2013.5.20.dmg' + homepage 'https://gpgtools.org/index.html' + version '2013.05.20' + sha1 '9f9fea9...
Add GPGTools 2013.05.20 - tweaked for new uninstall syntax Closes #350 Signed-off by: Fernando Paredes <nanoid.xd@gmail.com>
diff --git a/LightRoute.podspec b/LightRoute.podspec index abc1234..def5678 100644 --- a/LightRoute.podspec +++ b/LightRoute.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "LightRoute" - s.version = "2.1.10" + s.version = "2.1.11" s.summary = "LightRoute is easy transition betwee...
Update spec to version 2.1.11
diff --git a/inflorm.gemspec b/inflorm.gemspec index abc1234..def5678 100644 --- a/inflorm.gemspec +++ b/inflorm.gemspec @@ -23,6 +23,6 @@ spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" - spec.add_dependency "activemodel", ">= 4.2", "<= 5.0" + spec.add_depen...
Support activemodel up to 5.1.x Previously we were capped at 5.0.0; support patch versions in the 5.0 line as well as the 5.1 line.
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 @@ -1,9 +1,19 @@ require 'rails_helper' -feature "Manage users", type: :feature do - scenario "Show the list of users", js: true do ...
Add the scenario to add a new user
diff --git a/db/migrate/20140815125817_create_notifications.rb b/db/migrate/20140815125817_create_notifications.rb index abc1234..def5678 100644 --- a/db/migrate/20140815125817_create_notifications.rb +++ b/db/migrate/20140815125817_create_notifications.rb @@ -27,11 +27,12 @@ u.password = password ...
Fix migration of notified users
diff --git a/db/migrate/20170425185231_create_asset_details.rb b/db/migrate/20170425185231_create_asset_details.rb index abc1234..def5678 100644 --- a/db/migrate/20170425185231_create_asset_details.rb +++ b/db/migrate/20170425185231_create_asset_details.rb @@ -10,7 +10,7 @@ t.bigint :resource_id t.string ...
Remove 'name' and 'using' from index Remove 'name' and 'using' from asset details index.
diff --git a/db/migrate/20220105085729_split_customers_name.rb b/db/migrate/20220105085729_split_customers_name.rb index abc1234..def5678 100644 --- a/db/migrate/20220105085729_split_customers_name.rb +++ b/db/migrate/20220105085729_split_customers_name.rb @@ -24,8 +24,8 @@ bill_address = customer.bill_address ...
Deal with nil attirubtes on bill_address
diff --git a/spec/factories/ecm_tags_tags.rb b/spec/factories/ecm_tags_tags.rb index abc1234..def5678 100644 --- a/spec/factories/ecm_tags_tags.rb +++ b/spec/factories/ecm_tags_tags.rb @@ -1,6 +1,6 @@ FactoryGirl.define do factory :ecm_tags_tag, class: Ecm::Tags::Tag do - name 'foo' + sequence(:name) { |i| "ta...
Fix factory for mulitple records.
diff --git a/webhookr.gemspec b/webhookr.gemspec index abc1234..def5678 100644 --- a/webhookr.gemspec +++ b/webhookr.gemspec @@ -5,20 +5,17 @@ # Describe your gem and declare its dependencies: Gem::Specification.new do |s| - gem.name = "webhookr" - gem.version = Webhookr::Services::Mailchimp::VERSIO...
Revert "Updated gemspec as per Zoocasa standards" This reverts commit 289303be8582719fcf92700081328a592975950d.
diff --git a/spec/models/proposition_spec.rb b/spec/models/proposition_spec.rb index abc1234..def5678 100644 --- a/spec/models/proposition_spec.rb +++ b/spec/models/proposition_spec.rb @@ -0,0 +1,12 @@+require 'spec_helper' + +describe Proposition do + it "can have a large body" do + body = "a" * 150_000 + + pro...
Add spec for proposition body bug.
diff --git a/utf8-cleaner.gemspec b/utf8-cleaner.gemspec index abc1234..def5678 100644 --- a/utf8-cleaner.gemspec +++ b/utf8-cleaner.gemspec @@ -17,6 +17,7 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] + gem.add_development_dependency "rake" gem.add_development...
Add rake to dev dependencies (for Travis)
diff --git a/Forecastr.podspec b/Forecastr.podspec index abc1234..def5678 100644 --- a/Forecastr.podspec +++ b/Forecastr.podspec @@ -7,7 +7,6 @@ s.author = 'Rob Phillips' s.source = { :git => "https://github.com/iwasrobbed/Forecastr.git", :tag => "v" + s.version.to_s } s.ios.deployment_target = '7.0...
Remove OS X support (feel free to fork your own)
diff --git a/spec/support/shared_examples/numerical_submatcher.rb b/spec/support/shared_examples/numerical_submatcher.rb index abc1234..def5678 100644 --- a/spec/support/shared_examples/numerical_submatcher.rb +++ b/spec/support/shared_examples/numerical_submatcher.rb @@ -1,5 +1,3 @@-require 'spec_helper' - shared_exa...
Remove "circular require considered harmful" warning
diff --git a/features/support/env.rb b/features/support/env.rb index abc1234..def5678 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -12,12 +12,8 @@ require "aruba/config/jruby" require "rspec/expectations" -Before do |scenario| - command_name = if scenario.respond_to?(:feature) # Cucumber < ...
Remove code supporting cucumber 3 from simplecov set-up
diff --git a/features/support/env.rb b/features/support/env.rb index abc1234..def5678 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -23,5 +23,6 @@ DatabaseCleaner.orm = "active_record" Cucumber::Rails::Database.javascript_strategy = :truncation Capybara.default_driver = :selenium + Ca...
Increase capybara default wait time.
diff --git a/Locksmith.podspec b/Locksmith.podspec index abc1234..def5678 100644 --- a/Locksmith.podspec +++ b/Locksmith.podspec @@ -14,7 +14,6 @@ s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.10' s.watchos.deployment_target = '2.0' - s.tvos.deployment_target = '9.0' s.requires_arc = true ...
Revert "Add support for tvOS"
diff --git a/db/migrate/20160404152107_add_subscription_to_ext_management_system.rb b/db/migrate/20160404152107_add_subscription_to_ext_management_system.rb index abc1234..def5678 100644 --- a/db/migrate/20160404152107_add_subscription_to_ext_management_system.rb +++ b/db/migrate/20160404152107_add_subscription_to_ext_...
Create a new subscription column in the ext_management_systems table. This is part of the solution for BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1318356
diff --git a/db/migrate/20170807055604_add_index_to_searcher_records_for_mroonga.rb b/db/migrate/20170807055604_add_index_to_searcher_records_for_mroonga.rb index abc1234..def5678 100644 --- a/db/migrate/20170807055604_add_index_to_searcher_records_for_mroonga.rb +++ b/db/migrate/20170807055604_add_index_to_searcher_re...
Add missing index for Mroonga * searcher_records.original_type * searcher_records.project_id
diff --git a/lib/dotenv/configuration.rb b/lib/dotenv/configuration.rb index abc1234..def5678 100644 --- a/lib/dotenv/configuration.rb +++ b/lib/dotenv/configuration.rb @@ -1,5 +1,6 @@ require "dotenv" require "dotenv/parser" +require "tempfile" require "dotenv/configuration/version" module Dotenv @@ -15,7 +16,8 @...
Handle if file is missing
diff --git a/lib/filewatcher/snapshot.rb b/lib/filewatcher/snapshot.rb index abc1234..def5678 100644 --- a/lib/filewatcher/snapshot.rb +++ b/lib/filewatcher/snapshot.rb @@ -25,8 +25,7 @@ changes[filename] = :deleted unless self[filename] end - changes.reject! { |_filename, event| event.nil? } - ...
Resolve offenses from new RuboCop
diff --git a/lib/chatroid/adapter.rb b/lib/chatroid/adapter.rb index abc1234..def5678 100644 --- a/lib/chatroid/adapter.rb +++ b/lib/chatroid/adapter.rb @@ -1,8 +1,6 @@ class Chatroid module Adapter - extend self - - def find(service_name) + def self.find(service_name) const_get(service_name) re...
Refactor to be more simple
diff --git a/lib/ditty/db.rb b/lib/ditty/db.rb index abc1234..def5678 100644 --- a/lib/ditty/db.rb +++ b/lib/ditty/db.rb @@ -2,10 +2,12 @@ require 'sequel' require 'ditty/services/logger' +require 'active_support' +require 'active_support/core_ext/object/blank' if defined? DB Ditty::Services::Logger.instance.w...
fix: Use blank instead of empty since nil doesn't have empty?
diff --git a/bin/tomato.rb b/bin/tomato.rb index abc1234..def5678 100644 --- a/bin/tomato.rb +++ b/bin/tomato.rb @@ -0,0 +1,59 @@+#!/usr/bin/env ruby + +require 'growl' +module Tomato + PERIOD = 25 * 60 + + class Log + FILE_PATH = '~/.tomato.log' + + def initialize + @file = File.open(File.expand_path(FILE...
Add pomodoro like script, fun and profit
diff --git a/lib/odd_even.rb b/lib/odd_even.rb index abc1234..def5678 100644 --- a/lib/odd_even.rb +++ b/lib/odd_even.rb @@ -2,11 +2,46 @@ def initialize (user_number) @user_number = user_number -end + end def makearray numbers = 1.upto(@user_number).to_a + i = 0 + + while (i < numbers.length)...
Create Array that replaces even numbers with even
diff --git a/lib/hirefire/backend.rb b/lib/hirefire/backend.rb index abc1234..def5678 100644 --- a/lib/hirefire/backend.rb +++ b/lib/hirefire/backend.rb @@ -18,7 +18,7 @@ # Delayed Job specific backends if defined?(::Delayed) if defined?(::Delayed::Backend::ActiveRecord::Job) - if ActiveR...
Remove string comparison and test based on required feature.
diff --git a/lib/holidays_wrapper.rb b/lib/holidays_wrapper.rb index abc1234..def5678 100644 --- a/lib/holidays_wrapper.rb +++ b/lib/holidays_wrapper.rb @@ -1,3 +1,5 @@+require 'holidays' + class HolidaysWrapper < Holidays # sm - reads every holiday in region, including informal, and returns a date or nil # the ...
Add require for Holidays Wrapper
diff --git a/lib/quickets.rb b/lib/quickets.rb index abc1234..def5678 100644 --- a/lib/quickets.rb +++ b/lib/quickets.rb @@ -14,10 +14,9 @@ module Quickets class App < Roda - plugin :json - plugin :error_handler do |e| - { error: e.message } - end + plugin :json_parser # request parse + plugin ...
Add json_parser (for request parsing)
diff --git a/lib/services.rb b/lib/services.rb index abc1234..def5678 100644 --- a/lib/services.rb +++ b/lib/services.rb @@ -2,6 +2,9 @@ module Services def self.publishing_api - @publishing_api ||= GdsApi::PublishingApiV2.new(Plek.new.find('publishing-api')) + @publishing_api ||= GdsApi::PublishingApiV2.new...
Add bearer_token for publishing API authentication
diff --git a/lib/rambulance.rb b/lib/rambulance.rb index abc1234..def5678 100644 --- a/lib/rambulance.rb +++ b/lib/rambulance.rb @@ -1,3 +1,4 @@+require "action_dispatch" require "rambulance/version" require "rambulance/railtie"
Make sure action_dispatch is required
diff --git a/lib/tasks/js.rake b/lib/tasks/js.rake index abc1234..def5678 100644 --- a/lib/tasks/js.rake +++ b/lib/tasks/js.rake @@ -2,13 +2,13 @@ desc "Minify javascript src for production environment" task :min => :environment do # list of files to minify - libs = ['public/javascripts/prototype.js', - ...
Fix JavaScript minification rake task
diff --git a/lib/specjour/printer.rb b/lib/specjour/printer.rb index abc1234..def5678 100644 --- a/lib/specjour/printer.rb +++ b/lib/specjour/printer.rb @@ -46,7 +46,7 @@ $stdout.print message $stdout.flush elsif message.is_a?(Array) - send(message.first, message[1]) + send(message...
Fix Protocol sends nil arg instead of no arg
diff --git a/lib/xbox_leaders/api.rb b/lib/xbox_leaders/api.rb index abc1234..def5678 100644 --- a/lib/xbox_leaders/api.rb +++ b/lib/xbox_leaders/api.rb @@ -12,7 +12,7 @@ end def fetch_achievements(gamertag, game_id) - get('/achievements', gamertag: gamertag, gameid: game_id) + get('/achievements', gamerta...
Rename parameter for the API Despite all the documentation I can find, using `gameid` consistently results in ArgumentError: The gameid supplied was not valid. `titleid` looks to be the older param name, but it still works.
diff --git a/Dwifft.podspec b/Dwifft.podspec index abc1234..def5678 100644 --- a/Dwifft.podspec +++ b/Dwifft.podspec @@ -9,6 +9,7 @@ s.source = { :git => 'https://github.com/jflinter/Dwifft.git', :tag => s.version } s.ios.deployment_target = '8.0' + s.tvos.deployment_target = '9.0' s.source_files = 'Dwifft...
Add tvOS to the Podfile.
diff --git a/lib/airplayer/app.rb b/lib/airplayer/app.rb index abc1234..def5678 100644 --- a/lib/airplayer/app.rb +++ b/lib/airplayer/app.rb @@ -17,7 +17,7 @@ desc 'devices', 'Show AirPlay devices' def devices Device.devices.each_with_index do |device, number| - puts "#{number}: #{device.name} (#...
Add device os version and resolution to display
diff --git a/lib/dolphy/router.rb b/lib/dolphy/router.rb index abc1234..def5678 100644 --- a/lib/dolphy/router.rb +++ b/lib/dolphy/router.rb @@ -8,24 +8,14 @@ @routes = { :get => {}, :post => {}, :put => {}, :delete => {} } end - def get(path, &block) - add_route(:get, path, block) + def not_fou...
Define route methods using define_method instead.
diff --git a/lib/invite_module.rb b/lib/invite_module.rb index abc1234..def5678 100644 --- a/lib/invite_module.rb +++ b/lib/invite_module.rb @@ -8,10 +8,10 @@ if user_not_exist?(user) user_create(invite) - redirect_to "http://villeme.com/users/auth/facebook" and return + redirect_to 'http://ville...
Adjust in geocoder of invite when user click in key from email
diff --git a/lib/msfl_visitors.rb b/lib/msfl_visitors.rb index abc1234..def5678 100644 --- a/lib/msfl_visitors.rb +++ b/lib/msfl_visitors.rb @@ -5,7 +5,7 @@ module MSFLVisitors class << self - def get_chewy_clauses(dataset, msfl) + def get_chewy_clauses(dataset, msfl, visitor = MSFLVisitors::Visitor.new) ...
Enable a gem client specific visitor in .get_chewy_clauses
diff --git a/lib/buildr_plus/features/idea_codestyle.rb b/lib/buildr_plus/features/idea_codestyle.rb index abc1234..def5678 100644 --- a/lib/buildr_plus/features/idea_codestyle.rb +++ b/lib/buildr_plus/features/idea_codestyle.rb @@ -15,7 +15,7 @@ BuildrPlus::FeatureManager.feature(:idea_codestyle) do |f| f.enhance(:...
Update idea codestyle rules for react4j
diff --git a/app/admin/provider.rb b/app/admin/provider.rb index abc1234..def5678 100644 --- a/app/admin/provider.rb +++ b/app/admin/provider.rb @@ -6,10 +6,6 @@ action_item(:upload_csv, :only => :index) do link_to "Upload CSV", upload_csv_admin_provided_pois_path - end - - collection_action :upload_csv, tit...
Remove `collection_action` that has been placed here from a separate test in provided_poi
diff --git a/lib/netsuite/records/inventory_transfer.rb b/lib/netsuite/records/inventory_transfer.rb index abc1234..def5678 100644 --- a/lib/netsuite/records/inventory_transfer.rb +++ b/lib/netsuite/records/inventory_transfer.rb @@ -7,7 +7,7 @@ include Support::Actions include Namespaces::TranInvt - ...
Add upsertList action to Inventory Transfer
diff --git a/lib/no_brainer/query_runner/write_error.rb b/lib/no_brainer/query_runner/write_error.rb index abc1234..def5678 100644 --- a/lib/no_brainer/query_runner/write_error.rb +++ b/lib/no_brainer/query_runner/write_error.rb @@ -10,8 +10,9 @@ Term::TermType::DELETE, ...
Fix error checking for rethinkdb 1.5 Closes #6
diff --git a/app/models/user_initializer.rb b/app/models/user_initializer.rb index abc1234..def5678 100644 --- a/app/models/user_initializer.rb +++ b/app/models/user_initializer.rb @@ -1,46 +1,65 @@ class UserInitializer - attr_reader :authorization, :omniauth_data, :provider, :email + attr_reader :authorization, :em...
Move ability to setup an omniauth sign to a dedicated method
diff --git a/app/payments/dotpay_payment.rb b/app/payments/dotpay_payment.rb index abc1234..def5678 100644 --- a/app/payments/dotpay_payment.rb +++ b/app/payments/dotpay_payment.rb @@ -8,4 +8,26 @@ sum = @secret.to_s + @data.map { |k,v| v[0] unless k == 'signature' }.join('') Digest::SHA256.hexdigest(sum) == @...
Add wrappers for payment data to DotpayPayment
diff --git a/config/initializers/show_constants.rb b/config/initializers/show_constants.rb index abc1234..def5678 100644 --- a/config/initializers/show_constants.rb +++ b/config/initializers/show_constants.rb @@ -1,8 +1,8 @@ CURRENT_TOP_ROW_VALUES = [200, 400].freeze PLAY_TYPES = { + "regular" => "regula...
Move regular play back to the top of the list
diff --git a/config/initializers/engine_locale_fix.rb b/config/initializers/engine_locale_fix.rb index abc1234..def5678 100644 --- a/config/initializers/engine_locale_fix.rb +++ b/config/initializers/engine_locale_fix.rb @@ -8,7 +8,13 @@ problem_engines = Rails::Engine.subclasses.keep_if do |engine| ...
Tweak engine locale param fix. Fix wasn’t applying when used in conjunction with a constraint object.
diff --git a/environment_canada.gemspec b/environment_canada.gemspec index abc1234..def5678 100644 --- a/environment_canada.gemspec +++ b/environment_canada.gemspec @@ -10,7 +10,7 @@ spec.email = ["jamesbadger@gmail.com"] spec.description = %q{Environment Canada weather library} spec.summary = %...
Add Github site as gem homepage
diff --git a/journeys/vehicle_licensing_journey.rb b/journeys/vehicle_licensing_journey.rb index abc1234..def5678 100644 --- a/journeys/vehicle_licensing_journey.rb +++ b/journeys/vehicle_licensing_journey.rb @@ -10,7 +10,7 @@ moveToEl(@browser.link(:text => 'SORN'), { :click => true }) sleep 8 - scrollTo...
Correct SORN journey after recent deployment We switched to Spotlight for SORN, which changed the #id.
diff --git a/js_named_routes.gemspec b/js_named_routes.gemspec index abc1234..def5678 100644 --- a/js_named_routes.gemspec +++ b/js_named_routes.gemspec @@ -0,0 +1,18 @@+# -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) + +Gem::Specification.new do |s| + s.name = "js_named_routes" + s.ver...
Add a gemspec so it can be used with Bundler
diff --git a/lib/tasks/populate_published_groups.rake b/lib/tasks/populate_published_groups.rake index abc1234..def5678 100644 --- a/lib/tasks/populate_published_groups.rake +++ b/lib/tasks/populate_published_groups.rake @@ -9,10 +9,4 @@ tag.update!(published_groups: item['details']['groups']) end - - Tag.onl...
Remove sanity test for dirty-checking This hasn't shown any problems on preview, but the test itself was messed up in a rebase.
diff --git a/lib/loggability/formatter/timeless.rb b/lib/loggability/formatter/timeless.rb index abc1234..def5678 100644 --- a/lib/loggability/formatter/timeless.rb +++ b/lib/loggability/formatter/timeless.rb @@ -0,0 +1,13 @@+require 'loggability' unless defined?( Loggability ) +require 'loggability/formatter' unless d...
Add custom log formatter for CLI
diff --git a/extras/searchable_model.rb b/extras/searchable_model.rb index abc1234..def5678 100644 --- a/extras/searchable_model.rb +++ b/extras/searchable_model.rb @@ -17,7 +17,7 @@ module ClassMethods def fulltext_search(q) # Check if Sphinx is enabled globally and for this model; if not, fallback to db...
Disable Sphinx search; always use DB search [story:43690457]
diff --git a/cookbooks/mysql/attributes/default.rb b/cookbooks/mysql/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/mysql/attributes/default.rb +++ b/cookbooks/mysql/attributes/default.rb @@ -2,7 +2,7 @@ default['mysql']['service_name'] = 'default' # passwords -default['mysql']['server_root_pass...
[UPDATE] Set password to 'root' to simplify creation of further instances
diff --git a/genomer-plugin-simple/lib/genomer-plugin-simple.rb b/genomer-plugin-simple/lib/genomer-plugin-simple.rb index abc1234..def5678 100644 --- a/genomer-plugin-simple/lib/genomer-plugin-simple.rb +++ b/genomer-plugin-simple/lib/genomer-plugin-simple.rb @@ -3,7 +3,7 @@ def run case arguments.shift wh...
Refactor echo arg for clarity in simple-plugin
diff --git a/app/entities/track.rb b/app/entities/track.rb index abc1234..def5678 100644 --- a/app/entities/track.rb +++ b/app/entities/track.rb @@ -3,6 +3,15 @@ self.attributes = :artist_title, :title def queries - ["#{artist_title} #{title}", title] + ["#{better_artist_title} #{better_title}", better_tit...
Improve search for requests with "ft."
diff --git a/clock.gemspec b/clock.gemspec index abc1234..def5678 100644 --- a/clock.gemspec +++ b/clock.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'clock' s.summary = 'Clock interface with support for dependency configuration for real and null object implementations' - s.version = '0.1.2' + ...
Package versin is increased from 0.1.2 to 0.1.3
diff --git a/lib/linked_vocabs/validators/property_validator.rb b/lib/linked_vocabs/validators/property_validator.rb index abc1234..def5678 100644 --- a/lib/linked_vocabs/validators/property_validator.rb +++ b/lib/linked_vocabs/validators/property_validator.rb @@ -7,7 +7,7 @@ unless v.try(:in_vocab?) ...
Fix unbalanced quotes in error message
diff --git a/spec/support/config.rb b/spec/support/config.rb index abc1234..def5678 100644 --- a/spec/support/config.rb +++ b/spec/support/config.rb @@ -2,9 +2,8 @@ config.custom_methods = { format_percentage: -> (value) { "#{value.round(0)}%" }, add_label_suffix: -> (data) { - data[:entities] = data[:...
Simplify the tests' add_label_suffix custom method
diff --git a/app/models/company.rb b/app/models/company.rb index abc1234..def5678 100644 --- a/app/models/company.rb +++ b/app/models/company.rb @@ -12,7 +12,10 @@ end def create_default_member_classes - member_classes.find_or_create_by_name('Director') + directors = member_classes.find_or_create_by_name...
Make sure Company member classes start with the necessary permissions.
diff --git a/lib/axiom/types/type.rb b/lib/axiom/types/type.rb index abc1234..def5678 100644 --- a/lib/axiom/types/type.rb +++ b/lib/axiom/types/type.rb @@ -26,10 +26,8 @@ self end - def self.includes(*set) - # TODO: benchmark the cross-over point where it is more efficient to use - ...
Change the members to be a frozen set * I benchmarked the difference between Array#include? and Set#include? and the latter was faster even for small sets of objects. The performance was outstanding for larger sets. It makes sense since Array#include? is O(n) and Set#include? is O(1), yet I thought I has read...
diff --git a/lib/cocoapods/search.rb b/lib/cocoapods/search.rb index abc1234..def5678 100644 --- a/lib/cocoapods/search.rb +++ b/lib/cocoapods/search.rb @@ -1,4 +1,12 @@-require 'cocoapods/search/version' -require 'cocoapods/search/pod' -require 'cocoapods/search/rendering' -require 'cocoapods/search/cli'+require 'ruby...
Use autoload insted of require
diff --git a/app/models/team.rb b/app/models/team.rb index abc1234..def5678 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -1,4 +1,6 @@ class Team < ActiveRecord::Base validates :name, :required_size, :tournament_id, presence: true belongs_to :tournament + has_many :team_memberships + has_many :pla...
Define association betwean Team model and Player model