shoulda 4.0.0.rc2 → 5.0.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/{MIT-LICENSE → LICENSE} +1 -1
  3. data/README.md +39 -32
  4. data/lib/shoulda/version.rb +1 -1
  5. data/shoulda.gemspec +18 -15
  6. metadata +19 -63
  7. data/.autotest +0 -13
  8. data/.gitignore +0 -13
  9. data/.hound.yml +0 -3
  10. data/.rubocop.yml +0 -192
  11. data/.ruby-version +0 -1
  12. data/.travis.yml +0 -34
  13. data/Appraisals +0 -116
  14. data/CONTRIBUTING.md +0 -43
  15. data/Gemfile +0 -16
  16. data/Rakefile +0 -31
  17. data/gemfiles/rails_4_2.gemfile +0 -34
  18. data/gemfiles/rails_4_2.gemfile.lock +0 -240
  19. data/gemfiles/rails_5_0.gemfile +0 -32
  20. data/gemfiles/rails_5_0.gemfile.lock +0 -232
  21. data/gemfiles/rails_5_1.gemfile +0 -33
  22. data/gemfiles/rails_5_1.gemfile.lock +0 -247
  23. data/gemfiles/rails_5_2.gemfile +0 -35
  24. data/gemfiles/rails_5_2.gemfile.lock +0 -266
  25. data/gemfiles/rails_6_0.gemfile +0 -37
  26. data/gemfiles/rails_6_0.gemfile.lock +0 -291
  27. data/script/install_gems_in_all_appraisals +0 -16
  28. data/script/run_all_tests +0 -16
  29. data/script/supported_ruby_versions +0 -7
  30. data/script/update_gem_in_all_appraisals +0 -17
  31. data/script/update_gems_in_all_appraisals +0 -16
  32. data/test/acceptance/integrates_with_rails_test.rb +0 -580
  33. data/test/acceptance_test_helper.rb +0 -43
  34. data/test/support/acceptance/add_shoulda_to_project.rb +0 -73
  35. data/test/support/acceptance/helpers/array_helpers.rb +0 -13
  36. data/test/support/acceptance/helpers/pluralization_helpers.rb +0 -13
  37. data/test/support/acceptance/matchers/have_output.rb +0 -33
  38. data/test/support/acceptance/matchers/indicate_that_tests_were_run.rb +0 -109
  39. data/test/support/acceptance/rails_application_with_shoulda.rb +0 -47
  40. data/test/support/current_bundle.rb +0 -61
  41. data/test/support/snowglobe.rb +0 -5
  42. data/test/test_helper.rb +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fde182b63930a1fbbc5ad653b591c4a0257654706533b8e3e62c6c157655619
4
- data.tar.gz: 12a63633f7ac882c50c05bbf1659b6fa97e54c0abc11c6164b01ae6651a98fc7
3
+ metadata.gz: f2959c43a560633a177f439f16b3e10b069728f7a828ec97808a4ea6b6cf6a67
4
+ data.tar.gz: '0863929c3b00f3eff2b6b0b43b06063d9c7da24348c107d7ba03716572fb5cef'
5
5
  SHA512:
6
- metadata.gz: 633be9d4a25039cdc70646c02307d1716b5004436ca1ea7f1f29d0898d723a67124f81b5064156147491fb853287fe4ca85059dd16238aa6d8f47744806b2458
7
- data.tar.gz: 07c1577d7a78290d1b758879292566f35d28e07c4428cde0c69f51a93d47247f91464dce853dffe85b5e78503c20710d5823090782a82ca9bf2c9198da298918
6
+ metadata.gz: 4f37dd87e3226267c065714a995a7079cdc52729ee9e524c729c94949e8755ed317e1964b1f8cec845ca8969862296e7076a96389ef228727fbfb54444381b30
7
+ data.tar.gz: eb82cea0c31795cd8fe51d62f01515637b6430ebb687587be7c5e271202a1ee5e9c67fff3a1039a6b4c17f3099aa88850f74cf8899f3c818c1c372cd5933b0eb
@@ -1,4 +1,4 @@
1
- Copyright (c) 2006-2013 Tammer Saleh and thoughtbot, inc.
1
+ Copyright (c) 2006-2020 Tammer Saleh and thoughtbot, inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person
4
4
  obtaining a copy of this software and associated documentation
data/README.md CHANGED
@@ -1,20 +1,26 @@
1
- # Shoulda [![Gem Version][version-badge]][rubygems] [![Build Status][travis-badge]][travis] ![Downloads][downloads-badge] [![Hound][hound-badge]][hound]
1
+ # Shoulda [![Gem Version][version-badge]][rubygems] [![Build Status][github-actions-badge]][github-actions] [![Total Downloads][downloads-total]][rubygems] [![Downloads][downloads-badge]][rubygems]
2
2
 
3
- [version-badge]: http://img.shields.io/gem/v/shoulda.svg
4
- [rubygems]: http://rubygems.org/gems/shoulda
5
- [travis-badge]: http://img.shields.io/travis/thoughtbot/shoulda/master.svg
6
- [travis]: http://travis-ci.org/thoughtbot/shoulda
7
- [downloads-badge]: http://img.shields.io/gem/dtv/shoulda.svg
8
- [hound-badge]: https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg
9
- [hound]: https://houndci.com
3
+ [version-badge]: https://img.shields.io/gem/v/shoulda.svg
4
+ [rubygems]: https://rubygems.org/gems/shoulda
5
+ [github-actions-badge]: https://img.shields.io/github/actions/workflow/status/thoughtbot/shoulda/ci.yml?branch=main
6
+ [github-actions]: https://github.com/thoughtbot/shoulda/actions
7
+ [downloads-total]: https://img.shields.io/gem/dt/shoulda.svg
8
+ [downloads-badge]: https://img.shields.io/gem/dtv/shoulda.svg
9
+ [downloads-badge]: https://img.shields.io/gem/dtv/shoulda.svg
10
10
 
11
11
  Shoulda helps you write more understandable, maintainable Rails-specific tests
12
- under Minitest.
12
+ under Minitest and Test::Unit.
13
+
14
+ ## Quick links
15
+
16
+ 📢 **[See what's changed in recent versions.][changelog]**
17
+
18
+ [changelog]: CHANGELOG.md
13
19
 
14
20
  ## Overview
15
21
 
16
- As a meta gem, the `shoulda` gem doesn't contain any code of its own but rather
17
- brings in behavior from two other gems:
22
+ As an umbrella gem, the `shoulda` gem doesn't contain any code of its own but
23
+ rather brings in behavior from two other gems:
18
24
 
19
25
  * [Shoulda Context]
20
26
  * [Shoulda Matchers]
@@ -54,29 +60,32 @@ See the READMEs for these projects for more information.
54
60
 
55
61
  ## Compatibility
56
62
 
57
- Shoulda Matchers is [tested][travis] and supported against Ruby 2.4+, Rails 5.x,
58
- Rails 4.2.x, RSpec 3.x, and Minitest 5.x.
59
-
60
- ## Contributing
61
-
62
- Shoulda is open source, and we are grateful for [everyone][contributors] who's
63
- contributed so far.
63
+ Shoulda is tested and supported against Ruby 3.0+, Rails 6.1+, RSpec 3.x,
64
+ Minitest 4.x, and Test::Unit 3.x.
64
65
 
65
- [contributors]: https://github.com/thoughtbot/shoulda/contributors
66
+ - For Ruby < 3 and Rails < 6.1 compatibility, please use [v4.0.0][v4.0.0].
66
67
 
67
- If you'd like to contribute, please take a look at the
68
- [instructions](CONTRIBUTING.md) for installing dependencies and crafting a good
69
- pull request.
68
+ [v4.0.0]: https://github.com/thoughtbot/shoulda-matchers/tree/v4.0.0
70
69
 
71
70
  ## Versioning
72
71
 
73
72
  Shoulda follows Semantic Versioning 2.0 as defined at <http://semver.org>.
74
73
 
75
- ## License
74
+ ## Team
75
+
76
+ Shoulda is maintained by [Elliot Winkler][mcmire]. It was previously maintained
77
+ by [Travis Jeffery][travisjeffery].
78
+
79
+ [mcmire]: https://github.com/mcmire
80
+ [travisjeffery]: https://github.com/travisjeffery
81
+
82
+ ## Copyright/License
83
+
84
+ Shoulda is copyright © 2006-2023 Tammer Saleh and [thoughtbot,
85
+ inc][thoughtbot-website]. It is free and opensource software and may be
86
+ redistributed under the terms specified in the [LICENSE](LICENSE) file.
76
87
 
77
- Shoulda is copyright © 2006-2019 thoughtbot, inc. It is free software, and may
78
- be redistributed under the terms specified in the [MIT-LICENSE](MIT-LICENSE)
79
- file.
88
+ [thoughtbot-website]: https://thoughtbot.com
80
89
 
81
90
  ## About thoughtbot
82
91
 
@@ -84,12 +93,10 @@ file.
84
93
 
85
94
  [thoughtbot-logo]: https://thoughtbot.com/brand_assets/93:44.svg
86
95
 
87
- Shoulda is maintained and funded by thoughtbot, inc. The names and logos for
88
- thoughtbot are trademarks of thoughtbot, inc.
96
+ The names and logos for thoughtbot are trademarks of thoughtbot, inc.
89
97
 
90
- We love open source software! See [our other projects][community] or [hire
91
- us][hire] to design, develop, and grow your product.
98
+ We are passionate about open source software. See [our other
99
+ projects][community]. We are [available for hire][hire].
92
100
 
93
101
  [community]: https://thoughtbot.com/community?utm_source=github
94
- [hire]: https://thoughtbot.com/hire-us?utm_source=github
95
- [thoughtbot]: https://thoughtbot.com?utm_source=github
102
+ [hire]: https://thoughtbot.com?utm_source=github
@@ -1,3 +1,3 @@
1
1
  module Shoulda
2
- VERSION = '4.0.0.rc2'.freeze
2
+ VERSION = '5.0.0.rc1'.freeze
3
3
  end
data/shoulda.gemspec CHANGED
@@ -2,29 +2,32 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
2
2
  require 'shoulda/version'
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = 'shoulda'
6
- s.version = Shoulda::VERSION
7
- s.platform = Gem::Platform::RUBY
8
- s.authors = [
5
+ s.name = 'shoulda'
6
+ s.version = Shoulda::VERSION.dup
7
+ s.authors = [
9
8
  'Tammer Saleh',
10
9
  'Joe Ferris',
11
10
  'Ryan McGeary',
12
11
  'Dan Croak',
13
12
  'Matt Jankowski',
14
13
  ]
15
- s.email = 'support@thoughtbot.com'
16
- s.homepage = 'https://github.com/thoughtbot/shoulda'
17
- s.summary = 'Making tests easy on the fingers and eyes'
18
- s.description = 'Making tests easy on the fingers and eyes'
14
+ s.date = Time.now.strftime('%Y-%m-%d')
15
+ s.email = 'support@thoughtbot.com'
16
+ s.homepage = 'https://github.com/thoughtbot/shoulda'
17
+ s.summary = 'Making tests easy on the fingers and eyes'
19
18
  s.license = 'MIT'
19
+ s.description = 'Making tests easy on the fingers and eyes'
20
+
21
+ s.metadata = {
22
+ 'bug_tracker_uri' => 'https://github.com/thoughtbot/shoulda/issues',
23
+ 'changelog_uri' => 'https://github.com/thoughtbot/shoulda/blob/main/CHANGELOG.md',
24
+ 'source_code_uri' => 'https://github.com/thoughtbot/shoulda',
25
+ }
20
26
 
21
- s.files = `git ls-files`.split("\n")
22
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
- s.executables = `git ls-files -- bin/*`.split("\n").map do |file|
24
- File.basename(file)
25
- end
27
+ s.files = Dir['lib/**/*', 'README.md', 'LICENSE', 'shoulda.gemspec']
26
28
  s.require_paths = ['lib']
27
29
 
28
- s.add_dependency('shoulda-context', '2.0.0.rc4')
29
- s.add_dependency('shoulda-matchers', '~> 4.0')
30
+ s.required_ruby_version = '>= 3.0.5'
31
+ s.add_dependency('shoulda-context', '~> 2.0')
32
+ s.add_dependency('shoulda-matchers', '~> 5.0')
30
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoulda
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.rc2
4
+ version: 5.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tammer Saleh
@@ -9,91 +9,58 @@ authors:
9
9
  - Ryan McGeary
10
10
  - Dan Croak
11
11
  - Matt Jankowski
12
- autorequire:
12
+ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2020-04-08 00:00:00.000000000 Z
15
+ date: 2023-03-23 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: shoulda-context
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - '='
21
+ - - "~>"
22
22
  - !ruby/object:Gem::Version
23
- version: 2.0.0.rc4
23
+ version: '2.0'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - '='
28
+ - - "~>"
29
29
  - !ruby/object:Gem::Version
30
- version: 2.0.0.rc4
30
+ version: '2.0'
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: shoulda-matchers
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
35
  - - "~>"
36
36
  - !ruby/object:Gem::Version
37
- version: '4.0'
37
+ version: '5.0'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - "~>"
43
43
  - !ruby/object:Gem::Version
44
- version: '4.0'
44
+ version: '5.0'
45
45
  description: Making tests easy on the fingers and eyes
46
46
  email: support@thoughtbot.com
47
47
  executables: []
48
48
  extensions: []
49
49
  extra_rdoc_files: []
50
50
  files:
51
- - ".autotest"
52
- - ".gitignore"
53
- - ".hound.yml"
54
- - ".rubocop.yml"
55
- - ".ruby-version"
56
- - ".travis.yml"
57
- - Appraisals
58
- - CONTRIBUTING.md
59
- - Gemfile
60
- - MIT-LICENSE
51
+ - LICENSE
61
52
  - README.md
62
- - Rakefile
63
- - gemfiles/rails_4_2.gemfile
64
- - gemfiles/rails_4_2.gemfile.lock
65
- - gemfiles/rails_5_0.gemfile
66
- - gemfiles/rails_5_0.gemfile.lock
67
- - gemfiles/rails_5_1.gemfile
68
- - gemfiles/rails_5_1.gemfile.lock
69
- - gemfiles/rails_5_2.gemfile
70
- - gemfiles/rails_5_2.gemfile.lock
71
- - gemfiles/rails_6_0.gemfile
72
- - gemfiles/rails_6_0.gemfile.lock
73
53
  - lib/shoulda.rb
74
54
  - lib/shoulda/version.rb
75
- - script/install_gems_in_all_appraisals
76
- - script/run_all_tests
77
- - script/supported_ruby_versions
78
- - script/update_gem_in_all_appraisals
79
- - script/update_gems_in_all_appraisals
80
55
  - shoulda.gemspec
81
- - test/acceptance/integrates_with_rails_test.rb
82
- - test/acceptance_test_helper.rb
83
- - test/support/acceptance/add_shoulda_to_project.rb
84
- - test/support/acceptance/helpers/array_helpers.rb
85
- - test/support/acceptance/helpers/pluralization_helpers.rb
86
- - test/support/acceptance/matchers/have_output.rb
87
- - test/support/acceptance/matchers/indicate_that_tests_were_run.rb
88
- - test/support/acceptance/rails_application_with_shoulda.rb
89
- - test/support/current_bundle.rb
90
- - test/support/snowglobe.rb
91
- - test/test_helper.rb
92
56
  homepage: https://github.com/thoughtbot/shoulda
93
57
  licenses:
94
58
  - MIT
95
- metadata: {}
96
- post_install_message:
59
+ metadata:
60
+ bug_tracker_uri: https://github.com/thoughtbot/shoulda/issues
61
+ changelog_uri: https://github.com/thoughtbot/shoulda/blob/main/CHANGELOG.md
62
+ source_code_uri: https://github.com/thoughtbot/shoulda
63
+ post_install_message:
97
64
  rdoc_options: []
98
65
  require_paths:
99
66
  - lib
@@ -101,26 +68,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
68
  requirements:
102
69
  - - ">="
103
70
  - !ruby/object:Gem::Version
104
- version: '0'
71
+ version: 3.0.5
105
72
  required_rubygems_version: !ruby/object:Gem::Requirement
106
73
  requirements:
107
74
  - - ">"
108
75
  - !ruby/object:Gem::Version
109
76
  version: 1.3.1
110
77
  requirements: []
111
- rubygems_version: 3.1.2
112
- signing_key:
78
+ rubygems_version: 3.4.6
79
+ signing_key:
113
80
  specification_version: 4
114
81
  summary: Making tests easy on the fingers and eyes
115
- test_files:
116
- - test/acceptance/integrates_with_rails_test.rb
117
- - test/acceptance_test_helper.rb
118
- - test/support/acceptance/add_shoulda_to_project.rb
119
- - test/support/acceptance/helpers/array_helpers.rb
120
- - test/support/acceptance/helpers/pluralization_helpers.rb
121
- - test/support/acceptance/matchers/have_output.rb
122
- - test/support/acceptance/matchers/indicate_that_tests_were_run.rb
123
- - test/support/acceptance/rails_application_with_shoulda.rb
124
- - test/support/current_bundle.rb
125
- - test/support/snowglobe.rb
126
- - test/test_helper.rb
82
+ test_files: []
data/.autotest DELETED
@@ -1,13 +0,0 @@
1
- Autotest.add_hook :initialize do |at|
2
- at.add_mapping(%r{^lib/\w.*\.rb}) do
3
- at.files_matching(%r{^test/*/\w.*_test\.rb})
4
- end
5
-
6
- at.add_mapping(%r{^test/rails_root/\w.*}) do
7
- at.files_matching(%r{^test/*/\w.*_test\.rb})
8
- end
9
-
10
- at.add_exception(%r{.svn})
11
- at.add_exception(%r{.log$})
12
- at.add_exception(%r{^.autotest$})
13
- end
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- *.swo
2
- *.swp
3
- .DS_Store
4
- .byebug_history
5
- .bundle
6
- .svn/
7
- Gemfile.lock
8
- coverage
9
- doc
10
- pkg
11
- tags
12
- test/*/log/*.log
13
- tmp
data/.hound.yml DELETED
@@ -1,3 +0,0 @@
1
- ruby:
2
- enabled: true
3
- config_file: .rubocop.yml
data/.rubocop.yml DELETED
@@ -1,192 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.4
3
- Layout/ParameterAlignment:
4
- EnforcedStyle: with_fixed_indentation
5
- Layout/ConditionPosition:
6
- Enabled: false
7
- Layout/DotPosition:
8
- EnforcedStyle: trailing
9
- Layout/HeredocIndentation:
10
- Enabled: false
11
- Layout/MultilineMethodCallIndentation:
12
- EnforcedStyle: indented
13
- Lint/AmbiguousOperator:
14
- Enabled: false
15
- Lint/AmbiguousRegexpLiteral:
16
- Enabled: false
17
- Lint/AssignmentInCondition:
18
- Enabled: false
19
- Lint/DeprecatedClassMethods:
20
- Enabled: false
21
- Lint/ElseLayout:
22
- Enabled: false
23
- Lint/SuppressedException:
24
- Enabled: false
25
- Lint/LiteralInInterpolation:
26
- Enabled: false
27
- Lint/Loop:
28
- Enabled: false
29
- Lint/ParenthesesAsGroupedExpression:
30
- Enabled: false
31
- Lint/RequireParentheses:
32
- Enabled: false
33
- Lint/UnderscorePrefixedVariableName:
34
- Enabled: false
35
- Lint/Void:
36
- Enabled: false
37
- Metrics/BlockLength:
38
- Enabled: false
39
- Metrics/ClassLength:
40
- Enabled: false
41
- Metrics/LineLength:
42
- IgnoredPatterns:
43
- - "^[ ]*describe.+$"
44
- - "^[ ]*context.+$"
45
- - "^[ ]*shared_context.+$"
46
- - "^[ ]*shared_examples_for.+$"
47
- - "^[ ]*it.+$"
48
- - "^[ ]*'.+?' => '.+?',?$"
49
- - "^[ ]*\".+?\" => \".+?\",?$"
50
- - "^[ ]*.+?: .+?$"
51
- Metrics/MethodLength:
52
- Max: 30
53
- Naming/AccessorMethodName:
54
- Enabled: false
55
- Naming/AsciiIdentifiers:
56
- Enabled: false
57
- Naming/BinaryOperatorParameterName:
58
- Enabled: false
59
- Style/ClassVars:
60
- Enabled: false
61
- Style/ColonMethodCall:
62
- Enabled: false
63
- Naming/FileName:
64
- Enabled: false
65
- Rails:
66
- Enabled: true
67
- Rails/Delegate:
68
- Enabled: false
69
- Rails/HttpPositionalArguments:
70
- Enabled: false
71
- Style/Alias:
72
- Enabled: false
73
- Style/ArrayJoin:
74
- Enabled: false
75
- Style/AsciiComments:
76
- Enabled: false
77
- Style/Attr:
78
- Enabled: false
79
- Style/CaseEquality:
80
- Enabled: false
81
- Style/CharacterLiteral:
82
- Enabled: false
83
- Style/ClassAndModuleChildren:
84
- Enabled: false
85
- Style/CollectionMethods:
86
- PreferredMethods:
87
- find: detect
88
- reduce: inject
89
- collect: map
90
- find_all: select
91
- Style/CommentAnnotation:
92
- Enabled: false
93
- Style/Documentation:
94
- Enabled: false
95
- Style/DoubleNegation:
96
- Enabled: false
97
- Style/EachWithObject:
98
- Enabled: false
99
- Style/EmptyLiteral:
100
- Enabled: false
101
- Style/Encoding:
102
- Enabled: false
103
- Style/EvenOdd:
104
- Enabled: false
105
- Lint/FlipFlop:
106
- Enabled: false
107
- Style/FormatString:
108
- Enabled: false
109
- Style/FrozenStringLiteralComment:
110
- Enabled: false
111
- Style/GlobalVars:
112
- Enabled: false
113
- Style/GuardClause:
114
- Enabled: false
115
- Style/IfUnlessModifier:
116
- Enabled: false
117
- Style/IfWithSemicolon:
118
- Enabled: false
119
- Style/InlineComment:
120
- Enabled: false
121
- Style/Lambda:
122
- Enabled: false
123
- Style/LambdaCall:
124
- Enabled: false
125
- Style/LineEndConcatenation:
126
- Enabled: false
127
- Style/MethodCalledOnDoEndBlock:
128
- Enabled: false
129
- Style/ModuleFunction:
130
- Enabled: false
131
- Style/NegatedIf:
132
- Enabled: false
133
- Style/NegatedWhile:
134
- Enabled: false
135
- Style/Next:
136
- Enabled: false
137
- Style/NilComparison:
138
- Enabled: false
139
- Style/Not:
140
- Enabled: false
141
- Style/NumericLiterals:
142
- Enabled: false
143
- Style/NumericPredicate:
144
- Enabled: false
145
- Style/OneLineConditional:
146
- Enabled: false
147
- Style/ParenthesesAroundCondition:
148
- Enabled: false
149
- Style/PercentLiteralDelimiters:
150
- Enabled: false
151
- Style/PerlBackrefs:
152
- Enabled: false
153
- Style/PreferredHashMethods:
154
- Enabled: false
155
- Style/Proc:
156
- Enabled: false
157
- Style/RaiseArgs:
158
- Enabled: false
159
- Style/RedundantParentheses:
160
- Enabled: false
161
- Style/RegexpLiteral:
162
- Enabled: false
163
- Style/SelfAssignment:
164
- Enabled: false
165
- Style/SignalException:
166
- Enabled: false
167
- Style/SingleLineBlockParams:
168
- Enabled: false
169
- Style/SingleLineMethods:
170
- Enabled: false
171
- Style/SpecialGlobalVars:
172
- Enabled: false
173
- Style/StringLiterals:
174
- EnforcedStyle: single_quotes
175
- Style/SymbolArray:
176
- Enabled: false
177
- Style/TrailingCommaInArguments:
178
- EnforcedStyleForMultiline: consistent_comma
179
- Style/TrailingCommaInArrayLiteral:
180
- EnforcedStyleForMultiline: consistent_comma
181
- Style/TrailingCommaInHashLiteral:
182
- EnforcedStyleForMultiline: consistent_comma
183
- Style/TrivialAccessors:
184
- Enabled: false
185
- Style/WhenThen:
186
- Enabled: false
187
- Style/WhileUntilModifier:
188
- Enabled: false
189
- Style/WordArray:
190
- Enabled: false
191
- Style/VariableInterpolation:
192
- Enabled: false
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.7.1
data/.travis.yml DELETED
@@ -1,34 +0,0 @@
1
- language: ruby
2
- dist: xenial
3
- os: linux
4
- cache:
5
- directories:
6
- - vendor/bundle
7
- # Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
8
- before_install:
9
- - gem update --system '3.1.2' --no-document
10
- - gem uninstall -v '< 2' -i $(rvm gemdir)@global -ax bundler || true
11
- - gem install bundler -v '< 2' --no-document
12
- - nvm use v11.0.0
13
- - bundle config set path vendor/bundle
14
- install: "bundle install --jobs=3 --retry=3"
15
- script: "bundle exec rake"
16
- rvm:
17
- - 2.4.9
18
- - 2.5.8
19
- - 2.6.6
20
- - 2.7.1
21
- gemfile:
22
- - gemfiles/rails_4_2.gemfile
23
- - gemfiles/rails_5_0.gemfile
24
- - gemfiles/rails_5_1.gemfile
25
- - gemfiles/rails_5_2.gemfile
26
- - gemfiles/rails_6_0.gemfile
27
- matrix:
28
- exclude:
29
- - rvm: 2.4.9
30
- gemfile: gemfiles/rails_6_0.gemfile
31
- - rvm: 2.6.6
32
- gemfile: gemfiles/rails_4_2.gemfile
33
- - rvm: 2.7.1
34
- gemfile: gemfiles/rails_4_2.gemfile