omniauth-scaffold 0.1.24 → 0.1.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,6 +64,7 @@ module Omniauth
64
64
 
65
65
  # ----- ja.yml ----- #
66
66
  copy_file( "templates/ja.yml", "config/locales/ja.yml" )
67
+ copy_file( "templates/translation_ja.yml", "config/locales/translation_ja.yml" )
67
68
 
68
69
  # ----- create_users.rb ----- #
69
70
  copy_file( "templates/create_users.rb", "db/migrate/20000101000000_create_users.rb" )
@@ -4,7 +4,7 @@
4
4
  <% unless session[:user_id].blank? %>
5
5
  <%# ログイン済み %>
6
6
  <li><%= render partial: '/layouts/user_icon', locals: { user: current_user } %></li>
7
- <li class="<%= params[:controller] == 'top' ? 'active' : '' %>"><%= link_to( "Top", { controller: "top" } ) %></li>
7
+ <li class="<%= params[:controller] == 'top' ? 'active' : '' %>"><%= link_to( "Top", root_path ) %></li>
8
8
  <li><%= link_to( "Logout", logout_path ) %></li>
9
9
  <% else %>
10
10
  <%# 未ログイン %>
@@ -0,0 +1,5 @@
1
+ # https://github.com/amatsuda/i18n_generators
2
+ ja:
3
+ activerecord:
4
+ models:
5
+ attributes:
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Scaffold
3
- VERSION = "0.1.24"
3
+ VERSION = "0.1.25"
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.24
4
+ version: 0.1.25
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-12-22 00:00:00.000000000 Z
12
+ date: 2012-12-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails_config
@@ -138,6 +138,7 @@ files:
138
138
  - lib/omniauth-scaffold/templates/scaffolds.css.scss
139
139
  - lib/omniauth-scaffold/templates/sessions_controller.rb
140
140
  - lib/omniauth-scaffold/templates/top_controller.rb
141
+ - lib/omniauth-scaffold/templates/translation_ja.yml
141
142
  - lib/omniauth-scaffold/templates/user.rb
142
143
  - lib/omniauth-scaffold/templates/z_style.css.scss
143
144
  - lib/omniauth-scaffold/version.rb