diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/spec/version_history_spec.rb b/spec/version_history_spec.rb index abc1234..def5678 100644 --- a/spec/version_history_spec.rb +++ b/spec/version_history_spec.rb @@ -1,7 +1,6 @@ require 'turntables/version_history' describe VersionHistory do - context "<<AR>> pattern specification" do it "should ...
Test for version history attributes
diff --git a/lib/australium/event_filters.rb b/lib/australium/event_filters.rb index abc1234..def5678 100644 --- a/lib/australium/event_filters.rb +++ b/lib/australium/event_filters.rb @@ -25,6 +25,7 @@ event_filter :map_starts, MapStart event_filter :connects, PlayerConnect event_filter :disconne...
EventFilters: Add friendly name for PlayerEnterGame
diff --git a/lib/bouncer/preemptive_rules.rb b/lib/bouncer/preemptive_rules.rb index abc1234..def5678 100644 --- a/lib/bouncer/preemptive_rules.rb +++ b/lib/bouncer/preemptive_rules.rb @@ -9,19 +9,25 @@ def self.try(context, renderer) request = context.request - if request.host == 'www.environment-age...
Refactor pre-emptive rules to be case-based
diff --git a/libraries/provider_docker_service.rb b/libraries/provider_docker_service.rb index abc1234..def5678 100644 --- a/libraries/provider_docker_service.rb +++ b/libraries/provider_docker_service.rb @@ -50,9 +50,6 @@ action :restart do end - - action :enable do - end end end end
Remove nonexistent action :enable from docker_service
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb index abc1234..def5678 100644 --- a/app/controllers/events_controller.rb +++ b/app/controllers/events_controller.rb @@ -1,11 +1,14 @@ class EventsController < ApplicationController def index - @event = Event.current - @tra...
Select desnecessário caso acessar solicitando json
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index abc1234..def5678 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -4,7 +4,10 @@ def assign user = current_user - user.group_id = find_group(params[:address]) + + g...
Add logic to the Groups Controller to use the Smarty Street API for finding an address.
diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb index abc1234..def5678 100644 --- a/app/controllers/static_controller.rb +++ b/app/controllers/static_controller.rb @@ -1,6 +1,6 @@ class StaticController < ApplicationController def homepage - @projects = Project.limit(200)....
Use active scope to retrieve projects for homepage - Ref Issue 405 (https://github.com/andrew/24pullrequests/issues/405)
diff --git a/app/services/git_tag_push_service.rb b/app/services/git_tag_push_service.rb index abc1234..def5678 100644 --- a/app/services/git_tag_push_service.rb +++ b/app/services/git_tag_push_service.rb @@ -1,8 +1,12 @@ class GitTagPushService attr_accessor :project, :user, :push_data + def execute(project, use...
Create event and clear cache on new trag push Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
diff --git a/imfilters.gemspec b/imfilters.gemspec index abc1234..def5678 100644 --- a/imfilters.gemspec +++ b/imfilters.gemspec @@ -13,7 +13,7 @@ s.summary = "Create named scopes for filtering" s.description = "Create named scopes for filtering" - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE",...
Update renamed README in gemspec.
diff --git a/test/spec/server.rb b/test/spec/server.rb index abc1234..def5678 100644 --- a/test/spec/server.rb +++ b/test/spec/server.rb @@ -2,7 +2,7 @@ describe 'Server' do specify 'Request and Response' do - counter = 1 + counter = (ENV['COUNTER'] || '1').to_i HTTP::Server::Controls::ExampleServer.r...
Allow counter to be variable by ENV
diff --git a/test/test_camera.rb b/test/test_camera.rb index abc1234..def5678 100644 --- a/test/test_camera.rb +++ b/test/test_camera.rb @@ -12,7 +12,6 @@ end def setup - @window = TWindow.new @player = Player.new @camera = Poke::Camera.new(window: @window, player: @player) end
Remove Camera test Window assignment for now
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 @@ -29,4 +29,4 @@ require 'minitest/autorun' # So we can be sure we have coverage on the whole lib directory: -Dir.glob('lib/*.rb').each { |file| require file.gsub(%r{(^lib\/|\.rb$...
Make sure we're including subdirectories as well. The commit that removed require_all didn't include the subdirectories of `lib` in the test_helper. This wasn't obvious because if you're testing everything at once it worked fine because all the files include each other in a useful order. If you are only testing one ...
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 @@ -28,4 +28,10 @@ Phoner::Phone.default_country_code = nil Phoner::Phone.default_area_code = nil end + + def default_test + klass = self.class.to_s + ancestors = (...
Stop the "no tests were specified" nonsense
diff --git a/lib/flying_sphinx/controller.rb b/lib/flying_sphinx/controller.rb index abc1234..def5678 100644 --- a/lib/flying_sphinx/controller.rb +++ b/lib/flying_sphinx/controller.rb @@ -5,10 +5,11 @@ def index(*indices) options = indices.last.is_a?(Hash) ? indices.pop : {} + async = indices.any? && !op...
Use async approach for delta indexing.
diff --git a/lib/fpgrowth/fp_tree/builder.rb b/lib/fpgrowth/fp_tree/builder.rb index abc1234..def5678 100644 --- a/lib/fpgrowth/fp_tree/builder.rb +++ b/lib/fpgrowth/fp_tree/builder.rb @@ -6,7 +6,7 @@ module FpTree module Builder - def self.build(transactions, threshold=50) + def self.build(transacti...
Set default thershold to 1
diff --git a/lib/git_evolution/repository.rb b/lib/git_evolution/repository.rb index abc1234..def5678 100644 --- a/lib/git_evolution/repository.rb +++ b/lib/git_evolution/repository.rb @@ -17,7 +17,10 @@ since_option = "--since '#{since}'" Dir.chdir(dir) do - return `git --no-pager log -z #{since_...
Fix git log for when no range was specified When no range was specified the following arguments were passed to git log: `-L,:<file>`. While it was still valid for the whole file it was restricted to the bounds of the current file's state (i.e., 1:10, which then restricted how far back the history will go by the nature...
diff --git a/lib/deploy/eb/platform.rb b/lib/deploy/eb/platform.rb index abc1234..def5678 100644 --- a/lib/deploy/eb/platform.rb +++ b/lib/deploy/eb/platform.rb @@ -1,5 +1,11 @@+require 'open3' + module Eb class Platform + def self.configured? + Open3.popen3("eb list") { |i, o, e, t| t.value }.exitstatus ==...
Add method to check if current folder is set up for EB
diff --git a/DateRangePicker.podspec b/DateRangePicker.podspec index abc1234..def5678 100644 --- a/DateRangePicker.podspec +++ b/DateRangePicker.podspec @@ -18,6 +18,4 @@ s.requires_arc = true s.frameworks = 'AppKit', 'Foundation' s.swift_versions = ['4.2', '5'] - - s.xcconfi...
Remove EMBEDDED_CONTENT_CONTAINS_SWIFT from the Podspec (oops).
diff --git a/lib/rrj/models/active_record.rb b/lib/rrj/models/active_record.rb index abc1234..def5678 100644 --- a/lib/rrj/models/active_record.rb +++ b/lib/rrj/models/active_record.rb @@ -1,4 +1,6 @@ # frozen_string_literal: true + +# :reek:UtilityFunction module RubyRabbitmqJanus module Models @@ -26,6 +28,13 @...
Add unset method for disable JanusInstance with ActiveRecord
diff --git a/lib/specinfra/backend/docker.rb b/lib/specinfra/backend/docker.rb index abc1234..def5678 100644 --- a/lib/specinfra/backend/docker.rb +++ b/lib/specinfra/backend/docker.rb @@ -50,7 +50,7 @@ begin container.start begin - stdout, stderr = container.attach + stdout, s...
Set logs = true when attaching to Docker backend In the Docker API v1.15 logs=true is required to capture stdout and stderr logs stdout - if logs=true, return stdout log, if stream=true, attach to stdout. Default false https://docs.docker.com/reference/api/docker_remote_api_v1.15/
diff --git a/lib/rubocop/cop/rails/output.rb b/lib/rubocop/cop/rails/output.rb index abc1234..def5678 100644 --- a/lib/rubocop/cop/rails/output.rb +++ b/lib/rubocop/cop/rails/output.rb @@ -8,20 +8,16 @@ MSG = 'Do not write to stdout. ' \ 'Use Rails\' logger if you want to log.'.freeze - ...
Modify Rails/Output to use NodePattern
diff --git a/Bypass.podspec b/Bypass.podspec index abc1234..def5678 100644 --- a/Bypass.podspec +++ b/Bypass.podspec @@ -1,26 +1,25 @@ Pod::Spec.new do |s| - s.name = "Bypass" - s.version = "1.0" - s.summary = "Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS." - s.h...
Revert "Pod spec go back to 1.0" This reverts commit 68c69c768c1f5e65b481fbe2697a6fc9273840d3.
diff --git a/lib/engineyard/version.rb b/lib/engineyard/version.rb index abc1234..def5678 100644 --- a/lib/engineyard/version.rb +++ b/lib/engineyard/version.rb @@ -1,4 +1,4 @@ module EY - VERSION = '2.1.3' + VERSION = '2.1.4.pre' ENGINEYARD_SERVERSIDE_VERSION = ENV['ENGINEYARD_SERVERSIDE_VERSION'] || '2.1.4' end...
Add .pre for next release
diff --git a/lib/resque_job_logging.rb b/lib/resque_job_logging.rb index abc1234..def5678 100644 --- a/lib/resque_job_logging.rb +++ b/lib/resque_job_logging.rb @@ -1,5 +1,6 @@ module ResqueJobLogging def around_perform_log_job(*args) + Rails.logger.auto_flushing=1 log_string = "event=resque_job job=#{self} ...
Set auto_flushing to 1 explicitly
diff --git a/lib/tasks/gitlab/dev.rake b/lib/tasks/gitlab/dev.rake index abc1234..def5678 100644 --- a/lib/tasks/gitlab/dev.rake +++ b/lib/tasks/gitlab/dev.rake @@ -4,10 +4,7 @@ task :ee_compat_check, [:branch] => :environment do |_, args| opts = if ENV['CI'] - { - branch: ENV['C...
Use the public CE repo URL instead of the one used in the runner This will prevent the task to advertise using https://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@gitlab.com/gitlab-org/gitlab-ce.git when https://gitlab.com/gitlab-org/gitlab-ce.git is enough Signed-off-by: Rémy Coutable <4ea0184b9df19e0786dd00b28e6daa4d26bae...
diff --git a/Casks/gisto.rb b/Casks/gisto.rb index abc1234..def5678 100644 --- a/Casks/gisto.rb +++ b/Casks/gisto.rb @@ -1,6 +1,6 @@ cask :v1 => 'gisto' do - version '0.3.0' - sha256 '803a15125b69486012f72a42dd20f7a63b51dc2d445082303cb3b96cdb622667' + version '0.3.1' + sha256 '93df9da2888f1cca3e649ccc30b8c4784e95ad...
Update Gisto to version 0.3.1
diff --git a/UPCarouselFlowLayout.podspec b/UPCarouselFlowLayout.podspec index abc1234..def5678 100644 --- a/UPCarouselFlowLayout.podspec +++ b/UPCarouselFlowLayout.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "UPCarouselFlowLayout" - s.version = "1.1.0" + s.version = "1.1.1"...
Update pod version to 1.1.1
diff --git a/lib/curryable/parameter_list.rb b/lib/curryable/parameter_list.rb index abc1234..def5678 100644 --- a/lib/curryable/parameter_list.rb +++ b/lib/curryable/parameter_list.rb @@ -12,15 +12,15 @@ list.select(&:positional?) end - def required_positional - positional.select(&:required?) - ...
Remove method from `ParameterList` public interface
diff --git a/kotoba.gemspec b/kotoba.gemspec index abc1234..def5678 100644 --- a/kotoba.gemspec +++ b/kotoba.gemspec @@ -22,7 +22,7 @@ gem.executables = ["kotoba"] gem.version = Kotoba::VERSION - gem.add_dependency "prawn" + gem.add_dependency "prawn", "~> 1.0.0.rc" gem.add_dependency "thor" gem....
Set prawn version to use The 2011 0.12.0 version works less well with certain options.
diff --git a/lib/errawr/rails.rb b/lib/errawr/rails.rb index abc1234..def5678 100644 --- a/lib/errawr/rails.rb +++ b/lib/errawr/rails.rb @@ -1,7 +1,15 @@-require "errawr/rails/version" +require 'active_support/rescuable' +require 'errawr' +require 'errawr/http' + +require 'errawr/rails/renderable' +require 'errawr/rail...
Include Errawr methods when including Errawr::Rails in controller.
diff --git a/lib/ffi-rxs/libc.rb b/lib/ffi-rxs/libc.rb index abc1234..def5678 100644 --- a/lib/ffi-rxs/libc.rb +++ b/lib/ffi-rxs/libc.rb @@ -1,9 +1,9 @@ # encoding: utf-8 module LibC - extend ::FFI::Library + extend FFI::Library # figures out the correct libc for each platform including Windows - library = ffi...
Revert "Further Travis CI investigation" This reverts commit 23cf1f699e566206c9ffe85b0130f68d78a79cf2.
diff --git a/lib/grunt/responses/messages.rb b/lib/grunt/responses/messages.rb index abc1234..def5678 100644 --- a/lib/grunt/responses/messages.rb +++ b/lib/grunt/responses/messages.rb @@ -9,7 +9,7 @@ if response.text =~ command_regex handle_command $~[1], $~[2] elsif response.text =~ assign...
Use explicit arguments instead of splat operator
diff --git a/lib/Peppermill.rb b/lib/Peppermill.rb index abc1234..def5678 100644 --- a/lib/Peppermill.rb +++ b/lib/Peppermill.rb @@ -15,6 +15,7 @@ end on :connect do |m| + unset_mode 'x' User('nickserv').send("identify #{ENV['PASSWORD']}") end end
Disable mode X on bot
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -26,5 +26,4 @@ depends 'pkgutil', '~> 0.0' depends 'windows', '~> 1.30' depends 'wix', '~> 1.1' -depends 'yum', '~> 3.1' depends 'yum-epel', '~> 0.3'
Remove direct dependency on yum
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -6,7 +6,7 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.0.1' -recipe 'kafka', 'Setups up install environment' +recipe 'kafka', 'Setups up Kafka environment wit...
Add somewhat better description of default recipe
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -8,7 +8,6 @@ supports 'centos' supports 'redhat' -supports 'amazon' depends 'build-essential', '~> 2.2.3' depends 'ark', '~> 0.9.0'
Remove amazon support since it hasn't been tested.
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -5,7 +5,7 @@ license 'Apache 2.0' description 'Installs and configures Chef Server 12' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -depends 'chef-ingredient', '~ 1.1' +depends 'chef...
Fix typo on the constraint Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -8,8 +8,8 @@ source_url 'https://github.com/patcon/chef-letsencrypt-boulder-server' version '0.1.1' -supports 'ubuntu' -supports 'centos' +supports 'ubuntu', '= 14.04' +s...
Add more specific platform constraint.
diff --git a/lib/artwork.rb b/lib/artwork.rb index abc1234..def5678 100644 --- a/lib/artwork.rb +++ b/lib/artwork.rb @@ -3,7 +3,7 @@ require 'artwork/model' require 'artwork/view' require 'artwork/controller' -require 'artwork/engine' if Rails.const_defined?(:Engine) +require 'artwork/engine' if Object.const_defined?...
Allow Artwork to be required without loading Rails Useful for the tests.
diff --git a/worker_host/jruby/recipes/default.rb b/worker_host/jruby/recipes/default.rb index abc1234..def5678 100644 --- a/worker_host/jruby/recipes/default.rb +++ b/worker_host/jruby/recipes/default.rb @@ -1,3 +1,5 @@+ENV['PATH'] = "#{ENV['PATH']}:/opt/jruby/bin" + include_recipe "java" package "libjffi-jni" do ...
Add jruby bin dir to path. Install basic gems.
diff --git a/lib/dctvbot.rb b/lib/dctvbot.rb index abc1234..def5678 100644 --- a/lib/dctvbot.rb +++ b/lib/dctvbot.rb @@ -1,7 +1,17 @@-require 'cinch' +class DCTVBot < Cinch::Bot + def initialize(&b) + super -class DCTVBot < Cinch::Bot - def initialize(*args) - super + # Handle SIGINT (Ctrl-C) + trap "SI...
Update DCTVBot to handle Ctrl-C and Kill
diff --git a/lib/david/trap.rb b/lib/david/trap.rb index abc1234..def5678 100644 --- a/lib/david/trap.rb +++ b/lib/david/trap.rb @@ -1,10 +1,12 @@-class Trap - def initialize(value) - @value = value - end +module David + class Trap + def initialize(value = nil) + @value = value + end - def method_mi...
Make wrapped object optional for Trap.
diff --git a/lib/version_info.rb b/lib/version_info.rb index abc1234..def5678 100644 --- a/lib/version_info.rb +++ b/lib/version_info.rb @@ -11,7 +11,7 @@ # end # module VersionInfo - GITHUB_REPO_OWNER = 'churchio'.freeze + GITHUB_REPO_OWNER = 'seven1m'.freeze GITHUB_REPO_NAME = 'onebody'.freeze def cur...
Fix repo owner in version check
diff --git a/lib/mdwnin/app.rb b/lib/mdwnin/app.rb index abc1234..def5678 100644 --- a/lib/mdwnin/app.rb +++ b/lib/mdwnin/app.rb @@ -32,6 +32,16 @@ haml :form, locals: { document: Document.new } end + get "/gh/:user/:repo" do + uri = URI("https://raw.github.com/#{params[:user]}/#{params[:repo]}/mas...
Add an unsafe GitHub README renderer
diff --git a/db/migrate/20180227144608_historical_recovery_targets_distributions.rb b/db/migrate/20180227144608_historical_recovery_targets_distributions.rb index abc1234..def5678 100644 --- a/db/migrate/20180227144608_historical_recovery_targets_distributions.rb +++ b/db/migrate/20180227144608_historical_recovery_targ...
Add migration to historical recovery
diff --git a/Formula/gearman.rb b/Formula/gearman.rb index abc1234..def5678 100644 --- a/Formula/gearman.rb +++ b/Formula/gearman.rb @@ -1,9 +1,9 @@ require 'formula' class Gearman <Formula - url 'http://launchpad.net/gearmand/trunk/0.12/+download/gearmand-0.12.tar.gz' + url 'http://launchpad.net/gearmand/trunk/0....
Update Gearmand to version 0.15 Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
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 @@ -24,6 +24,13 @@ # messsage: "%{value} is not a valid event status" } + # All events for a Convention must have a unique title. Ignore any events + # that with a stat...
Add validation to check for unique titles within a convention
diff --git a/cookbooks/travis_ci_standard/spec/riak_spec.rb b/cookbooks/travis_ci_standard/spec/riak_spec.rb index abc1234..def5678 100644 --- a/cookbooks/travis_ci_standard/spec/riak_spec.rb +++ b/cookbooks/travis_ci_standard/spec/riak_spec.rb @@ -1,7 +1,6 @@ describe 'riak installation', sudo: true do before :all ...
Add some retry bits to the riak-admin spec
diff --git a/lib/methane.rb b/lib/methane.rb index abc1234..def5678 100644 --- a/lib/methane.rb +++ b/lib/methane.rb @@ -19,7 +19,7 @@ options = Slop.parse(:help => true, :multiple_switches => false) do banner "methane [options]" on :c, :config=, 'Use a different config file than ~/.methane/config' - ...
Debug should be just a flag.
diff --git a/lib/vagrant-google/action/terminate_instance.rb b/lib/vagrant-google/action/terminate_instance.rb index abc1234..def5678 100644 --- a/lib/vagrant-google/action/terminate_instance.rb +++ b/lib/vagrant-google/action/terminate_instance.rb @@ -27,8 +27,9 @@ server = env[:google_compute].servers.get(e...
Disable asyncronous execution on termination.
diff --git a/HandySwift.podspec b/HandySwift.podspec index abc1234..def5678 100644 --- a/HandySwift.podspec +++ b/HandySwift.podspec @@ -17,7 +17,7 @@ s.social_media_url = "https://twitter.com/Dschee" s.ios.deployment_target = "8.0" - s.osx.deployment_target = "10.9" + s.osx.deployment_target = "10.10" s....
Update osx deployment target for CocoaPods
diff --git a/cronitor.gemspec b/cronitor.gemspec index abc1234..def5678 100644 --- a/cronitor.gemspec +++ b/cronitor.gemspec @@ -18,8 +18,8 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.add_development_dependency 'bundler', '~> 1.10' - spec.add_...
Drop version pins for bundler + rake
diff --git a/PFIncrementalStore.podspec b/PFIncrementalStore.podspec index abc1234..def5678 100644 --- a/PFIncrementalStore.podspec +++ b/PFIncrementalStore.podspec @@ -1,4 +1,7 @@ Pod::Spec.new do |s| + s.deprecated = true + + s.name = "PFIncrementalStore" s.version = "0.2.0" s.summary ...
Update podspec marking pod as deprecated
diff --git a/Static.podspec b/Static.podspec index abc1234..def5678 100644 --- a/Static.podspec +++ b/Static.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'Static' - spec.version = '2.0' + spec.version = '2.0.0' spec.summary = 'Simple static table views for iOS in Swift.' spec.description = 'St...
Change podspec version reference to 2.0.0 to match tag
diff --git a/lib/elastictastic/new_relic_instrumentation.rb b/lib/elastictastic/new_relic_instrumentation.rb index abc1234..def5678 100644 --- a/lib/elastictastic/new_relic_instrumentation.rb +++ b/lib/elastictastic/new_relic_instrumentation.rb @@ -11,14 +11,14 @@ included do include NewRelic::Agent::MethodT...
Change format of NewRelic categories
diff --git a/LockBlocks.podspec b/LockBlocks.podspec index abc1234..def5678 100644 --- a/LockBlocks.podspec +++ b/LockBlocks.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = 'LockBlocks' - s.version = '0.0.1' + s.version = '0.0.2' s.platform = :ios s.license = 'BSD' s.hom...
Update podspec for version 0.0.2
diff --git a/spec/features/hamburger_menu_spec.rb b/spec/features/hamburger_menu_spec.rb index abc1234..def5678 100644 --- a/spec/features/hamburger_menu_spec.rb +++ b/spec/features/hamburger_menu_spec.rb @@ -0,0 +1,18 @@+# frozen_string_literal: true + +require 'rails_helper' + +describe 'Hamburger navigation menu', t...
Add simple browser test for mobile layout nav menu
diff --git a/api/entities/standard_set.rb b/api/entities/standard_set.rb index abc1234..def5678 100644 --- a/api/entities/standard_set.rb +++ b/api/entities/standard_set.rb @@ -9,22 +9,17 @@ expose :title, documentation: {desc: "Title of the set"} expose :subject, documentation: {desc: "The subject"} ...
Use to_hash instead of trying to serialize
diff --git a/lib/travis/build/appliances/update_rubygems.rb b/lib/travis/build/appliances/update_rubygems.rb index abc1234..def5678 100644 --- a/lib/travis/build/appliances/update_rubygems.rb +++ b/lib/travis/build/appliances/update_rubygems.rb @@ -14,6 +14,10 @@ } if [[ \$(vers2int \`gem --version\`) -lt \$(vers2in...
Add warning to the RVM hook
diff --git a/app/helpers/photos_helper.rb b/app/helpers/photos_helper.rb index abc1234..def5678 100644 --- a/app/helpers/photos_helper.rb +++ b/app/helpers/photos_helper.rb @@ -1,38 +1,55 @@ module PhotosHelper def crop_image_path(crop, full_size: false) - photo_or_placeholder(crop, full_size: full_size) - end -...
Revert "DRY the photos helper" This reverts commit 798fff43cf2c2606c5ed8987843a7fd151f6200d.
diff --git a/app/models/galleries_icon.rb b/app/models/galleries_icon.rb index abc1234..def5678 100644 --- a/app/models/galleries_icon.rb +++ b/app/models/galleries_icon.rb @@ -6,10 +6,6 @@ after_create :set_has_gallery after_destroy :unset_has_gallery validates :gallery_id, uniqueness: { scope: :icon_id } - - ...
Remove duplicate set_has_gallery from GalleriesIcon
diff --git a/lib/baler/parser/document.rb b/lib/baler/parser/document.rb index abc1234..def5678 100644 --- a/lib/baler/parser/document.rb +++ b/lib/baler/parser/document.rb @@ -19,7 +19,7 @@ end def relative_elements_for(path, index = nil) - if context_path.nil? + if context_path.nil? or co...
Use absolute_elements when the context path is blank
diff --git a/spec/data_spec.rb b/spec/data_spec.rb index abc1234..def5678 100644 --- a/spec/data_spec.rb +++ b/spec/data_spec.rb @@ -11,7 +11,7 @@ expect { Indicators::Data.new('some string') }.to raise_error end it "contains dividends hash from securities gem" do - expect { Indicators::Data.new(Securiti...
Repair specs after Securities update
diff --git a/spec/game_spec.rb b/spec/game_spec.rb index abc1234..def5678 100644 --- a/spec/game_spec.rb +++ b/spec/game_spec.rb @@ -12,8 +12,8 @@ end describe '#prompt_user_for_input' do - it 'ask users to input the position on available spots where they want to place an X' do - expect(new_game.prompt_...
Update spot to slot to be consistent with other test
diff --git a/spec/memo_spec.rb b/spec/memo_spec.rb index abc1234..def5678 100644 --- a/spec/memo_spec.rb +++ b/spec/memo_spec.rb @@ -23,7 +23,7 @@ expect(actual.first).to eq(actual.last) end - specify 'memoized rules change between multiple runs' do + specify 'memoized rules are stored between multiple runs'...
Clarify the purpose of the test
diff --git a/lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails_document_uploader.rb b/lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails_document_uploader.rb index abc1234..def5678 100644 --- a/lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails...
Make :file the default storage with reminder that :fog is available
diff --git a/app/controllers/admin/categories_controller.rb b/app/controllers/admin/categories_controller.rb index abc1234..def5678 100644 --- a/app/controllers/admin/categories_controller.rb +++ b/app/controllers/admin/categories_controller.rb @@ -19,7 +19,17 @@ def update @category = Category.find(params...
Replace category with existing if name has changed to exisiting category
diff --git a/app/controllers/incident_reports_controller.rb b/app/controllers/incident_reports_controller.rb index abc1234..def5678 100644 --- a/app/controllers/incident_reports_controller.rb +++ b/app/controllers/incident_reports_controller.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class IncidentReportsContr...
Add access control to incident reports controller
diff --git a/app/presenters/tree_builder_template_filter.rb b/app/presenters/tree_builder_template_filter.rb index abc1234..def5678 100644 --- a/app/presenters/tree_builder_template_filter.rb +++ b/app/presenters/tree_builder_template_filter.rb @@ -11,4 +11,8 @@ :autoload => false ) end + + def root_opt...
Add correct root to TreeBuilderTemplateFilter
diff --git a/db/migrate/20151210190211_delete_related_scheme_info_from_relation_types.rb b/db/migrate/20151210190211_delete_related_scheme_info_from_relation_types.rb index abc1234..def5678 100644 --- a/db/migrate/20151210190211_delete_related_scheme_info_from_relation_types.rb +++ b/db/migrate/20151210190211_delete_re...
Remove relatedScheme info fields form Relation Types
diff --git a/db/migrate/20180801142224_add_name_translations_and_slug_to_vocabularies.rb b/db/migrate/20180801142224_add_name_translations_and_slug_to_vocabularies.rb index abc1234..def5678 100644 --- a/db/migrate/20180801142224_add_name_translations_and_slug_to_vocabularies.rb +++ b/db/migrate/20180801142224_add_name_...
Update migration to work with vocabularies validations
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index abc1234..def5678 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,6 +1,9 @@ # Be sure to restart your server when you modify this file. -Publisher::Application.config.sessio...
Set cookies to only be served over https and to be http only
diff --git a/app/controllers/conversations_controller.rb b/app/controllers/conversations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/conversations_controller.rb +++ b/app/controllers/conversations_controller.rb @@ -16,17 +16,12 @@ flash[:danger] = "A student will initiate conversation." ...
Revert "added logic to convo controller" This reverts commit 8169bd1b79face53b87b344f121584a782cb6ab8.
diff --git a/app/helpers/admin_event_proposals_helper.rb b/app/helpers/admin_event_proposals_helper.rb index abc1234..def5678 100644 --- a/app/helpers/admin_event_proposals_helper.rb +++ b/app/helpers/admin_event_proposals_helper.rb @@ -1,7 +1,7 @@ module AdminEventProposalsHelper def event_proposal_badge_class(even...
Use the right state name
diff --git a/app/helpers/rawnet_admin/resource_helper.rb b/app/helpers/rawnet_admin/resource_helper.rb index abc1234..def5678 100644 --- a/app/helpers/rawnet_admin/resource_helper.rb +++ b/app/helpers/rawnet_admin/resource_helper.rb @@ -1,5 +1,7 @@ module RawnetAdmin module ResourceHelper + EXCLUDED_SCOPES = [:pa...
Add :per to excluded scopes
diff --git a/app/helpers/xdomain_rails/xdomain_helper.rb b/app/helpers/xdomain_rails/xdomain_helper.rb index abc1234..def5678 100644 --- a/app/helpers/xdomain_rails/xdomain_helper.rb +++ b/app/helpers/xdomain_rails/xdomain_helper.rb @@ -2,15 +2,19 @@ module XdomainHelper def xdomain_masters(domains=nil) d...
Embed xdomain javascript instead of making request
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 @@ -9,6 +9,5 @@ RSpec.configure do |config| config.mock_with :rspec - config.fixture_path = ::Rails.root.join('spec', 'fixtures') config.use_transactional_fixtures = true en...
Remove unneeded fixture path setting.
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 @@ -10,7 +10,7 @@ Sinatra::Base.set :raise_errors, true Sinatra::Base.set :logging, false -require 'application' +require File.join(File.dirname(__FILE__), '../application') # e...
Support for Ruby 1.9.x (thanks flexd!)
diff --git a/asg_results.rb b/asg_results.rb index abc1234..def5678 100644 --- a/asg_results.rb +++ b/asg_results.rb @@ -0,0 +1,34 @@+#!/usr/bin/env ruby +# +# usage: grep "SLEEP " ~/tmp/asgs_test.txt | grep -v echo | sort -n -k 2 | awk 'BEGIN { OLD=-1 } { print $2,$4,$6 }' | asg_results.rb +# +# reads from STDIN where...
Format ASG results in a Markdown-friendly way
diff --git a/chronicle_extension.rb b/chronicle_extension.rb index abc1234..def5678 100644 --- a/chronicle_extension.rb +++ b/chronicle_extension.rb @@ -3,8 +3,8 @@ class ChronicleExtension < Radiant::Extension version "1.0" - description "Describe your extension here" - url "http://yourwebsite.com/chronicle" + ...
Update extension description and URL.
diff --git a/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb b/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb index abc1234..def5678 100644 --- a/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb +++ b/core/db/migrate/20160207191757_add_id_column_to...
Add id to HABTM tables which were converted to has_many: through
diff --git a/app/models/url_cache.rb b/app/models/url_cache.rb index abc1234..def5678 100644 --- a/app/models/url_cache.rb +++ b/app/models/url_cache.rb @@ -23,7 +23,7 @@ end def download_url(url, to_path) - status, stdout, stderr = systemu(['wget', '--timeout', '10', '--tries', '1', '-O', to_path, ur...
Add --no-check-certificate flag to wget
diff --git a/lib/rack/handler/rack_jax.rb b/lib/rack/handler/rack_jax.rb index abc1234..def5678 100644 --- a/lib/rack/handler/rack_jax.rb +++ b/lib/rack/handler/rack_jax.rb @@ -18,7 +18,7 @@ puts 'Creating server...' server = create_server(wrapp, port.to_i) - puts 'Starting server...' + ...
Print the listening port in server startup
diff --git a/appsignal-moped.gemspec b/appsignal-moped.gemspec index abc1234..def5678 100644 --- a/appsignal-moped.gemspec +++ b/appsignal-moped.gemspec @@ -17,8 +17,8 @@ s.require_path = 'lib' - s.add_dependency 'appsignal' - s.add_dependency 'moped', '~> 1.0' + s.add_dependency 'appsignal', '> 0.5' + s.add...
Correct versions for appsignal and moped
diff --git a/lib/signup/product_helper.rb b/lib/signup/product_helper.rb index abc1234..def5678 100644 --- a/lib/signup/product_helper.rb +++ b/lib/signup/product_helper.rb @@ -20,7 +20,7 @@ when :individual 108 else - raise ArgumentError.new("Unknown product name #{product}") + raise Argument...
Change the exception description for each method We can see where it came from more easily and it makes things clearer
diff --git a/SwinjectAutoregistration.podspec b/SwinjectAutoregistration.podspec index abc1234..def5678 100644 --- a/SwinjectAutoregistration.podspec +++ b/SwinjectAutoregistration.podspec @@ -18,5 +18,5 @@ s.requires_arc = true s.source_files = 'Sources/**/*.{swift,h}' - s.dependency 'Swinject', '~> 2.0.0' + ...
Make Swinject dependency version at least 2.0.0
diff --git a/ruby-skype.gemspec b/ruby-skype.gemspec index abc1234..def5678 100644 --- a/ruby-skype.gemspec +++ b/ruby-skype.gemspec @@ -15,6 +15,7 @@ s.required_ruby_version = '~> 1.9' s.add_development_dependency 'yard' + s.add_development_dependency 'rake' s.platform = ENV['GEM_PLATFORM'] case ENV['G...
Add rake as a development dependency
diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index abc1234..def5678 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -14,11 +14,7 @@ # # Specify URI for violation reports # # policy....
Allow eval in prod environment, to support use of Vue templates
diff --git a/spec/controllers/user/emails_controller_spec.rb b/spec/controllers/user/emails_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/user/emails_controller_spec.rb +++ b/spec/controllers/user/emails_controller_spec.rb @@ -8,13 +8,25 @@ before { sign_in(user) } describe '#destro...
Add specs to test that when destroy a primary email of user
diff --git a/spec/views/essences/essence_text_editor_spec.rb b/spec/views/essences/essence_text_editor_spec.rb index abc1234..def5678 100644 --- a/spec/views/essences/essence_text_editor_spec.rb +++ b/spec/views/essences/essence_text_editor_spec.rb @@ -3,6 +3,18 @@ describe 'alchemy/essences/_essence_text_editor' do ...
Add test for the default input behaviour
diff --git a/rs-api-tools.gemspec b/rs-api-tools.gemspec index abc1234..def5678 100644 --- a/rs-api-tools.gemspec +++ b/rs-api-tools.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'rs-api-tools' - s.version = '0.0.8' - s.date = '2013-11-04' + s.version = '0.0.9' + s.date ...
Bump to 0.0.9 in gemspec.
diff --git a/active_interaction.gemspec b/active_interaction.gemspec index abc1234..def5678 100644 --- a/active_interaction.gemspec +++ b/active_interaction.gemspec @@ -10,7 +10,7 @@ spec.description = spec.summary spec.homepage = 'https://github.com/orgsync/active_interaction' spec.authors = ['Aaron Lasseigne'...
Switch to my personal email address
diff --git a/lib/github/s3_uploader.rb b/lib/github/s3_uploader.rb index abc1234..def5678 100644 --- a/lib/github/s3_uploader.rb +++ b/lib/github/s3_uploader.rb @@ -3,7 +3,7 @@ module Github class S3Uploader def upload(path, metadata) - RestClient.post("http://github.s3.amazonaws.com/", [ + RestClien...
Use the S3 URL returned by the Github API.
diff --git a/lib/her/json_api/model.rb b/lib/her/json_api/model.rb index abc1234..def5678 100644 --- a/lib/her/json_api/model.rb +++ b/lib/her/json_api/model.rb @@ -17,7 +17,11 @@ @type = name.demodulize.tableize def self.parse(data) - data.fetch(:attributes).merge(data.slice...
Handle parsing fields_for type attributes
diff --git a/lib/nyny/request_scope.rb b/lib/nyny/request_scope.rb index abc1234..def5678 100644 --- a/lib/nyny/request_scope.rb +++ b/lib/nyny/request_scope.rb @@ -1,30 +1,20 @@ module NYNY class RequestScope - attr_reader :request, :response + extend Forwardable def self.add_helper_module m inc...
Use forwardable to shorten the code
diff --git a/lib/buildr_plus/features/iris_audit.rb b/lib/buildr_plus/features/iris_audit.rb index abc1234..def5678 100644 --- a/lib/buildr_plus/features/iris_audit.rb +++ b/lib/buildr_plus/features/iris_audit.rb @@ -12,4 +12,4 @@ # limitations under the License. # -BuildrPlus::FeatureManager.feature(:iris_audit => ...
Remove incorrect relationship to keycloak facet
diff --git a/resources/site.rb b/resources/site.rb index abc1234..def5678 100644 --- a/resources/site.rb +++ b/resources/site.rb @@ -19,8 +19,8 @@ attribute :root, :kind_of => String, :default => "/var/www" attribute :index, :kind_of => String, :default => "index.html index.htm" attribute :slashlocation, :kind_of => ...
Remove spaces inside hard brackets
diff --git a/lib/spree/chimpy/controller_filters.rb b/lib/spree/chimpy/controller_filters.rb index abc1234..def5678 100644 --- a/lib/spree/chimpy/controller_filters.rb +++ b/lib/spree/chimpy/controller_filters.rb @@ -11,7 +11,7 @@ def find_mail_chimp_params mc_eid = params[:mc_eid] || session[:mc_eid] ...
Save order source also if record_ms_details params is present This way, we do not need to set session[:order_id]
diff --git a/spec/factories/feature_flags.rb b/spec/factories/feature_flags.rb index abc1234..def5678 100644 --- a/spec/factories/feature_flags.rb +++ b/spec/factories/feature_flags.rb @@ -1,6 +1,6 @@ FactoryGirl.define do factory :feature_flag, class: 'Carto::FeatureFlag' do - sequence(:id) + id { Time.now.ut...
Fix FeatureFlag id issue with FactoryGirl
diff --git a/app/helpers/textual_mixins/textual_advanced_settings.rb b/app/helpers/textual_mixins/textual_advanced_settings.rb index abc1234..def5678 100644 --- a/app/helpers/textual_mixins/textual_advanced_settings.rb +++ b/app/helpers/textual_mixins/textual_advanced_settings.rb @@ -2,7 +2,7 @@ def textual_advanced_...
Fix rubocop warning in TextualMixins::TextualAdvancedSettings