diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/confoog/version.rb b/lib/confoog/version.rb index abc1234..def5678 100644 --- a/lib/confoog/version.rb +++ b/lib/confoog/version.rb @@ -2,5 +2,5 @@ module Confoog # Version of this Gem, using Semantic Versioning 2.0.0 # http://semver.org/ - VERSION = '0.4.0' + VERSION = '0.4.1' end
Tag for 0.4.1 and release Signed-off-by: Seapagan <4ab1b2fdb7784a8f9b55e81e3261617f44fd0585@gmail.com>
diff --git a/app/controllers/questions_controller.rb b/app/controllers/questions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/questions_controller.rb +++ b/app/controllers/questions_controller.rb @@ -1,9 +1,3 @@-get '/questions' do - @survey = Survey.find_by(id: params[:survey_id]) - @questions =...
Remove questions index route from questions controller
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 @@ -9,7 +9,6 @@ def set_access_control_headers if request.format.json? response.hea...
Remove useless header from Space API response
diff --git a/app/models/spree/gateway/pin_gateway.rb b/app/models/spree/gateway/pin_gateway.rb index abc1234..def5678 100644 --- a/app/models/spree/gateway/pin_gateway.rb +++ b/app/models/spree/gateway/pin_gateway.rb @@ -6,5 +6,10 @@ def provider_class ActiveMerchant::Billing::PinGateway end + + # Pi...
[Pin] Set auto_capture to always be true so authorize is not attempted Fixes #106
diff --git a/lib/plugin_migrator.rb b/lib/plugin_migrator.rb index abc1234..def5678 100644 --- a/lib/plugin_migrator.rb +++ b/lib/plugin_migrator.rb @@ -1,5 +1,5 @@ require "string-cases" -load "#{File.dirname(__FILE__)}/tasks/plugin_migrator_tasks.rake" +load "#{File.dirname(__FILE__)}/tasks/plugin_migrator_tasks.rake...
Load only if Rake is defined.
diff --git a/lib/template_picker.rb b/lib/template_picker.rb index abc1234..def5678 100644 --- a/lib/template_picker.rb +++ b/lib/template_picker.rb @@ -11,7 +11,7 @@ } def initialize(post) - self.post = post.is_a?(Reshare) ? post.root : post + self.post = post end def template_name
Revert "delegate ruby template picking on reshares so the posts look better" This reverts commit 5eb22471916b0b2230c80096a28ad80f489b067e.
diff --git a/lib/devise_dacs_authenticatable/strategy.rb b/lib/devise_dacs_authenticatable/strategy.rb index abc1234..def5678 100644 --- a/lib/devise_dacs_authenticatable/strategy.rb +++ b/lib/devise_dacs_authenticatable/strategy.rb @@ -5,10 +5,10 @@ class DacsAuthenticatable < Base # True if the mapping sup...
Fix syntax error and logout code
diff --git a/sidekiq/recipes/configure.rb b/sidekiq/recipes/configure.rb index abc1234..def5678 100644 --- a/sidekiq/recipes/configure.rb +++ b/sidekiq/recipes/configure.rb @@ -15,7 +15,7 @@ owner deploy['user'] variables(:database => deploy['database'], :environment => deploy['rails_env']) - notifies :ru...
Use sidekiq service for restart
diff --git a/db/migrate/20161004180821_change_project_total_contribution_types.rb b/db/migrate/20161004180821_change_project_total_contribution_types.rb index abc1234..def5678 100644 --- a/db/migrate/20161004180821_change_project_total_contribution_types.rb +++ b/db/migrate/20161004180821_change_project_total_contribut...
Update ProjectTotal view to search only for contributions with requested_refund and confirmed states
diff --git a/lib/oxford/learners/dictionaries/english.rb b/lib/oxford/learners/dictionaries/english.rb index abc1234..def5678 100644 --- a/lib/oxford/learners/dictionaries/english.rb +++ b/lib/oxford/learners/dictionaries/english.rb @@ -21,12 +21,17 @@ private def parse - if @page.css(".n-g"...
Refactor parser to understand different tags with unique or multiple definitions
diff --git a/contao.gemspec b/contao.gemspec index abc1234..def5678 100644 --- a/contao.gemspec +++ b/contao.gemspec @@ -16,6 +16,7 @@ gem.version = Contao::VERSION # Runtime dependencies + gem.add_dependency 'rake' gem.add_dependency 'compass' gem.add_dependency 'oily_png' gem.add_dependency 'ug...
Add rake to the gemspec file
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.8.1.0' + s.version = '0.9.0.0' s.summary = 'Messaging primitives for...
Package version is increased from 0.8.1.0 to 0.9.0.0
diff --git a/lib/appium_twine/appium_twine.rb b/lib/appium_twine/appium_twine.rb index abc1234..def5678 100644 --- a/lib/appium_twine/appium_twine.rb +++ b/lib/appium_twine/appium_twine.rb @@ -4,4 +4,4 @@ require_relative 'formatter' require_relative 'version' -Twine::Formatters.formatters += [Twine::Formatters::Csh...
Update to new plugin method
diff --git a/app/controllers/votes_controller.rb b/app/controllers/votes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/votes_controller.rb +++ b/app/controllers/votes_controller.rb @@ -1,8 +1,9 @@ class VotesController < ApplicationController def create + @comment = Comment.find(params[:comm...
Include logic to not allow multiple votes by one user on the same comment
diff --git a/app/models/action_text/rich_text.rb b/app/models/action_text/rich_text.rb index abc1234..def5678 100644 --- a/app/models/action_text/rich_text.rb +++ b/app/models/action_text/rich_text.rb @@ -9,11 +9,6 @@ serialize :body, ActionText::Content delegate :to_s, :nil?, to: :body - delegate :blank?, :emp...
Move method definition below callbacks
diff --git a/app/models/related_content_score.rb b/app/models/related_content_score.rb index abc1234..def5678 100644 --- a/app/models/related_content_score.rb +++ b/app/models/related_content_score.rb @@ -1,6 +1,8 @@ class RelatedContentScore < ActiveRecord::Base belongs_to :related_content, touch: true, counter_cac...
Fix Related Content Score presence validations and unique composed key
diff --git a/lib/typhoeus/responses/legacy.rb b/lib/typhoeus/responses/legacy.rb index abc1234..def5678 100644 --- a/lib/typhoeus/responses/legacy.rb +++ b/lib/typhoeus/responses/legacy.rb @@ -8,7 +8,6 @@ # The legacy mapping. MAPPING = { :body => :response_body, - # :headers => :response_h...
Remove headers b/c its already implemented.
diff --git a/test/dummy/app/inputs/date_picker_input.rb b/test/dummy/app/inputs/date_picker_input.rb index abc1234..def5678 100644 --- a/test/dummy/app/inputs/date_picker_input.rb +++ b/test/dummy/app/inputs/date_picker_input.rb @@ -2,6 +2,7 @@ def input(wrapper_options) + # Determine control type if ...
Update simple form picker in dummy
diff --git a/test/dummy/test/functional/users_controller_test.rb b/test/dummy/test/functional/users_controller_test.rb index abc1234..def5678 100644 --- a/test/dummy/test/functional/users_controller_test.rb +++ b/test/dummy/test/functional/users_controller_test.rb @@ -8,7 +8,8 @@ test "should get index" do get :...
Update test to match a previous change
diff --git a/iis/recipes/install.rb b/iis/recipes/install.rb index abc1234..def5678 100644 --- a/iis/recipes/install.rb +++ b/iis/recipes/install.rb @@ -1,36 +1,6 @@ powershell_script 'Install IIS' do code <<- EOH - Add-WindowsFeature Web-Server, - Web-WebServer, - Web-Common-Http, - Web-Default-Doc, - Web-D...
Change powershell to single line command
diff --git a/app/workers/slack_regular_worker.rb b/app/workers/slack_regular_worker.rb index abc1234..def5678 100644 --- a/app/workers/slack_regular_worker.rb +++ b/app/workers/slack_regular_worker.rb @@ -11,19 +11,21 @@ project: project ).required? + slack_accounts = SlackAccount.where( + user_i...
Fix Slack regular notifications TooManyRequestsError
diff --git a/spec/features/course/announcement_pagination_spec.rb b/spec/features/course/announcement_pagination_spec.rb index abc1234..def5678 100644 --- a/spec/features/course/announcement_pagination_spec.rb +++ b/spec/features/course/announcement_pagination_spec.rb @@ -10,18 +10,18 @@ let!(:user) { create(:adm...
Fix course announcement pagination spec
diff --git a/spec/language/abstract_container/aggregation_spec.rb b/spec/language/abstract_container/aggregation_spec.rb index abc1234..def5678 100644 --- a/spec/language/abstract_container/aggregation_spec.rb +++ b/spec/language/abstract_container/aggregation_spec.rb @@ -0,0 +1,13 @@+require_relative '../../spec_helpe...
Create test for aggregation base class Signed-off-by: Lucas Moura <143f96f992bf3dc84afaa2cc3d6d759a2b3ef261@gmail.com> Signed-off-by: Johnnys Ribeiro <e28a8c0275ee127bd6f2bdac708244856a0a7106@gmail.com>
diff --git a/spec/ruby/library/socket/ipsocket/getaddress_spec.rb b/spec/ruby/library/socket/ipsocket/getaddress_spec.rb index abc1234..def5678 100644 --- a/spec/ruby/library/socket/ipsocket/getaddress_spec.rb +++ b/spec/ruby/library/socket/ipsocket/getaddress_spec.rb @@ -14,7 +14,9 @@ end it "raises an error on...
Use a controlled name for testing unknown hostnames Some ISP intercept unknown domains under .com/.org/.net, so using somerandomname.com can easily fail. They don't seem to intercept unknown hostnames under normal domains though, so I've change us to use rubyspecdoesntexist.fallingsnow.net because I control fallingsn...
diff --git a/spec/lib/human_error_spec.rb b/spec/lib/human_error_spec.rb index abc1234..def5678 100644 --- a/spec/lib/human_error_spec.rb +++ b/spec/lib/human_error_spec.rb @@ -19,4 +19,14 @@ expect(human_error.fetch('RequestError')).to be_a HumanError::Errors::RequestError end + + it 'can lookup errors based...
Feature: Allow local configuration to be passed to looked up errors This uses `Configuration#to_h` to generate a set of initialization values that are passed into each error that is looked up via `HumanError#fetch`. This allows each instance of `HumanError` to create errors with different information, even if they ar...
diff --git a/spec/unit/belongs_to_spec.rb b/spec/unit/belongs_to_spec.rb index abc1234..def5678 100644 --- a/spec/unit/belongs_to_spec.rb +++ b/spec/unit/belongs_to_spec.rb @@ -4,7 +4,7 @@ let(:application){ ActiveAdmin::Application.new } - let(:namespace){ Namespace.new(application, :admin) } + let(:namespace)...
Fix error `uninitialized constant Namespace`
diff --git a/spec/fixtures/models/post.rb b/spec/fixtures/models/post.rb index abc1234..def5678 100644 --- a/spec/fixtures/models/post.rb +++ b/spec/fixtures/models/post.rb @@ -4,6 +4,9 @@ has_many :votes, :as => :votable has_and_belongs_to_many :tags + + scope :published, -> { where(:published => true) } + ...
Add scopes to the Post model to test handling of AR relations as input
diff --git a/spec/language/unless_spec.rb b/spec/language/unless_spec.rb index abc1234..def5678 100644 --- a/spec/language/unless_spec.rb +++ b/spec/language/unless_spec.rb @@ -1,3 +1,5 @@+require File.expand_path('../../spec_helper', __FILE__) + describe "The unless expression" do it "evaluates the unless body whe...
Add unless specs to match rubyspec
diff --git a/app/models/irs_group.rb b/app/models/irs_group.rb index abc1234..def5678 100644 --- a/app/models/irs_group.rb +++ b/app/models/irs_group.rb @@ -31,10 +31,6 @@ parent.hbx_enrollment_exemptions.where(:irs_group_id => self.id) end - def is_active?=(status) - self.is_active = status - end - de...
Remove is_active setter with '?'
diff --git a/app/models/post/view.rb b/app/models/post/view.rb index abc1234..def5678 100644 --- a/app/models/post/view.rb +++ b/app/models/post/view.rb @@ -13,7 +13,7 @@ favorited_users = user.favorites.where(favorite: post.joined_authors).exists? return unless favorited_continuity || favorited_users - m...
Use the correct keyword arg
diff --git a/Tabman.podspec b/Tabman.podspec index abc1234..def5678 100644 --- a/Tabman.podspec +++ b/Tabman.podspec @@ -3,7 +3,8 @@ s.name = "Tabman" s.platform = :ios, "9.0" s.requires_arc = true - s.swift_version = "4.0" + + s.swift_versions = ['4.0', '4.1', '4.2', '5.0'] s.version = ...
Support multiple versions of Swift in podspec
diff --git a/name_resolution/name_resolver.rb b/name_resolution/name_resolver.rb index abc1234..def5678 100644 --- a/name_resolution/name_resolver.rb +++ b/name_resolution/name_resolver.rb @@ -0,0 +1,21 @@+require 'resolv' + +class NameResolver < Scout::Plugin + OPTIONS=<<-EOS + nameserver: + default: 8.8.8.8 ...
Create domain name resolver plugin Takes a nameserver and resolve_address as input and raises an alert if resolution fails
diff --git a/app/models/backtrace_line.rb b/app/models/backtrace_line.rb index abc1234..def5678 100644 --- a/app/models/backtrace_line.rb +++ b/app/models/backtrace_line.rb @@ -1,6 +1,6 @@ class BacktraceLine include Mongoid::Document - IN_APP_PATH = %r{^\[PROJECT_ROOT\](?!(\/vendor))/?} + IN_APP_PATH = %r{^\[PROJ...
Enable backtrace links for vendor/ files
diff --git a/app/models/bz_query_entry.rb b/app/models/bz_query_entry.rb index abc1234..def5678 100644 --- a/app/models/bz_query_entry.rb +++ b/app/models/bz_query_entry.rb @@ -3,4 +3,5 @@ :pm_ack, :devel_ack, :qa_ack, :doc_ack, :version, :version_ack + belongs_to :bz_query_output end
Replace errant removal of belongs_to
diff --git a/app/models/digest_history.rb b/app/models/digest_history.rb index abc1234..def5678 100644 --- a/app/models/digest_history.rb +++ b/app/models/digest_history.rb @@ -7,7 +7,15 @@ history end - def posts - Post.all + def daily_posts + Post.where('created_at >= ?', 1.day.ago) + end + + def w...
Add new methods for filter posts depend the date
diff --git a/db/data_migrations/20190110132424_resolve_zero_percent_measure_cigarettes_other.rb b/db/data_migrations/20190110132424_resolve_zero_percent_measure_cigarettes_other.rb index abc1234..def5678 100644 --- a/db/data_migrations/20190110132424_resolve_zero_percent_measure_cigarettes_other.rb +++ b/db/data_migrat...
Add data migration to resolve 0% measure It was reported that the Erga Omnes value for cigarettes other was showing as 0%. Upon investigation we discovered an incorrect measure had been supplied in the CHIEF file on 28/11/2018, to resolve this we've implemented a data migration that removes the incorrect measure and s...
diff --git a/beacon.gemspec b/beacon.gemspec index abc1234..def5678 100644 --- a/beacon.gemspec +++ b/beacon.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = "beacon" s.version = "0.1" - s.date = "2009-04-22" + s.date = "2009-04-25" s.description = "Simple and straightforward observe...
Update gemspec to reflect we're testing with rspec
diff --git a/tests/integration/spec/integration/dashboard_spec.rb b/tests/integration/spec/integration/dashboard_spec.rb index abc1234..def5678 100644 --- a/tests/integration/spec/integration/dashboard_spec.rb +++ b/tests/integration/spec/integration/dashboard_spec.rb @@ -5,7 +5,7 @@ it 'allows people to see the conn...
Update front-end test to fix jenkins
diff --git a/lib/catissue/domain.rb b/lib/catissue/domain.rb index abc1234..def5678 100644 --- a/lib/catissue/domain.rb +++ b/lib/catissue/domain.rb @@ -16,8 +16,7 @@ # @param [Module] mod the resource mix-in module to extend with metadata capability def self.extend_module(mod) # Enable the resource metadata ...
Use new metadata extend mechanism.
diff --git a/lib/jeckle/resource.rb b/lib/jeckle/resource.rb index abc1234..def5678 100644 --- a/lib/jeckle/resource.rb +++ b/lib/jeckle/resource.rb @@ -16,7 +16,7 @@ module ClassMethods def headers { - 'Content-Type' => 'application/json', + 'Content-Type' => 'application/json'...
Align code headers definition and rename block variable
diff --git a/lib/perform_feature.rb b/lib/perform_feature.rb index abc1234..def5678 100644 --- a/lib/perform_feature.rb +++ b/lib/perform_feature.rb @@ -8,6 +8,7 @@ base.extend PerformMethods base.helper_method :perform_feature + base.helper_method :authorised_feature? else ...
[SCR-710] Make private method authorised_feature? public
diff --git a/lib/random-location.rb b/lib/random-location.rb index abc1234..def5678 100644 --- a/lib/random-location.rb +++ b/lib/random-location.rb @@ -3,7 +3,7 @@ METERS_IN_DEGREE = 111_300 - def nearby(lat, lng, r) + def near_by(lat, lng, r) u = rand v = rand
Change method name for a more Ruby one
diff --git a/lib/services/ticket.rb b/lib/services/ticket.rb index abc1234..def5678 100644 --- a/lib/services/ticket.rb +++ b/lib/services/ticket.rb @@ -10,9 +10,7 @@ private - def params - @params - end + attr_reader :params def authorise(request) # TODO
Change trivial reader method to attr_reader
diff --git a/lib/zebra/print_job.rb b/lib/zebra/print_job.rb index abc1234..def5678 100644 --- a/lib/zebra/print_job.rb +++ b/lib/zebra/print_job.rb @@ -29,9 +29,9 @@ def send_to_printer(path) # My ip is 192.168.101.99 if RUBY_PLATFORM =~ /darwin/ - `lpr -P #{@printer} -o raw #{path} -h 192.168...
Remove path declaration from send_to_printer method
diff --git a/app/models/feed.rb b/app/models/feed.rb index abc1234..def5678 100644 --- a/app/models/feed.rb +++ b/app/models/feed.rb @@ -16,11 +16,11 @@ } scope :inactive, lambda { - where('(schedule IS NULL OR id IN (?))', Feed.archived.select(:id)) + where('(schedule IS NULL OR id IN (?))', Feed.unscoped...
Fix Rails 6.1 deprecation on class method scopes Fix the following deprecation warning: Class level methods will no longer inherit scoping from `inactive` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, ...
diff --git a/app/models/good.rb b/app/models/good.rb index abc1234..def5678 100644 --- a/app/models/good.rb +++ b/app/models/good.rb @@ -3,6 +3,11 @@ validates :price, numericality: { greater_than_or_equal_to: 0 } validates :amount, numericality: { only_integer: true, greater_than_or_equal_to: 0 } + # TODO: в б...
Add todo for item_type for Goods table
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 @@ -7,7 +7,7 @@ end def avatar_url - if self[:avatar_url].nil? + if self[:avatar_url].blank? "https://github.com/identicons/#{username}.png" else self[:ava...
Use blank rather than nil for avatar url
diff --git a/spec/dynamoid/config_spec.rb b/spec/dynamoid/config_spec.rb index abc1234..def5678 100644 --- a/spec/dynamoid/config_spec.rb +++ b/spec/dynamoid/config_spec.rb @@ -2,9 +2,21 @@ describe Dynamoid::Config do describe 'credentials' do - it 'passes credentials to a client connection', config: { - ...
Fix specs: clear cached connection between specs
diff --git a/spec/models/province_spec.rb b/spec/models/province_spec.rb index abc1234..def5678 100644 --- a/spec/models/province_spec.rb +++ b/spec/models/province_spec.rb @@ -7,7 +7,9 @@ end it 'should be able to call the factory many times' do - 25.times { build_stubbed :province } + 13.times { build_st...
Improve test for province factory rollover
diff --git a/spec/controllers/answers_controller_spec.rb b/spec/controllers/answers_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/answers_controller_spec.rb +++ b/spec/controllers/answers_controller_spec.rb @@ -0,0 +1,41 @@+require 'rails_helper' + +describe AnswersController do + let(:user) ...
Create answers controller spec with some tests
diff --git a/spec/uploaders/cover_image_uploader_spec.rb b/spec/uploaders/cover_image_uploader_spec.rb index abc1234..def5678 100644 --- a/spec/uploaders/cover_image_uploader_spec.rb +++ b/spec/uploaders/cover_image_uploader_spec.rb @@ -16,7 +16,7 @@ context 'test env' do it 'uploads the cover image to the cor...
Use carrierwave directory name for subdomain
diff --git a/spec/workers/email_alert_api_worker_spec.rb b/spec/workers/email_alert_api_worker_spec.rb index abc1234..def5678 100644 --- a/spec/workers/email_alert_api_worker_spec.rb +++ b/spec/workers/email_alert_api_worker_spec.rb @@ -24,6 +24,8 @@ it "doesn't retry 409s" do stub_any_email_alert_api_call.and_r...
Add message expectation on log output Setting a message expectation for the log output checks that the exception has been rescued, a message gets logged and reduces test output noise.
diff --git a/apple_push.gemspec b/apple_push.gemspec index abc1234..def5678 100644 --- a/apple_push.gemspec +++ b/apple_push.gemspec @@ -16,7 +16,11 @@ s.add_runtime_dependency 'multi_json', '>= 0' s.add_runtime_dependency 'hashr', '>= 0' s.add_runtime_dependency 'em-apn', '>= 0' - + +...
Add development dependencies to gemspec
diff --git a/examples/random_number_generator.rb b/examples/random_number_generator.rb index abc1234..def5678 100644 --- a/examples/random_number_generator.rb +++ b/examples/random_number_generator.rb @@ -3,8 +3,8 @@ class RandomNumberGenerator include Webhooks - def webhooks - %w{http://localhost:9000} + def...
Set webhooks in initializer for random number generator
diff --git a/core/app/models/spree/product_property.rb b/core/app/models/spree/product_property.rb index abc1234..def5678 100644 --- a/core/app/models/spree/product_property.rb +++ b/core/app/models/spree/product_property.rb @@ -4,7 +4,7 @@ belongs_to :property validates :property, :presence => true - val...
Use sexy Rails 3 validation for ProductProperty
diff --git a/Casks/beaker-electron.rb b/Casks/beaker-electron.rb index abc1234..def5678 100644 --- a/Casks/beaker-electron.rb +++ b/Casks/beaker-electron.rb @@ -0,0 +1,12 @@+cask 'beaker-electron' do + version '1.4.2-0-ge55c059' + sha256 '32d6ecf6a1ebfc32c3e1b2dfc1edb33eaeab6f83d3f9d74dd9b64e08bd24e3e6' + + # cloudf...
Add Beaker Notebook (Electron build) v1.4.2-0-ge55c059
diff --git a/lib/capybara/drivers/headless_chrome.rb b/lib/capybara/drivers/headless_chrome.rb index abc1234..def5678 100644 --- a/lib/capybara/drivers/headless_chrome.rb +++ b/lib/capybara/drivers/headless_chrome.rb @@ -12,7 +12,7 @@ capabilities = Selenium::WebDriver::Remote::Capabilities.chrome( profile: prof...
Add no-sandbox option to headless chrome driver It looks as if heroku needs this option set in order for it to run on their dynos
diff --git a/lib/fb_graph/connections/ad_accounts.rb b/lib/fb_graph/connections/ad_accounts.rb index abc1234..def5678 100644 --- a/lib/fb_graph/connections/ad_accounts.rb +++ b/lib/fb_graph/connections/ad_accounts.rb @@ -9,6 +9,19 @@ ) end end + + def ad_account!(options) + default...
KSP-2439: Add ability to create ad accounts via business manager
diff --git a/app/controllers/page.rb b/app/controllers/page.rb index abc1234..def5678 100644 --- a/app/controllers/page.rb +++ b/app/controllers/page.rb @@ -2,7 +2,7 @@ get :index, :map => "/#{ENV['BASE_CANARY_PATH']}/:page_name" do @page_name = params[:page_name] - deliver(:hit_notifier, :hit_email, "#{@pa...
Allow all email to be silenced with STOP_ALL_EMAIL
diff --git a/week-5/gps2_2.rb b/week-5/gps2_2.rb index abc1234..def5678 100644 --- a/week-5/gps2_2.rb +++ b/week-5/gps2_2.rb @@ -0,0 +1,69 @@+#Create a new list: +#Input: a list of grocery items and quantities +#Create a new hash +#Add an item and quantity to the existing list: +#Create a key/value pair and add it to t...
Add challenge solution and reflection
diff --git a/dynosaur.gemspec b/dynosaur.gemspec index abc1234..def5678 100644 --- a/dynosaur.gemspec +++ b/dynosaur.gemspec @@ -17,7 +17,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.add_runtime_dependency 'platform-api', '>= 2.0', '< 2.3' + ...
Update platform-api requirement from >= 2.0, < 2.3 to >= 2.0, < 3.1 Updates the requirements on [platform-api](https://github.com/heroku/platform-api) to permit the latest version. - [Release notes](https://github.com/heroku/platform-api/releases) - [Changelog](https://github.com/heroku/platform-api/blob/master/CHANGE...
diff --git a/spec/support/features/confirmation.rb b/spec/support/features/confirmation.rb index abc1234..def5678 100644 --- a/spec/support/features/confirmation.rb +++ b/spec/support/features/confirmation.rb @@ -1,5 +1,6 @@ # spec/support/features/confirmation.rb # TODO: Delete this module when `#accept_confirm` supp...
Add issue reference to accept_confirm workaround
diff --git a/sprout-osx-apps/attributes/nitrous.rb b/sprout-osx-apps/attributes/nitrous.rb index abc1234..def5678 100644 --- a/sprout-osx-apps/attributes/nitrous.rb +++ b/sprout-osx-apps/attributes/nitrous.rb @@ -1,3 +1,3 @@ default['sprout']['nitrous']['source'] = 'https://www.nitrous.io/mac/Nitrous-Mac-Latest.zip' ...
Change 'o' --> 'p' in the word 'sorout' inside attributes/nirous.rb
diff --git a/client/ruby/solr-ruby/test/unit/changes_yaml_test.rb b/client/ruby/solr-ruby/test/unit/changes_yaml_test.rb index abc1234..def5678 100644 --- a/client/ruby/solr-ruby/test/unit/changes_yaml_test.rb +++ b/client/ruby/solr-ruby/test/unit/changes_yaml_test.rb @@ -0,0 +1,21 @@+# The ASF licenses this file to Yo...
Add test to check the proper parsability of CHANGES.yml git-svn-id: 3b1ff1236863b4d63a22e4dae568675c2e247730@573430 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tasks/create-bosh-release/run.rb b/tasks/create-bosh-release/run.rb index abc1234..def5678 100644 --- a/tasks/create-bosh-release/run.rb +++ b/tasks/create-bosh-release/run.rb @@ -4,7 +4,7 @@ versions = Dir["buildpack-zip*/version"].map do |buildpack_version_file| - File.read(buildpack_version_file).g...
Remove Java Buildpack from version - Pivnet adds this Co-authored-by: Danny Joyce <656eadb1608d5e3ea5db131e513d97abdf96b075@pivotal.io>
diff --git a/test/models/user_request_test.rb b/test/models/user_request_test.rb index abc1234..def5678 100644 --- a/test/models/user_request_test.rb +++ b/test/models/user_request_test.rb @@ -8,7 +8,7 @@ user: users(:user_two) ) assert !user_request.valid? - assert_equal true, user_requests(:reque...
Fix request test to check correct user_request
diff --git a/app/models/base_model.rb b/app/models/base_model.rb index abc1234..def5678 100644 --- a/app/models/base_model.rb +++ b/app/models/base_model.rb @@ -14,4 +14,8 @@ raw_write_attribute(:filename, name) save! end + + def public_stories(arel=nil) + Story.public_stories(arel || stories) + end e...
Add public_stories to the base model to use in series, networks, and accounts
diff --git a/lib/activejob/locking/adapters/redlock.rb b/lib/activejob/locking/adapters/redlock.rb index abc1234..def5678 100644 --- a/lib/activejob/locking/adapters/redlock.rb +++ b/lib/activejob/locking/adapters/redlock.rb @@ -17,7 +17,7 @@ end def unlock - self.lock_manager.unlock(self.lo...
Fix unlock for Redlock adapter When lock is deserialized, it is hash containing strings as keys. Though, Redlock expects lock to have Symbols as keys. Hence, the job is completed without releasing a lock. This might be valid for other adapters. (I have not checked it) If so, the problem must be fixed on `desecialize`...
diff --git a/tools/edit_all_log_statements.rb b/tools/edit_all_log_statements.rb index abc1234..def5678 100644 --- a/tools/edit_all_log_statements.rb +++ b/tools/edit_all_log_statements.rb @@ -0,0 +1,11 @@+#!/usr/bin/env ruby + +["debug", "info", "warning", "warn", "exception", "error", "critical"].each do |level| + #...
Add a tool to edit the format of log messages
diff --git a/ISO8601DateFormatterValueTransformer.podspec b/ISO8601DateFormatterValueTransformer.podspec index abc1234..def5678 100644 --- a/ISO8601DateFormatterValueTransformer.podspec +++ b/ISO8601DateFormatterValueTransformer.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ISO8601DateFormatterValueTran...
Bump version to 0.7.0 and add dependency on mainline ISO8601DateFormatter
diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index abc1234..def5678 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -5,7 +5,7 @@ config.dsn = ENV['SENTRY_DSN'] config.breadcrumbs_logger = [:active_support_logger] - # Send 10% of transactions ...
Reduce the Sentry sampling to 5% See https://ministryofjustice.github.io/operations-engineering/documentation/services/sentry.html#sentry-io
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -3,6 +3,10 @@ User.delete_all Potluck.delete_all Attendance.delete_all + +ActiveRecord::Base.connection.tables.each do |t| + ActiveRecord::Base.connection.reset_pk_sequence!(t) +end 20.times do User.crea...
Add active record code to reset primary id count in database
diff --git a/devise-2fa.gemspec b/devise-2fa.gemspec index abc1234..def5678 100644 --- a/devise-2fa.gemspec +++ b/devise-2fa.gemspec @@ -9,18 +9,19 @@ gem.authors = ['William A. Todd'] gem.email = ['info@investinwaffles.com'] gem.description = 'Time Based OTP/rfc6238 authentication for Devise' -...
Update gemspec to match release
diff --git a/app.rb b/app.rb index abc1234..def5678 100644 --- a/app.rb +++ b/app.rb @@ -0,0 +1,72 @@+class Settings < Settingslogic + source "#{Rails.root}/config/application.yml" + namespace Rails.env + load! +end + +require 'sinatra' +require 'sequel' + +post '/auth' do + +end + +get '/tournaments' do + +end + +p...
Add basic code to begin
diff --git a/env.rb b/env.rb index abc1234..def5678 100644 --- a/env.rb +++ b/env.rb @@ -6,6 +6,9 @@ end [:-, :/].each do |op| env[op] = lambda {|a, b| a.send(op, b)} + end + Math.methods(false).each do |sym| + env[sym] = lambda {|*args| Math.send(sym, *args)} end env[:begin] = lamb...
Add math module to built ins
diff --git a/cancan.gemspec b/cancan.gemspec index abc1234..def5678 100644 --- a/cancan.gemspec +++ b/cancan.gemspec @@ -18,8 +18,6 @@ s.add_development_dependency 'mongoid', '~> 2.0.0.beta.19' s.add_development_dependency 'bson_ext', '~> 1.1' - # s.add_development_dependency 'ruby-debug' - s.rubyforge_p...
Remove commented-out line from gemspec
diff --git a/db/migrate/20141217165501_move_minutes_to_complete_to_need_to_know_field.rb b/db/migrate/20141217165501_move_minutes_to_complete_to_need_to_know_field.rb index abc1234..def5678 100644 --- a/db/migrate/20141217165501_move_minutes_to_complete_to_need_to_know_field.rb +++ b/db/migrate/20141217165501_move_minu...
Use welsh minutes message where appropriate Tweak migration to use welsh when the edition is welsh
diff --git a/colocated-charters-script.rb b/colocated-charters-script.rb index abc1234..def5678 100644 --- a/colocated-charters-script.rb +++ b/colocated-charters-script.rb @@ -10,11 +10,12 @@ colocated_addresses_w_charter end -def create_colocated_charters_csv(schools_hsh) - schools_hsh.each_pair do |k,v| - chart...
Fix method which places colocated schools w charters in csv
diff --git a/formdata.gemspec b/formdata.gemspec index abc1234..def5678 100644 --- a/formdata.gemspec +++ b/formdata.gemspec @@ -18,6 +18,8 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] + spec.required_ruby_version = '>= 1.9.1' + spec.add_development...
Add ruby version requirement to gemspec
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index abc1234..def5678 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -11,7 +11,8 @@ context 'when passed a valid object' do it 'returns the url if no relative...
Fix intermittent asset failure in specs Resolves #1528 - Mock relative root in application helper specs
diff --git a/ReactiveQueryKit.podspec b/ReactiveQueryKit.podspec index abc1234..def5678 100644 --- a/ReactiveQueryKit.podspec +++ b/ReactiveQueryKit.podspec @@ -9,6 +9,8 @@ spec.source = { :git => 'https://github.com/QueryKit/ReactiveQueryKit.git', :tag => "#{spec.version}" } spec.source_files = 'ReactiveQueryKit/...
[Podspec] Set minimum platform to match ReactiveCocoa
diff --git a/generate_post.rb b/generate_post.rb index abc1234..def5678 100644 --- a/generate_post.rb +++ b/generate_post.rb @@ -33,9 +33,16 @@ system('git push origin gh-pages') end +def send_mail_warning + # TODO: Implement warning + puts "No more jokes! Need more jokes!" +end + def generate jokes = read...
Add warning when out of jokes
diff --git a/spec/services/itsi_authoring/editor_spec.rb b/spec/services/itsi_authoring/editor_spec.rb index abc1234..def5678 100644 --- a/spec/services/itsi_authoring/editor_spec.rb +++ b/spec/services/itsi_authoring/editor_spec.rb @@ -0,0 +1,26 @@+require "spec_helper" + +describe ITSIAuthoring::Editor do + let(:aut...
Add test coverage for ITSIAuthoring::Editor.
diff --git a/spec/services/rules/first_time_rule_spec.rb b/spec/services/rules/first_time_rule_spec.rb index abc1234..def5678 100644 --- a/spec/services/rules/first_time_rule_spec.rb +++ b/spec/services/rules/first_time_rule_spec.rb @@ -5,7 +5,7 @@ subject { described_class.new.broken?(submission) } context ...
Refactor SubmissionRejector's rules and their specs
diff --git a/lib/tasks/papertrail_changeset.rake b/lib/tasks/papertrail_changeset.rake index abc1234..def5678 100644 --- a/lib/tasks/papertrail_changeset.rake +++ b/lib/tasks/papertrail_changeset.rake @@ -0,0 +1,23 @@+ +desc "Update Pre-changeset version objects with changeset data" +namespace :paper_trail do + task :...
Add rake task to update changesets
diff --git a/db/migrate/20140910153559_create_active_questions.rb b/db/migrate/20140910153559_create_active_questions.rb index abc1234..def5678 100644 --- a/db/migrate/20140910153559_create_active_questions.rb +++ b/db/migrate/20140910153559_create_active_questions.rb @@ -0,0 +1,10 @@+class CreateActiveQuestions < Acti...
Add Migration Table to ID Coaches Working on Questions
diff --git a/spec/examples/logger_spec.rb b/spec/examples/logger_spec.rb index abc1234..def5678 100644 --- a/spec/examples/logger_spec.rb +++ b/spec/examples/logger_spec.rb @@ -0,0 +1,114 @@+require 'spec_helper' + +class Logger + alias :m :method + + def initialize(repository) + @repository = repository + ...
Add logger example with validation
diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index abc1234..def5678 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -33,9 +33,9 @@ redirect_to boards_path and return end - @posts = @board.posts.order('id desc').s...
Sort single board posts properly
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 @@ -2,7 +2,7 @@ before_action :set_event, except: [:index, :new, :create] def index - @events = Event.all...
Order events newest to oldest
diff --git a/spec/models/category_spec.rb b/spec/models/category_spec.rb index abc1234..def5678 100644 --- a/spec/models/category_spec.rb +++ b/spec/models/category_spec.rb @@ -1,13 +1,39 @@ require 'spec_helper' describe Category do - describe "Associations" do - before do - FactoryGirl.create :category + ...
Create specs for category model
diff --git a/app/controllers/spaces_controller.rb b/app/controllers/spaces_controller.rb index abc1234..def5678 100644 --- a/app/controllers/spaces_controller.rb +++ b/app/controllers/spaces_controller.rb @@ -1,5 +1,5 @@ class SpacesController < ApplicationController - # http_basic_authenticate_with name: ENV['SPACES_...
Enable BASIC Auth for CoderDojo Spaces :secret:
diff --git a/app/controllers/adhoq/authorization_methods.rb b/app/controllers/adhoq/authorization_methods.rb index abc1234..def5678 100644 --- a/app/controllers/adhoq/authorization_methods.rb +++ b/app/controllers/adhoq/authorization_methods.rb @@ -6,7 +6,6 @@ controller.before_filter Authorizer.new help...
Make it work on rails 5
diff --git a/app/controllers/dashboard/poster_controller.rb b/app/controllers/dashboard/poster_controller.rb index abc1234..def5678 100644 --- a/app/controllers/dashboard/poster_controller.rb +++ b/app/controllers/dashboard/poster_controller.rb @@ -7,6 +7,8 @@ format.pdf do render pdf: 'poster', ...
Add zoom and dpi values to correct the pdf display when environment is not development.
diff --git a/app/services/checkout/post_checkout_actions.rb b/app/services/checkout/post_checkout_actions.rb index abc1234..def5678 100644 --- a/app/services/checkout/post_checkout_actions.rb +++ b/app/services/checkout/post_checkout_actions.rb @@ -29,6 +29,8 @@ end def set_customer_terms_and_conditions_acce...
Fix edge case and some specs in post checkout actions
diff --git a/callcredit.gemspec b/callcredit.gemspec index abc1234..def5678 100644 --- a/callcredit.gemspec +++ b/callcredit.gemspec @@ -6,7 +6,7 @@ gem.add_runtime_dependency 'nokogiri', '~> 1.4' gem.add_runtime_dependency 'unicode_utils', '~> 1.4.0' - gem.add_development_dependency 'rspec', ...
Update rspec requirement from ~> 3.8.0 to ~> 3.9.0 Updates the requirements on [rspec](https://github.com/rspec/rspec) to permit the latest version. - [Release notes](https://github.com/rspec/rspec/releases) - [Commits](https://github.com/rspec/rspec/compare/v3.8.0...v3.9.0) Signed-off-by: dependabot-preview[bot] <5b...
diff --git a/app/serializers/design_project_serializer.rb b/app/serializers/design_project_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/design_project_serializer.rb +++ b/app/serializers/design_project_serializer.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class DesignProjectSerializer < Ac...
Fix design project serialization: add id
diff --git a/fezzik.gemspec b/fezzik.gemspec index abc1234..def5678 100644 --- a/fezzik.gemspec +++ b/fezzik.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = "fezzik" - s.version = "0.4.0" + s.version = "0.4.1" s.required_rubygems_version = Gem::Requirement.new(">=0") if s.respond_to? :required_...
Bump build version to 0.4.1
diff --git a/lib/cucumber/broadcaster.rb b/lib/cucumber/broadcaster.rb index abc1234..def5678 100644 --- a/lib/cucumber/broadcaster.rb +++ b/lib/cucumber/broadcaster.rb @@ -11,7 +11,8 @@ def method_missing(method_name, *args) @receivers.each do |receiver| - receiver.__send__(method_name, *args) if ...
Fix broken colors on Windows
diff --git a/MLHudAlert.podspec b/MLHudAlert.podspec index abc1234..def5678 100644 --- a/MLHudAlert.podspec +++ b/MLHudAlert.podspec @@ -8,7 +8,7 @@ s.source = { :git => "https://github.com/MacLabs/MLHudAlert.git", :tag => "0.0.1" } s.platform = :osx s.source_files = 'MLHudAlert/**/*.{h,m}' - s.resou...
Add xib to pod resource.
diff --git a/lib/arrthorizer/rails/controller_action.rb b/lib/arrthorizer/rails/controller_action.rb index abc1234..def5678 100644 --- a/lib/arrthorizer/rails/controller_action.rb +++ b/lib/arrthorizer/rails/controller_action.rb @@ -5,19 +5,41 @@ ActionNotDefined = Class.new(Arrthorizer::ArrthorizerException) ...
Add a Repository to Arrthorizer::Rails::ContextRole and add a .get_current() method