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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7653545746de78868a01ce7718e90382615904726066a0cdb180f1446c540dfb
4
- data.tar.gz: f8a0983dc2f0198d09b982fe31e6267b57ef4bf0fb44289c41d432377b87330e
3
+ metadata.gz: 56538a789232ba6c4be004344d1dc4862c77263f456aa6c727629b8841ffe081
4
+ data.tar.gz: 41b2db248d34840d77ce1e9a32a4c251716d24645e27403f9e2e29ed1284d1b3
5
5
  SHA512:
6
- metadata.gz: b7a4596b301931b49186cc773bdc8644534893be87d349c4a7dd99c33188562e7e5d953d5504b00d963ae4f006aa3733a2f194c3b00c5185720af5e1b1990db3
7
- data.tar.gz: 03acef9ffa63ff52cd11e70ef37d5b7d682a632b4b7255c84ec59836269d4f709fc48f49035ef6c7bd254170ee70aa481590b89718d3f55af5d3c971b9b61ae7
6
+ metadata.gz: 715ada8463d7a1113b7073fc63d69fc61322e4e9b2e2dbf02ac741c7acf1f0d102187492e84a7400ebf90b12a4211a1d26b627d173d149522b58099bb23969f6
7
+ data.tar.gz: a50dcd6c7fbb8bb612da3b6d897b9e277c1d7a6449bb0e3ef8f1a41b9952b2eb2bca69b6714b644338ae3e4d5d6386fdb3b628ac664f6ab5081c4a7de0f9b503
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2022 Andrew Culver
1
+ Copyright 2022 Bullet Train, Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.0.14"
3
+ VERSION = "1.0.17"
4
4
  end
5
5
  end
@@ -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
- `open https://fontawesome.com/icons?d=gallery&s=light`
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
- puts " https://fontawesome.com/icons?d=gallery&s=light"
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-globe' or 'fal fa-puzzle-piece') or hit enter to just use the puzzle piece:"
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.14
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-03 00:00:00.000000000 Z
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