diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/app/controllers/spree/admin/social_controller.rb b/app/controllers/spree/admin/social_controller.rb index abc1234..def5678 100644 --- a/app/controllers/spree/admin/social_controller.rb +++ b/app/controllers/spree/admin/social_controller.rb @@ -13,6 +13,15 @@ end end + if params[...
Change settings for facebook conections
diff --git a/ci_environment/zeromq/recipes/ppa.rb b/ci_environment/zeromq/recipes/ppa.rb index abc1234..def5678 100644 --- a/ci_environment/zeromq/recipes/ppa.rb +++ b/ci_environment/zeromq/recipes/ppa.rb @@ -19,14 +19,17 @@ case node['platform'] when "ubuntu" - apt_repository "travis_ci_zeromq3" do - uri ...
Use special PPA only for Precise For Trusty, there is a package from http://packages.ubuntu.com/trusty/libzmq3 Fixes https://github.com/travis-ci/travis-ci/issues/2558
diff --git a/RestGoatee.podspec b/RestGoatee.podspec index abc1234..def5678 100644 --- a/RestGoatee.podspec +++ b/RestGoatee.podspec @@ -10,6 +10,6 @@ s.platform = :ios, '6.0' s.requires_arc = true s.source_files = 'RestGoatee' - s.dependency 'RestGoatee-Core' + s.dependency 'RestGoatee-Core', '= 1.1.0' ...
Insert lock on the version of the core
diff --git a/SSignalKit.podspec b/SSignalKit.podspec index abc1234..def5678 100644 --- a/SSignalKit.podspec +++ b/SSignalKit.podspec @@ -12,7 +12,7 @@ s.ios.deployment_target = "6.0" s.osx.deployment_target = "10.7" - s.source = { :git => "https://github.com/PauloMigAlmeida/Signals.git", :tag => "0.0.1" }...
Add MacOSx entry to spec file
diff --git a/spec/classes/global/tap_to_click_spec.rb b/spec/classes/global/tap_to_click_spec.rb index abc1234..def5678 100644 --- a/spec/classes/global/tap_to_click_spec.rb +++ b/spec/classes/global/tap_to_click_spec.rb @@ -20,4 +20,14 @@ :user => facts[:boxen_user] }) end -end+ + it do + should co...
Add spec for tap-to-click current host
diff --git a/spec/components/sidekiq/pausable_spec.rb b/spec/components/sidekiq/pausable_spec.rb index abc1234..def5678 100644 --- a/spec/components/sidekiq/pausable_spec.rb +++ b/spec/components/sidekiq/pausable_spec.rb @@ -3,9 +3,27 @@ describe Sidekiq do it "can pause and unpause" do - Sidekiq.pause! - Si...
Workaround: Make sure this spec can not hang our spec suite
diff --git a/lib/docs/scrapers/react_native.rb b/lib/docs/scrapers/react_native.rb index abc1234..def5678 100644 --- a/lib/docs/scrapers/react_native.rb +++ b/lib/docs/scrapers/react_native.rb @@ -3,7 +3,7 @@ self.name = 'React Native' self.slug = 'react_native' self.type = 'react' - self.release = '0....
Update React Native documentation (0.27)
diff --git a/lib/tasks/remove-orphan-data.rake b/lib/tasks/remove-orphan-data.rake index abc1234..def5678 100644 --- a/lib/tasks/remove-orphan-data.rake +++ b/lib/tasks/remove-orphan-data.rake @@ -0,0 +1,29 @@+namespace :db do + desc 'Delete PanopticonMapping records without corresponding SpecialistDocumentEditions an...
Add rake task to clean up orphaned data Previous bugs resulted in editions without mappings and mappings without editions. The rake task deletes all the affected records. None of the records are being used by anything because of other checks in the code that make sure both an edition and a mapping exist before exposi...
diff --git a/iig.gemspec b/iig.gemspec index abc1234..def5678 100644 --- a/iig.gemspec +++ b/iig.gemspec @@ -22,6 +22,7 @@ spec.add_runtime_dependency 'mechanize' spec.add_runtime_dependency 'slop' + spec.add_development_dependency 'guard' spec.add_development_dependency 'guard-minitest' spec.add_developm...
Add Guard gem to testing
diff --git a/Casks/appcode.rb b/Casks/appcode.rb index abc1234..def5678 100644 --- a/Casks/appcode.rb +++ b/Casks/appcode.rb @@ -1,6 +1,6 @@ cask :v1 => 'appcode' do - version '3.1.5' - sha256 '17c78a828cf438b9497b9716f26585f279d40cab9a550f8e50551e93ee125372' + version '3.1.6' + sha256 'e172dae4027de31bd941f7e062e2...
Update AppCode to version 3.1.6 This commit increases the version token and the updates the SHA
diff --git a/app/models/tag.rb b/app/models/tag.rb index abc1234..def5678 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -50,7 +50,7 @@ tmp_namespace = "#{name.parameterize}_#{i}" end - break if Tag.where(namespace: tmp_namespace).empty? + break if Tag.where(namespace: /#{tmp_names...
Tag namespace anticollision should be case sensitive
diff --git a/aqbanking.gemspec b/aqbanking.gemspec index abc1234..def5678 100644 --- a/aqbanking.gemspec +++ b/aqbanking.gemspec @@ -23,4 +23,5 @@ spec.add_development_dependency "rspec" spec.add_development_dependency "guard" spec.add_development_dependency "guard-rspec" + spec.add_development_dependency "rub...
Add rubocop to development dependencies
diff --git a/config/initializers/elasticsearch.rb b/config/initializers/elasticsearch.rb index abc1234..def5678 100644 --- a/config/initializers/elasticsearch.rb +++ b/config/initializers/elasticsearch.rb @@ -3,5 +3,6 @@ begin Searchkick.client.info rescue - abort 'Searchkick not running' + Rails.logger.error 'El...
Throw error on ElasticSearch connection
diff --git a/spec/models/article_spec.rb b/spec/models/article_spec.rb index abc1234..def5678 100644 --- a/spec/models/article_spec.rb +++ b/spec/models/article_spec.rb @@ -1,27 +1,6 @@ require 'spec_helper' describe Article do - let(:article) { FactoryGirl.build :article } - it { should belong_to :author } - i...
Revert "Add specs to article to cover the revision feature." This reverts commit 5bf320b7dfafa64b470f9ea9cf82dcbe6dbaa12a.
diff --git a/BHCDatabase/test/models/funder_test.rb b/BHCDatabase/test/models/funder_test.rb index abc1234..def5678 100644 --- a/BHCDatabase/test/models/funder_test.rb +++ b/BHCDatabase/test/models/funder_test.rb @@ -41,4 +41,14 @@ assert_not @funder.valid? end + test 'index on name and email' do + @duplic...
Add test for index on name and email for a funder.
diff --git a/app/mailers/noisy_workflow.rb b/app/mailers/noisy_workflow.rb index abc1234..def5678 100644 --- a/app/mailers/noisy_workflow.rb +++ b/app/mailers/noisy_workflow.rb @@ -24,7 +24,7 @@ :to => email_addresses, :reply_to => fact_check_address, :from => "Gov.UK Editors <#{fact_check_address}>...
Remove guide ID from subject line of fact check emails
diff --git a/lib/devbar.rb b/lib/devbar.rb index abc1234..def5678 100644 --- a/lib/devbar.rb +++ b/lib/devbar.rb @@ -25,7 +25,7 @@ end def bar - "<div style='height:24px;width:100%;font-size:12px;font-family:helvetica,arial;padding:0;margin:0;line-height:2em;background:red;bottom:0;font-weight:bold;posi...
Move bar out of the way when hovering Currently the bar prevents you from clicking links below it. This change just moves the bar to the top or bottom of the page when the user mouses over.
diff --git a/Casks/rubymine-bundled-jdk.rb b/Casks/rubymine-bundled-jdk.rb index abc1234..def5678 100644 --- a/Casks/rubymine-bundled-jdk.rb +++ b/Casks/rubymine-bundled-jdk.rb @@ -0,0 +1,20 @@+cask :v1 => 'rubymine-bundled-jdk' do + version '7.1' + sha256 '2e9fced43c8e14ffbc82a72a8f6cde1cbab50861db079162ca5ff34c668b...
Add cask for RubyMine with bundled JDK
diff --git a/lib/chef/provider/aws_instance.rb b/lib/chef/provider/aws_instance.rb index abc1234..def5678 100644 --- a/lib/chef/provider/aws_instance.rb +++ b/lib/chef/provider/aws_instance.rb @@ -6,7 +6,10 @@ def update_aws_object(instance); end def destroy_aws_object(instance) - converge_by "delete instance...
Make destroy_aws_object work when using ec2-classic
diff --git a/ee/app/helpers/ee/users_helper.rb b/ee/app/helpers/ee/users_helper.rb index abc1234..def5678 100644 --- a/ee/app/helpers/ee/users_helper.rb +++ b/ee/app/helpers/ee/users_helper.rb @@ -0,0 +1,31 @@+# frozen_string_literal: true + +module EE + module UsersHelper + def users_sentence(users, link_class: ni...
Update user_has_namespace_with_gold? to check for any plan instead of just gold plan
diff --git a/manageiq-providers-amazon.gemspec b/manageiq-providers-amazon.gemspec index abc1234..def5678 100644 --- a/manageiq-providers-amazon.gemspec +++ b/manageiq-providers-amazon.gemspec @@ -13,7 +13,15 @@ s.files = Dir["{app,config,lib}/**/*"] - s.add_dependency "aws-sdk", "~> 3.0.1" + s.add_dependency "...
Reduce the number of gems for AWS SDK usage
diff --git a/lib/guessr.rb b/lib/guessr.rb index abc1234..def5678 100644 --- a/lib/guessr.rb +++ b/lib/guessr.rb @@ -1,5 +1,14 @@ require "guessr/version" +require "guessr/init_db" + +require "guessr/player" +require "guessr/game" + +require "pry" module Guessr - # Your code goes here... + class App + end end + ...
Add skeleton of app class and load other assets.
diff --git a/lib/jobs/coords.rb b/lib/jobs/coords.rb index abc1234..def5678 100644 --- a/lib/jobs/coords.rb +++ b/lib/jobs/coords.rb @@ -15,7 +15,7 @@ def location(need) city, place = need.city, need.location - return "%s, %s" % [city, place] + return "%s, %s" % [place, city] end ...
Switch place and city in google request
diff --git a/minitest-rails-assertions.gemspec b/minitest-rails-assertions.gemspec index abc1234..def5678 100644 --- a/minitest-rails-assertions.gemspec +++ b/minitest-rails-assertions.gemspec @@ -1,23 +1,25 @@-# coding: utf-8 +# encoding: utf-8 + lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unl...
Complete the specification of the gem.
diff --git a/test/everypolitician/popolo/area_test.rb b/test/everypolitician/popolo/area_test.rb index abc1234..def5678 100644 --- a/test/everypolitician/popolo/area_test.rb +++ b/test/everypolitician/popolo/area_test.rb @@ -10,4 +10,15 @@ assert_instance_of Everypolitician::Popolo::Areas, popolo.areas assert_...
Make sure that Area properties are accessible (add test only)
diff --git a/examples/http_read_async/basic.rb b/examples/http_read_async/basic.rb index abc1234..def5678 100644 --- a/examples/http_read_async/basic.rb +++ b/examples/http_read_async/basic.rb @@ -19,7 +19,7 @@ headers: { "Flipper-Cloud-Token" => ENV["FLIPPER_CLOUD_TOKEN"], }, - worker: {inte...
Use top level interval option
diff --git a/db/migrate/20200312205938_add_root_account_id_to_master_courses_master_content_tags.rb b/db/migrate/20200312205938_add_root_account_id_to_master_courses_master_content_tags.rb index abc1234..def5678 100644 --- a/db/migrate/20200312205938_add_root_account_id_to_master_courses_master_content_tags.rb +++ b/db...
Add root account id to master_courses_master_content_tags Closes PLAT-5570 flag=none Test Plan: - Verify migrations run - Verify a root_account_id can be set on a MasterCourses::MasterContentTag record - Verify MasterContentTags always live on the same shard as their root account Change-Id: Id52b98e2e2affd860781...
diff --git a/db/migrate/20221010191537_change_discussion_topic_materialized_views_fields_to_text.rb b/db/migrate/20221010191537_change_discussion_topic_materialized_views_fields_to_text.rb index abc1234..def5678 100644 --- a/db/migrate/20221010191537_change_discussion_topic_materialized_views_fields_to_text.rb +++ b/db...
Change discussion_topic_materialized_views fields to text flag=none closes VICE-3126 test plan: - Tests pass - Cursory testing of legacy discussions qa risk: low Change-Id: Ifc84cbeadb439b919bc84d5cae400b92ff32eb0b Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/302961 Tested-by: Service Cloud Jenkin...
diff --git a/lib/kamikakushi.rb b/lib/kamikakushi.rb index abc1234..def5678 100644 --- a/lib/kamikakushi.rb +++ b/lib/kamikakushi.rb @@ -21,7 +21,7 @@ def destroy_with_kamikakushi run_callbacks(:destroy) do - update_column(:deleted_at, Time.current) + touch(:deleted_at) end end
Use touch instead of update_column
diff --git a/amq-client.gemspec b/amq-client.gemspec index abc1234..def5678 100644 --- a/amq-client.gemspec +++ b/amq-client.gemspec @@ -6,7 +6,8 @@ Gem::Specification.new do |s| s.name = "amq-client" s.version = "0.2.0" - s.authors = ["Jakub Stastny"] + s.authors = ["Jakub Stastny", "Michael S. Klishin"] + s....
Add myself to the .gemspec
diff --git a/spec/classes/puppetrspec_spec.rb b/spec/classes/puppetrspec_spec.rb index abc1234..def5678 100644 --- a/spec/classes/puppetrspec_spec.rb +++ b/spec/classes/puppetrspec_spec.rb @@ -13,8 +13,8 @@ :ensure => 'something NOT UNDEF' } end - it 'should have file' do - ...
Fix spec file that wasn't working at al
diff --git a/app/models/action_mailroom/inbound_email.rb b/app/models/action_mailroom/inbound_email.rb index abc1234..def5678 100644 --- a/app/models/action_mailroom/inbound_email.rb +++ b/app/models/action_mailroom/inbound_email.rb @@ -7,7 +7,7 @@ enum status: %i[ pending processing delivered failed bounced ] - ...
Save this for a little later
diff --git a/app/models/agenda_time.rb b/app/models/agenda_time.rb index abc1234..def5678 100644 --- a/app/models/agenda_time.rb +++ b/app/models/agenda_time.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class AgendaTime < ApplicationRecord - validates :order, presence: true + validates :label, presence: true ...
Fix validator for agenda time
diff --git a/lib/imagetastic.rb b/lib/imagetastic.rb index abc1234..def5678 100644 --- a/lib/imagetastic.rb +++ b/lib/imagetastic.rb @@ -28,3 +28,5 @@ end autoload_files_in_dir("#{File.dirname(__FILE__)}/imagetastic", 'Imagetastic') + +require 'rubygems'
Make sure rubygems is available for things like rack, rmagick, etc.
diff --git a/lib/inflections.rb b/lib/inflections.rb index abc1234..def5678 100644 --- a/lib/inflections.rb +++ b/lib/inflections.rb @@ -10,7 +10,7 @@ inflect.singular(/s$/i, '') inflect.singular(/(ss)$/i, '\1') - inflect.singular(/([sxz]|[cs]h)es/, '\1') + inflect.singular(/([sxz]|[cs]h)es$/, '\1') inflect...
Fix the singular inflection for sibilant sounds. Signed-off-by: David Celis <aa743a0aaec8f7d7a1f01442503957f4d7a2d634@davidcelis.com>
diff --git a/spec/features/heat_map_spec.rb b/spec/features/heat_map_spec.rb index abc1234..def5678 100644 --- a/spec/features/heat_map_spec.rb +++ b/spec/features/heat_map_spec.rb @@ -13,12 +13,18 @@ #Create reviewers #Create reviews for the assignment from reviewers - + end - it 'Views a heat map...
Set up a basic test to verify that the heat map page is accessible to the test user.
diff --git a/lib/micro_q/dsl.rb b/lib/micro_q/dsl.rb index abc1234..def5678 100644 --- a/lib/micro_q/dsl.rb +++ b/lib/micro_q/dsl.rb @@ -23,13 +23,17 @@ def self.attach_async_methods(target, opts) target.class_eval do (target.microq_options[:methods] |= opts.flatten).each do |method| - targ...
Refactor building proxy methods based on worker methods.
diff --git a/spec/lib/gplaces/place_spec.rb b/spec/lib/gplaces/place_spec.rb index abc1234..def5678 100644 --- a/spec/lib/gplaces/place_spec.rb +++ b/spec/lib/gplaces/place_spec.rb @@ -9,7 +9,7 @@ end it "has lat and lng" do - expect(subject.geometry.location.lat).to eq(-33.8669330) - expect(subject.geomet...
Fix test to use location directly
diff --git a/spec/model_specs/skill_spec.rb b/spec/model_specs/skill_spec.rb index abc1234..def5678 100644 --- a/spec/model_specs/skill_spec.rb +++ b/spec/model_specs/skill_spec.rb @@ -3,6 +3,7 @@ describe Skill do let(:valid_skill) { Skill.create(title: "valid skill") } let(:invalid_skill) { Skill.create(title: ...
Add test to verify that longest streak incrementing works
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index abc1234..def5678 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -30,17 +30,6 @@ hosts.each do |host| copy_module_to(host, :source => proj_root, :module_name => 'firewall') on host, p...
Revert "Don't enable selinux on redhat systems"
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,7 +1,7 @@ name 'hubot' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' -license 'Apache 2.0' +license 'Apache-2.0' description "Deploys and man...
Use SPDX standard license string 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 @@ -6,6 +6,11 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.1.0' +supports 'ubuntu' +supports 'debian', '>= 7.0' +supports 'centos', '>= 6.4' + +depends 'yum' depends 'ap...
Add supports oses, add yum recipe dependency
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache 2.0' description 'Configures rabbitmq cluster' long_description 'This cookbook configures rabbitmq cluster by executing rabbitmqctl command.' -version '0.1.1'...
Increase the version to 0.1.2
diff --git a/PusherSwift.podspec b/PusherSwift.podspec index abc1234..def5678 100644 --- a/PusherSwift.podspec +++ b/PusherSwift.podspec @@ -8,8 +8,9 @@ s.source = { git: "https://github.com/pusher/pusher-websocket-swift.git", tag: s.version.to_s } s.social_media_url = 'https://twitter.com/pusher' - s...
Add Swift version to Podspec
diff --git a/core/spec/lib/spree/core/testing_support/factories/store_credit_category_factory_spec.rb b/core/spec/lib/spree/core/testing_support/factories/store_credit_category_factory_spec.rb index abc1234..def5678 100644 --- a/core/spec/lib/spree/core/testing_support/factories/store_credit_category_factory_spec.rb ++...
Test store credit category factory
diff --git a/app/models/race.rb b/app/models/race.rb index abc1234..def5678 100644 --- a/app/models/race.rb +++ b/app/models/race.rb @@ -13,13 +13,15 @@ def assign_points # za svaku kategoriju Racer.categories.each do |category| + p category # nadi top 25 rezultata - race_results.includes(:...
Add prints to point assignment
diff --git a/app/models/user.rb b/app/models/user.rb index abc1234..def5678 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -27,7 +27,7 @@ def unfulfilled_booking_requests booking_requests - .includes(:appointment, :slots) + .includes(:appointment) .where(appointments: { booking_re...
Revert "Remove N+1 query on booking request slots" This reverts commit 0d1da14eadf7953b33d88fcbc190bfe3a08ba235. When eager-loading the associated slots, the `order` clause on the `slots` association is ignored. I'll revert this now for a quick fix and follow up with better specs to catch this next time.
diff --git a/authoraise.gemspec b/authoraise.gemspec index abc1234..def5678 100644 --- a/authoraise.gemspec +++ b/authoraise.gemspec @@ -21,4 +21,5 @@ spec.add_development_dependency "bundler", "~> 1.8" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "pry" + spec.add_developme...
Add minitest as dev dependency
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,5 +1,9 @@ module ApplicationHelper def format_date(date) - date.strftime("%m/%d/%y") + if date + date.strftime("%m/...
Update 'format_date()' to handle empty date fields
diff --git a/app/views/home/index.atom.builder b/app/views/home/index.atom.builder index abc1234..def5678 100644 --- a/app/views/home/index.atom.builder +++ b/app/views/home/index.atom.builder @@ -5,7 +5,7 @@ atom_feed do |feed| feed.title t(:activities) - feed.updated @activities.max { |a, b| a.updated_at <=> b....
Fix Atom builder with no activities
diff --git a/config/cloudwatch_schedule.rb b/config/cloudwatch_schedule.rb index abc1234..def5678 100644 --- a/config/cloudwatch_schedule.rb +++ b/config/cloudwatch_schedule.rb @@ -2,12 +2,12 @@ CloudwatchScheduler() do |_config| # every hour at 10 minutes past the hour - task 'run_notifications', cron: '10 * * *...
Use Amazon's weird cron syntax
diff --git a/config/initializers/stripe.rb b/config/initializers/stripe.rb index abc1234..def5678 100644 --- a/config/initializers/stripe.rb +++ b/config/initializers/stripe.rb @@ -1,6 +1,6 @@ Rails.configuration.stripe = { - :publishable_key => ENV['PUBLISHABLE_KEY'], - :secret_key => ENV['SECRET_KEY'] + :publ...
Fix access to keys internally. Start server with `rails s`
diff --git a/Casks/lyx.rb b/Casks/lyx.rb index abc1234..def5678 100644 --- a/Casks/lyx.rb +++ b/Casks/lyx.rb @@ -1,7 +1,7 @@ class Lyx < Cask - url 'ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg' + url 'ftp://ftp.lyx.org/pub/lyx/bin/2.0.7/LyX-2.0.7+qt4.dmg' homepage 'http://www.lyx.org' - version '2.0.6' ...
Update LyX to version 2.0.7
diff --git a/lib/ymdp.rb b/lib/ymdp.rb index abc1234..def5678 100644 --- a/lib/ymdp.rb +++ b/lib/ymdp.rb @@ -18,7 +18,7 @@ require File.expand_path(path) end -["support", "configuration"].each do |directory| +["support", "configuration", "compiler"].each do |directory| Dir["#{dir}/#{directory}/*.rb"].each do |p...
Load compiler directory by default
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index abc1234..def5678 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -1,6 +1,7 @@ class AccountsController < AuthorizedController # Scopes has_scope :by_value_period, ...
Support booking filtering in account.
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -9,7 +9,7 @@ def destroy session[:user_id] = nil - redirect_to logout_path(request.fullpath)...
Fix redirect url when signing out
diff --git a/app/controllers/callbacks_controller.rb b/app/controllers/callbacks_controller.rb index abc1234..def5678 100644 --- a/app/controllers/callbacks_controller.rb +++ b/app/controllers/callbacks_controller.rb @@ -15,7 +15,7 @@ if oauth_user.valid? sign_in_and_redirect else - session['devise...
Fix `CookieOverflow` error on google login The "extra" hash coming from the provider is quite big and we're not using it, so let's not save it in session.
diff --git a/app/controllers/space_api_controller.rb b/app/controllers/space_api_controller.rb index abc1234..def5678 100644 --- a/app/controllers/space_api_controller.rb +++ b/app/controllers/space_api_controller.rb @@ -1,5 +1,15 @@ class SpaceApiController < ApplicationController + before_action :set_access_control_...
Add a CORS header for the Space API endpoint
diff --git a/app/controllers/user_info_controller.rb b/app/controllers/user_info_controller.rb index abc1234..def5678 100644 --- a/app/controllers/user_info_controller.rb +++ b/app/controllers/user_info_controller.rb @@ -1,8 +1,5 @@ class UserInfoController < ApplicationController before_filter :require_user_access_...
Revert "try to log user_info response" This reverts commit eec3c5aa32e50aa98a06c79a3ab26bce85e1b0c7.
diff --git a/app/presenters/field/embed_presenter.rb b/app/presenters/field/embed_presenter.rb index abc1234..def5678 100644 --- a/app/presenters/field/embed_presenter.rb +++ b/app/presenters/field/embed_presenter.rb @@ -15,7 +15,13 @@ if field.iframe? raw_value&.html_safe - compact? ? raw_value&.gsub...
Remove iframe styles for embed field in compact mode
diff --git a/app/resources/api/v1/member_resource.rb b/app/resources/api/v1/member_resource.rb index abc1234..def5678 100644 --- a/app/resources/api/v1/member_resource.rb +++ b/app/resources/api/v1/member_resource.rb @@ -7,9 +7,13 @@ has_many :plantings has_many :harvests has_many :seeds + ha...
Add filters for the members api
diff --git a/objc-rlite.podspec b/objc-rlite.podspec index abc1234..def5678 100644 --- a/objc-rlite.podspec +++ b/objc-rlite.podspec @@ -12,6 +12,8 @@ s.version = "0.0.1" s.summary = "Objective-C wrapper for rlite" s.description = <<-DESC + For more information on rl...
Add reference to rlite repository
diff --git a/app/resources/api/v1/place_resource.rb b/app/resources/api/v1/place_resource.rb index abc1234..def5678 100644 --- a/app/resources/api/v1/place_resource.rb +++ b/app/resources/api/v1/place_resource.rb @@ -2,7 +2,7 @@ module V1 class PlaceResource < JSONAPI::Resource - attributes :name, :place_...
Add neighborhood id collection so frontend can query municipality and all its neighborhoods as a filter
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 = 'evt-messaging' - s.version = '0.7.1.0' + s.version = '0.7.1.1' s.summary = 'Messaging primitives for...
Package version increased from 0.7.1.0 to 0.7.1.1
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 = 'evt-messaging' - s.version = '0.9.0.0' + s.version = '0.9.0.1' s.summary = 'Messaging primitives for...
Package version is increased from 0.9.0.0 to 0.9.0.1
diff --git a/lib/active_record/turntable/algorithm.rb b/lib/active_record/turntable/algorithm.rb index abc1234..def5678 100644 --- a/lib/active_record/turntable/algorithm.rb +++ b/lib/active_record/turntable/algorithm.rb @@ -8,5 +8,16 @@ autoload :RangeBsearchAlgorithm autoload :ModuloAlgorithm end + ...
Add `Algorithm.class_for` method for DSL
diff --git a/lib/coverband/integrations/background.rb b/lib/coverband/integrations/background.rb index abc1234..def5678 100644 --- a/lib/coverband/integrations/background.rb +++ b/lib/coverband/integrations/background.rb @@ -3,6 +3,7 @@ module Coverband class Background @semaphore = Mutex.new + @thread = nil...
Initialize thread to silence warning
diff --git a/lib/jqgrid_rails/jqgrid_rails_helpers.rb b/lib/jqgrid_rails/jqgrid_rails_helpers.rb index abc1234..def5678 100644 --- a/lib/jqgrid_rails/jqgrid_rails_helpers.rb +++ b/lib/jqgrid_rails/jqgrid_rails_helpers.rb @@ -9,14 +9,15 @@ # key:: ondbl_click_row/on_select_row # Sets up click event functions ba...
Use numerical value for ID replacement to allow proper path generation when \d+ restriction is being applied via routing setup
diff --git a/lib/middleware/oauth_state_middleware.rb b/lib/middleware/oauth_state_middleware.rb index abc1234..def5678 100644 --- a/lib/middleware/oauth_state_middleware.rb +++ b/lib/middleware/oauth_state_middleware.rb @@ -5,14 +5,19 @@ def call(env) request = Rack::Request.new(env) - if request.params["s...
Check for state if state and code are params are present.
diff --git a/lib/spontaneous/rack/back/site_assets.rb b/lib/spontaneous/rack/back/site_assets.rb index abc1234..def5678 100644 --- a/lib/spontaneous/rack/back/site_assets.rb +++ b/lib/spontaneous/rack/back/site_assets.rb @@ -13,7 +13,7 @@ end def find(env) - apps.map { |app| app.call(env) }.detect { |co...
Use the first non-error response so that 304 not modified responses are accepted
diff --git a/lib/dox/printers/action_printer.rb b/lib/dox/printers/action_printer.rb index abc1234..def5678 100644 --- a/lib/dox/printers/action_printer.rb +++ b/lib/dox/printers/action_printer.rb @@ -3,7 +3,7 @@ class ActionPrinter < BasePrinter def print(action) - @output.puts "### #{action.name} ...
Print uri params desc if present
diff --git a/brain/spec/spec_helper.rb b/brain/spec/spec_helper.rb index abc1234..def5678 100644 --- a/brain/spec/spec_helper.rb +++ b/brain/spec/spec_helper.rb @@ -19,5 +19,6 @@ config.before { WebMock.disable_net_connect! } end +ENV['ADAM_MEMORY_URL'] = 'http://local.adamrabbit.com:3000' ENV['ADAM_ROOT_DOMAIN']...
[BRAIN] Fix specs to use separate memory URL
diff --git a/Set-1/2.rb b/Set-1/2.rb index abc1234..def5678 100644 --- a/Set-1/2.rb +++ b/Set-1/2.rb @@ -4,6 +4,7 @@ [s].pack('H*').unpack('B*').last.to_i 2 end +public def xor(str1, str2) h1 = treatAsHex str1 h2 = treatAsHex str2
Make xor public of second challenge
diff --git a/manageiq-appliance-dependencies.rb b/manageiq-appliance-dependencies.rb index abc1234..def5678 100644 --- a/manageiq-appliance-dependencies.rb +++ b/manageiq-appliance-dependencies.rb @@ -1,3 +1,2 @@ # Add gems here, in Gemfile syntax, which are dependencies of the appliance itself rather than a part of th...
Remove manageiq-postgres_ha_admin from the appliance dependencies We use the gem from manageiq's core repo now, so we will move the dependency there. https://bugzilla.redhat.com/show_bug.cgi?id=1391095
diff --git a/lib/hstore-attributes/hstore_columns.rb b/lib/hstore-attributes/hstore_columns.rb index abc1234..def5678 100644 --- a/lib/hstore-attributes/hstore_columns.rb +++ b/lib/hstore-attributes/hstore_columns.rb @@ -23,7 +23,7 @@ return unless table_exists? column = ActiveRecord::...
Change type_cast_code to type_cast due to method deprecation in Rails4 See https://github.com/rails/rails/commit/f50c160cd028bd3e16c46dcba7692439daf709c8
diff --git a/certs_manager/lib/acme.rb b/certs_manager/lib/acme.rb index abc1234..def5678 100644 --- a/certs_manager/lib/acme.rb +++ b/certs_manager/lib/acme.rb @@ -1,5 +1,7 @@ module ACME def self.sign(domain) + puts "Signing certificates from #{NAConfig.ca} ..." + command = <<-EOC acme_tiny \ ...
Add output to indicate which server we are using
diff --git a/lib/screenshot.rb b/lib/screenshot.rb index abc1234..def5678 100644 --- a/lib/screenshot.rb +++ b/lib/screenshot.rb @@ -24,6 +24,6 @@ dir_path = File.dirname(file_path) FileUtils.mkdir_p( dir_path ) unless File.exist?( dir_path ) - system("curl -L --silent -o '#{ file_path }' '#{ api_url }'")...
Add `curl` options for errors/gzip transport.
diff --git a/config/initializers/not_live_yet_email_interceptor.rb b/config/initializers/not_live_yet_email_interceptor.rb index abc1234..def5678 100644 --- a/config/initializers/not_live_yet_email_interceptor.rb +++ b/config/initializers/not_live_yet_email_interceptor.rb @@ -0,0 +1,9 @@+class NotLiveYetEmailIntercepto...
Add email interceptor to redirect development emails.
diff --git a/core/app/ohm-models/activity/queries.rb b/core/app/ohm-models/activity/queries.rb index abc1234..def5678 100644 --- a/core/app/ohm-models/activity/queries.rb +++ b/core/app/ohm-models/activity/queries.rb @@ -16,7 +16,8 @@ def self.user(gu) Query.where( - gu.channels.map { |ch| {subject:...
Return evidence activities on a graph users created_facts
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index abc1234..def5678 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -8,8 +8,8 @@ raise "Cucumber failed!" unless $?.exitstatus == 0 else ["rake generate_fixtures", "rake spec"].each do |cmd| - puts "Running #{cmd}..." - syst...
Remove export display for now to see if it affects travis
diff --git a/lib/yard/extra.rb b/lib/yard/extra.rb index abc1234..def5678 100644 --- a/lib/yard/extra.rb +++ b/lib/yard/extra.rb @@ -1,12 +1,26 @@ class File + RELATIVE_PARENTDIR = '..' + + # Turns a path +to+ into a relative path from starting + # point +from+. The argument +from+ is assumed to be + # a filename...
Update relative_path and add documentation
diff --git a/spec/integration/cookbook_spec.rb b/spec/integration/cookbook_spec.rb index abc1234..def5678 100644 --- a/spec/integration/cookbook_spec.rb +++ b/spec/integration/cookbook_spec.rb @@ -13,4 +13,20 @@ it 'creates a .bash_profile' do expect(File).to be_exists("#{ENV['HOME']}/.bash_profile") end + + ...
Test LWRP through integration spec. - Apparently it is difficult (or impossible?) to test LWRP w/ ChefSpec :sob:
diff --git a/spec/integration/security_spec.rb b/spec/integration/security_spec.rb index abc1234..def5678 100644 --- a/spec/integration/security_spec.rb +++ b/spec/integration/security_spec.rb @@ -3,6 +3,11 @@ describe "Security: " do context "If no user is present" do + + before(:all) do + Alchemy::User.delet...
Truncate users table before security integration test.
diff --git a/spec/quandl/quandl-config_spec.rb b/spec/quandl/quandl-config_spec.rb index abc1234..def5678 100644 --- a/spec/quandl/quandl-config_spec.rb +++ b/spec/quandl/quandl-config_spec.rb @@ -1,19 +1,27 @@ require 'spec_helper' describe Quandl::Config do + subject(:configuration) { Quandl::Config.new('fake') }...
Fix up some basic tests.
diff --git a/spec/support/active_model_lint.rb b/spec/support/active_model_lint.rb index abc1234..def5678 100644 --- a/spec/support/active_model_lint.rb +++ b/spec/support/active_model_lint.rb @@ -4,6 +4,11 @@ shared_examples_for "ActiveModel" do include ActiveModel::Lint::Tests include Test::Unit::Assertions + ...
Update specs to pass with minitest 5
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -7,7 +7,6 @@ version '0.2.0' depends 'apache2' -depends 'chef-solo-search' depends 'database' depends 'iptables' depends 'mysql'
Drop chef-solo-search from direct dependencies
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache 2.0' description 'Installs/Configures TYPO3' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.6.0' +version '0.7....
Increase version number to 0.7.0
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,7 +2,7 @@ maintainer 'Alexander Pyatkin' maintainer_email 'aspyatkin@gmail.com' license 'MIT' -version '1.4.6' +version '1.4.7' description 'Installs and configures email server' long_description IO.read(F...
Fix strict poise-python version dependency
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -15,7 +15,7 @@ depends 'php' depends 'nginx' depends 'nodejs' -depends 'mysql' +depends 'mysql', '~>5.6.1' depends 'redisio' depends 'ntp' depends 'git'
Add version lock on mysql recipe
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'All rights reserved' description 'Installs/Configures Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '1.2.1' +version ...
Upgrade the version due to changes
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -3,7 +3,9 @@ maintainer_email 'jblaine@kickflop.net' license 'mit' description 'Installs/Configures Sysmon from the Sysinternals suite' +long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) ...
Add long_description and supports 'windows' Adding the supports improves search in Supermarket
diff --git a/librarian.gemspec b/librarian.gemspec index abc1234..def5678 100644 --- a/librarian.gemspec +++ b/librarian.gemspec @@ -26,5 +26,5 @@ s.add_development_dependency "aruba" s.add_development_dependency "webmock" - s.add_development_dependency "chef", ">= 0.10" + s.add_dependency "chef", ">= 0.10" e...
Add chef gem to runtime dependency list.
diff --git a/GPUImage.podspec b/GPUImage.podspec index abc1234..def5678 100644 --- a/GPUImage.podspec +++ b/GPUImage.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'GPUImage-NoAlpha' - s.version = '0.1.5.2' + s.version = '0.1.6' s.license = 'BSD' s.summary = 'An open source iOS framework for G...
Change pod version to 3-digit number.
diff --git a/test/integration/helpers/serverspec/support/install_common.rb b/test/integration/helpers/serverspec/support/install_common.rb index abc1234..def5678 100644 --- a/test/integration/helpers/serverspec/support/install_common.rb +++ b/test/integration/helpers/serverspec/support/install_common.rb @@ -27,7 +27,7 ...
Fix broken integration test of “installed” file(s) Of course `Array#grep` returns a list, not true/false, duh.
diff --git a/optional/capi/data_spec.rb b/optional/capi/data_spec.rb index abc1234..def5678 100644 --- a/optional/capi/data_spec.rb +++ b/optional/capi/data_spec.rb @@ -30,6 +30,10 @@ @s.change_struct(a, 100) @s.get_struct(a).should == 100 end + + it "raises a TypeError if the object does not wrap ...
Add a spec for calling `RDATA` on a non data wrapper.
diff --git a/partial_ks.gemspec b/partial_ks.gemspec index abc1234..def5678 100644 --- a/partial_ks.gemspec +++ b/partial_ks.gemspec @@ -10,7 +10,7 @@ gem.has_rdoc = false gem.author = "Thong Kuah" gem.email = "kuahyeow@gmail.com" - gem.homepage = "https://github.com/powershop/partial_ks" ...
Update homepage as org has been renamed
diff --git a/features/step_definitions/lockfile_steps.rb b/features/step_definitions/lockfile_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/lockfile_steps.rb +++ b/features/step_definitions/lockfile_steps.rb @@ -41,6 +41,10 @@ } end +Then /^(?:a|the) lockfile is (?:created|updated) and mat...
Define a step to verify lockfile with regexp
diff --git a/features/step_definitions/resource_steps.rb b/features/step_definitions/resource_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/resource_steps.rb +++ b/features/step_definitions/resource_steps.rb @@ -28,5 +28,5 @@ resource_model = find_model(resource_model) accessible = resourc...
Use the correct matcher for arrays
diff --git a/SPTPersistentCache.podspec b/SPTPersistentCache.podspec index abc1234..def5678 100644 --- a/SPTPersistentCache.podspec +++ b/SPTPersistentCache.podspec @@ -20,6 +20,5 @@ s.source_files = "include/SPTPersistentCache/*.h", "Sources/*.{h,m}" s.public_header_files = "include/SPTPersistentCache/*.h" ...
Remove reference to modulemap in podspec - It doesn’t exist anymore.
diff --git a/NSURL+QueryDictionary.podspec b/NSURL+QueryDictionary.podspec index abc1234..def5678 100644 --- a/NSURL+QueryDictionary.podspec +++ b/NSURL+QueryDictionary.podspec @@ -9,6 +9,7 @@ s.source = { :git => "https://github.com/itsthejb/NSURL-QueryDictionary.git", :tag => "v" + s.version.to_s } s.ios....
[watchos] Add support for watchOS 2