active_generator 2.0.3 → 2.0.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: 1a084351f7e81d50d9fb1a105a2789873e5a46e0
4
- data.tar.gz: ca51d5992b824f1ac87e5d6ee9c3d89ec81343cc
3
+ metadata.gz: 23a631e7a338ab863dc38c335c6dec2d538e4c53
4
+ data.tar.gz: d700e66e0782ae761bf022b2da6b2a2a393a5f4d
5
5
  SHA512:
6
- metadata.gz: 2368466c8db18148d54110577ad92d3dbd8a55f45ce8a5357f929e19025c5d4b8f908602a99cbd1c5f4d496794354fa750ffbf8cd0c417692d8e8cc1ca263bec
7
- data.tar.gz: ce829e61b6f9c41ab563746fd3daad06905d6fe6925550835c67a2f078db442819e8d54ff20312dc635c940ec334c23397c4cb73a79f60ded3b33cc2d887401a
6
+ metadata.gz: f0dfa67411bdbed0a909178f056e05cb31b1ddd56d7f452513326a9a40b44ddfeef723552d9d0524ed4c6c4aca97e0a27dd59719ce50cd88e31701cd7b3d2c74
7
+ data.tar.gz: 252dea70662d3233c692ff4a3994f64b85221305b53f0ce53518211d158e99ea3dfda85cb853d1f5024acd539d2c6864d3c4581c1afd52b7c80aef50d2acd39c
@@ -1,4 +1,9 @@
1
1
  require "rails/generators"
2
+ require 'rails/generators/rails/controller/controller_generator'
3
+ require 'rails/generators/rails/helper/helper_generator'
4
+ require 'rails/generators/rails/model/model_generator'
5
+
6
+
2
7
  require "active_object"
3
8
  require "active_generator/version"
4
9
 
@@ -17,26 +22,26 @@ Rails::Generators::ControllerGenerator.class_eval do
17
22
  end
18
23
  end
19
24
 
20
- Rails::Generators::HelperGenerator.class_eval do
21
- def copy_locale_file
22
- invoke("locale:helper", [name])
23
- end
24
- end
25
+ # Rails::Generators::HelperGenerator.class_eval do
26
+ # def copy_locale_file
27
+ # invoke("locale:helper", [name])
28
+ # end
29
+ # end
25
30
 
26
- Rails::Generators::JobGenerator.class_eval do
27
- def copy_locale_file
28
- invoke("locale:job", [name])
29
- end
30
- end
31
+ # Rails::Generators::JobGenerator.class_eval do
32
+ # def copy_locale_file
33
+ # invoke("locale:job", [name])
34
+ # end
35
+ # end
31
36
 
32
- Rails::Generators::MailerGenerator.class_eval do
33
- def copy_locale_file
34
- invoke("locale:mailer", [name])
35
- end
36
- end
37
+ # Rails::Generators::MailerGenerator.class_eval do
38
+ # def copy_locale_file
39
+ # invoke("locale:mailer", [name])
40
+ # end
41
+ # end
37
42
 
38
- Rails::Generators::MailerGenerator.class_eval do
39
- def copy_locale_file
40
- invoke("locale:model", [name])
41
- end
42
- end
43
+ # Rails::Generators::ModelGenerator.class_eval do
44
+ # def copy_locale_file
45
+ # invoke("locale:model", [name])
46
+ # end
47
+ # end
@@ -1,3 +1,3 @@
1
1
  module ActiveGenerator
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez