railg 0.3.0 → 0.3.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: a90c5a8b0483f94e157d30f0e29ea813385d30a91bcac615ba91763f8afcd3dc
4
- data.tar.gz: 6ab4090e2732dca0cc8b39b1293d4fe68b5378c4deee51de5d162bfa11182a8d
3
+ metadata.gz: 9506f87d0c30e07b64cb6c4b2d5378be39f22e34e2e78a833f36fce7938da5b8
4
+ data.tar.gz: 462bd6ec9f45d52b417c60d11b3f568ff62b4d168532baa0e252af26d4ca1da2
5
5
  SHA512:
6
- metadata.gz: 90d5b2ce19c9eb5ab879e2118e8f930372c017de5b14b9b0236be7247cb7fa20d71f1b031bb1277ded322acb41328a3e5df1c630b0c5835bb1df71304f663c65
7
- data.tar.gz: 56db56a6e2c1edf3dea2be49451e2fa16dd6120cfb26f932e49367c16a0cc0175c8d8d64ae14000f5bd7f5aad7c6ede5d549f01b8698d84730b4d8263f4f8acc
6
+ metadata.gz: 2bab0340c22376cd942d1f768b3254a16f7aa960433279e4ffe487c57ac8e868d8514bb3422a01e3a5e00cf58fa0c571a596cf19e9e482838ae01a9dfe0dbea9
7
+ data.tar.gz: 6d0a8c5331602f298379899b44c4ac2d014186f0bf37c92d59da996c5095fabbdd0bc598c71762d34522a4f135e45c44f075a7c6600c61aea6d51157df4e3715
@@ -13,8 +13,8 @@ module Railg
13
13
 
14
14
  def insert_meta_tag
15
15
  insert_into_file 'app/views/layouts/application.html.erb', <<-EOT, after: " <head>\n"
16
- <meta charset='UTF-8'>
17
- <meta name='viewport' content='width=device-width,initial-scale=1'>
16
+ <meta charset='utf-8'>
17
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
18
18
  EOT
19
19
  end
20
20
 
@@ -2,7 +2,7 @@ module Railg
2
2
  class LoginGenerator < ::Rails::Generators::NamedBase
3
3
  source_root File.expand_path('templates', __dir__)
4
4
 
5
- argument :id_name, type: :string, default: '#{id_name}', banner: 'column name like email'
5
+ argument :id_name, type: :string, default: 'identifier', banner: 'column name like email'
6
6
 
7
7
  check_class_collision
8
8
 
data/lib/railg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Railg
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nishisuke