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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d81e1b7a49f86dbd26b99708e080497d6e615b2f69abef60677fac05ccb51167
4
- data.tar.gz: c64f48eafd61ccdef60b5d6394fedce16291a4441cf38f4c4b8eaac1c612e1f4
3
+ metadata.gz: 3d1b9266c401a8eb0d72a3f54a1eae71d5b039ab97e96a8d386f6a575b66def7
4
+ data.tar.gz: 68fa0aca0b764cc0b84181e4e3a5c0ee2a26f4fc682d9dcf8c6362bdb1b26cb6
5
5
  SHA512:
6
- metadata.gz: 5b30ec08ac04c16fa8709eac75f85067bb327c2501436e1d650e18c7b1337a325103a50df5344f1d34655c5cef803f58fc6b2f12a9bd793e39d4ee9b8f78cd84
7
- data.tar.gz: 05e5a408528f0c0f8cb908db0cd42ae0155f3309b45c54ad5f26a1e2472df93e05e93f0a4742ab9d1e4248211dc3117b488bf39f46ef667028ca18e705cf8d6d
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
@@ -1,3 +1,3 @@
1
1
  module Railg
2
- VERSION = '0.7.1'
2
+ VERSION = '0.8.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nishisuke