omniauth-scaffold 0.1.28 → 0.1.29

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.
@@ -1,3 +1,3 @@
1
1
  <% if user.present? %>
2
- <%= link_to_unless( user.nickname.blank?, image_tag( user.image, size: "18x18", class: "margin_minus2" ), "#{Settings.provider_page}#{user.nickname}", target: "_blank", rel: "tooltip", "data-original-title" => user.nickname ) %>
2
+ <%= link_to_unless( user.nickname.blank?, image_tag( user.image, size: "18x18", class: "margin_minus2" ), "#{Settings[user.provider + '_page']}#{user.nickname}", target: "_blank", rel: "tooltip", "data-original-title" => user.nickname ) %>
3
3
  <% end %>
@@ -4,9 +4,9 @@ provider: "twitter"
4
4
  #provider: "github"
5
5
 
6
6
  # Provider Page
7
- provider_page: "https://twitter.com/"
8
- #provider_page: "https://www.facebook.com/"
9
- #provider_page: "https://github.com/"
7
+ twitter_page: "https://twitter.com/"
8
+ facebook_page: "https://www.facebook.com/"
9
+ github_page: "https://github.com/"
10
10
 
11
11
  # アプリケーション名
12
12
  app_name: "YOUR_APP_NAME"
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Scaffold
3
- VERSION = "0.1.28"
3
+ VERSION = "0.1.29"
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.28
4
+ version: 0.1.29
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: 2013-01-09 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails_config
@@ -168,3 +168,4 @@ signing_key:
168
168
  specification_version: 3
169
169
  summary: OmniAuth Scaffold
170
170
  test_files: []
171
+ has_rdoc: