minimum-omniauth-scaffold 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: faad2a5030e958d93727bbd19488af56a1576192
4
- data.tar.gz: d55742e07f223ed150dba13b6471a187a2ce7367
3
+ metadata.gz: 83eaf3d26d38147b5cfcc8b9ff9126a148e019dc
4
+ data.tar.gz: bdbe34050e184af75256c4953990522d035e3d04
5
5
  SHA512:
6
- metadata.gz: b61b118d89c0d4e81e7e8288db74000209b782c0e721d677672bb57cc6b8ffbfc0b0df1011a173371dc4108da348c31dd7f0163ece4251543dd0ae2d247e3c2a
7
- data.tar.gz: 353af3fd620fec347c21196539f6f9b105cc8dbe7cb3c86fd8c7398d0d7b406574698b7f695351b7c410815f0611950ffd12d72af5b7e554fba59f3781196ab7
6
+ metadata.gz: 107f206c7ac06c7ef32c9eba591b370a293dbbf0f98a3977fd1fcf0a547ef75b0cdcd1a6f00ba09b8c1b860b3d453b8b59c67c5711e63bfd81153e8cc1b55b7e
7
+ data.tar.gz: 77d097d433c7d735b673f08270b5cdbe9f3062c96a46d6368a318a781a003ee252ee8e6a780c41afec8f90cf4d2ef523262d3745e3e1d2b92e3af26dd2d58825
data/README.md CHANGED
@@ -1,24 +1,65 @@
1
1
  # Minimum::Omniauth::Scaffold
2
2
 
3
- For Ruby2.0 and Rails4.0
3
+ For Ruby2.0 and Rails4.0.0.beta1
4
4
 
5
5
  ## Installation
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'minimum-omniauth-scaffold'
9
+ ```
10
+ gem 'minimum-omniauth-scaffold'
11
+ ```
10
12
 
11
13
  And then execute:
12
14
 
13
- $ bundle
15
+ ```
16
+ bundle
17
+ ```
14
18
 
15
19
  Or install it yourself as:
16
20
 
17
- $ gem install minimum-omniauth-scaffold
21
+ ```
22
+ gem install minimum-omniauth-scaffold
23
+ ```
18
24
 
19
25
  ## Usage
20
26
 
21
- TODO: Write usage instructions here
27
+ ```
28
+ rails g minimum:omniauth:scaffold
29
+ ----------
30
+ create config/initializers/rails_config.rb
31
+ create config/settings.yml
32
+ create config/settings.local.yml
33
+ create config/settings/development.yml
34
+ create config/settings/production.yml
35
+ create config/settings/test.yml
36
+ create config/initializers/omniauth.rb
37
+ insert config/routes.rb
38
+ insert config/routes.rb
39
+ insert config/application.rb
40
+ insert config/application.rb
41
+ insert config/application.rb
42
+ insert config/environments/production.rb
43
+ insert config/environments/development.rb
44
+ gsub config/environments/development.rb
45
+ insert config/environments/development.rb
46
+ create config/locales/ja.yml
47
+ create config/locales/translation_ja.yml
48
+ create db/migrate/20000101000000_create_users.rb
49
+ create app/models/user.rb
50
+ insert app/controllers/application_controller.rb
51
+ create app/controllers/sessions_controller.rb
52
+ create app/controllers/top_controller.rb
53
+ gsub app/views/layouts/application.html.erb
54
+ gsub app/views/layouts/application.html.erb
55
+ create app/views/layouts/_user_icon.html.erb
56
+ create app/views/top/index.html.erb
57
+ create app/assets/stylesheets/scaffolds.css.scss
58
+ remove README.rdoc
59
+ create README.md
60
+ append .gitignore
61
+ ----------
62
+ ```
22
63
 
23
64
  ## Contributing
24
65
 
@@ -98,6 +98,10 @@ module Minimum
98
98
  content += "config/settings/*.local.yml\n"
99
99
  content += "config/environments/*.local.yml\n"
100
100
  append_file( ".gitignore", content.force_encoding('ASCII-8BIT') )
101
+
102
+ # ----- controllers ----- #
103
+ content = "ruby '2.0.0'\n"
104
+ insert_into_file( "Gemfile", content.force_encoding('ASCII-8BIT'), after: "source 'https://rubygems.org'\n" )
101
105
  end
102
106
  end
103
107
  end
@@ -1,7 +1,7 @@
1
1
  module Minimum
2
2
  module Omniauth
3
3
  module Scaffold
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimum-omniauth-scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - shu0115