trailblazer-rails 2.1.5 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,111 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.3.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: 2018-06-14 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: trailblazer
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 2.1.0.beta1
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 2.2.0
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 2.1.0.beta1
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 2.2.0
33
- - !ruby/object:Gem::Dependency
34
- name: trailblazer-loader
14
+ name: railties
35
15
  requirement: !ruby/object:Gem::Requirement
36
16
  requirements:
37
17
  - - ">="
38
18
  - !ruby/object:Gem::Version
39
- version: 0.1.0
19
+ version: 5.2.0
40
20
  type: :runtime
41
21
  prerelease: false
42
22
  version_requirements: !ruby/object:Gem::Requirement
43
23
  requirements:
44
24
  - - ">="
45
25
  - !ruby/object:Gem::Version
46
- version: 0.1.0
26
+ version: 5.2.0
47
27
  - !ruby/object:Gem::Dependency
48
- name: reform-rails
28
+ name: trailblazer
49
29
  requirement: !ruby/object:Gem::Requirement
50
30
  requirements:
51
31
  - - ">="
52
32
  - !ruby/object:Gem::Version
53
- version: 0.1.4
33
+ version: 2.1.0
54
34
  - - "<"
55
35
  - !ruby/object:Gem::Version
56
- version: 0.2.0
36
+ version: 2.2.0
57
37
  type: :runtime
58
38
  prerelease: false
59
39
  version_requirements: !ruby/object:Gem::Requirement
60
40
  requirements:
61
41
  - - ">="
62
42
  - !ruby/object:Gem::Version
63
- version: 0.1.4
43
+ version: 2.1.0
64
44
  - - "<"
65
45
  - !ruby/object:Gem::Version
66
- version: 0.2.0
67
- - !ruby/object:Gem::Dependency
68
- name: activesupport
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- version: 5.0.0
74
- type: :runtime
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: 5.0.0
46
+ version: 2.2.0
81
47
  - !ruby/object:Gem::Dependency
82
48
  name: bundler
83
49
  requirement: !ruby/object:Gem::Requirement
84
50
  requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '1.10'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '1.10'
95
- - !ruby/object:Gem::Dependency
96
- name: rake
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
51
+ - - ">="
100
52
  - !ruby/object:Gem::Version
101
- version: '10.0'
53
+ version: '0'
102
54
  type: :development
103
55
  prerelease: false
104
56
  version_requirements: !ruby/object:Gem::Requirement
105
57
  requirements:
106
- - - "~>"
58
+ - - ">="
107
59
  - !ruby/object:Gem::Version
108
- version: '10.0'
60
+ version: '0'
109
61
  - !ruby/object:Gem::Dependency
110
62
  name: minitest
111
63
  requirement: !ruby/object:Gem::Requirement
@@ -121,7 +73,7 @@ dependencies:
121
73
  - !ruby/object:Gem::Version
122
74
  version: '0'
123
75
  - !ruby/object:Gem::Dependency
124
- name: rubocop
76
+ name: rake
125
77
  requirement: !ruby/object:Gem::Requirement
126
78
  requirements:
127
79
  - - ">="
@@ -134,40 +86,42 @@ dependencies:
134
86
  - - ">="
135
87
  - !ruby/object:Gem::Version
136
88
  version: '0'
137
- description:
89
+ description:
138
90
  email:
139
91
  - apotonick@gmail.com
140
92
  executables: []
141
93
  extensions: []
142
94
  extra_rdoc_files: []
143
95
  files:
96
+ - ".github/workflows/ci.yml"
144
97
  - ".gitignore"
145
- - ".rubocop.yml"
146
- - ".rubocop_todo.yml"
147
- - ".ruby-version"
148
- - ".travis.yml"
98
+ - Appraisals
149
99
  - CHANGES.md
150
100
  - Gemfile
151
101
  - LICENSE.txt
152
102
  - README.md
153
103
  - Rakefile
104
+ - gemfiles/rails_5.2.gemfile
105
+ - gemfiles/rails_5.2.gemfile.lock
106
+ - gemfiles/rails_6.0.gemfile
107
+ - gemfiles/rails_6.0.gemfile.lock
108
+ - gemfiles/rails_6.1.gemfile
109
+ - gemfiles/rails_6.1.gemfile.lock
110
+ - gemfiles/rails_7.0.gemfile
111
+ - gemfiles/rails_7.0.gemfile.lock
154
112
  - lib/trailblazer-rails.rb
155
- - lib/trailblazer/operation/responder.rb
156
113
  - lib/trailblazer/rails.rb
157
114
  - lib/trailblazer/rails/cell.rb
158
115
  - lib/trailblazer/rails/controller.rb
159
116
  - lib/trailblazer/rails/form.rb
160
117
  - lib/trailblazer/rails/railtie.rb
161
- - lib/trailblazer/rails/railtie/extend_application_controller.rb
162
- - lib/trailblazer/rails/railtie/loader.rb
163
- - lib/trailblazer/rails/test/integration.rb
164
118
  - lib/trailblazer/rails/version.rb
165
119
  - trailblazer-rails.gemspec
166
- homepage: http://trailblazer.to/gems/trailblazer/2.0/rails.html
120
+ homepage: https://trailblazer.to/2.1/docs/trailblazer.html#trailblazer-rails
167
121
  licenses:
168
122
  - MIT
169
123
  metadata: {}
170
- post_install_message:
124
+ post_install_message:
171
125
  rdoc_options: []
172
126
  require_paths:
173
127
  - lib
@@ -182,9 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
136
  - !ruby/object:Gem::Version
183
137
  version: '0'
184
138
  requirements: []
185
- rubyforge_project:
186
- rubygems_version: 2.6.14.1
187
- signing_key:
139
+ rubygems_version: 3.2.22
140
+ signing_key:
188
141
  specification_version: 4
189
142
  summary: Convenient Rails support for Trailblazer.
190
143
  test_files: []
data/.rubocop.yml DELETED
@@ -1,9 +0,0 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
- Style/ClassCheck:
4
- Exclude:
5
- - 'lib/trailblazer/rails/cell.rb'
6
-
7
- Metrics/AbcSize:
8
- Exclude:
9
- - 'lib/trailblazer/rails/controller.rb'
data/.rubocop_todo.yml DELETED
@@ -1,294 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2018-04-05 15:17:59 +0800 using RuboCop version 0.52.0.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 9
10
- # Cop supports --auto-correct.
11
- # Configuration parameters: Include, TreatCommentsAsGroupSeparators.
12
- # Include: **/Gemfile, **/gems.rb
13
- Bundler/OrderedGems:
14
- Exclude:
15
- - 'test/rails5.0/Gemfile'
16
- - 'test/rails5.1/Gemfile'
17
- - 'test/rails5.2/Gemfile'
18
-
19
- # Offense count: 2
20
- # Cop supports --auto-correct.
21
- # Configuration parameters: Include, TreatCommentsAsGroupSeparators.
22
- # Include: **/*.gemspec
23
- Gemspec/OrderedDependencies:
24
- Exclude:
25
- - 'trailblazer-rails.gemspec'
26
-
27
- # Offense count: 2
28
- # Cop supports --auto-correct.
29
- # Configuration parameters: EnforcedStyle, IndentationWidth.
30
- # SupportedStyles: outdent, indent
31
- Layout/AccessModifierIndentation:
32
- Exclude:
33
- - 'lib/trailblazer/rails/controller.rb'
34
- - 'test/rails5.0/app/controllers/params_controller.rb'
35
-
36
- # Offense count: 5
37
- # Cop supports --auto-correct.
38
- Layout/EmptyLines:
39
- Exclude:
40
- - 'test/rails5.2/Gemfile'
41
- - 'test/test_helper.rb'
42
-
43
- # Offense count: 4
44
- # Cop supports --auto-correct.
45
- Layout/EmptyLinesAroundAccessModifier:
46
- Exclude:
47
- - 'lib/trailblazer/rails/controller.rb'
48
- - 'test/rails5.0/app/controllers/params_controller.rb'
49
- - 'test/rails5.1/app/controllers/params_controller.rb'
50
- - 'test/rails5.2/app/controllers/params_controller.rb'
51
-
52
- # Offense count: 9
53
- # Cop supports --auto-correct.
54
- # Configuration parameters: EnforcedStyle.
55
- # SupportedStyles: empty_lines, no_empty_lines
56
- Layout/EmptyLinesAroundBlockBody:
57
- Exclude:
58
- - 'test/rails5.0/config/routes.rb'
59
- - 'test/rails5.0/db/schema.rb'
60
- - 'test/rails5.1/config/routes.rb'
61
- - 'test/rails5.1/db/schema.rb'
62
- - 'test/rails5.2/config/routes.rb'
63
- - 'test/rails5.2/db/schema.rb'
64
-
65
- # Offense count: 3
66
- # Cop supports --auto-correct.
67
- # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
68
- Layout/ExtraSpacing:
69
- Exclude:
70
- - 'test/rails5.0/bin/setup'
71
- - 'test/rails5.1/bin/setup'
72
- - 'test/rails5.2/bin/setup'
73
-
74
- # Offense count: 2
75
- # Cop supports --auto-correct.
76
- # Configuration parameters: EnforcedStyle.
77
- # SupportedStyles: normal, rails
78
- Layout/IndentationConsistency:
79
- Exclude:
80
- - 'test/rails5.1/app/controllers/params_controller.rb'
81
- - 'test/rails5.2/app/controllers/params_controller.rb'
82
-
83
- # Offense count: 3
84
- # Cop supports --auto-correct.
85
- Layout/LeadingCommentSpace:
86
- Exclude:
87
- - 'test/rails5.0/Gemfile'
88
- - 'test/rails5.1/Gemfile'
89
- - 'test/rails5.2/Gemfile'
90
-
91
- # Offense count: 2
92
- # Cop supports --auto-correct.
93
- Layout/SpaceAfterColon:
94
- Exclude:
95
- - 'test/rails5.1/app/controllers/args_controller.rb'
96
- - 'test/rails5.2/app/controllers/args_controller.rb'
97
-
98
- # Offense count: 3
99
- # Cop supports --auto-correct.
100
- Layout/SpaceBeforeComment:
101
- Exclude:
102
- - 'test/rails5.0/Gemfile'
103
- - 'test/rails5.1/Gemfile'
104
- - 'test/rails5.2/Gemfile'
105
-
106
- # Offense count: 6
107
- # Cop supports --auto-correct.
108
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
109
- # SupportedStyles: space, no_space
110
- # SupportedStylesForEmptyBraces: space, no_space
111
- Layout/SpaceInsideBlockBraces:
112
- Exclude:
113
- - 'test/rails5.0/app/concepts/params/operation/with_args.rb'
114
- - 'test/rails5.1/app/concepts/params/operation/with_args.rb'
115
- - 'test/rails5.2/app/concepts/params/operation/with_args.rb'
116
-
117
- # Offense count: 51
118
- # Cop supports --auto-correct.
119
- Layout/SpaceInsideParens:
120
- Exclude:
121
- - 'test/rails5.0/app/concepts/song/operation/create.rb'
122
- - 'test/rails5.0/app/concepts/song/operation/show.rb'
123
- - 'test/rails5.0/app/controllers/artists_controller.rb'
124
- - 'test/rails5.0/app/controllers/params_controller.rb'
125
- - 'test/rails5.1/app/concepts/song/operation/create.rb'
126
- - 'test/rails5.1/app/concepts/song/operation/show.rb'
127
- - 'test/rails5.1/app/controllers/artists_controller.rb'
128
- - 'test/rails5.1/app/controllers/params_controller.rb'
129
- - 'test/rails5.2/app/concepts/song/operation/create.rb'
130
- - 'test/rails5.2/app/concepts/song/operation/show.rb'
131
- - 'test/rails5.2/app/controllers/artists_controller.rb'
132
- - 'test/rails5.2/app/controllers/params_controller.rb'
133
-
134
- # Offense count: 3
135
- # Cop supports --auto-correct.
136
- # Configuration parameters: EnforcedStyle.
137
- # SupportedStyles: space, no_space
138
- Layout/SpaceInsideStringInterpolation:
139
- Exclude:
140
- - 'test/rails5.0/app/concepts/params/operation/with_args.rb'
141
- - 'test/rails5.1/app/concepts/params/operation/with_args.rb'
142
- - 'test/rails5.2/app/concepts/params/operation/with_args.rb'
143
-
144
- # Offense count: 1
145
- # Cop supports --auto-correct.
146
- Lint/DeprecatedClassMethods:
147
- Exclude:
148
- - 'test/test_helper.rb'
149
-
150
- # Offense count: 1
151
- Lint/ParenthesesAsGroupedExpression:
152
- Exclude:
153
- - 'test/test_helper.rb'
154
-
155
- # Offense count: 1
156
- # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
157
- Lint/UselessAccessModifier:
158
- Exclude:
159
- - 'lib/trailblazer/rails/cell.rb'
160
-
161
- # Offense count: 1
162
- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
163
- # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
164
- Naming/FileName:
165
- Exclude:
166
- - 'lib/trailblazer-rails.rb'
167
-
168
- # Offense count: 3
169
- # Cop supports --auto-correct.
170
- # Configuration parameters: EnforcedStyle.
171
- # SupportedStyles: braces, no_braces, context_dependent
172
- Style/BracesAroundHashParameters:
173
- Exclude:
174
- - 'test/rails5.0/app/controllers/args_controller.rb'
175
- - 'test/rails5.1/app/controllers/args_controller.rb'
176
- - 'test/rails5.2/app/controllers/args_controller.rb'
177
-
178
- # Offense count: 23
179
- # Configuration parameters: EnforcedStyle.
180
- # SupportedStyles: nested, compact
181
- Style/ClassAndModuleChildren:
182
- Enabled: false
183
-
184
- # Offense count: 1
185
- # Cop supports --auto-correct.
186
- Style/ColonMethodCall:
187
- Exclude:
188
- - 'test/test_helper.rb'
189
-
190
- # Offense count: 10
191
- Style/Documentation:
192
- Exclude:
193
- - 'spec/**/*'
194
- - 'test/**/*'
195
- - 'lib/trailblazer/operation/responder.rb'
196
- - 'lib/trailblazer/rails.rb'
197
- - 'lib/trailblazer/rails/cell.rb'
198
- - 'lib/trailblazer/rails/controller.rb'
199
- - 'lib/trailblazer/rails/form.rb'
200
- - 'lib/trailblazer/rails/railtie.rb'
201
-
202
- # Offense count: 134
203
- # Cop supports --auto-correct.
204
- # Configuration parameters: EnforcedStyle.
205
- # SupportedStyles: when_needed, always, never
206
- Style/FrozenStringLiteralComment:
207
- Enabled: false
208
-
209
- # Offense count: 7
210
- # Cop supports --auto-correct.
211
- # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
212
- # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
213
- Style/HashSyntax:
214
- Exclude:
215
- - 'Rakefile'
216
- - 'test/rails5.0/app/controllers/args_controller.rb'
217
- - 'test/rails5.0/app/controllers/params_controller.rb'
218
- - 'test/rails5.1/app/controllers/args_controller.rb'
219
- - 'test/rails5.1/app/controllers/params_controller.rb'
220
- - 'test/rails5.2/app/controllers/args_controller.rb'
221
- - 'test/rails5.2/app/controllers/params_controller.rb'
222
-
223
- # Offense count: 2
224
- # Cop supports --auto-correct.
225
- # Configuration parameters: EnforcedStyle.
226
- # SupportedStyles: line_count_dependent, lambda, literal
227
- Style/Lambda:
228
- Exclude:
229
- - 'lib/trailblazer/rails/railtie.rb'
230
-
231
- # Offense count: 6
232
- # Cop supports --auto-correct.
233
- # Configuration parameters: .
234
- # SupportedStyles: call, braces
235
- Style/LambdaCall:
236
- EnforcedStyle: braces
237
-
238
- # Offense count: 1
239
- # Cop supports --auto-correct.
240
- Style/MutableConstant:
241
- Exclude:
242
- - 'lib/trailblazer/rails/version.rb'
243
-
244
- # Offense count: 3
245
- # Cop supports --auto-correct.
246
- # Configuration parameters: Strict.
247
- Style/NumericLiterals:
248
- MinDigits: 15
249
-
250
- # Offense count: 10
251
- # Cop supports --auto-correct.
252
- # Configuration parameters: PreferredDelimiters.
253
- Style/PercentLiteralDelimiters:
254
- Exclude:
255
- - 'test/rails5.0/app/concepts/params/operation/with_args.rb'
256
- - 'test/rails5.0/test/integration/artists_controller_test.rb'
257
- - 'test/rails5.1/app/concepts/params/operation/with_args.rb'
258
- - 'test/rails5.1/test/integration/artists_controller_test.rb'
259
- - 'test/rails5.2/app/concepts/params/operation/with_args.rb'
260
- - 'test/rails5.2/test/integration/artists_controller_test.rb'
261
- - 'trailblazer-rails.gemspec'
262
-
263
- # Offense count: 2
264
- # Cop supports --auto-correct.
265
- Style/RedundantSelf:
266
- Exclude:
267
- - 'lib/trailblazer/rails/controller.rb'
268
-
269
- # Offense count: 279
270
- # Cop supports --auto-correct.
271
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
272
- # SupportedStyles: single_quotes, double_quotes
273
- Style/StringLiterals:
274
- Enabled: false
275
-
276
- # Offense count: 1
277
- # Cop supports --auto-correct.
278
- # Configuration parameters: IgnoredMethods.
279
- # IgnoredMethods: respond_to, define_method
280
- Style/SymbolProc:
281
- Exclude:
282
- - 'lib/trailblazer/rails/railtie.rb'
283
-
284
- # Offense count: 1
285
- # Cop supports --auto-correct.
286
- Style/UnneededPercentQ:
287
- Exclude:
288
- - 'trailblazer-rails.gemspec'
289
-
290
- # Offense count: 66
291
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
292
- # URISchemes: http, https
293
- Metrics/LineLength:
294
- Max: 127
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.4.4
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
- matrix:
5
- include:
6
- - rvm: 2.4.1
7
- env: TEST_SUITE=rails5.0
8
- gemfile: test/rails5.0/Gemfile
9
-
10
- - rvm: 2.4.1
11
- env: TEST_SUITE=rails5.1
12
- gemfile: test/rails5.1/Gemfile
13
-
14
- - rvm: 2.5.1
15
- env: TEST_SUITE=rails5.2
16
- gemfile: test/rails5.2/Gemfile
17
-
18
- script: cd test/$TEST_SUITE && bundle install && bundle exec rake test
@@ -1,18 +0,0 @@
1
- module Trailblazer::Operation::Responder
2
- def self.included(base)
3
- base.extend ClassMethods
4
- end
5
-
6
- module ClassMethods
7
- def model_name
8
- model_class.model_name
9
- end
10
- end
11
-
12
- extend Forwardable
13
- def_delegators :@model, :to_param, :destroyed?, :persisted?
14
-
15
- def to_model
16
- @model
17
- end
18
- end
@@ -1,28 +0,0 @@
1
- require 'active_support/concern'
2
-
3
- module Trailblazer
4
- class Railtie < ::Rails::Railtie
5
- module ExtendApplicationController
6
- extend ActiveSupport::Concern
7
-
8
- included do
9
- initializer "trailblazer.application_controller", before: "finisher_hook" do
10
- reloader_class.to_prepare do
11
- ActiveSupport.on_load(:action_controller) do |app|
12
- Trailblazer::Railtie.extend_application_controller!(app)
13
- end
14
- end
15
- end
16
-
17
- def extend_application_controller!(app)
18
- controllers = Array(::Rails.application.config.trailblazer.application_controller).map { |x| x.to_s }
19
- if controllers.include? app.to_s
20
- app.send :include, Trailblazer::Rails::Controller
21
- app.send :include, Trailblazer::Rails::Controller::Cell if defined?(::Cell)
22
- end
23
- app
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,51 +0,0 @@
1
- require 'active_support/concern'
2
-
3
- module Trailblazer
4
- class Railtie < ::Rails::Railtie
5
- module Loader
6
- extend ActiveSupport::Concern
7
-
8
- included do
9
- def self.load_concepts(app)
10
- load_for(app)
11
-
12
- engines.each { |engine| load_for(engine) }
13
- end
14
-
15
- def self.engines
16
- ::Rails.application.railties.select { |tie| tie.is_a?(::Rails::Engine) }
17
- end
18
-
19
- def self.load_for(app)
20
- Trailblazer::Loader.new.(prepend: AllModelFiles, root: app.root) { |file| require_dependency(file) }
21
- end
22
-
23
- # Prepend model file, before the concept files like operation.rb get loaded.
24
- ModelFile = lambda do |input, options|
25
- model = "app/models/#{options[:name]}.rb"
26
- File.exist?(model) ? [model] + input : input
27
- end
28
-
29
- # Load all model files before any TRB files.
30
- AllModelFiles = lambda do |input, options|
31
- Dir.glob("#{options[:root]}/app/models/**/*.rb").sort + input
32
- end
33
-
34
- # This is to autoload Operation::Dispatch, etc. I'm simply assuming people find this helpful in Rails.
35
- initializer "trailblazer.library_autoloading" do
36
- end
37
-
38
- # thank you, http://stackoverflow.com/a/17573888/465070
39
- initializer 'trailblazer.install', after: "reform.form_extensions" do |app|
40
- # the trb autoloading has to be run after initializers have been loaded, so we can tweak inclusion of features in
41
- # initializers.
42
- if config.trailblazer.use_loader
43
- reloader_class.to_prepare do
44
- Trailblazer::Railtie.load_concepts(app)
45
- end
46
- end
47
- end
48
- end
49
- end
50
- end
51
- end
@@ -1,6 +0,0 @@
1
- require "minitest/rails/capybara" # loads Capybara, etc.
2
-
3
- module Trailblazer::Test
4
- class Integration < Capybara::Rails::TestCase
5
- end
6
- end