diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
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
@@ -16,8 +16,9 @@ end
def arxiv
- @arxiv = "arXiv: " + params[:identifiers].downcase
... | Fix for arXiv identifiers lookup
|
diff --git a/app/controllers/invitations_controller.rb b/app/controllers/invitations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/invitations_controller.rb
+++ b/app/controllers/invitations_controller.rb
@@ -21,6 +21,7 @@ if @member.save
@member.clear_invitation_code!
self.current... | Update last_logged_in_at when somebody is invited and picks a password.
|
diff --git a/versioned-rails-guides.rb b/versioned-rails-guides.rb
index abc1234..def5678 100644
--- a/versioned-rails-guides.rb
+++ b/versioned-rails-guides.rb
@@ -0,0 +1,21 @@+#!/usr/bin/env ruby
+
+# For each tag of a released version after 2.3.x
+# and 'edge' too? edge needs a commit hash
+all_tags = `git tag`.spli... | Tag filtering and pseudocode of rails guide version generating
|
diff --git a/app/controllers/validations_controller.rb b/app/controllers/validations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/validations_controller.rb
+++ b/app/controllers/validations_controller.rb
@@ -7,10 +7,10 @@ @article.add_validation(@article.id, current_user)
if @article.sav... | Patch getting error when updating form:
|
diff --git a/app/helpers/pageflow/embed_code_helper.rb b/app/helpers/pageflow/embed_code_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/pageflow/embed_code_helper.rb
+++ b/app/helpers/pageflow/embed_code_helper.rb
@@ -11,7 +11,7 @@ end
def call
- %'<iframe src="#{url(entry)}" scrolling=... | Remove scrolling attribute from embed iframe snippet
`scrolling` attribute is deprecated. Paged entries do not need it
since they hide scroll bars via `overflow: hidden`. For Scrolled
entries it needs to be removed to enable native scrolling.
REDMINE-19063
|
diff --git a/cookbooks/omnitruck/metadata.rb b/cookbooks/omnitruck/metadata.rb
index abc1234..def5678 100644
--- a/cookbooks/omnitruck/metadata.rb
+++ b/cookbooks/omnitruck/metadata.rb
@@ -4,7 +4,7 @@ license 'Apache2'
description 'Installs/Configures omnitruck'
long_description 'Installs/Configures omnitruck'
-versi... | Increment version to trigger another change
We failed in union during functional, and can't "rerun" the pipeline
in Automate. Let's try this again.
Signed-off-by: Joshua Timberman <d6955d9721560531274cb8f50ff595a9bd39d66f@chef.io>
|
diff --git a/activesupport/lib/active_support/option_merger.rb b/activesupport/lib/active_support/option_merger.rb
index abc1234..def5678 100644
--- a/activesupport/lib/active_support/option_merger.rb
+++ b/activesupport/lib/active_support/option_merger.rb
@@ -5,7 +5,7 @@ module ActiveSupport
class OptionMerger #:no... | Fix undefined method `start_with?' for :to_json
|
diff --git a/app/controllers/admin/base_controller.rb b/app/controllers/admin/base_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/base_controller.rb
+++ b/app/controllers/admin/base_controller.rb
@@ -12,6 +12,7 @@
def set_pack
use_pack 'admin'
+ use_pack 'public'
end
e... | Add “public” pack to admin controller, as it is included in upstream admin layout
Fixes CW unfolding in moderation
|
diff --git a/app/controllers/checklists_controller.rb b/app/controllers/checklists_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/checklists_controller.rb
+++ b/app/controllers/checklists_controller.rb
@@ -15,11 +15,15 @@ def find_items
result = Array.new
@obj.pre_checklist_referenc... | Fix weird scenario where checklist reference is nil
|
diff --git a/spec/unit/tmuxinator/bosh/template_spec.rb b/spec/unit/tmuxinator/bosh/template_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/tmuxinator/bosh/template_spec.rb
+++ b/spec/unit/tmuxinator/bosh/template_spec.rb
@@ -1,6 +1,7 @@ # frozen_string_literal: true
require 'spec_helper'
require 'tmuxinator/b... | Add tests for default template
|
diff --git a/app/controllers/api/v2/anime_controller.rb b/app/controllers/api/v2/anime_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v2/anime_controller.rb
+++ b/app/controllers/api/v2/anime_controller.rb
@@ -4,7 +4,8 @@
def show
if params[:id].start_with? "myanimelist:"
- an... | Fix 500 when MAL lookup fails.
|
diff --git a/app/serializers/gobierto_plans/node_serializer.rb b/app/serializers/gobierto_plans/node_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/gobierto_plans/node_serializer.rb
+++ b/app/serializers/gobierto_plans/node_serializer.rb
@@ -6,7 +6,7 @@
cache key: "node"
- attributes :id, ... | Return translated name in projects
|
diff --git a/app/controllers/installation_controller.rb b/app/controllers/installation_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/installation_controller.rb
+++ b/app/controllers/installation_controller.rb
@@ -12,7 +12,7 @@
def consul_installation_details
{
- release: "v0.19"
+ re... | Update release version number to 1.0.0-beta
|
diff --git a/Formula/bash-completion.rb b/Formula/bash-completion.rb
index abc1234..def5678 100644
--- a/Formula/bash-completion.rb
+++ b/Formula/bash-completion.rb
@@ -9,7 +9,7 @@ def install
inreplace "bash_completion" do |s|
s.gsub! '/etc/bash_completion', "#{etc}/bash_completion"
- s.gsub! "bash_... | Remove extraneous argument in line 12
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
|
diff --git a/app/controllers/admin/papers_controller.rb b/app/controllers/admin/papers_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/papers_controller.rb
+++ b/app/controllers/admin/papers_controller.rb
@@ -3,7 +3,7 @@ before_action :set_activity
before_action :set_paper, only: [:show, :u... | Use sort_sql to merge order and column
|
diff --git a/app/helpers/spree/base_helper_decorator.rb b/app/helpers/spree/base_helper_decorator.rb
index abc1234..def5678 100644
--- a/app/helpers/spree/base_helper_decorator.rb
+++ b/app/helpers/spree/base_helper_decorator.rb
@@ -2,7 +2,7 @@ module BaseHelper
def taxons_tree(root_taxon, current_taxon, max_l... | Add css class to taxon links.
|
diff --git a/app/workers/background_migration_worker.rb b/app/workers/background_migration_worker.rb
index abc1234..def5678 100644
--- a/app/workers/background_migration_worker.rb
+++ b/app/workers/background_migration_worker.rb
@@ -20,7 +20,7 @@ now = Time.now.to_i
schedule = now + delay.to_i
- raise Arg... | Add description to exception in bg migrations worker
|
diff --git a/app/services/boards/issues/move_service.rb b/app/services/boards/issues/move_service.rb
index abc1234..def5678 100644
--- a/app/services/boards/issues/move_service.rb
+++ b/app/services/boards/issues/move_service.rb
@@ -6,36 +6,24 @@ return false unless valid_move?
update_service.execute... | Use `Issues::UpdateService` to close/reopen an issue
|
diff --git a/app/updaters/cocoa_pod_category_updater.rb b/app/updaters/cocoa_pod_category_updater.rb
index abc1234..def5678 100644
--- a/app/updaters/cocoa_pod_category_updater.rb
+++ b/app/updaters/cocoa_pod_category_updater.rb
@@ -9,12 +9,24 @@ category_name = categories_import[cocoa_pod.name]
if category_na... | Improve logging of cocoa pod category updater.
|
diff --git a/spec/models/metrics/accessibility_spec.rb b/spec/models/metrics/accessibility_spec.rb
index abc1234..def5678 100644
--- a/spec/models/metrics/accessibility_spec.rb
+++ b/spec/models/metrics/accessibility_spec.rb
@@ -3,12 +3,20 @@ describe Metrics::Accessibility do
it "should split a given text into it... | Add more tests for the word splitter
Obiously one test is ridicilous too few, so I just added two more.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
|
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
@@ -1,6 +1,17 @@ require 'spec_helper'
describe HomeController do
+ context 'issues' do
+ it... | Add spec to make sure only published issues are shown on the front page.
|
diff --git a/api/config/initializers/doorkeeper.rb b/api/config/initializers/doorkeeper.rb
index abc1234..def5678 100644
--- a/api/config/initializers/doorkeeper.rb
+++ b/api/config/initializers/doorkeeper.rb
@@ -14,8 +14,6 @@ current_spree_user&.has_spree_role?('admin') || redirect_to(routes.root_url)
end
- ... | Remove duplicate `use_refresh_token` in Doorkeeper initializer
|
diff --git a/app/config/capistrano/tasks/configure.rake b/app/config/capistrano/tasks/configure.rake
index abc1234..def5678 100644
--- a/app/config/capistrano/tasks/configure.rake
+++ b/app/config/capistrano/tasks/configure.rake
@@ -6,7 +6,7 @@ DESC
task :cachetool do
# Set the correct bin
- SSHKit... | Prepend the PHP binary to our cachetool command
|
diff --git a/app/controllers/job_messages_controller.rb b/app/controllers/job_messages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/job_messages_controller.rb
+++ b/app/controllers/job_messages_controller.rb
@@ -14,7 +14,7 @@ flash_now(:success, "#{status[:progress]} out of #{status[:total]}"... | Remove job_id when the job failed
|
diff --git a/app/reports/state_of_good_repair_report.rb b/app/reports/state_of_good_repair_report.rb
index abc1234..def5678 100644
--- a/app/reports/state_of_good_repair_report.rb
+++ b/app/reports/state_of_good_repair_report.rb
@@ -17,13 +17,13 @@
# Override standard method (via service), get all undisposed assets... | Remove use of deprecated scope
|
diff --git a/app/services/pxe_iso_visibility_service.rb b/app/services/pxe_iso_visibility_service.rb
index abc1234..def5678 100644
--- a/app/services/pxe_iso_visibility_service.rb
+++ b/app/services/pxe_iso_visibility_service.rb
@@ -4,9 +4,9 @@ field_names_to_hide = []
if supports_pxe
- field_names_to_e... | Fix rubocop warnings in PxeIsoVisibilityService
|
diff --git a/lib/dynflow/actors/execution_plan_cleaner.rb b/lib/dynflow/actors/execution_plan_cleaner.rb
index abc1234..def5678 100644
--- a/lib/dynflow/actors/execution_plan_cleaner.rb
+++ b/lib/dynflow/actors/execution_plan_cleaner.rb
@@ -40,7 +40,12 @@
def clean!
plans = @world.persistence.find_... | Make execution plan cleaner log
|
diff --git a/lib/kafka/round_robin_assignment_strategy.rb b/lib/kafka/round_robin_assignment_strategy.rb
index abc1234..def5678 100644
--- a/lib/kafka/round_robin_assignment_strategy.rb
+++ b/lib/kafka/round_robin_assignment_strategy.rb
@@ -23,7 +23,11 @@ end
topics.each do |topic|
- partitions = ... | Improve error message for UnknownTopicOrPartition
It's not really useful unless you know which topic is missing.
|
diff --git a/app/lib/mi_bridges/driver/absent_parent_information_page.rb b/app/lib/mi_bridges/driver/absent_parent_information_page.rb
index abc1234..def5678 100644
--- a/app/lib/mi_bridges/driver/absent_parent_information_page.rb
+++ b/app/lib/mi_bridges/driver/absent_parent_information_page.rb
@@ -1,8 +1,22 @@ module... | Check "no one" for common absent parent question
* If both parents are not in the household, MIBridges asks which
children have a common absent parent
* We are selecting "No one" in all cases. This info can be corrected
during an interview.
* Also had to override `skip_infinite_loop_check` since this page shows
up TWI... |
diff --git a/lib/crawler/module_base.rb b/lib/crawler/module_base.rb
index abc1234..def5678 100644
--- a/lib/crawler/module_base.rb
+++ b/lib/crawler/module_base.rb
@@ -15,7 +15,6 @@
def init_agent
@agent = Mechanize.new
- # @agent.set_proxy('w3c.widzew.net', 8080)
# disabling keep alive will... | Remove commented out code with proxy details
|
diff --git a/app/controllers/application.rb b/app/controllers/application.rb
index abc1234..def5678 100644
--- a/app/controllers/application.rb
+++ b/app/controllers/application.rb
@@ -10,6 +10,7 @@
before_filter :can_create?, :only => [:new, :create]
before_filter :can_edit?, :only => [:edit, :update, :destroy]... | Load current_network in an ApplicationController before_filter
|
diff --git a/app/controllers/api/maps_controller.rb b/app/controllers/api/maps_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/maps_controller.rb
+++ b/app/controllers/api/maps_controller.rb
@@ -2,6 +2,8 @@
module Api
class MapsController < Api::ApplicationController
+ skip_before_action :... | Make maps listing public in API
|
diff --git a/app/controllers/products_controller.rb b/app/controllers/products_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/products_controller.rb
+++ b/app/controllers/products_controller.rb
@@ -1,6 +1,6 @@ class ProductsController < ApplicationController
before_filter :find_product, :only => [... | Allow managers to show, edit and update products; restrict products to current website or show 404 page if not found
|
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
@@ -2,19 +2,13 @@ before_action :check_accounts_enabled
def create
- if logged_in?
- redirec... | Implement finder-frontend side of single-sign-out
We want signing out of finder-frontend to sign out of the account
manager, and vice versa, for this initial experiment. This is a bit
unusual for a federated accounts system like this, but for now we are
presenting the GOV.UK account as more of a Transition Checker ac... |
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
@@ -3,7 +3,7 @@ end
def create
- if user = UserAuthenticator.authenticate(params[:session])
+ ... | Put variable assignment in brackets
|
diff --git a/app/controllers/concerns/errorable.rb b/app/controllers/concerns/errorable.rb
index abc1234..def5678 100644
--- a/app/controllers/concerns/errorable.rb
+++ b/app/controllers/concerns/errorable.rb
@@ -2,11 +2,25 @@ extend ActiveSupport::Concern
included do
- rescue_from Errors::FormatError, Action... | Move error handling from methods to blocks
|
diff --git a/app/controllers/reviews_controller.rb b/app/controllers/reviews_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/reviews_controller.rb
+++ b/app/controllers/reviews_controller.rb
@@ -1,4 +1,5 @@ class ReviewsController < ApplicationController
+ before_action :authenticate_user!, only: [:c... | Fix if ng show conditional
|
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
@@ -2,4 +2,5 @@ # Prevent CSRF attacks by raising an exception.
# For APIs, you may want t... | Include cancan controllers in application controller |
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
@@ -2,4 +2,8 @@ # Prevent CSRF attacks by raising an exception.
# For APIs, you may want t... | Add sign in redirect to dashboard.
|
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
@@ -27,6 +27,6 @@ caller[0] =~ /`([^']*)'/ and where = $1
logger.error "[#{where}] #{e... | Remove exception notification tool again for debugging
|
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
@@ -16,6 +16,8 @@ end
def authenticate_admin_user!
- redirect_to :back, notice: "Not ... | Fix bug in admin user auth.
|
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
@@ -1,7 +1,6 @@-require 'gds_api/helpers'
+require 'gds_api/content_api'
class ApplicationCo... | Set Content API web URLs relative to the website root
Define a custom instance of the Content API adapter, configured to use
the value returned from 'Plek.current.website_root' as the hostname
for the tag URLs. This fixes tag URLs in development pointing to the
'www' host.
|
diff --git a/resources/rsync_mirror.rb b/resources/rsync_mirror.rb
index abc1234..def5678 100644
--- a/resources/rsync_mirror.rb
+++ b/resources/rsync_mirror.rb
@@ -0,0 +1,43 @@+property :name, [String, Symbol], required: true, name_property: true
+property :local_path, String, required: false
+property :repo_name, Str... | Add new resource type and clean up code in mirror resource
|
diff --git a/app/metal/recently_viewed_products.rb b/app/metal/recently_viewed_products.rb
index abc1234..def5678 100644
--- a/app/metal/recently_viewed_products.rb
+++ b/app/metal/recently_viewed_products.rb
@@ -1,5 +1,5 @@ # Allow the metal piece to run in isolation
-require(File.dirname(__FILE__) + "/../../config/en... | Allow RecentlyViewedProducts Metal to run from extension app/metal subdir, without copying to SPREE_ROOT app/metal subdir.
|
diff --git a/app/models/spree/product_decorator.rb b/app/models/spree/product_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/product_decorator.rb
+++ b/app/models/spree/product_decorator.rb
@@ -1,7 +1,7 @@ Spree::Product.class_eval do
def option_values
- @_option_values ||= Spree::OptionValue... | Revert "Order options by variant position"
Revert since OptionValue#for_product scope is fixed. Will use a
ruby sort instead to sort values by variant position
This reverts commit 7a05f0a7a10f62944885da1ba1710d7f4d43c588.
Conflicts:
app/models/spree/product_decorator.rb
|
diff --git a/lib/mutant/node_helpers.rb b/lib/mutant/node_helpers.rb
index abc1234..def5678 100644
--- a/lib/mutant/node_helpers.rb
+++ b/lib/mutant/node_helpers.rb
@@ -23,9 +23,9 @@
RAISE = s(:send, nil, :raise)
- N_NIL = s(:nil)
N_TRUE = s(:true)
N_FALSE ... | Move true and false nodes above nil
|
diff --git a/app/helpers/pano/application_helper.rb b/app/helpers/pano/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/pano/application_helper.rb
+++ b/app/helpers/pano/application_helper.rb
@@ -1,6 +1,17 @@ module Pano
module ApplicationHelper
+ def absolute_root_url
+ root_url(host:... | Put back demo account helpers
|
diff --git a/app/controllers/spree/admin/return_authorizations_controller.rb b/app/controllers/spree/admin/return_authorizations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/spree/admin/return_authorizations_controller.rb
+++ b/app/controllers/spree/admin/return_authorizations_controller.rb
@@ -0,0... | Bring return authorizations controller from spree_backend
|
diff --git a/importu.gemspec b/importu.gemspec
index abc1234..def5678 100644
--- a/importu.gemspec
+++ b/importu.gemspec
@@ -8,8 +8,11 @@ s.authors = ["Daniel Hedlund"]
s.email = ["daniel@digitree.org"]
s.homepage = "https://github.com/dhedlund/importu"
- s.summary = "A framework for importing... | Update gemspec with better descriptions of the gem
|
diff --git a/app/models/renalware/clinics/clinic.rb b/app/models/renalware/clinics/clinic.rb
index abc1234..def5678 100644
--- a/app/models/renalware/clinics/clinic.rb
+++ b/app/models/renalware/clinics/clinic.rb
@@ -8,8 +8,12 @@ include Accountable
acts_as_paranoid
- has_many :clinic_visits, depend... | Remove :dependent option from has_many on Clinic
Removed `dependent: :restrict_with_exception` as this is incompatible with acts_as_paranoid
and causes a ActiveRecord::DeleteRestrictionError error to be raised.
|
diff --git a/cookbooks/geoipupdate/attributes/default.rb b/cookbooks/geoipupdate/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/geoipupdate/attributes/default.rb
+++ b/cookbooks/geoipupdate/attributes/default.rb
@@ -1,9 +1,5 @@ default[:geoipupdate][:account] = "149244"
default[:geoipupdate][:edit... | Correct path to geoip directory on 22.04
|
diff --git a/puppet-lint-absolute_template_path.gemspec b/puppet-lint-absolute_template_path.gemspec
index abc1234..def5678 100644
--- a/puppet-lint-absolute_template_path.gemspec
+++ b/puppet-lint-absolute_template_path.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |spec|
spec.name = 'puppet-lint-absolut... | Allow puppet-lint 2.0 as a dependency and bump check version
|
diff --git a/app/helpers/galleries_helper.rb b/app/helpers/galleries_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/galleries_helper.rb
+++ b/app/helpers/galleries_helper.rb
@@ -1,5 +1,5 @@ module GalleriesHelper
def writable?
- !(@gallery.read_only && !@boss_token)
+ @gallery && !(@gallery.read_onl... | Enable use of "writable?" helper without gallery set.
|
diff --git a/app/services/order_checkout_restart.rb b/app/services/order_checkout_restart.rb
index abc1234..def5678 100644
--- a/app/services/order_checkout_restart.rb
+++ b/app/services/order_checkout_restart.rb
@@ -13,7 +13,7 @@ clear_shipments
clear_payments
- order.reload
+ order.reload.update!
... | Update order totals after deleting shipments and payments
|
diff --git a/Casks/intellij-idea-eap.rb b/Casks/intellij-idea-eap.rb
index abc1234..def5678 100644
--- a/Casks/intellij-idea-eap.rb
+++ b/Casks/intellij-idea-eap.rb
@@ -1,19 +1,19 @@ cask :v1 => 'intellij-idea-eap' do
- version '141.1531.2'
- sha256 '66fe6dcc84508cac655cac251975e69075ed1b0a80e9bf2baaa02b2a0b33c98d'
+... | Update IntelliJ EAP to 15; version 142.2491.4.
|
diff --git a/spec/lib/champaign_queue/clients/sqs_spec.rb b/spec/lib/champaign_queue/clients/sqs_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/champaign_queue/clients/sqs_spec.rb
+++ b/spec/lib/champaign_queue/clients/sqs_spec.rb
@@ -2,10 +2,10 @@
describe ChampaignQueue::Clients::Sqs do
context "with SQS_Q... | Fix broken spec - push to test CircleCI autodeploy
|
diff --git a/db/migrate/20170403073501_add_variant_to_journal_entry_items.rb b/db/migrate/20170403073501_add_variant_to_journal_entry_items.rb
index abc1234..def5678 100644
--- a/db/migrate/20170403073501_add_variant_to_journal_entry_items.rb
+++ b/db/migrate/20170403073501_add_variant_to_journal_entry_items.rb
@@ -1,5... | Add historic resumption for jei variant
|
diff --git a/spec/lib/nabokov/helpers/cork_helper_spec.rb b/spec/lib/nabokov/helpers/cork_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/nabokov/helpers/cork_helper_spec.rb
+++ b/spec/lib/nabokov/helpers/cork_helper_spec.rb
@@ -0,0 +1,33 @@+require 'nabokov/helpers/cork_helper'
+
+describe Nabokov::CorkHel... | Add simple tests for CorkHelper;
|
diff --git a/lib/scanny/checks/check.rb b/lib/scanny/checks/check.rb
index abc1234..def5678 100644
--- a/lib/scanny/checks/check.rb
+++ b/lib/scanny/checks/check.rb
@@ -20,6 +20,10 @@ def issue(impact, message, options = {})
@issues << Issue.new(@file, @line, impact, message, options[:cwe])
end
+
... | Check should not be strict by default
|
diff --git a/app/models/enhancements/user.rb b/app/models/enhancements/user.rb
index abc1234..def5678 100644
--- a/app/models/enhancements/user.rb
+++ b/app/models/enhancements/user.rb
@@ -6,13 +6,17 @@
def record_action(edition, type, options = {})
action = record_action_without_noise(edition, type, options)
... | Remove duplication of NoisyWorkflow invocations
We want these two methods to be as similar as possible, so sharing
more code without duplication is a good thing.
|
diff --git a/config/initializers/new_rails_defaults.rb b/config/initializers/new_rails_defaults.rb
index abc1234..def5678 100644
--- a/config/initializers/new_rails_defaults.rb
+++ b/config/initializers/new_rails_defaults.rb
@@ -2,10 +2,10 @@ # for Rails 3. You can remove this initializer when Rails 3 is released.
#... | Comment out new AR defaults for Rails 3
Signed-off-by: Alex Coles <60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcolesportfolio.com>
|
diff --git a/actiontext/lib/action_text/engine.rb b/actiontext/lib/action_text/engine.rb
index abc1234..def5678 100644
--- a/actiontext/lib/action_text/engine.rb
+++ b/actiontext/lib/action_text/engine.rb
@@ -34,13 +34,16 @@ end
end
- initializer "action_text.renderer" do
+ initializer "action_text.r... | Reset ActionText::Content.renderer before and after each request
|
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -27,9 +27,7 @@ @group = Group.new(group_params)
respond_to do |format|
if @group.save
- u... | Change new to create for user_group in create method
|
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,7 +1,7 @@ class SearchController < ApplicationController
def search
# TODO: get "undefined method `sp... | Allow partial matches in global search.
|
diff --git a/core/app/interactors/commands/users/anonymize_user_model.rb b/core/app/interactors/commands/users/anonymize_user_model.rb
index abc1234..def5678 100644
--- a/core/app/interactors/commands/users/anonymize_user_model.rb
+++ b/core/app/interactors/commands/users/anonymize_user_model.rb
@@ -12,8 +12,8 @@ ... | Call deleted users "Deleted user"
|
diff --git a/examples/eventmachine_adapter/error_handling/handling_a_channel_level_exception.rb b/examples/eventmachine_adapter/error_handling/handling_a_channel_level_exception.rb
index abc1234..def5678 100644
--- a/examples/eventmachine_adapter/error_handling/handling_a_channel_level_exception.rb
+++ b/examples/event... | Add a channel-level exception handling example
|
diff --git a/RMActionController.podspec b/RMActionController.podspec
index abc1234..def5678 100644
--- a/RMActionController.podspec
+++ b/RMActionController.podspec
@@ -6,7 +6,7 @@ s.screenshots = "http://cooperrs.github.io/RMActionViewController/Images/Blur-Screen-Portrait.png", "http://cooperrs.github.io/RMActionV... | Use git head for now in podspec file
|
diff --git a/db/migrate/20151010182141_add_archive_reason_to_projects.rb b/db/migrate/20151010182141_add_archive_reason_to_projects.rb
index abc1234..def5678 100644
--- a/db/migrate/20151010182141_add_archive_reason_to_projects.rb
+++ b/db/migrate/20151010182141_add_archive_reason_to_projects.rb
@@ -0,0 +1,6 @@+class A... | Add archive columns to project
|
diff --git a/lib/tasks/canvas_pact.rake b/lib/tasks/canvas_pact.rake
index abc1234..def5678 100644
--- a/lib/tasks/canvas_pact.rake
+++ b/lib/tasks/canvas_pact.rake
@@ -15,16 +15,14 @@ PactBroker::Client::PublicationTask.new(:jenkins_post_merge) do |task|
format_rake_task(
task,
- ENV.fetch('PACT... | spec: Modify cnvas_rake file for pact
Test Plan:
-- Passes Jenkins
Change-Id: I55c8cc6d0a742afd330e54c6c1c74d08cd6332ef
Reviewed-on: https://gerrit.instructure.com/153898
Reviewed-by: Anju Reddy <851202533fb1f0b615e4547ba226c76996d060dd@instructure.com>
Tested-by: Jenkins
Product-Review: Deepeeca Soundarrajan <5bcd... |
diff --git a/lib/active_admin_import/import_result.rb b/lib/active_admin_import/import_result.rb
index abc1234..def5678 100644
--- a/lib/active_admin_import/import_result.rb
+++ b/lib/active_admin_import/import_result.rb
@@ -28,8 +28,8 @@ total == 0
end
- def failed_message(limit: nil)
- limit ||= ... | Remove keyword argument to make Ruby 1.9 compatible
|
diff --git a/lib/app/helpers/google_closure_helper.rb b/lib/app/helpers/google_closure_helper.rb
index abc1234..def5678 100644
--- a/lib/app/helpers/google_closure_helper.rb
+++ b/lib/app/helpers/google_closure_helper.rb
@@ -5,6 +5,7 @@ unless ActionController::Base.perform_caching
closure_base_path = File.j... | Include google events scripts in dev environment
|
diff --git a/lib/fucking_scripts_digital_ocean/scp.rb b/lib/fucking_scripts_digital_ocean/scp.rb
index abc1234..def5678 100644
--- a/lib/fucking_scripts_digital_ocean/scp.rb
+++ b/lib/fucking_scripts_digital_ocean/scp.rb
@@ -16,7 +16,14 @@ private
def create_local_archive
- includes = @opts.fetch(:files... | Allow user to optionally skip either files or scripts |
diff --git a/build/clojars/bin/push-to-clojars.rb b/build/clojars/bin/push-to-clojars.rb
index abc1234..def5678 100644
--- a/build/clojars/bin/push-to-clojars.rb
+++ b/build/clojars/bin/push-to-clojars.rb
@@ -0,0 +1,21 @@+#!/usr/bin/env ruby
+
+Dir["target/*"].each do |dir|
+ if File.directory?(dir)
+ puts "Proces... | Add script to facilitate pushing to clojars going forward.
|
diff --git a/Library/Formula/tarsnap.rb b/Library/Formula/tarsnap.rb
index abc1234..def5678 100644
--- a/Library/Formula/tarsnap.rb
+++ b/Library/Formula/tarsnap.rb
@@ -8,9 +8,8 @@ depends_on 'lzma' => :optional
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- ... | Tarsnap: Remove --enable-sse2 and --disable-debug flags
* The --enable-sse2 flag causes the compile to hang when the
llvm-gcc compiler that comes with Xcode 4 is used.
* The configure script doesn't recognize the --disable-debug option
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.c... |
diff --git a/lib/van_helsing/bundler.rb b/lib/van_helsing/bundler.rb
index abc1234..def5678 100644
--- a/lib/van_helsing/bundler.rb
+++ b/lib/van_helsing/bundler.rb
@@ -9,7 +9,7 @@ queue %{
echo "-----> Installing gem dependencies using Bundler"
mkdir -p "#{shared_path}/bundle"
- mkdir -p "#{rele... | Make bundle:install not dependent on release_path.
|
diff --git a/config/unicorn.example.rb b/config/unicorn.example.rb
index abc1234..def5678 100644
--- a/config/unicorn.example.rb
+++ b/config/unicorn.example.rb
@@ -12,8 +12,8 @@ listen "127.0.0.1:3402"
pid "#{shared_path}/pids/unicorn.pid"
-stderr_path "#{shared_path}/logs/unicorn.stderr.log"
-stdout_path "#{shared... | Fix log dir in unicorn config
|
diff --git a/lib/vocker/cap/linux/docker_installed.rb b/lib/vocker/cap/linux/docker_installed.rb
index abc1234..def5678 100644
--- a/lib/vocker/cap/linux/docker_installed.rb
+++ b/lib/vocker/cap/linux/docker_installed.rb
@@ -4,7 +4,7 @@ module Linux
module DockerInstalled
def self.docker_insta... | Improve checking for whether docker is installed
|
diff --git a/_plugins/tag_pagination.rb b/_plugins/tag_pagination.rb
index abc1234..def5678 100644
--- a/_plugins/tag_pagination.rb
+++ b/_plugins/tag_pagination.rb
@@ -4,7 +4,7 @@
def generate(site)
site.tags.dup.each do |tag, posts|
- paginate(site, tag, posts.reverse)
+ paginate(site, tag,... | Sort posts in descending order
|
diff --git a/core/objectspace/weakmap/shared/include.rb b/core/objectspace/weakmap/shared/include.rb
index abc1234..def5678 100644
--- a/core/objectspace/weakmap/shared/include.rb
+++ b/core/objectspace/weakmap/shared/include.rb
@@ -20,13 +20,15 @@ map.send(@method, key2).should == false
end
- ruby_bug "#1682... | Add missing version guard, frozen values are not accepted before 2.7
|
diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/hardware/attributes/default.rb
+++ b/cookbooks/hardware/attributes/default.rb
@@ -7,7 +7,7 @@
case dmi.system.product_name
when "ProLiant DL360 G6", "ProLiant DL360... | Fix disabling of power meter on G6 machines
|
diff --git a/silverpop.gemspec b/silverpop.gemspec
index abc1234..def5678 100644
--- a/silverpop.gemspec
+++ b/silverpop.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |s|
s.name = "silverpop"
- s.version = "1.0.0"
+ s.version = "1.1.1"
s.date = "2010-01-14"
s.summary = "Silverpop Engage and Tr... | Set the correct gem version to 1.1.1
|
diff --git a/app/models/content_base.rb b/app/models/content_base.rb
index abc1234..def5678 100644
--- a/app/models/content_base.rb
+++ b/app/models/content_base.rb
@@ -12,6 +12,6 @@
validates :body, presence: true
- attr_accessible :body
+ attr_accessible :body, :link_id
end
end
| Make link_id mass-assignable on contents
|
diff --git a/app/helpers/carto/bolt.rb b/app/helpers/carto/bolt.rb
index abc1234..def5678 100644
--- a/app/helpers/carto/bolt.rb
+++ b/app/helpers/carto/bolt.rb
@@ -0,0 +1,49 @@+# encoding utf-8
+
+module Carto
+ class Bolt
+ DEFAULT_REDIS_OBJECT = $users_metadata
+ DEFAULT_TTL_MS = 10000
+
+ def initialize(b... | Add own redis lock implementation
|
diff --git a/app/models/my_gene_info.rb b/app/models/my_gene_info.rb
index abc1234..def5678 100644
--- a/app/models/my_gene_info.rb
+++ b/app/models/my_gene_info.rb
@@ -16,7 +16,7 @@ end
def self.my_gene_info_url(entrez_id)
- "http://mygene.info/v2/gene/#{entrez_id}?fields=name,symbol,alias,interpro,pathway,s... | Add uniprot identifiers to mygene.info endpoint query
|
diff --git a/app/models/news_article.rb b/app/models/news_article.rb
index abc1234..def5678 100644
--- a/app/models/news_article.rb
+++ b/app/models/news_article.rb
@@ -21,7 +21,7 @@
def image_must_have_a_description
if image.present? && image_alt_text.blank?
- errors.add :image_alt_text, 'All images must... | Clean up validation failure message when alt-text is missing
|
diff --git a/app/models/shell_runner.rb b/app/models/shell_runner.rb
index abc1234..def5678 100644
--- a/app/models/shell_runner.rb
+++ b/app/models/shell_runner.rb
@@ -19,6 +19,7 @@ # Within the production environment, it could be the case the environment variables pollute
# the process and cause vagrant commands... | Add Github issue reference for `RUBYLIB` variable
|
diff --git a/action_mailer_stop.gemspec b/action_mailer_stop.gemspec
index abc1234..def5678 100644
--- a/action_mailer_stop.gemspec
+++ b/action_mailer_stop.gemspec
@@ -10,7 +10,7 @@ spec.email = ["adrien.siami@dimelo.com"]
spec.description = "Call 'stop!' from an ActionMailer class to abort the delivery... | Add link to github repo
|
diff --git a/benchmarks.rb b/benchmarks.rb
index abc1234..def5678 100644
--- a/benchmarks.rb
+++ b/benchmarks.rb
@@ -1,33 +1,13 @@-$:.unshift(File.dirname(__FILE__) + '/lib')
-require 'rubygems'
+require 'spec/spec_helper'
require 'logger'
-require 'delayed_job'
require 'benchmark'
-RAILS_ENV = 'test'
-
-Delayed::W... | Update benchmark to just run AR backend
|
diff --git a/app/models/rez/section.rb b/app/models/rez/section.rb
index abc1234..def5678 100644
--- a/app/models/rez/section.rb
+++ b/app/models/rez/section.rb
@@ -1,5 +1,6 @@ module Rez
class Section < ActiveRecord::Base
+ validates :name, presence: true
def items
Item.where(id: item_ids)
| Add name presence validation to Section.
|
diff --git a/app/models/transaction.rb b/app/models/transaction.rb
index abc1234..def5678 100644
--- a/app/models/transaction.rb
+++ b/app/models/transaction.rb
@@ -1,4 +1,8 @@ class Transaction < ActiveRecord::Base
+ include ActionView::Helpers::DateHelper
+
+ after_create :trigger_message
+
belongs_to :request
... | Add ability to trigger a message to other users.
|
diff --git a/spec/view_spec.rb b/spec/view_spec.rb
index abc1234..def5678 100644
--- a/spec/view_spec.rb
+++ b/spec/view_spec.rb
@@ -2,8 +2,12 @@
describe Hyperloop::View do
before :each do
- @html_view = Hyperloop::View.new('spec/fixtures/simple/app/views/about.html')
- @erb_view = Hyperloop::View.new('spe... | Add view spec for layouts
|
diff --git a/app/requests/rubycasts.rb b/app/requests/rubycasts.rb
index abc1234..def5678 100644
--- a/app/requests/rubycasts.rb
+++ b/app/requests/rubycasts.rb
@@ -7,10 +7,12 @@ use Rack::CommonLogger, logger_file!
use OmniAuth::Strategies::GitHub, Configuration.omni_auth[:client_id], Configuration.omni_auth[:sec... | Put all methods in a configure block
|
diff --git a/db/migrate/2_add_missing_unique_indices.rb b/db/migrate/2_add_missing_unique_indices.rb
index abc1234..def5678 100644
--- a/db/migrate/2_add_missing_unique_indices.rb
+++ b/db/migrate/2_add_missing_unique_indices.rb
@@ -5,7 +5,9 @@
remove_index :taggings, :tag_id
remove_index :taggings, [:taggab... | Format new migration so easier to read
|
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api_controller.rb
+++ b/app/controllers/api_controller.rb
@@ -1,11 +1,15 @@ class ApiController < ApplicationController
- before_action :change_query_order, :add_querying, only: :index
... | Add Per Page Method To API Controller
Add the per page method to API Controller in order to control how much
data is display at one time, the default is 25 per page with a max of
100. The page method is automatically done by API Pagination gem.
|
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
@@ -7,9 +7,9 @@
def button_link_to(name = nil, options = {}, html_options = {}, &block)
if block_given?
+ html_op... | Fix assignment order in button_link_to
|
diff --git a/lib/admin.rb b/lib/admin.rb
index abc1234..def5678 100644
--- a/lib/admin.rb
+++ b/lib/admin.rb
@@ -0,0 +1,52 @@+####
+## bnc.im administration bot
+##
+## Copyright (c) 2013, 2014 Andrew Northall
+##
+## MIT License
+## See LICENSE file for details.
+####
+
+
+require 'socket'
+require 'openssl'
+require ... | Revert "Change Admin over to Oper"
This reverts commit 31f0bc53577e7c24b74cb3cc011a15c2bdb2d232.
|
diff --git a/features/step_definitions/flavor_steps.rb b/features/step_definitions/flavor_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/flavor_steps.rb
+++ b/features/step_definitions/flavor_steps.rb
@@ -16,6 +16,22 @@ end
Given /^a repository '(.+)' with versions '(.+)'$/ do |basename, vers... | Define a step to set up a repository
|
diff --git a/spec/controllers/pages_controller_spec.rb b/spec/controllers/pages_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/pages_controller_spec.rb
+++ b/spec/controllers/pages_controller_spec.rb
@@ -1 +1,126 @@-RSpec.describe PagesController, type: :controller do; end
+RSpec.describe Pages... | Add 100% coverage to pages controller
|
diff --git a/spec/support/action_controller_helpers.rb b/spec/support/action_controller_helpers.rb
index abc1234..def5678 100644
--- a/spec/support/action_controller_helpers.rb
+++ b/spec/support/action_controller_helpers.rb
@@ -1,4 +1,4 @@-require 'actionpack'
+require 'action_pack'
module ActionControllerHelpers
... | Fix deprecation warning when requiring action_pack
|
diff --git a/test/controllers/location_controller_test.rb b/test/controllers/location_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/location_controller_test.rb
+++ b/test/controllers/location_controller_test.rb
@@ -6,10 +6,7 @@ include WebMocking
include Devise::Test::ControllerHelpers
... | Remove unnecessarily setting header in a test
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.