bullet_train 1.0.19 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84db0363c17c234dc20e6afc4a57e7bd64d389327ff08cb37d9de20491bf5b6d
4
- data.tar.gz: 538308eb4a3728d072767e50fff000ab536010ecef11e50b397f8447ecb68960
3
+ metadata.gz: b8a4d21291eb07acbecfc3997e069ae0403bb33cfaa259a43ef9cf1b65f4403e
4
+ data.tar.gz: 9647a22cfa1758bcf7977922f01ded2eeaccc3fe384ad1f984217deaf6b00b87
5
5
  SHA512:
6
- metadata.gz: da98f3806719eaace18950b43c26b351ee0c5a3dd0d7e454ae3de5209a02a4419c0765eac847fe3aec0f76317e222d300133b4720d3c44d9e29f933d0a8f77a6
7
- data.tar.gz: f093e07b37a6adec41c282d2060f69847460aad2ee85c7043197575d4180064a94d8fdb1df397f83af9220e65838c45c3be233512c9d0e85aaace334ef956415
6
+ metadata.gz: 710d164f2b91e3485f3f9a14f26e840fbd15d096637d09869aab580b65c3005001ff16a26a935fbf698c9761af7ade10b2c2184da065185c06839b12059ff207
7
+ data.tar.gz: 6beb1cd993f15c4e45757f5dac8f8479fee071c527652d28e73a4f2f9a9a7402a778f30f70efe41542586df070cc77b90802194b9dc501164b3c6e05f4467bfb
@@ -12,7 +12,6 @@ module Account::Controllers::Base
12
12
  layout "account"
13
13
 
14
14
  before_action :authenticate_user!
15
- before_action :set_paper_trail_whodunnit
16
15
  before_action :ensure_onboarding_is_complete_and_set_next_step
17
16
  end
18
17
 
@@ -1,7 +1,7 @@
1
1
  module EmailHelper
2
2
  def email_image_tag(image, **options)
3
3
  image_underscore = image.tr("-", "_")
4
- attachments.inline[image_underscore] = File.read(Rails.root.join("app/javascript/images/#{image}"))
4
+ attachments.inline[image_underscore] = File.read(Rails.root.join("app/assets/images/#{image}"))
5
5
  image_tag attachments.inline[image_underscore].url, **options
6
6
  end
7
7
  end
@@ -1,6 +1,6 @@
1
1
  module ImagesHelper
2
2
  def image_width_for_height(filename, target_height)
3
- source_width, source_height = FastImage.size("#{Rails.root}/app/javascript/images/#{filename}")
3
+ source_width, source_height = FastImage.size("#{Rails.root}/app/assets/images/#{filename}")
4
4
  ratio = source_width.to_f / source_height.to_f
5
5
  (target_height * ratio).to_i
6
6
  end
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.0.19"
2
+ VERSION = "1.0.22"
3
3
  end
data/lib/bullet_train.rb CHANGED
@@ -7,6 +7,28 @@ require "bullet_train/super_load_and_authorize_resource"
7
7
  require "bullet_train/has_uuid"
8
8
  require "bullet_train/scope_validator"
9
9
 
10
+ require "devise"
11
+ # require "devise-two-factor"
12
+ # require "rqrcode"
13
+ require "cancancan"
14
+ require "doorkeeper"
15
+ require "possessive"
16
+ require "sidekiq"
17
+ require "fastimage"
18
+ require "pry"
19
+ require "pry-stack_explorer"
20
+ require "awesome_print"
21
+ require "microscope"
22
+ require "http_accept_language"
23
+ require "cable_ready"
24
+ require "hiredis"
25
+ require "nice_partials"
26
+ require "premailer/rails"
27
+ require "figaro"
28
+ require "valid_email"
29
+ require "commonmarker"
30
+ require "extended_email_reply_parser"
31
+
10
32
  module BulletTrain
11
33
  mattr_accessor :routing_concerns, default: []
12
34
  mattr_accessor :linked_gems, default: ["bullet_train"]
@@ -0,0 +1,8 @@
1
+ desc "Cut a release."
2
+ task :release do
3
+ puts `bump patch`
4
+ puts `gem build`
5
+ puts `gem push *.gem`
6
+ puts `rm *.gem`
7
+ puts `git push origin main`
8
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.0
19
+ version: 6.0.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: 7.0.0
26
+ version: 6.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bullet_train-fields
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: bullet_train-roles
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.4
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.4
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bullet_train-super_load_and_authorize_resource
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,272 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: devise
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: cancancan
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: doorkeeper
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: possessive
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: sidekiq
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: fastimage
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: pry
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: pry-stack_explorer
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: awesome_print
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: microscope
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: http_accept_language
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: cable_ready
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - '='
256
+ - !ruby/object:Gem::Version
257
+ version: 5.0.0.pre8
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - '='
263
+ - !ruby/object:Gem::Version
264
+ version: 5.0.0.pre8
265
+ - !ruby/object:Gem::Dependency
266
+ name: hiredis
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: nice_partials
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: '0.1'
286
+ type: :runtime
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - "~>"
291
+ - !ruby/object:Gem::Version
292
+ version: '0.1'
293
+ - !ruby/object:Gem::Dependency
294
+ name: premailer-rails
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :runtime
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ - !ruby/object:Gem::Dependency
308
+ name: figaro
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">="
312
+ - !ruby/object:Gem::Version
313
+ version: '0'
314
+ type: :runtime
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - ">="
319
+ - !ruby/object:Gem::Version
320
+ version: '0'
321
+ - !ruby/object:Gem::Dependency
322
+ name: valid_email
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - ">="
326
+ - !ruby/object:Gem::Version
327
+ version: '0'
328
+ type: :runtime
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: '0'
335
+ - !ruby/object:Gem::Dependency
336
+ name: commonmarker
337
+ requirement: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: '0'
342
+ type: :runtime
343
+ prerelease: false
344
+ version_requirements: !ruby/object:Gem::Requirement
345
+ requirements:
346
+ - - ">="
347
+ - !ruby/object:Gem::Version
348
+ version: '0'
349
+ - !ruby/object:Gem::Dependency
350
+ name: extended_email_reply_parser
351
+ requirement: !ruby/object:Gem::Requirement
352
+ requirements:
353
+ - - ">="
354
+ - !ruby/object:Gem::Version
355
+ version: '0'
356
+ type: :runtime
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - ">="
361
+ - !ruby/object:Gem::Version
362
+ version: '0'
97
363
  description: Bullet Train
98
364
  email:
99
365
  - andrew.culver@gmail.com
@@ -257,6 +523,7 @@ files:
257
523
  - lib/bullet_train/engine.rb
258
524
  - lib/bullet_train/version.rb
259
525
  - lib/tasks/bullet_train_tasks.rake
526
+ - lib/tasks/release.rake
260
527
  homepage: https://github.com/bullet-train-co/bullet_train
261
528
  licenses:
262
529
  - MIT