scaffold_plus 2.1.3 → 2.1.4
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86f439babb051e236053a5476adce220f4cca932
|
4
|
+
data.tar.gz: a8c753ce6779d24b7e080fd376e253750f7083fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb3b9cd422e4a9d26684fd00f8b8ea60a3b2529ac405f9f8f6a353e7250bc24d8b3d6e804acc6081da220ecbc9b137c881093f14ebc28b2a19fb82de44770fcd
|
7
|
+
data.tar.gz: a62cc227e4c36c191a38f012c8abefb1d94cf75275375c232671e71721e8b67b28b4564b329c7ec1dd3f0642d375eacdde4474c60a4476ebca86e5bc5d14a848
|
@@ -8,8 +8,8 @@ module ScaffoldPlus
|
|
8
8
|
desc: "The object that will have the enum field"
|
9
9
|
argument :column, type: :string,
|
10
10
|
desc: "The column to be used as enum field"
|
11
|
-
argument :values, type: :
|
12
|
-
desc: "Values (can be strings or
|
11
|
+
argument :values, type: :string, banner: "[:value, ...]",
|
12
|
+
desc: "Values (can be strings, symbols or a constant)"
|
13
13
|
class_option :migration, type: :boolean, default: false,
|
14
14
|
desc: 'Create a migration for added attributes'
|
15
15
|
class_option :index, type: :boolean, default: true,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scaffold_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Volker Wiegand
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|