Skip to content

Commit

Permalink
Uses ubuntu-based image (#16)
Browse files Browse the repository at this point in the history
* Uses ubuntu-based image

* Linter
  • Loading branch information
agirlnamedsophia authored Jan 22, 2021
1 parent 7a82828 commit 845399f
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 36 deletions.
112 changes: 78 additions & 34 deletions .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion coach.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
project_type: ruby_gem
ruby_version: 2.6.1
resource_class: small
cache_sequence: 3
cache_sequence: 4
databases:
- type: postgresql
version: 9.6
test_gemfiles:
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_6_0.gemfile
base_runtime_image_version: dev
2 changes: 1 addition & 1 deletion lib/journaled/relation_change_protection.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Journaled::RelationChangeProtection
def update_all(updates, force: false) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize, Metrics/PerceivedComplexity
def update_all(updates, force: false) # rubocop:disable Metrics/AbcSize, Metrics/PerceivedComplexity
unless force || !@klass.respond_to?(:journaled_attribute_names) || @klass.journaled_attribute_names.empty?
conflicting_journaled_attribute_names = if updates.is_a?(Hash)
@klass.journaled_attribute_names & updates.keys.map(&:to_sym)
Expand Down

0 comments on commit 845399f

Please sign in to comment.