bullet_train-super_scaffolding 1.0.14 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/lib/bullet_train/super_scaffolding/version.rb +1 -1
- data/lib/bullet_train/super_scaffolding.rb +2 -0
- data/lib/scaffolding/transformer.rb +7 -3
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56538a789232ba6c4be004344d1dc4862c77263f456aa6c727629b8841ffe081
|
4
|
+
data.tar.gz: 41b2db248d34840d77ce1e9a32a4c251716d24645e27403f9e2e29ed1284d1b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 715ada8463d7a1113b7073fc63d69fc61322e4e9b2e2dbf02ac741c7acf1f0d102187492e84a7400ebf90b12a4211a1d26b627d173d149522b58099bb23969f6
|
7
|
+
data.tar.gz: a50dcd6c7fbb8bb612da3b6d897b9e277c1d7a6449bb0e3ef8f1a41b9952b2eb2bca69b6714b644338ae3e4d5d6386fdb3b628ac664f6ab5081c4a7de0f9b503
|
data/MIT-LICENSE
CHANGED
@@ -7,6 +7,8 @@ require "bullet_train/super_scaffolding/scaffolders/crud_field_scaffolder"
|
|
7
7
|
require "bullet_train/super_scaffolding/scaffolders/join_model_scaffolder"
|
8
8
|
require "bullet_train/super_scaffolding/scaffolders/oauth_provider_scaffolder"
|
9
9
|
|
10
|
+
require "indefinite_article"
|
11
|
+
|
10
12
|
module BulletTrain
|
11
13
|
module SuperScaffolding
|
12
14
|
mattr_accessor :template_paths, default: []
|
@@ -1347,16 +1347,20 @@ class Scaffolding::Transformer
|
|
1347
1347
|
$stdin.gets.chomp
|
1348
1348
|
if `which open`.present?
|
1349
1349
|
`open https://themify.me/themify-icons`
|
1350
|
-
|
1350
|
+
if font_awesome?
|
1351
|
+
`open https://fontawesome.com/icons?d=gallery&s=light`
|
1352
|
+
end
|
1351
1353
|
else
|
1352
1354
|
puts "Sorry! We can't open these URLs automatically on your platform, but you can visit them manually:"
|
1353
1355
|
puts ""
|
1354
1356
|
puts " https://themify.me/themify-icons"
|
1355
|
-
|
1357
|
+
if font_awesome?
|
1358
|
+
puts " https://fontawesome.com/icons?d=gallery&s=light"
|
1359
|
+
end
|
1356
1360
|
puts ""
|
1357
1361
|
end
|
1358
1362
|
puts ""
|
1359
|
-
puts "Did you find an icon you wanted to use? Enter the full CSS class here (e.g. 'ti ti-
|
1363
|
+
puts "Did you find an icon you wanted to use? Enter the full CSS class here (e.g. 'ti ti-world'#{" or 'fal fa-puzzle-piece'" if font_awesome?}) or hit enter to just use the puzzle piece:"
|
1360
1364
|
icon_name = $stdin.gets.chomp
|
1361
1365
|
puts ""
|
1362
1366
|
unless icon_name.length > 0 || icon_name.downcase == "y"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-super_scaffolding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
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-03-
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 6.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: indefinite_article
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: Bullet Train Super Scaffolding
|
28
42
|
email:
|
29
43
|
- andrew.culver@gmail.com
|