active_generator 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.reek +5 -4
- data/.rubocop.yml +2 -0
- data/README.md +2 -5
- data/lib/active_generator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0c6ec3353544c84a9f010209d1da6395f60ecdc
|
4
|
+
data.tar.gz: 80aad50e290cc7ef86c85224daf1a9c5f07553da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf4939cf48deda9a0d4e975f4cf6a3f50c3bca507abca03409d7f32457aef9b02b5eee06bee9f4e331c58adb0f6074f34f038cd1f3e624efdcfa8e8340546394
|
7
|
+
data.tar.gz: 95f70616e86595681e90abac02f1f5a9c05764c1fb5574c15b24264b84222b8d426b4ab0357a82603ad65d849948a492467776bb8a7cb01043aeaea15b6b4b23
|
data/.reek
CHANGED
@@ -1,7 +1,4 @@
|
|
1
1
|
---
|
2
|
-
exclude_paths:
|
3
|
-
- lib/generators/environment/templates
|
4
|
-
- lib/generators/service/templates
|
5
2
|
Attribute:
|
6
3
|
enabled: false
|
7
4
|
BooleanParameter:
|
@@ -12,14 +9,18 @@ FeatureEnvy:
|
|
12
9
|
enabled: false
|
13
10
|
IrresponsibleModule:
|
14
11
|
enabled: false
|
15
|
-
|
12
|
+
LongParameterList:
|
16
13
|
enabled: false
|
17
14
|
ManualDispatch:
|
18
15
|
enabled: false
|
19
16
|
NestedIterators:
|
20
17
|
max_allowed_nesting: 2
|
18
|
+
NilCheck:
|
19
|
+
enabled: false
|
21
20
|
PrimaDonnaMethod:
|
22
21
|
enabled: false
|
22
|
+
RepeatedConditional:
|
23
|
+
enabled: false
|
23
24
|
TooManyStatements:
|
24
25
|
max_statements: 10
|
25
26
|
UtilityFunction:
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
@@ -33,13 +33,10 @@ Or install it yourself as:
|
|
33
33
|
|
34
34
|
## Configuration
|
35
35
|
|
36
|
-
|
37
|
-
|
38
|
-
`rails generate active_generator:install` will generate the following `active_generator.rb` file:
|
36
|
+
`rails generate active_generator:install` will generate the following file:
|
37
|
+
``../config/initalizers/active_generator.rb``
|
39
38
|
|
40
39
|
```ruby
|
41
|
-
# config/initalizers/active_generator.rb
|
42
|
-
|
43
40
|
ActiveGenerator::Settings.configure do |config|
|
44
41
|
config.autoload_controller_generator_locale = true
|
45
42
|
config.autoload_helper_generator_locale = true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|