spree_social 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ class CreateUserAuthentications < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :user_authentications do |t|
4
+ t.integer :user_id
5
+ t.string :provider
6
+ t.string :uid
7
+ t.string :nickname
8
+ t.timestamps
9
+ end
10
+ end
11
+
12
+ def self.down
13
+ drop_table :table_name
14
+ end
15
+ end
@@ -0,0 +1,13 @@
1
+ class CreateAuthenticationMethods < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :authentication_methods, :force => true do |t|
4
+ t.string :environment
5
+ t.boolean :active
6
+ t.timestamps
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ drop_table :authentication_methods
12
+ end
13
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,61 @@
1
+ .authentications {
2
+ margin-bottom: 30px;
3
+ }
4
+
5
+ .authentication {
6
+ float: left;
7
+ background-color: #EEE;
8
+ border: solid 1px #999;
9
+ padding: 5px 10px;
10
+ -moz-border-radius: 8px;
11
+ -webkit-border-radius: 8px;
12
+ position: relative;
13
+ margin-right: 10px;
14
+ }
15
+
16
+ .authentication .remove {
17
+ text-decoration: none;
18
+ position: absolute;
19
+ top: 3px;
20
+ right: 3px;
21
+ color: #333;
22
+ padding: 2px 4px;
23
+ font-size: 10px;
24
+ }
25
+
26
+ .authentication .remove:hover {
27
+ color: #FFF;
28
+ background-color: #777;
29
+ -moz-border-radius: 7px;
30
+ -webkit-border-radius: 7px;
31
+ }
32
+
33
+ .authentication img {
34
+ float: left;
35
+ }
36
+
37
+ .authentication .provider, .authentication .uid {
38
+ margin-left: 38px;
39
+ margin-right: 20px;
40
+ }
41
+
42
+ .authentication .provider {
43
+ font-weight: bold;
44
+ }
45
+
46
+ .authentication .uid {
47
+ color: #666;
48
+ font-size: 11px;
49
+ }
50
+
51
+ .auth_provider img {
52
+ display: block;
53
+ }
54
+
55
+ .auth_provider {
56
+ float: left;
57
+ text-decoration: none;
58
+ margin-right: 20px;
59
+ text-align: center;
60
+ margin-bottom: 10px;
61
+ }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_social
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Brien Dilts
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-14 00:00:00 -05:00
18
+ date: 2011-01-25 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -116,6 +116,33 @@ files:
116
116
  - app/views/user_registrations/social_edit.html.erb
117
117
  - app/views/users/_social.html.erb
118
118
  - app/views/users/merge.html.erb
119
+ - db/migrate/20101117212408_create_user_authentications.rb
120
+ - db/migrate/20101207152830_create_authentication_methods.rb
121
+ - public/images/social/facebook_128.png
122
+ - public/images/social/facebook_256.png
123
+ - public/images/social/facebook_32.png
124
+ - public/images/social/facebook_64.png
125
+ - public/images/social/github_128.png
126
+ - public/images/social/github_256.png
127
+ - public/images/social/github_32.png
128
+ - public/images/social/github_64.png
129
+ - public/images/social/google_128.png
130
+ - public/images/social/google_256.png
131
+ - public/images/social/google_32.png
132
+ - public/images/social/google_64.png
133
+ - public/images/social/linkedin_128.png
134
+ - public/images/social/linkedin_256.png
135
+ - public/images/social/linkedin_32.png
136
+ - public/images/social/linkedin_64.png
137
+ - public/images/social/twitter_128.png
138
+ - public/images/social/twitter_256.png
139
+ - public/images/social/twitter_32.png
140
+ - public/images/social/twitter_64.png
141
+ - public/images/social/yahoo_128.png
142
+ - public/images/social/yahoo_256.png
143
+ - public/images/social/yahoo_32.png
144
+ - public/images/social/yahoo_64.png
145
+ - public/stylesheets/social.css
119
146
  has_rdoc: true
120
147
  homepage: http://spreecommerce.com
121
148
  licenses: []