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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aaf1c1e12a16b1b8eeb76c1e3bc84cab50b51f6e
4
- data.tar.gz: 8e2c58e99340d39afdd422295790e741adc3d85e
3
+ metadata.gz: f0c6ec3353544c84a9f010209d1da6395f60ecdc
4
+ data.tar.gz: 80aad50e290cc7ef86c85224daf1a9c5f07553da
5
5
  SHA512:
6
- metadata.gz: 2db97c82034ce58252d3c1898c9511d67dd6a9430df84192bdd87bd6e1bc7b0d29335ee5b20df680873452289958ca86e228677b3f2bf4530e50ce14a6bd4bb2
7
- data.tar.gz: 5b0f8e12f0112be6e0e88d403b264fc89c1e60219dba9d56ed2d060368ba015915308615a57518c0f4b0c99e0225d3c4c53254d17f578f1d1a7ed1dd04548725
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
- NilCheck:
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
@@ -7,6 +7,8 @@ AllCops:
7
7
  - 'spec/**/**/*'
8
8
  LineLength:
9
9
  Max: 100
10
+ Metrics/ClassLength:
11
+ Enabled: false
10
12
  Metrics/ModuleLength:
11
13
  Enabled: false
12
14
  Style/Alias:
data/README.md CHANGED
@@ -33,13 +33,10 @@ Or install it yourself as:
33
33
 
34
34
  ## Configuration
35
35
 
36
- Generates an environment file in the `config/initalizers` directory.
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
@@ -1,3 +1,3 @@
1
1
  module ActiveGenerator
2
- VERSION = '4.0.2'.freeze
2
+ VERSION = '4.0.3'.freeze
3
3
  end
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.2
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-07 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails