trek 0.1.13 → 0.1.14
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 +4 -4
- data/Gemfile.lock +2 -42
- data/README.md +0 -1
- data/lib/generators/trek/install/authentication_generator.rb +2 -15
- data/lib/trek/version.rb +1 -1
- data/package.json +1 -1
- data/trek.gemspec +0 -1
- metadata +1 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cb0d4043c637f6146abea51141e76c51b0ebd6cc4dac523445d902473b95177
|
|
4
|
+
data.tar.gz: b0fc30e95b128e3cd3728c81d24a6e35ee2300ed56b14f18027248e2c15a3030
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 174c1802c47d012db7287e22dd3f67873d5542f271d8d4caf539e7519cea9344feb1eb6c2bc6ba7b015e94fdc63fa2b992a6c3ca8207a97b76f7cd819a05dae4
|
|
7
|
+
data.tar.gz: e7b8ddced93643490fb19c423c71c0996e6ed2782ac2e7e26a522b3d0a4026cc0bf84c8a5b0072e8f3e88d4a64461e218b723631a266a9a3a6214b53721fb04c
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
trek (0.1.
|
|
4
|
+
trek (0.1.14)
|
|
5
5
|
action_policy (~> 0.6)
|
|
6
6
|
actioncable
|
|
7
7
|
acts_as_list (~> 1.1)
|
|
@@ -27,7 +27,6 @@ PATH
|
|
|
27
27
|
shrine (~> 3.0)
|
|
28
28
|
shrine-blurhash (~> 0.2)
|
|
29
29
|
slim-rails (~> 4.0)
|
|
30
|
-
sorcery (~> 0.17)
|
|
31
30
|
strip_attributes (~> 2.0)
|
|
32
31
|
view_component (< 5.0)
|
|
33
32
|
view_component-form (~> 0.3)
|
|
@@ -138,7 +137,6 @@ GEM
|
|
|
138
137
|
aws-sigv4 (1.12.1)
|
|
139
138
|
aws-eventstream (~> 1, >= 1.0.2)
|
|
140
139
|
base64 (0.3.0)
|
|
141
|
-
bcrypt (3.1.21)
|
|
142
140
|
bigdecimal (3.3.1)
|
|
143
141
|
blurhash (0.1.8)
|
|
144
142
|
brakeman (7.1.2)
|
|
@@ -204,19 +202,11 @@ GEM
|
|
|
204
202
|
zeitwerk (~> 2.6)
|
|
205
203
|
erb (6.0.1)
|
|
206
204
|
erubi (1.13.1)
|
|
207
|
-
faraday (2.14.1)
|
|
208
|
-
faraday-net_http (>= 2.0, < 3.5)
|
|
209
|
-
json
|
|
210
|
-
logger
|
|
211
|
-
faraday-net_http (3.4.2)
|
|
212
|
-
net-http (~> 0.5)
|
|
213
205
|
fastimage (2.4.0)
|
|
214
206
|
ffi (1.17.3-arm64-darwin)
|
|
215
207
|
ffi (1.17.3-x86_64-darwin)
|
|
216
208
|
globalid (1.3.0)
|
|
217
209
|
activesupport (>= 6.1)
|
|
218
|
-
hashie (5.1.0)
|
|
219
|
-
logger
|
|
220
210
|
highline (3.1.2)
|
|
221
211
|
reline
|
|
222
212
|
htmlbeautifier (1.4.3)
|
|
@@ -245,9 +235,7 @@ GEM
|
|
|
245
235
|
rdoc (>= 4.0.0)
|
|
246
236
|
reline (>= 0.4.2)
|
|
247
237
|
jmespath (1.6.2)
|
|
248
|
-
json (2.18.
|
|
249
|
-
jwt (3.1.2)
|
|
250
|
-
base64
|
|
238
|
+
json (2.18.0)
|
|
251
239
|
kaminari (1.2.2)
|
|
252
240
|
activesupport (>= 4.1.0)
|
|
253
241
|
kaminari-actionview (= 1.2.2)
|
|
@@ -297,10 +285,6 @@ GEM
|
|
|
297
285
|
mobility (1.3.2)
|
|
298
286
|
i18n (>= 0.6.10, < 2)
|
|
299
287
|
request_store (~> 1.0)
|
|
300
|
-
multi_xml (0.8.0)
|
|
301
|
-
bigdecimal (>= 3.1, < 5)
|
|
302
|
-
net-http (0.9.1)
|
|
303
|
-
uri (>= 0.11.1)
|
|
304
288
|
net-imap (0.6.2)
|
|
305
289
|
date
|
|
306
290
|
net-protocol
|
|
@@ -315,21 +299,6 @@ GEM
|
|
|
315
299
|
racc (~> 1.4)
|
|
316
300
|
nokogiri (1.19.0-x86_64-darwin)
|
|
317
301
|
racc (~> 1.4)
|
|
318
|
-
oauth (1.1.3)
|
|
319
|
-
base64 (~> 0.1)
|
|
320
|
-
oauth-tty (~> 1.0, >= 1.0.6)
|
|
321
|
-
snaky_hash (~> 2.0)
|
|
322
|
-
version_gem (~> 1.1, >= 1.1.9)
|
|
323
|
-
oauth-tty (1.0.6)
|
|
324
|
-
version_gem (~> 1.1, >= 1.1.9)
|
|
325
|
-
oauth2 (2.0.18)
|
|
326
|
-
faraday (>= 0.17.3, < 4.0)
|
|
327
|
-
jwt (>= 1.0, < 4.0)
|
|
328
|
-
logger (~> 1.2)
|
|
329
|
-
multi_xml (~> 0.5)
|
|
330
|
-
rack (>= 1.2, < 4)
|
|
331
|
-
snaky_hash (~> 2.0, >= 2.0.3)
|
|
332
|
-
version_gem (~> 1.1, >= 1.1.9)
|
|
333
302
|
parallel (1.27.0)
|
|
334
303
|
parser (3.3.10.0)
|
|
335
304
|
ast (~> 2.4.1)
|
|
@@ -508,14 +477,6 @@ GEM
|
|
|
508
477
|
rexml (~> 3.2)
|
|
509
478
|
rubocop (>= 1.0, < 2.0)
|
|
510
479
|
slim (>= 3.0, < 6.0)
|
|
511
|
-
snaky_hash (2.0.3)
|
|
512
|
-
hashie (>= 0.1.0, < 6)
|
|
513
|
-
version_gem (>= 1.1.8, < 3)
|
|
514
|
-
sorcery (0.18.0)
|
|
515
|
-
bcrypt (~> 3.1)
|
|
516
|
-
oauth (>= 0.6)
|
|
517
|
-
oauth2 (~> 2.0)
|
|
518
|
-
railties (>= 7.1)
|
|
519
480
|
stringio (3.2.0)
|
|
520
481
|
strip_attributes (2.0.1)
|
|
521
482
|
activemodel (>= 3.0, < 9.0)
|
|
@@ -533,7 +494,6 @@ GEM
|
|
|
533
494
|
unicode-emoji (4.2.0)
|
|
534
495
|
uri (1.1.1)
|
|
535
496
|
useragent (0.16.11)
|
|
536
|
-
version_gem (1.1.9)
|
|
537
497
|
view_component (4.1.1)
|
|
538
498
|
actionview (>= 7.1.0, < 8.2)
|
|
539
499
|
activesupport (>= 7.1.0, < 8.2)
|
data/README.md
CHANGED
|
@@ -21,7 +21,6 @@ Trek uses these gems under the hood:
|
|
|
21
21
|
- [rails-i18n](https://github.com/svenfuchs/rails-i18n), [mobility](https://github.com/shioyama/mobility) and [i18n-tasks](https://github.com/glebm/i18n-tasks) for internationalization
|
|
22
22
|
- [RSpec](https://github.com/rspec/rspec-rails) for testing
|
|
23
23
|
- [Shrine](https://github.com/shrinerb/shrine) for attachments
|
|
24
|
-
- [Sorcery](https://github.com/Sorcery/sorcery) for authentication
|
|
25
24
|
- [StripAttributes](https://github.com/rmm5t/strip_attributes)
|
|
26
25
|
|
|
27
26
|
You don't have to set them up yourself, but you can customize their configuration once Trek is installed.
|
|
@@ -8,24 +8,11 @@ module Trek
|
|
|
8
8
|
class AuthenticationGenerator < Rails::Generators::Base
|
|
9
9
|
include Trek::Generators::Helpers
|
|
10
10
|
|
|
11
|
-
desc "
|
|
11
|
+
desc "Setup authentication."
|
|
12
12
|
|
|
13
13
|
source_root File.expand_path("../templates", __dir__)
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
gem "sorcery", "~> 0.17" unless in_gemfile?("sorcery")
|
|
17
|
-
run "bundle install --quiet", abort_on_failure: true
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
def run_install
|
|
21
|
-
generate "sorcery:install", "remember_me reset_password brute_force_protection activity_logging"
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def config_user_mailer
|
|
25
|
-
gsub_file "config/initializers/sorcery.rb",
|
|
26
|
-
"# user.reset_password_mailer =",
|
|
27
|
-
"user.reset_password_mailer = UserMailer"
|
|
28
|
-
end
|
|
15
|
+
# TODO
|
|
29
16
|
end
|
|
30
17
|
end
|
|
31
18
|
end
|
data/lib/trek/version.rb
CHANGED
data/package.json
CHANGED
data/trek.gemspec
CHANGED
|
@@ -52,7 +52,6 @@ Gem::Specification.new do |spec|
|
|
|
52
52
|
spec.add_dependency "shrine", "~> 3.0"
|
|
53
53
|
spec.add_dependency "shrine-blurhash", "~> 0.2"
|
|
54
54
|
spec.add_dependency "slim-rails", "~> 4.0"
|
|
55
|
-
spec.add_dependency "sorcery", "~> 0.17"
|
|
56
55
|
spec.add_dependency "strip_attributes", "~> 2.0"
|
|
57
56
|
spec.add_dependency "view_component", "< 5.0"
|
|
58
57
|
spec.add_dependency "view_component-form", "~> 0.3"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trek
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mohamed Bengrich
|
|
@@ -368,20 +368,6 @@ dependencies:
|
|
|
368
368
|
- - "~>"
|
|
369
369
|
- !ruby/object:Gem::Version
|
|
370
370
|
version: '4.0'
|
|
371
|
-
- !ruby/object:Gem::Dependency
|
|
372
|
-
name: sorcery
|
|
373
|
-
requirement: !ruby/object:Gem::Requirement
|
|
374
|
-
requirements:
|
|
375
|
-
- - "~>"
|
|
376
|
-
- !ruby/object:Gem::Version
|
|
377
|
-
version: '0.17'
|
|
378
|
-
type: :runtime
|
|
379
|
-
prerelease: false
|
|
380
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
381
|
-
requirements:
|
|
382
|
-
- - "~>"
|
|
383
|
-
- !ruby/object:Gem::Version
|
|
384
|
-
version: '0.17'
|
|
385
371
|
- !ruby/object:Gem::Dependency
|
|
386
372
|
name: strip_attributes
|
|
387
373
|
requirement: !ruby/object:Gem::Requirement
|