omniauth-scaffold 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -58,10 +58,11 @@ rails g omniauth:scaffold
58
58
  create config/locales/ja.yml
59
59
  create db/migrate/20000101000000_create_users.rb
60
60
  create app/models/user.rb
61
- create app/controllers/application_controller.rb
61
+ gsub app/controllers/application_controller.rb
62
62
  create app/controllers/sessions_controller.rb
63
63
  create app/controllers/top_controller.rb
64
- create app/views/layouts/application.html.erb
64
+ gsub app/views/layouts/application.html.erb
65
+ gsub app/views/layouts/application.html.erb
65
66
  create app/views/top/index.html.erb
66
67
  create app/assets/stylesheets/base.css.scss
67
68
  create app/assets/stylesheets/scaffolds.css.scss
@@ -81,8 +82,8 @@ app_name: "YOUR_APP_NAME"
81
82
 
82
83
  ### Keys
83
84
 
84
- <a href="https://dev.twitter.com/apps/new" target="_blank">Twitter</a><br />
85
- <a href="https://github.com/settings/applications/new" target="_blank">GitHub</a><br />
85
+ <a href="https://dev.twitter.com/apps" target="_blank">Twitter</a><br />
86
+ <a href="https://github.com/settings/applications" target="_blank">GitHub</a><br />
86
87
  <a href="https://developers.facebook.com/apps" target="_blank">Facebook</a><br />
87
88
 
88
89
  ### Development Setting
@@ -44,6 +44,9 @@ module Omniauth
44
44
  insert_into_file( "config/application.rb", content.force_encoding('ASCII-8BIT'), after: "config.assets.version = '1.0'\n" )
45
45
 
46
46
  # ----- development.rb ----- #
47
+ content = "\n # For LogRotate\n"
48
+ content += " config.logger = Logger.new( config.paths.log.first, 5, 1*1024*1024 ) # 1MB * 5\n"
49
+ insert_into_file( "config/environments/development.rb", content.force_encoding('ASCII-8BIT'), after: "config.assets.debug = true\n" )
47
50
  gsub_file "config/environments/development.rb", /(config.assets.debug = true)+/, "# config.assets.debug = true"
48
51
  insert_into_file( "config/environments/development.rb", " config.assets.debug = false\n", after: "config.assets.debug = true\n" )
49
52
 
@@ -21,4 +21,6 @@
21
21
  Developed by <a href="https://twitter.com/#!/<%= Settings.programmer_twitter_id %>/" target="_blank">@<%= Settings.programmer_twitter_id %></a>,
22
22
  Designed by <a href="https://twitter.com/#!/<%= Settings.designer_twitter_id %>/" target="_blank">@<%= Settings.designer_twitter_id %></a>,
23
23
  Licence by <a href="https://creativecommons.org/licenses/by-nc-sa/2.1/jp/" target="_blank">CC BY-NC-SA 2.1</a>
24
- </center>
24
+ </center>
25
+
26
+ <br />
@@ -2,12 +2,13 @@
2
2
  ja:
3
3
  # Add
4
4
  menu:
5
- show: Show
6
- edit: Edit
7
- destroy: Delete
8
- new: New
9
- top: Top
10
- list: List
5
+ show: "Show"
6
+ edit: "Edit"
7
+ destroy: "Delete"
8
+ new: "New"
9
+ top: "Top"
10
+ list: "List"
11
+ create: "Create"
11
12
 
12
13
  date:
13
14
  abbr_day_names:
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Scaffold
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-09 00:00:00.000000000 Z
12
+ date: 2012-07-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Scaffold for OmniAuth.
15
15
  email: