railg 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9506f87d0c30e07b64cb6c4b2d5378be39f22e34e2e78a833f36fce7938da5b8
|
|
4
|
+
data.tar.gz: 462bd6ec9f45d52b417c60d11b3f568ff62b4d168532baa0e252af26d4ca1da2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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='
|
|
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: '
|
|
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