trailblazer-rails 2.1.7 → 2.2.0
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.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +32 -0
- data/.gitignore +1 -0
- data/Appraisals +18 -0
- data/CHANGES.md +10 -0
- data/Gemfile +10 -25
- data/LICENSE.txt +1 -1
- data/README.md +5 -1
- data/Rakefile +4 -12
- data/gemfiles/rails_5.2.gemfile +17 -0
- data/gemfiles/rails_5.2.gemfile.lock +183 -0
- data/gemfiles/rails_6.0.gemfile +17 -0
- data/gemfiles/rails_6.0.gemfile.lock +183 -0
- data/gemfiles/rails_6.1.gemfile +17 -0
- data/gemfiles/rails_6.1.gemfile.lock +182 -0
- data/gemfiles/rails_7.0.gemfile +17 -0
- data/gemfiles/rails_7.0.gemfile.lock +182 -0
- data/lib/trailblazer/rails/cell.rb +15 -3
- data/lib/trailblazer/rails/controller.rb +11 -8
- data/lib/trailblazer/rails/railtie/extend_application_controller.rb +1 -1
- data/lib/trailblazer/rails/railtie/loader.rb +4 -4
- data/lib/trailblazer/rails/railtie.rb +0 -13
- data/lib/trailblazer/rails/version.rb +1 -1
- data/trailblazer-rails.gemspec +5 -6
- metadata +25 -35
- data/.rubocop-https---raw-githubusercontent-com-trailblazer-meta-master-rubocop-yml +0 -115
- data/.rubocop.yml +0 -13
- data/.ruby-version +0 -1
- data/.travis.yml +0 -22
- data/lib/trailblazer/rails/test/integration.rb +0 -6
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -16,21 +16,21 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: trailblazer
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.1.0
|
33
|
+
version: 2.1.0
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 2.2.0
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 2.1.0
|
43
|
+
version: 2.1.0
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 2.2.0
|
@@ -51,7 +51,7 @@ dependencies:
|
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 0.1.0
|
54
|
-
type: :
|
54
|
+
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
@@ -60,20 +60,6 @@ dependencies:
|
|
60
60
|
version: 0.1.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: bundler
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '1.10'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '1.10'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest
|
77
63
|
requirement: !ruby/object:Gem::Requirement
|
78
64
|
requirements:
|
79
65
|
- - ">="
|
@@ -87,7 +73,7 @@ dependencies:
|
|
87
73
|
- !ruby/object:Gem::Version
|
88
74
|
version: '0'
|
89
75
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
76
|
+
name: minitest
|
91
77
|
requirement: !ruby/object:Gem::Requirement
|
92
78
|
requirements:
|
93
79
|
- - ">="
|
@@ -101,7 +87,7 @@ dependencies:
|
|
101
87
|
- !ruby/object:Gem::Version
|
102
88
|
version: '0'
|
103
89
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
90
|
+
name: rake
|
105
91
|
requirement: !ruby/object:Gem::Requirement
|
106
92
|
requirements:
|
107
93
|
- - ">="
|
@@ -114,23 +100,29 @@ dependencies:
|
|
114
100
|
- - ">="
|
115
101
|
- !ruby/object:Gem::Version
|
116
102
|
version: '0'
|
117
|
-
description:
|
103
|
+
description:
|
118
104
|
email:
|
119
105
|
- apotonick@gmail.com
|
120
106
|
executables: []
|
121
107
|
extensions: []
|
122
108
|
extra_rdoc_files: []
|
123
109
|
files:
|
110
|
+
- ".github/workflows/ci.yml"
|
124
111
|
- ".gitignore"
|
125
|
-
-
|
126
|
-
- ".rubocop.yml"
|
127
|
-
- ".ruby-version"
|
128
|
-
- ".travis.yml"
|
112
|
+
- Appraisals
|
129
113
|
- CHANGES.md
|
130
114
|
- Gemfile
|
131
115
|
- LICENSE.txt
|
132
116
|
- README.md
|
133
117
|
- Rakefile
|
118
|
+
- gemfiles/rails_5.2.gemfile
|
119
|
+
- gemfiles/rails_5.2.gemfile.lock
|
120
|
+
- gemfiles/rails_6.0.gemfile
|
121
|
+
- gemfiles/rails_6.0.gemfile.lock
|
122
|
+
- gemfiles/rails_6.1.gemfile
|
123
|
+
- gemfiles/rails_6.1.gemfile.lock
|
124
|
+
- gemfiles/rails_7.0.gemfile
|
125
|
+
- gemfiles/rails_7.0.gemfile.lock
|
134
126
|
- lib/trailblazer-rails.rb
|
135
127
|
- lib/trailblazer/operation/responder.rb
|
136
128
|
- lib/trailblazer/rails.rb
|
@@ -140,14 +132,13 @@ files:
|
|
140
132
|
- lib/trailblazer/rails/railtie.rb
|
141
133
|
- lib/trailblazer/rails/railtie/extend_application_controller.rb
|
142
134
|
- lib/trailblazer/rails/railtie/loader.rb
|
143
|
-
- lib/trailblazer/rails/test/integration.rb
|
144
135
|
- lib/trailblazer/rails/version.rb
|
145
136
|
- trailblazer-rails.gemspec
|
146
|
-
homepage:
|
137
|
+
homepage: https://trailblazer.to/2.1/docs/trailblazer.html#trailblazer-rails
|
147
138
|
licenses:
|
148
139
|
- MIT
|
149
140
|
metadata: {}
|
150
|
-
post_install_message:
|
141
|
+
post_install_message:
|
151
142
|
rdoc_options: []
|
152
143
|
require_paths:
|
153
144
|
- lib
|
@@ -162,9 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
153
|
- !ruby/object:Gem::Version
|
163
154
|
version: '0'
|
164
155
|
requirements: []
|
165
|
-
|
166
|
-
|
167
|
-
signing_key:
|
156
|
+
rubygems_version: 3.2.22
|
157
|
+
signing_key:
|
168
158
|
specification_version: 4
|
169
159
|
summary: Convenient Rails support for Trailblazer.
|
170
160
|
test_files: []
|
@@ -1,115 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
TargetRubyVersion: 2.5.0
|
3
|
-
DisplayCopNames: true
|
4
|
-
Layout/CaseIndentation:
|
5
|
-
IndentOneStep: true
|
6
|
-
Layout/FirstArrayElementLineBreak:
|
7
|
-
Enabled: true
|
8
|
-
Layout/FirstHashElementLineBreak:
|
9
|
-
Enabled: true
|
10
|
-
Layout/FirstMethodArgumentLineBreak:
|
11
|
-
Enabled: true
|
12
|
-
Layout/FirstMethodParameterLineBreak:
|
13
|
-
Enabled: true
|
14
|
-
Layout/MultilineAssignmentLayout:
|
15
|
-
Enabled: true
|
16
|
-
EnforcedStyle: same_line
|
17
|
-
Layout/SpaceInsideHashLiteralBraces:
|
18
|
-
EnforcedStyle: no_space
|
19
|
-
Metrics/LineLength:
|
20
|
-
Max: 130
|
21
|
-
Metrics/ParameterLists:
|
22
|
-
Max: 5
|
23
|
-
Naming/VariableNumber:
|
24
|
-
EnforcedStyle: snake_case
|
25
|
-
Style/AndOr:
|
26
|
-
EnforcedStyle: conditionals
|
27
|
-
Style/AutoResourceCleanup:
|
28
|
-
Enabled: true
|
29
|
-
Style/CollectionMethods:
|
30
|
-
Enabled: true
|
31
|
-
Style/Documentation:
|
32
|
-
Enabled: false
|
33
|
-
Style/EmptyLiteral:
|
34
|
-
Enabled: false
|
35
|
-
Style/EmptyMethod:
|
36
|
-
EnforcedStyle: expanded
|
37
|
-
Style/FormatStringToken:
|
38
|
-
EnforcedStyle: template
|
39
|
-
Style/ImplicitRuntimeError:
|
40
|
-
Enabled: true
|
41
|
-
Style/MethodCalledOnDoEndBlock:
|
42
|
-
Enabled: true
|
43
|
-
Style/MethodDefParentheses:
|
44
|
-
EnforcedStyle: require_parentheses
|
45
|
-
Style/MissingElse:
|
46
|
-
Enabled: true
|
47
|
-
EnforcedStyle: case
|
48
|
-
Style/NumericLiterals:
|
49
|
-
Enabled: false
|
50
|
-
Style/OptionHash:
|
51
|
-
Enabled: true
|
52
|
-
Style/PercentLiteralDelimiters:
|
53
|
-
PreferredDelimiters:
|
54
|
-
"%w": "[]"
|
55
|
-
"%W": "[]"
|
56
|
-
"%i": "[]"
|
57
|
-
"%I": "[]"
|
58
|
-
"%r": "()"
|
59
|
-
Style/ReturnNil:
|
60
|
-
Enabled: true
|
61
|
-
Style/SafeNavigation:
|
62
|
-
Enabled: false
|
63
|
-
Style/Send:
|
64
|
-
Enabled: true
|
65
|
-
Style/SignalException:
|
66
|
-
EnforcedStyle: semantic
|
67
|
-
Style/StringLiterals:
|
68
|
-
EnforcedStyle: double_quotes
|
69
|
-
Style/StringLiteralsInInterpolation:
|
70
|
-
EnforcedStyle: double_quotes
|
71
|
-
Style/StringMethods:
|
72
|
-
Enabled: true
|
73
|
-
Style/SymbolArray:
|
74
|
-
Enabled: true
|
75
|
-
# this allows in rspec to have expect { } with multiple lines
|
76
|
-
Style/BlockDelimiters:
|
77
|
-
EnforcedStyle: braces_for_chaining
|
78
|
-
Layout/EndOfLine:
|
79
|
-
Enabled: false
|
80
|
-
# don't need these checks in test folders
|
81
|
-
Metrics/ModuleLength:
|
82
|
-
Exclude:
|
83
|
-
- "spec/**/*"
|
84
|
-
- "test/**/*"
|
85
|
-
Metrics/BlockLength:
|
86
|
-
Exclude:
|
87
|
-
- "spec/**/*"
|
88
|
-
- "test/**/*"
|
89
|
-
- "*.gemspec" # definitely not in the gemspec
|
90
|
-
Metrics/MethodLength:
|
91
|
-
Max: 20
|
92
|
-
Lint/UnreachableCode:
|
93
|
-
Description: 'Unreachable code.'
|
94
|
-
Enabled: false
|
95
|
-
Lint/Void:
|
96
|
-
Enabled: false
|
97
|
-
Layout/AlignHash:
|
98
|
-
EnforcedLastArgumentHashStyle: ignore_implicit
|
99
|
-
Metrics/AbcSize:
|
100
|
-
Max: 25
|
101
|
-
Style/LambdaCall:
|
102
|
-
Enabled: false
|
103
|
-
Style/Semicolon:
|
104
|
-
Enabled: false
|
105
|
-
Naming/UncommunicativeMethodParamName:
|
106
|
-
Enabled: false
|
107
|
-
Style/ClassAndModuleChildren:
|
108
|
-
Enabled: false
|
109
|
-
Layout/LeadingCommentSpace:
|
110
|
-
Exclude:
|
111
|
-
- 'test/docs/**/*'
|
112
|
-
Layout/AlignHash:
|
113
|
-
EnforcedHashRocketStyle: table
|
114
|
-
Style/FrozenStringLiteralComment:
|
115
|
-
Enabled: false
|
data/.rubocop.yml
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
inherit_from:
|
2
|
-
- https://raw.githubusercontent.com/trailblazer/meta/master/rubocop.yml
|
3
|
-
|
4
|
-
Bundler/DuplicatedGem:
|
5
|
-
Enabled: false
|
6
|
-
|
7
|
-
Style/Send:
|
8
|
-
Enabled: false
|
9
|
-
|
10
|
-
# required when rubocop is run via travis
|
11
|
-
AllCops:
|
12
|
-
Exclude:
|
13
|
-
- 'test/**/vendor/**/*'
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.4.4
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
cache: bundler
|
4
|
-
matrix:
|
5
|
-
include:
|
6
|
-
- rvm: 2.4.1
|
7
|
-
env: TEST_SUITE=rails4.2
|
8
|
-
gemfile: test/rails4.2/Gemfile
|
9
|
-
- rvm: 2.4.1
|
10
|
-
env: TEST_SUITE=rails5.0
|
11
|
-
gemfile: test/rails5.0/Gemfile
|
12
|
-
|
13
|
-
- rvm: 2.4.1
|
14
|
-
env: TEST_SUITE=rails5.1
|
15
|
-
gemfile: test/rails5.1/Gemfile
|
16
|
-
|
17
|
-
- rvm: 2.5.1
|
18
|
-
gemfile: test/rails5.2/Gemfile
|
19
|
-
script: cd test/rails5.2 && bundle install && bundle exec rake test && cd ../.. && bundle install && bundle exec rake rubocop
|
20
|
-
|
21
|
-
script: cd test/$TEST_SUITE && bundle install && bundle exec rake test
|
22
|
-
|