diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/services/QuillLMS/config/initializers/session_store.rb b/services/QuillLMS/config/initializers/session_store.rb index abc1234..def5678 100644 --- a/services/QuillLMS/config/initializers/session_store.rb +++ b/services/QuillLMS/config/initializers/session_store.rb @@ -6,5 +6,5 @@ elsif Rails.env.staging? ...
Allow all domains for cookies in development env
diff --git a/app/models/sprint.rb b/app/models/sprint.rb index abc1234..def5678 100644 --- a/app/models/sprint.rb +++ b/app/models/sprint.rb @@ -3,9 +3,11 @@ validate :no_weekend_day - scope :current, (-> { find_by('start_date <= :today AND end_date >= :today', today: Time.zone.today) }) + after_create :create_...
Move current to a class method as it will return [] instead of nil if there is not current sprint otherwise.
diff --git a/app/controllers/transactions_controller.rb b/app/controllers/transactions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/transactions_controller.rb +++ b/app/controllers/transactions_controller.rb @@ -6,7 +6,7 @@ end def index - transactions = Transaction.with_matcher + tr...
Order transactions by posted date
diff --git a/app/uploaders/ckeditor_picture_uploader.rb b/app/uploaders/ckeditor_picture_uploader.rb index abc1234..def5678 100644 --- a/app/uploaders/ckeditor_picture_uploader.rb +++ b/app/uploaders/ckeditor_picture_uploader.rb @@ -28,7 +28,7 @@ # # do something # end - process :read_dimensions + process :e...
Fix the ckeditor breaking changes.
diff --git a/app/views/user_profiles/show.json.jbuilder b/app/views/user_profiles/show.json.jbuilder index abc1234..def5678 100644 --- a/app/views/user_profiles/show.json.jbuilder +++ b/app/views/user_profiles/show.json.jbuilder @@ -4,5 +4,5 @@ json.call(@user, :username, :profile_image) json.bio @user.user_profil...
Fix typo in UserProfiles JSON
diff --git a/lib/que/adapters/active_record.rb b/lib/que/adapters/active_record.rb index abc1234..def5678 100644 --- a/lib/que/adapters/active_record.rb +++ b/lib/que/adapters/active_record.rb @@ -2,16 +2,13 @@ module Adapters class ActiveRecord < Base def checkout - ::ActiveRecord::Base.connection...
Make ActiveRecord worker wakeups thread-safe.
diff --git a/lib/sunat/models/tax_sub_total.rb b/lib/sunat/models/tax_sub_total.rb index abc1234..def5678 100644 --- a/lib/sunat/models/tax_sub_total.rb +++ b/lib/sunat/models/tax_sub_total.rb @@ -7,7 +7,7 @@ property :tax_category, TaxCategory def build_xml(xml) - xml['cac'].TaxSubTotal do + x...
Fix to set the right tag.
diff --git a/spec/acceptance/10_basic_ironic_spec.rb b/spec/acceptance/10_basic_ironic_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/10_basic_ironic_spec.rb +++ b/spec/acceptance/10_basic_ironic_spec.rb @@ -11,6 +11,7 @@ include openstack_integration::apache include openstack_integration::rab...
Enable memcached in acceptance tests ... because it is required as cache backend. Change-Id: I1da59bacb6dfba7fe439d0c94e12f9968c5f501e
diff --git a/spec/lib/statistics/aggregation_spec.rb b/spec/lib/statistics/aggregation_spec.rb index abc1234..def5678 100644 --- a/spec/lib/statistics/aggregation_spec.rb +++ b/spec/lib/statistics/aggregation_spec.rb @@ -6,14 +6,10 @@ before(:all) do Dojo.delete_all - DojoEventService.delete_all - EventH...
Remove delete_all for models that depend Dojo in spec
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index abc1234..def5678 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -1,8 +1,8 @@ class SearchController < ApplicationController def index scope = Project.search(params[:q])...
Disable search filters for now
diff --git a/app/controllers/twilio_controller.rb b/app/controllers/twilio_controller.rb index abc1234..def5678 100644 --- a/app/controllers/twilio_controller.rb +++ b/app/controllers/twilio_controller.rb @@ -1,5 +1,18 @@ class TwilioController < ApplicationController def new_message - + body = JSON.decode(re...
Create new record for new messages
diff --git a/app/services/notify_about_comment.rb b/app/services/notify_about_comment.rb index abc1234..def5678 100644 --- a/app/services/notify_about_comment.rb +++ b/app/services/notify_about_comment.rb @@ -13,8 +13,8 @@ private def notify(comment) - users = comment.post.comments.map(&:user) - users << c...
Use subject in comment notifier
diff --git a/event_store-messaging.gemspec b/event_store-messaging.gemspec index abc1234..def5678 100644 --- a/event_store-messaging.gemspec +++ b/event_store-messaging.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'event_store-messaging' s.summary = 'Messaging primitives for EventStore using the...
Package version is increased from 0.1.5 to 0.1.6
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index abc1234..def5678 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,6 +1,8 @@ ENV['RAILS_ENV'] ||= 'test' require 'simplecov' -SimpleCov.start 'rails' +SimpleCov.start 'rails' do + add_filter '/lib/shopping/version' +end require File.expa...
Exclude version file from simplecov
diff --git a/cookbooks/delivery_rust/recipes/publish.rb b/cookbooks/delivery_rust/recipes/publish.rb index abc1234..def5678 100644 --- a/cookbooks/delivery_rust/recipes/publish.rb +++ b/cookbooks/delivery_rust/recipes/publish.rb @@ -1,6 +1,6 @@ omnibus_path = File.join(node['delivery_builder']['repo'], 'omnibus-deliver...
Use a path for the bundle install
diff --git a/features/support/helpers/login_helper.rb b/features/support/helpers/login_helper.rb index abc1234..def5678 100644 --- a/features/support/helpers/login_helper.rb +++ b/features/support/helpers/login_helper.rb @@ -0,0 +1,63 @@+module RoomsFeatures + module LoginHelper + def omniauth_hash + hash = Om...
Add some helpers for login steps
diff --git a/features/steps/shared/user.rb b/features/steps/shared/user.rb index abc1234..def5678 100644 --- a/features/steps/shared/user.rb +++ b/features/steps/shared/user.rb @@ -20,10 +20,10 @@ end step 'I have an ssh key' do - create(:key, user: @user, title: "An ssh-key", key: "ssh-rsa AAAAB3NzaC1yc2EAAA...
Simplify shared User SSH key steps
diff --git a/db/migrate/20160707083854_create_agents.rb b/db/migrate/20160707083854_create_agents.rb index abc1234..def5678 100644 --- a/db/migrate/20160707083854_create_agents.rb +++ b/db/migrate/20160707083854_create_agents.rb @@ -1,5 +1,7 @@ class CreateAgents < ActiveRecord::Migration def up + drop_table :age...
Remove old table called agents if it exists
diff --git a/gem/test/yank_command_test.rb b/gem/test/yank_command_test.rb index abc1234..def5678 100644 --- a/gem/test/yank_command_test.rb +++ b/gem/test/yank_command_test.rb @@ -5,7 +5,7 @@ setup do @gem = "MyGem" @version = '0.1.0' - @api = "https://rubygems.org/api/v1/gems/#{@gem}/yank" + ...
Use all data endpoint in gem test
diff --git a/app/models/competitions/grand_prix_brad_ross/overall.rb b/app/models/competitions/grand_prix_brad_ross/overall.rb index abc1234..def5678 100644 --- a/app/models/competitions/grand_prix_brad_ross/overall.rb +++ b/app/models/competitions/grand_prix_brad_ross/overall.rb @@ -8,11 +8,11 @@ before_create :...
Update Grand Prix Carl Decker min and max events
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -22,7 +22,7 @@ if request.env["HTTP_USER_AGENT"] and !request.env["HTTP_USER_AGE...
Add code to end campaign and redirect users who come to the site
diff --git a/app/controllers/healthcheck_controller.rb b/app/controllers/healthcheck_controller.rb index abc1234..def5678 100644 --- a/app/controllers/healthcheck_controller.rb +++ b/app/controllers/healthcheck_controller.rb @@ -1,11 +1,6 @@ class HealthcheckController < ActionController::Base - # rescue_from ApiEntit...
Fix Healthcheck action, check for db connectivity
diff --git a/app/controllers/identifiers_controller.rb b/app/controllers/identifiers_controller.rb index abc1234..def5678 100644 --- a/app/controllers/identifiers_controller.rb +++ b/app/controllers/identifiers_controller.rb @@ -2,7 +2,7 @@ def doi @doi = 'doi: ' + params[:identifiers].downcase @doi_condens...
Fix bug that was creating duplicates of papers with different-cased identifiers
diff --git a/app/serializers/api/partner_serializer.rb b/app/serializers/api/partner_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/api/partner_serializer.rb +++ b/app/serializers/api/partner_serializer.rb @@ -1,11 +1,15 @@ class Api::PartnerSerializer < ActiveModel::Serializer - attributes :id, :...
Add logo large in partner serialize
diff --git a/tops_connect.gemspec b/tops_connect.gemspec index abc1234..def5678 100644 --- a/tops_connect.gemspec +++ b/tops_connect.gemspec @@ -22,7 +22,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.add_development_dependency 'bundler', '~> 1.16...
Use Bundler 2 in development Signed-off-by: Steven Hoffman <46f1a0bd5592a2f9244ca321b129902a06b53e03@fustrate.com>
diff --git a/config/initializers/11_party_foul.rb b/config/initializers/11_party_foul.rb index abc1234..def5678 100644 --- a/config/initializers/11_party_foul.rb +++ b/config/initializers/11_party_foul.rb @@ -27,7 +27,8 @@ config.repo = 'coursewa.re' # The background processor handler - config.pro...
Disable background processing for party_foul.
diff --git a/config/initializers/active_record.rb b/config/initializers/active_record.rb index abc1234..def5678 100644 --- a/config/initializers/active_record.rb +++ b/config/initializers/active_record.rb @@ -6,7 +6,7 @@ #----- def self.search(in_parameters = {}) return all if (in_parameters.blank?) - ...
Debug search method in ActiveRecord
diff --git a/config/initializers/refinery/i18n.rb b/config/initializers/refinery/i18n.rb index abc1234..def5678 100644 --- a/config/initializers/refinery/i18n.rb +++ b/config/initializers/refinery/i18n.rb @@ -7,7 +7,7 @@ config.default_frontend_locale = :en - config.frontend_locales = [:en, :fr] + config.fronte...
Disable :fr lang in Refinery::I18n
diff --git a/config/software/coopr-provisioner.rb b/config/software/coopr-provisioner.rb index abc1234..def5678 100644 --- a/config/software/coopr-provisioner.rb +++ b/config/software/coopr-provisioner.rb @@ -9,12 +9,7 @@ # relative_path 'coopr-provisioner' build do - gem 'install fog --no-rdoc --no-ri --version 1....
Switch to using bundler to install Ruby Gems
diff --git a/ci_environment/nodejs/attributes/multi.rb b/ci_environment/nodejs/attributes/multi.rb index abc1234..def5678 100644 --- a/ci_environment/nodejs/attributes/multi.rb +++ b/ci_environment/nodejs/attributes/multi.rb @@ -1,3 +1,3 @@-default[:nodejs][:default] = "0.10.33" +default[:nodejs][:default] = "0.10.35...
Update default Node.js to 0.10.35
diff --git a/app/controllers/fb_friends_controller.rb b/app/controllers/fb_friends_controller.rb index abc1234..def5678 100644 --- a/app/controllers/fb_friends_controller.rb +++ b/app/controllers/fb_friends_controller.rb @@ -6,7 +6,7 @@ def index fb_token = session[:fb_token] - @people = FbService.get_my_f...
Order my friends by name
diff --git a/app/controllers/api/v1/base_controller.rb b/app/controllers/api/v1/base_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/base_controller.rb +++ b/app/controllers/api/v1/base_controller.rb @@ -35,7 +35,7 @@ end def return_error(exception) - render json: { message: "We are s...
Return status 500 when error happens
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -11,9 +11,9 @@ @cms_topnav = Cms::Site.find_by_identifier('topnav') end + def st...
Fix redirect oddness after resetting password
diff --git a/lib/arabic_conjugator/form_I_hamzated.rb b/lib/arabic_conjugator/form_I_hamzated.rb index abc1234..def5678 100644 --- a/lib/arabic_conjugator/form_I_hamzated.rb +++ b/lib/arabic_conjugator/form_I_hamzated.rb @@ -2,5 +2,9 @@ FORM_I_HAMZATED = { "بدء" => "أ", - "سءل" => "أ" + "سءل" => "أ", + "رءس" =>...
Add a few common verbs to hamzated verb hash
diff --git a/lib/dynamic_sitemaps/sitemap_result.rb b/lib/dynamic_sitemaps/sitemap_result.rb index abc1234..def5678 100644 --- a/lib/dynamic_sitemaps/sitemap_result.rb +++ b/lib/dynamic_sitemaps/sitemap_result.rb @@ -9,6 +9,10 @@ @files = files end + def name + sitemap.name + end + def host...
Add sitemap name to SitemapResult
diff --git a/app/controllers/concerns/sufia/catalog.rb b/app/controllers/concerns/sufia/catalog.rb index abc1234..def5678 100644 --- a/app/controllers/concerns/sufia/catalog.rb +++ b/app/controllers/concerns/sufia/catalog.rb @@ -3,6 +3,9 @@ extend ActiveSupport::Concern included do self.search_params_lo...
Include CurationConcern helper to provide all_type_tab method
diff --git a/lib/delocalize/parameter_delocalizing.rb b/lib/delocalize/parameter_delocalizing.rb index abc1234..def5678 100644 --- a/lib/delocalize/parameter_delocalizing.rb +++ b/lib/delocalize/parameter_delocalizing.rb @@ -6,12 +6,12 @@ private - def delocalize_hash(hash, options, key_stack = []) + def de...
Fix bug with modified key stack
diff --git a/lib/fabrication/generator/data_mapper.rb b/lib/fabrication/generator/data_mapper.rb index abc1234..def5678 100644 --- a/lib/fabrication/generator/data_mapper.rb +++ b/lib/fabrication/generator/data_mapper.rb @@ -2,6 +2,10 @@ def self.supports?(klass) defined?(DataMapper) && klass.ancestors.include...
Store DM attributes with mass assignment
diff --git a/lib/typhoeus/normalized_header_hash.rb b/lib/typhoeus/normalized_header_hash.rb index abc1234..def5678 100644 --- a/lib/typhoeus/normalized_header_hash.rb +++ b/lib/typhoeus/normalized_header_hash.rb @@ -52,7 +52,7 @@ private def convert_key(key) - key.to_s.split(/_|-/).map { |segment| segmen...
Improve performance and memory consumption of NormalizedHeaderHash::convert_key method - replace split by regex with tr and split by string - freeze often used string literals - use map! for in place mapping of segments
diff --git a/lib/overcommit/hook/pre_commit/sqlint.rb b/lib/overcommit/hook/pre_commit/sqlint.rb index abc1234..def5678 100644 --- a/lib/overcommit/hook/pre_commit/sqlint.rb +++ b/lib/overcommit/hook/pre_commit/sqlint.rb @@ -1,5 +1,5 @@ module Overcommit::Hook::PreCommit - # Runs 'sqlint' against any modified Puppet f...
Fix mistake in Sqlint doc comment That's what I get for copy-pasting!
diff --git a/lib/devise/orm/couchrest_model/schema.rb b/lib/devise/orm/couchrest_model/schema.rb index abc1234..def5678 100644 --- a/lib/devise/orm/couchrest_model/schema.rb +++ b/lib/devise/orm/couchrest_model/schema.rb @@ -15,8 +15,14 @@ def find(*args) options = args.extract_options! - ...
Modify Schema for registration edit
diff --git a/lib/tasks/remote_tables_maintenance.rake b/lib/tasks/remote_tables_maintenance.rake index abc1234..def5678 100644 --- a/lib/tasks/remote_tables_maintenance.rake +++ b/lib/tasks/remote_tables_maintenance.rake @@ -20,7 +20,7 @@ CommonDataSingleton.instance.datasets[:datasets].each do |d| v =...
Add common-data tag by default
diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb index abc1234..def5678 100644 --- a/config/initializers/cookies_serializer.rb +++ b/config/initializers/cookies_serializer.rb @@ -1,3 +1,3 @@ # Be sure to restart your server when you modify this file. -Rails.applicatio...
Use JSON cookies as in wrapper
diff --git a/db/migrate/20160422174041_recipes.rb b/db/migrate/20160422174041_recipes.rb index abc1234..def5678 100644 --- a/db/migrate/20160422174041_recipes.rb +++ b/db/migrate/20160422174041_recipes.rb @@ -2,6 +2,8 @@ def change create_table :recipes do |t| t.string :name + t.string :image_url + ...
Add fields to recipe table
diff --git a/cookbooks/zookeeper/attributes/default.rb b/cookbooks/zookeeper/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/zookeeper/attributes/default.rb +++ b/cookbooks/zookeeper/attributes/default.rb @@ -3,8 +3,6 @@ # Attributes:: default # # Copyright 2012, Webtrends Inc. -# -# All rights re...
Remove the do not redistribute clause in the zookeeper cookbook. There's nothing webtrends specific in this Former-commit-id: 4fad8f2232bb1447d361ea6a91a140d576bf84b8 [formerly 45f1a9aace9396eb81063db20753ac21fe3ddf21] [formerly 070a921e8f2dc5d4a26f810bbd10a8617981b1e8 [formerly 12aac02abc2c1be592d6780ff2d5e821c5140...
diff --git a/lib/data_hygiene/publishing_api_document_republisher.rb b/lib/data_hygiene/publishing_api_document_republisher.rb index abc1234..def5678 100644 --- a/lib/data_hygiene/publishing_api_document_republisher.rb +++ b/lib/data_hygiene/publishing_api_document_republisher.rb @@ -20,7 +20,7 @@ def perform ...
Use the bulk_republishing queue in PubApiDocRepublisher This is a special republisher that is used for Editions, but it seems to be currently using the `default` queue. This means that when it's used it will flood the `default` queue and block all other republishing until it's done. This commit switches it to use the...
diff --git a/lib/kosmos/packages/procedural_fairings.rb b/lib/kosmos/packages/procedural_fairings.rb index abc1234..def5678 100644 --- a/lib/kosmos/packages/procedural_fairings.rb +++ b/lib/kosmos/packages/procedural_fairings.rb @@ -0,0 +1,8 @@+class ProceduralFairings < Kosmos::Package + title 'Procedural Fairings' +...
Add a package for Procedural Fairings.
diff --git a/lib/munge/transformers/tilt_transformer.rb b/lib/munge/transformers/tilt_transformer.rb index abc1234..def5678 100644 --- a/lib/munge/transformers/tilt_transformer.rb +++ b/lib/munge/transformers/tilt_transformer.rb @@ -13,7 +13,7 @@ def call(item, content = nil, renderer = nil) scope = @p...
Add parenthesis around method call
diff --git a/lib/query_sort_by_params/param_sortable.rb b/lib/query_sort_by_params/param_sortable.rb index abc1234..def5678 100644 --- a/lib/query_sort_by_params/param_sortable.rb +++ b/lib/query_sort_by_params/param_sortable.rb @@ -0,0 +1,41 @@+module QuerySortByParams + module ParamSortable + extend ActiveSupport::C...
Make sorting work with basic attributes corresponding to database fields.
diff --git a/app/commands/put_publish_intent.rb b/app/commands/put_publish_intent.rb index abc1234..def5678 100644 --- a/app/commands/put_publish_intent.rb +++ b/app/commands/put_publish_intent.rb @@ -4,7 +4,7 @@ PathReservation.reserve_base_path!(base_path, payload[:publishing_app]) if downstream - ...
Update `PutPublishIntent` command to omit `payload_version`
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index abc1234..def5678 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -7,7 +7,7 @@ if ContentConfig.home_show_stats @num_distributors = Enterprise.is_distributor.activated.visible...
Rewrite user stat query for improved performance of homepage
diff --git a/app/controllers/jobs_controller.rb b/app/controllers/jobs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/jobs_controller.rb +++ b/app/controllers/jobs_controller.rb @@ -5,4 +5,20 @@ def new @job = Job.new end + + def create + @job = Job.new(job_params) + if @job.save + ...
Add create method to jobs controller
diff --git a/app/overrides/spree/orders/edit.rb b/app/overrides/spree/orders/edit.rb index abc1234..def5678 100644 --- a/app/overrides/spree/orders/edit.rb +++ b/app/overrides/spree/orders/edit.rb @@ -1,6 +1,6 @@ Deface::Override.new( virtual_path: 'spree/orders/edit', name: 'Add PayPal button', - insert_before:...
Move paypal button below checkout button
diff --git a/app/serializers/flow_serializer.rb b/app/serializers/flow_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/flow_serializer.rb +++ b/app/serializers/flow_serializer.rb @@ -31,7 +31,7 @@ Task.joins(paper: :journal) .incomplete.unassigned .where(type: "PaperAdminTask") - ...
Fix flow serializer to obtain user journals
diff --git a/lib/cube_solver/algorithms.rb b/lib/cube_solver/algorithms.rb index abc1234..def5678 100644 --- a/lib/cube_solver/algorithms.rb +++ b/lib/cube_solver/algorithms.rb @@ -0,0 +1,8 @@+module CubeSolver + module Algorithms + module PLL + T = "R U R' U' R' F R2 U' R' U' R U R' F'" + Y = "U F R U' R...
Add Algorithms module with T and Y PLLs
diff --git a/tests/spec/features/crate_types_spec.rb b/tests/spec/features/crate_types_spec.rb index abc1234..def5678 100644 --- a/tests/spec/features/crate_types_spec.rb +++ b/tests/spec/features/crate_types_spec.rb @@ -0,0 +1,43 @@+require 'spec_helper' +require 'support/editor' + +RSpec.feature "Building ", type: :f...
Add tests for compiling in different crate modes
diff --git a/lib/input_sanitizer/errors.rb b/lib/input_sanitizer/errors.rb index abc1234..def5678 100644 --- a/lib/input_sanitizer/errors.rb +++ b/lib/input_sanitizer/errors.rb @@ -18,12 +18,12 @@ class ValueNotAllowedError < ValidationError def code - :invalid_value + :inclusion end - def ...
Change ValueNotAllowedError code & message to match ActiveModel::Errors.
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,4 +1,9 @@ module ApplicationHelper + def tf_to_yn(status = false, capitalize = true) + output = status ? 'yes' : 'no'...
Add Helper for Converting T/F to Yes/No
diff --git a/lib/madride/templates/slim.rb b/lib/madride/templates/slim.rb index abc1234..def5678 100644 --- a/lib/madride/templates/slim.rb +++ b/lib/madride/templates/slim.rb @@ -3,9 +3,6 @@ module Madride class SlimTemplate < Slim::Template - class << self - attr_reader :default_mime_type - @defaul...
Fix SlimTemplate mime type registration
diff --git a/lib/tasks/publishing_api.rake b/lib/tasks/publishing_api.rake index abc1234..def5678 100644 --- a/lib/tasks/publishing_api.rake +++ b/lib/tasks/publishing_api.rake @@ -3,7 +3,14 @@ task :publish_special_routes => :environment do require 'gds_api/publishing_api/special_route_publisher' - publish...
Use bearer token for publishing API authentication
diff --git a/config/initializers/rack-attack.rb b/config/initializers/rack-attack.rb index abc1234..def5678 100644 --- a/config/initializers/rack-attack.rb +++ b/config/initializers/rack-attack.rb @@ -1,13 +1,8 @@ class Rack::Attack::Request def direct_auth? + # Match paths starting with "/m/mission_name", but ex...
203: Simplify throttling of ODK Collect endpoints
diff --git a/config/initializers/rails_admin.rb b/config/initializers/rails_admin.rb index abc1234..def5678 100644 --- a/config/initializers/rails_admin.rb +++ b/config/initializers/rails_admin.rb @@ -19,7 +19,6 @@ config.actions do dashboard # mandatory index # m...
Allow admin to manage applications for users
diff --git a/cookbooks/ondemand_base/recipes/centos.rb b/cookbooks/ondemand_base/recipes/centos.rb index abc1234..def5678 100644 --- a/cookbooks/ondemand_base/recipes/centos.rb +++ b/cookbooks/ondemand_base/recipes/centos.rb @@ -25,9 +25,9 @@ auth_config = data_bag_item('authorization', "ondemand") # set root passwo...
Add changing the root password to the CentOS recipe
diff --git a/spec/exchanges/coins_markets/integration/market_spec.rb b/spec/exchanges/coins_markets/integration/market_spec.rb index abc1234..def5678 100644 --- a/spec/exchanges/coins_markets/integration/market_spec.rb +++ b/spec/exchanges/coins_markets/integration/market_spec.rb @@ -14,8 +14,8 @@ end it 'fetch ...
Refactor longer varname to pair
diff --git a/lib/arraylist.rb b/lib/arraylist.rb index abc1234..def5678 100644 --- a/lib/arraylist.rb +++ b/lib/arraylist.rb @@ -7,7 +7,8 @@ module ClassMethods def list_field(field) define_method "#{field}_list" do - self.public_send(field).join(', ') + val = self.public_send(fiel...
Check for nil value before calling join.
diff --git a/lib/generators/translation_center/add_lang/add_lang_generator.rb b/lib/generators/translation_center/add_lang/add_lang_generator.rb index abc1234..def5678 100644 --- a/lib/generators/translation_center/add_lang/add_lang_generator.rb +++ b/lib/generators/translation_center/add_lang/add_lang_generator.rb @@ ...
Handle passing an uppercase language to add language generator
diff --git a/lib/cw/config.rb b/lib/cw/config.rb index abc1234..def5678 100644 --- a/lib/cw/config.rb +++ b/lib/cw/config.rb @@ -25,8 +25,8 @@ end end end - @config.params["wpm"] = 60 if(ENV["CW_ENV"] == "test") - @config.params["effective_wpm"] = 60 if(ENV["CW_ENV"] == "test") + ...
Reduce speed to 50 wpm for CI testing
diff --git a/make-sponsors.rb b/make-sponsors.rb index abc1234..def5678 100644 --- a/make-sponsors.rb +++ b/make-sponsors.rb @@ -0,0 +1,19 @@+require "yaml" +print "Enter the event in YYYY-city format: " +cityname = gets.chomp +config = YAML.load_file("data/events/#{cityname}.yml") +sponsors = config['sponsors'] +spons...
Create script for generating sponsor files This ruby script basically reads in a city config file and creates the sponsor file associated with it. It will NOT create the images, naturally, but this will make it somewhat easier. Former-commit-id: a31dbc664cf7c91c43bce9a16cbe27a60da4cdbc
diff --git a/lib/benzin/generators/plugin_generator.rb b/lib/benzin/generators/plugin_generator.rb index abc1234..def5678 100644 --- a/lib/benzin/generators/plugin_generator.rb +++ b/lib/benzin/generators/plugin_generator.rb @@ -4,14 +4,16 @@ module Benzin class PluginGenerator < Rails::Generators::PluginNewGenera...
Add default class options to create dummy app and and mountable engine
diff --git a/lib/daimon_skycrawlers/commands/runner.rb b/lib/daimon_skycrawlers/commands/runner.rb index abc1234..def5678 100644 --- a/lib/daimon_skycrawlers/commands/runner.rb +++ b/lib/daimon_skycrawlers/commands/runner.rb @@ -14,6 +14,7 @@ require(File.expand_path(path, Dir.pwd)) log.info("Loade...
Load app/{crawler,processor}.rb when run crawler/processor
diff --git a/section03/lesson04/out_on_the_weekend.rb b/section03/lesson04/out_on_the_weekend.rb index abc1234..def5678 100644 --- a/section03/lesson04/out_on_the_weekend.rb +++ b/section03/lesson04/out_on_the_weekend.rb @@ -0,0 +1,32 @@+# Section 3 - Lesson 4 - All the 'B's: Bb, Bbm, B, Bm +# Rhythm - Half Beat Bounce...
Add Out on the Weekend
diff --git a/lib/heroku/deploy/tasks/steal_manifest.rb b/lib/heroku/deploy/tasks/steal_manifest.rb index abc1234..def5678 100644 --- a/lib/heroku/deploy/tasks/steal_manifest.rb +++ b/lib/heroku/deploy/tasks/steal_manifest.rb @@ -1,11 +1,15 @@ module Heroku::Deploy::Task class StealManifest < Base + include Heroku...
Make sure to include the shell when stealing the manifest.
diff --git a/spec/controllers/home_controller_spec.rb b/spec/controllers/home_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/home_controller_spec.rb +++ b/spec/controllers/home_controller_spec.rb @@ -7,11 +7,6 @@ def make_request get :index end - - it 'should render the h...
Remove home page for now
diff --git a/spec/unit/imap/backup/cli/mirror_spec.rb b/spec/unit/imap/backup/cli/mirror_spec.rb index abc1234..def5678 100644 --- a/spec/unit/imap/backup/cli/mirror_spec.rb +++ b/spec/unit/imap/backup/cli/mirror_spec.rb @@ -19,6 +19,7 @@ let(:pathname) { Pathname.new("path/folder.imap") } before do + a...
Fix dependency on existing configuration
diff --git a/lib/scss_lint/linter/declaration_order.rb b/lib/scss_lint/linter/declaration_order.rb index abc1234..def5678 100644 --- a/lib/scss_lint/linter/declaration_order.rb +++ b/lib/scss_lint/linter/declaration_order.rb @@ -18,18 +18,17 @@ end if children != sorted_children - add_lint(node.ch...
Remove description method from DeclarationOrder The `description` method is being deprecated. Change-Id: I27efec67970d21e98a1fe3e8db95d6ff4c23090a Reviewed-on: http://gerrit.causes.com/36726 Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@causes.com> Reviewed-by: Shane da Silva <6f6e68d1df92f30cb4b3ce352...
diff --git a/lib/code/generator/code_generator.rb b/lib/code/generator/code_generator.rb index abc1234..def5678 100644 --- a/lib/code/generator/code_generator.rb +++ b/lib/code/generator/code_generator.rb @@ -27,7 +27,7 @@ end file_path = File.join @output_dir, sub_dir, "#{entity_name}.#{@languag...
Add method to write source file.
diff --git a/app/controllers/additional_payment_payment_controller.rb b/app/controllers/additional_payment_payment_controller.rb index abc1234..def5678 100644 --- a/app/controllers/additional_payment_payment_controller.rb +++ b/app/controllers/additional_payment_payment_controller.rb @@ -31,7 +31,7 @@ @payment.save...
Use `@payment` instead of `payment`
diff --git a/app/helpers/application_helper/button/cockpit_console.rb b/app/helpers/application_helper/button/cockpit_console.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper/button/cockpit_console.rb +++ b/app/helpers/application_helper/button/cockpit_console.rb @@ -4,7 +4,7 @@ def disabled? ...
Fix logic error when displaying Cockpit button https://bugzilla.redhat.com/show_bug.cgi?id=1447100
diff --git a/ops_care.gemspec b/ops_care.gemspec index abc1234..def5678 100644 --- a/ops_care.gemspec +++ b/ops_care.gemspec @@ -23,10 +23,10 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "skylight", "~> 0" - spec.add_dependen...
Remove version constraints for dependencies
diff --git a/lib/mail_catcher/delivery_service.rb b/lib/mail_catcher/delivery_service.rb index abc1234..def5678 100644 --- a/lib/mail_catcher/delivery_service.rb +++ b/lib/mail_catcher/delivery_service.rb @@ -21,8 +21,7 @@ def deliver!(recipient = config.recipient) smtp = Net::SMTP.new config.address, config.p...
Use localhost to do SMTP forward delivery in mailcatcher
diff --git a/lib/pg_search/migration/generator.rb b/lib/pg_search/migration/generator.rb index abc1234..def5678 100644 --- a/lib/pg_search/migration/generator.rb +++ b/lib/pg_search/migration/generator.rb @@ -3,7 +3,7 @@ module PgSearch module Migration class Generator < Rails::Generators::Base - hide! + ...
Fix Generator's compatibility with Rails 3.x (Fixes #185)
diff --git a/lib/x-editable-rails/view_helpers.rb b/lib/x-editable-rails/view_helpers.rb index abc1234..def5678 100644 --- a/lib/x-editable-rails/view_helpers.rb +++ b/lib/x-editable-rails/view_helpers.rb @@ -3,23 +3,22 @@ module Rails module ViewHelpers def editable(object, method, options = {}) ...
Format value as output value such as booleans converted to 1 and 0
diff --git a/db/migrate/20150423144533_add_block_to_environment_and_profile.rb b/db/migrate/20150423144533_add_block_to_environment_and_profile.rb index abc1234..def5678 100644 --- a/db/migrate/20150423144533_add_block_to_environment_and_profile.rb +++ b/db/migrate/20150423144533_add_block_to_environment_and_profile.rb...
Migrate for add the fourth box. Migrate for add the fourth box to existing enviroments and profiles. Signed-off-by: Thiago Ribeiro <25630c3dd4509f5915a846461794b51273be2039@hotmail.com>
diff --git a/react-native-amplitude-analytics.podspec b/react-native-amplitude-analytics.podspec index abc1234..def5678 100644 --- a/react-native-amplitude-analytics.podspec +++ b/react-native-amplitude-analytics.podspec @@ -16,5 +16,5 @@ s.dependency "React" - s.dependency "Amplitude-iOS", "~> 3.14.1" + s.de...
[FIX] Upgrade Amplitude version to 4.0.4 in podspec
diff --git a/lib/garage/test/authentication_helper.rb b/lib/garage/test/authentication_helper.rb index abc1234..def5678 100644 --- a/lib/garage/test/authentication_helper.rb +++ b/lib/garage/test/authentication_helper.rb @@ -6,7 +6,7 @@ module AuthenticationHelper def stub_access_token_request(attributes = {...
Fix test helper: app id must be an integer
diff --git a/qmetrics.gemspec b/qmetrics.gemspec index abc1234..def5678 100644 --- a/qmetrics.gemspec +++ b/qmetrics.gemspec @@ -20,6 +20,6 @@ spec.add_development_dependency "bundler", "~> 1.7" spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "~> 3.2.0" - spec.add_r...
Fix warning for overly strict dependencies Modify gemspec to loosen restrictions on rspec and httparty versions.
diff --git a/spec/models/workshop_project_click_spec.rb b/spec/models/workshop_project_click_spec.rb index abc1234..def5678 100644 --- a/spec/models/workshop_project_click_spec.rb +++ b/spec/models/workshop_project_click_spec.rb @@ -9,7 +9,7 @@ # override in subtests let(:headers) { {} } - before { get "v...
Fix typo in test URL
diff --git a/lib/docman/commands/execute_script_cmd.rb b/lib/docman/commands/execute_script_cmd.rb index abc1234..def5678 100644 --- a/lib/docman/commands/execute_script_cmd.rb +++ b/lib/docman/commands/execute_script_cmd.rb @@ -20,7 +20,11 @@ Dir.chdir self['execution_dir'] logger.info "Script execution: ...
Fix for ^M for executable files
diff --git a/lib/magellan/gcs/proxy/expand_variable.rb b/lib/magellan/gcs/proxy/expand_variable.rb index abc1234..def5678 100644 --- a/lib/magellan/gcs/proxy/expand_variable.rb +++ b/lib/magellan/gcs/proxy/expand_variable.rb @@ -52,6 +52,7 @@ case value when String then quote_string ? value.t...
:bug: Expand Array object to string joined with space
diff --git a/spec/factories/mdui_geolocation_hints.rb b/spec/factories/mdui_geolocation_hints.rb index abc1234..def5678 100644 --- a/spec/factories/mdui_geolocation_hints.rb +++ b/spec/factories/mdui_geolocation_hints.rb @@ -1,6 +1,12 @@ FactoryGirl.define do factory :mdui_geolocation_hint, class: 'MDUI::Geolocation...
Add trait to create GeolocationHint with attitude Err, I mean altitude.
diff --git a/search-engine/lib/format/format_pauper.rb b/search-engine/lib/format/format_pauper.rb index abc1234..def5678 100644 --- a/search-engine/lib/format/format_pauper.rb +++ b/search-engine/lib/format/format_pauper.rb @@ -7,6 +7,7 @@ card.printings.each do |printing| next if @time and printing.release...
Fix Pauper including custom cards for some reason
diff --git a/serverspec/spec/all/all_configure_spec.rb b/serverspec/spec/all/all_configure_spec.rb index abc1234..def5678 100644 --- a/serverspec/spec/all/all_configure_spec.rb +++ b/serverspec/spec/all/all_configure_spec.rb @@ -10,8 +10,8 @@ describe 'connect jmx_server' do servers = property[:servers] - servers...
Modify logic of spec test files.
diff --git a/spec/controllers/label_controller_spec.rb b/spec/controllers/label_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/label_controller_spec.rb +++ b/spec/controllers/label_controller_spec.rb @@ -1,19 +1,28 @@ require 'rails_helper' RSpec.describe LabelController, type: :controller d...
Fix specs for label controller
diff --git a/spec/shared/api_interface_behaviour.rb b/spec/shared/api_interface_behaviour.rb index abc1234..def5678 100644 --- a/spec/shared/api_interface_behaviour.rb +++ b/spec/shared/api_interface_behaviour.rb @@ -0,0 +1,15 @@+# encoding: utf-8 + +shared_examples_for 'api interface' do + + it { should respond_to :e...
Add shared examples for api interface.
diff --git a/lib/hamlbars/compiler_extension.rb b/lib/hamlbars/compiler_extension.rb index abc1234..def5678 100644 --- a/lib/hamlbars/compiler_extension.rb +++ b/lib/hamlbars/compiler_extension.rb @@ -9,17 +9,32 @@ # Overload build_attributes in Haml::Compiler to allow # for the creation of handlebars boun...
Add the event helper to tag attributes.
diff --git a/lib/motel/property/multi_tenant.rb b/lib/motel/property/multi_tenant.rb index abc1234..def5678 100644 --- a/lib/motel/property/multi_tenant.rb +++ b/lib/motel/property/multi_tenant.rb @@ -29,7 +29,7 @@ end def connection_pool - connection_handler.retrieve_connection_pool(motel.d...
Remove raise error in connection_pool method for Base class.
diff --git a/driveregator.gemspec b/driveregator.gemspec index abc1234..def5678 100644 --- a/driveregator.gemspec +++ b/driveregator.gemspec @@ -4,21 +4,22 @@ require 'driveregator/version' Gem::Specification.new do |spec| - spec.name = "driveregator" + spec.name = 'driveregator' spec.version ...
Add HighLine gem to the dependencies.
diff --git a/test/integration/generated_warnlib_test.rb b/test/integration/generated_warnlib_test.rb index abc1234..def5678 100644 --- a/test/integration/generated_warnlib_test.rb +++ b/test/integration/generated_warnlib_test.rb @@ -0,0 +1,20 @@+require 'gir_ffi_test_helper' + +GirFFI.setup :WarnLib + +describe WarnLib...
Add skipped tests for WarnLib
diff --git a/ruby-eval-in.gemspec b/ruby-eval-in.gemspec index abc1234..def5678 100644 --- a/ruby-eval-in.gemspec +++ b/ruby-eval-in.gemspec @@ -1,13 +1,13 @@ Gem::Specification.new do |s| s.name = 'ruby-eval-in' - s.version = '0.0.3' + s.version = '0.0.4' s.required_ruby_version = '>= 2.0.0' s.summary = 'ruby-ev...
gemspec: Fix incorrect dependency version spec, bump to 0.0.4.
diff --git a/actioncable/lib/action_cable/zeitwerk.rb b/actioncable/lib/action_cable/zeitwerk.rb index abc1234..def5678 100644 --- a/actioncable/lib/action_cable/zeitwerk.rb +++ b/actioncable/lib/action_cable/zeitwerk.rb @@ -1,3 +1,5 @@+# frozen_string_literal: true + require "zeitwerk" lib = File.expand_path("..",...
Add missing magic comment (linting)