railg 0.7.1 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/railg/default/default_generator.rb +5 -0
- data/lib/railg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d1b9266c401a8eb0d72a3f54a1eae71d5b039ab97e96a8d386f6a575b66def7
|
4
|
+
data.tar.gz: 68fa0aca0b764cc0b84181e4e3a5c0ee2a26f4fc682d9dcf8c6362bdb1b26cb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e5edd128639708a1ae84928b797b7131f5d5c2afba361c0d4b8fe1814856a6da9aa7e967d3271131c86313b3fa92ab1b12a3e221d8a62148e45cc508412e114
|
7
|
+
data.tar.gz: 8922a366b8b8095d258935b8487ef8c88b0fdb81b766a7d0d505987305da6f30141f56f1b11de35eecc09af5315dab7025f34d28ba7b88da68a35287e559934a
|
@@ -3,6 +3,7 @@ module Railg
|
|
3
3
|
def configure_generator
|
4
4
|
environment <<-EOT, env: 'development'
|
5
5
|
config.generators do |g|
|
6
|
+
g.orm :ar_null_false_generator
|
6
7
|
g.assets false
|
7
8
|
g.helper false
|
8
9
|
g.jbuilder false
|
@@ -11,6 +12,10 @@ module Railg
|
|
11
12
|
EOT
|
12
13
|
end
|
13
14
|
|
15
|
+
def gem_add
|
16
|
+
gem 'ar_null_false_generator', group: :development
|
17
|
+
end
|
18
|
+
|
14
19
|
def insert_meta_tag
|
15
20
|
insert_into_file 'app/views/layouts/application.html.erb', <<-EOT, after: " <head>\n"
|
16
21
|
<meta charset='utf-8'>
|
data/lib/railg/version.rb
CHANGED