serializer 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.rdoc +4 -2
- data/Rakefile +2 -9
- data/lib/serializer/version.rb +1 -1
- data/test/dummy/app/models/account.rb +7 -0
- data/test/dummy/app/models/user.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.haml +9 -0
- data/test/dummy/app/views/main/index.html.haml +3 -0
- data/test/dummy/app/views/users/_fields.html.haml +18 -0
- data/test/dummy/app/views/users/_form.html.haml +11 -0
- data/test/dummy/app/views/users/_user.html.haml +10 -0
- data/test/dummy/app/views/users/edit.html.haml +4 -0
- data/test/dummy/app/views/users/index.html.haml +17 -0
- data/test/dummy/app/views/users/new.html.haml +3 -0
- data/test/dummy/app/views/users/show.html.haml +5 -0
- data/test/dummy/config/routes.rb +2 -2
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20110927222742_create_users.rb +1 -0
- data/test/dummy/db/migrate/20120731074843_create_accounts.rb +9 -0
- data/test/dummy/db/production.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +10 -3
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +2314 -153
- data/test/dummy/log/test.log +14458 -1698
- data/test/dummy/test/fixtures/accounts.yml +2 -0
- data/test/dummy/test/fixtures/users.yml +1 -0
- data/test/dummy/test/functional/users_controller_test.rb +1 -0
- data/test/dummy/test/unit/account_test.rb +17 -0
- data/test/dummy/tmp/cache/assets/C36/B50/sprockets%2F5e8353089687a8324957248c12a6ea87 +0 -0
- data/test/dummy/tmp/cache/assets/C63/7C0/sprockets%2F951340282b11ba35a865d4e04300b3a8 +0 -0
- data/test/dummy/tmp/cache/assets/{D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4 → C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212} +0 -0
- data/test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6 +0 -0
- data/test/dummy/tmp/cache/assets/{CFB/150/sprockets%2Ff5209763c82e66ecdff0f9583166f557 → CB9/B60/sprockets%2Fe7b839a0806e5c20e5018197f56cd656} +0 -0
- data/test/dummy/tmp/cache/assets/{D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 → CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953} +0 -0
- data/test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f +0 -0
- data/test/dummy/tmp/cache/assets/D13/FD0/sprockets%2F8d733d18e3095c053f81f78d4a422afd +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D52/D30/sprockets%2Fb1b780ccf384149569ceb76ee7bd5639 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D65/FC0/sprockets%2F650c155de4459a33bb5cc75d0cabc738 +0 -0
- data/test/dummy/tmp/cache/assets/D67/250/sprockets%2F2b4acc4bbcc24118e7707c269738f0bf +0 -0
- data/test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
- data/test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff6eeb33602682bd6ff6d1f177f6b142d +0 -0
- data/test/dummy/tmp/cache/assets/{D2F/290/sprockets%2Fd5c244ec777cb5719f86d085df9f8816 → D76/4D0/sprockets%2F8a096b6dd59bfda3e461617a95524eaf} +0 -0
- data/test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19 +0 -0
- data/test/dummy/tmp/cache/assets/DB7/6C0/sprockets%2F386e9196dd0f9efdce6f92ce93a6d107 +0 -0
- data/test/dummy/tmp/cache/assets/DBA/C70/sprockets%2F393a0a1b56d0da607ff53aa2fdb9ec31 +0 -0
- data/test/dummy/tmp/cache/assets/DC8/3B0/sprockets%2F0949dcec3ad4d7d2733ad5b523aeb7d4 +0 -0
- data/test/dummy/tmp/cache/assets/{D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 → DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994} +0 -0
- data/test/dummy/tmp/cache/assets/{CF7/670/sprockets%2F00b214e322c484fcc1555dafaa240947 → DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f} +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/{D6B/5D0/sprockets%2F48da0deeef45ff0cac611596e0774114 → E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3} +0 -0
- metadata +88 -44
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/app/views/main/index.html.erb +0 -5
- data/test/dummy/app/views/users/_form.html.erb +0 -46
- data/test/dummy/app/views/users/edit.html.erb +0 -6
- data/test/dummy/app/views/users/index.html.erb +0 -25
- data/test/dummy/app/views/users/new.html.erb +0 -5
- data/test/dummy/app/views/users/show.html.erb +0 -24
- data/test/dummy/tmp/cache/assets/CDF/070/sprockets%2F70e3c8a3916622c17858d520dcee0d92 +0 -0
- data/test/dummy/tmp/cache/assets/D11/430/sprockets%2F25ea8d6063b1eb98361b1196f2fce807 +0 -10
- data/test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9 +0 -0
- data/test/dummy/tmp/cache/assets/D73/220/sprockets%2F3dbc0a37f98fb43ec819b85a64d32c55 +0 -10
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class AccountTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
fixtures :all
|
6
|
+
|
7
|
+
test "accepts nested attributes for users" do
|
8
|
+
@account = Account.create({ :user_attributes => { :tw_share => false, :fb_share => false, :tb_share => true } })
|
9
|
+
@user = @account.user
|
10
|
+
|
11
|
+
assert @user.account, "should have an account"
|
12
|
+
assert !@user.fb_share?, "should have accepted nested attributes"
|
13
|
+
assert !@user.tw_share?, "should have accepted nested attributes"
|
14
|
+
assert @user.tb_share?, "should have accepted nested attributes"
|
15
|
+
end
|
16
|
+
|
17
|
+
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
|
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
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>'
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>'
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.0
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
27
|
-
requirement:
|
31
|
+
name: appraisal
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
description: Serializer is a Ruby on Rails tool for adding accessor to serialized
|
37
47
|
attributes with support for types and defaults.
|
38
48
|
email:
|
@@ -61,14 +71,17 @@ files:
|
|
61
71
|
- test/dummy/app/helpers/application_helper.rb
|
62
72
|
- test/dummy/app/helpers/main_helper.rb
|
63
73
|
- test/dummy/app/helpers/users_helper.rb
|
74
|
+
- test/dummy/app/models/account.rb
|
64
75
|
- test/dummy/app/models/user.rb
|
65
|
-
- test/dummy/app/views/layouts/application.html.
|
66
|
-
- test/dummy/app/views/main/index.html.
|
67
|
-
- test/dummy/app/views/users/
|
68
|
-
- test/dummy/app/views/users/
|
69
|
-
- test/dummy/app/views/users/
|
70
|
-
- test/dummy/app/views/users/
|
71
|
-
- test/dummy/app/views/users/
|
76
|
+
- test/dummy/app/views/layouts/application.html.haml
|
77
|
+
- test/dummy/app/views/main/index.html.haml
|
78
|
+
- test/dummy/app/views/users/_fields.html.haml
|
79
|
+
- test/dummy/app/views/users/_form.html.haml
|
80
|
+
- test/dummy/app/views/users/_user.html.haml
|
81
|
+
- test/dummy/app/views/users/edit.html.haml
|
82
|
+
- test/dummy/app/views/users/index.html.haml
|
83
|
+
- test/dummy/app/views/users/new.html.haml
|
84
|
+
- test/dummy/app/views/users/show.html.haml
|
72
85
|
- test/dummy/config/application.rb
|
73
86
|
- test/dummy/config/boot.rb
|
74
87
|
- test/dummy/config/database.yml
|
@@ -82,6 +95,8 @@ files:
|
|
82
95
|
- test/dummy/config.ru
|
83
96
|
- test/dummy/db/development.sqlite3
|
84
97
|
- test/dummy/db/migrate/20110927222742_create_users.rb
|
98
|
+
- test/dummy/db/migrate/20120731074843_create_accounts.rb
|
99
|
+
- test/dummy/db/production.sqlite3
|
85
100
|
- test/dummy/db/schema.rb
|
86
101
|
- test/dummy/db/test.sqlite3
|
87
102
|
- test/dummy/log/development.log
|
@@ -89,32 +104,44 @@ files:
|
|
89
104
|
- test/dummy/public/favicon.ico
|
90
105
|
- test/dummy/Rakefile
|
91
106
|
- test/dummy/script/rails
|
107
|
+
- test/dummy/test/fixtures/accounts.yml
|
92
108
|
- test/dummy/test/fixtures/users.yml
|
93
109
|
- test/dummy/test/functional/main_controller_test.rb
|
94
110
|
- test/dummy/test/functional/users_controller_test.rb
|
95
111
|
- test/dummy/test/integration/user_create_test.rb
|
96
112
|
- test/dummy/test/integration/user_update_test.rb
|
113
|
+
- test/dummy/test/unit/account_test.rb
|
97
114
|
- test/dummy/test/unit/helpers/main_helper_test.rb
|
98
115
|
- test/dummy/test/unit/helpers/users_helper_test.rb
|
99
116
|
- test/dummy/test/unit/user_test.rb
|
117
|
+
- test/dummy/tmp/cache/assets/C36/B50/sprockets%2F5e8353089687a8324957248c12a6ea87
|
118
|
+
- test/dummy/tmp/cache/assets/C63/7C0/sprockets%2F951340282b11ba35a865d4e04300b3a8
|
119
|
+
- test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
|
100
120
|
- test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
|
101
|
-
- test/dummy/tmp/cache/assets/
|
121
|
+
- test/dummy/tmp/cache/assets/CB9/B60/sprockets%2Fe7b839a0806e5c20e5018197f56cd656
|
122
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
123
|
+
- test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea
|
102
124
|
- test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
|
103
|
-
- test/dummy/tmp/cache/assets/CF7/670/sprockets%2F00b214e322c484fcc1555dafaa240947
|
104
|
-
- test/dummy/tmp/cache/assets/CFB/150/sprockets%2Ff5209763c82e66ecdff0f9583166f557
|
105
125
|
- test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f
|
106
|
-
- test/dummy/tmp/cache/assets/
|
107
|
-
- test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4
|
108
|
-
- test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9
|
109
|
-
- test/dummy/tmp/cache/assets/D2F/290/sprockets%2Fd5c244ec777cb5719f86d085df9f8816
|
126
|
+
- test/dummy/tmp/cache/assets/D13/FD0/sprockets%2F8d733d18e3095c053f81f78d4a422afd
|
110
127
|
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
111
128
|
- test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
|
112
|
-
- test/dummy/tmp/cache/assets/
|
113
|
-
- test/dummy/tmp/cache/assets/
|
114
|
-
- test/dummy/tmp/cache/assets/
|
115
|
-
- test/dummy/tmp/cache/assets/
|
129
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
130
|
+
- test/dummy/tmp/cache/assets/D52/D30/sprockets%2Fb1b780ccf384149569ceb76ee7bd5639
|
131
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
132
|
+
- test/dummy/tmp/cache/assets/D65/FC0/sprockets%2F650c155de4459a33bb5cc75d0cabc738
|
133
|
+
- test/dummy/tmp/cache/assets/D67/250/sprockets%2F2b4acc4bbcc24118e7707c269738f0bf
|
134
|
+
- test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174
|
135
|
+
- test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff6eeb33602682bd6ff6d1f177f6b142d
|
136
|
+
- test/dummy/tmp/cache/assets/D76/4D0/sprockets%2F8a096b6dd59bfda3e461617a95524eaf
|
116
137
|
- test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19
|
138
|
+
- test/dummy/tmp/cache/assets/DB7/6C0/sprockets%2F386e9196dd0f9efdce6f92ce93a6d107
|
139
|
+
- test/dummy/tmp/cache/assets/DBA/C70/sprockets%2F393a0a1b56d0da607ff53aa2fdb9ec31
|
140
|
+
- test/dummy/tmp/cache/assets/DC8/3B0/sprockets%2F0949dcec3ad4d7d2733ad5b523aeb7d4
|
141
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
142
|
+
- test/dummy/tmp/cache/assets/DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f
|
117
143
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
144
|
+
- test/dummy/tmp/cache/assets/E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3
|
118
145
|
- test/serializer_test.rb
|
119
146
|
- test/test_helper.rb
|
120
147
|
homepage: http://github.com/ksylvest/serializer
|
@@ -137,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
164
|
version: '0'
|
138
165
|
requirements: []
|
139
166
|
rubyforge_project:
|
140
|
-
rubygems_version: 1.8.
|
167
|
+
rubygems_version: 1.8.23
|
141
168
|
signing_key:
|
142
169
|
specification_version: 3
|
143
170
|
summary: A serialized attribute accessor gem with support for types and defaults
|
@@ -155,14 +182,17 @@ test_files:
|
|
155
182
|
- test/dummy/app/helpers/application_helper.rb
|
156
183
|
- test/dummy/app/helpers/main_helper.rb
|
157
184
|
- test/dummy/app/helpers/users_helper.rb
|
185
|
+
- test/dummy/app/models/account.rb
|
158
186
|
- test/dummy/app/models/user.rb
|
159
|
-
- test/dummy/app/views/layouts/application.html.
|
160
|
-
- test/dummy/app/views/main/index.html.
|
161
|
-
- test/dummy/app/views/users/
|
162
|
-
- test/dummy/app/views/users/
|
163
|
-
- test/dummy/app/views/users/
|
164
|
-
- test/dummy/app/views/users/
|
165
|
-
- test/dummy/app/views/users/
|
187
|
+
- test/dummy/app/views/layouts/application.html.haml
|
188
|
+
- test/dummy/app/views/main/index.html.haml
|
189
|
+
- test/dummy/app/views/users/_fields.html.haml
|
190
|
+
- test/dummy/app/views/users/_form.html.haml
|
191
|
+
- test/dummy/app/views/users/_user.html.haml
|
192
|
+
- test/dummy/app/views/users/edit.html.haml
|
193
|
+
- test/dummy/app/views/users/index.html.haml
|
194
|
+
- test/dummy/app/views/users/new.html.haml
|
195
|
+
- test/dummy/app/views/users/show.html.haml
|
166
196
|
- test/dummy/config/application.rb
|
167
197
|
- test/dummy/config/boot.rb
|
168
198
|
- test/dummy/config/database.yml
|
@@ -176,6 +206,8 @@ test_files:
|
|
176
206
|
- test/dummy/config.ru
|
177
207
|
- test/dummy/db/development.sqlite3
|
178
208
|
- test/dummy/db/migrate/20110927222742_create_users.rb
|
209
|
+
- test/dummy/db/migrate/20120731074843_create_accounts.rb
|
210
|
+
- test/dummy/db/production.sqlite3
|
179
211
|
- test/dummy/db/schema.rb
|
180
212
|
- test/dummy/db/test.sqlite3
|
181
213
|
- test/dummy/log/development.log
|
@@ -183,31 +215,43 @@ test_files:
|
|
183
215
|
- test/dummy/public/favicon.ico
|
184
216
|
- test/dummy/Rakefile
|
185
217
|
- test/dummy/script/rails
|
218
|
+
- test/dummy/test/fixtures/accounts.yml
|
186
219
|
- test/dummy/test/fixtures/users.yml
|
187
220
|
- test/dummy/test/functional/main_controller_test.rb
|
188
221
|
- test/dummy/test/functional/users_controller_test.rb
|
189
222
|
- test/dummy/test/integration/user_create_test.rb
|
190
223
|
- test/dummy/test/integration/user_update_test.rb
|
224
|
+
- test/dummy/test/unit/account_test.rb
|
191
225
|
- test/dummy/test/unit/helpers/main_helper_test.rb
|
192
226
|
- test/dummy/test/unit/helpers/users_helper_test.rb
|
193
227
|
- test/dummy/test/unit/user_test.rb
|
228
|
+
- test/dummy/tmp/cache/assets/C36/B50/sprockets%2F5e8353089687a8324957248c12a6ea87
|
229
|
+
- test/dummy/tmp/cache/assets/C63/7C0/sprockets%2F951340282b11ba35a865d4e04300b3a8
|
230
|
+
- test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
|
194
231
|
- test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
|
195
|
-
- test/dummy/tmp/cache/assets/
|
232
|
+
- test/dummy/tmp/cache/assets/CB9/B60/sprockets%2Fe7b839a0806e5c20e5018197f56cd656
|
233
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
234
|
+
- test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea
|
196
235
|
- test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
|
197
|
-
- test/dummy/tmp/cache/assets/CF7/670/sprockets%2F00b214e322c484fcc1555dafaa240947
|
198
|
-
- test/dummy/tmp/cache/assets/CFB/150/sprockets%2Ff5209763c82e66ecdff0f9583166f557
|
199
236
|
- test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f
|
200
|
-
- test/dummy/tmp/cache/assets/
|
201
|
-
- test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4
|
202
|
-
- test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9
|
203
|
-
- test/dummy/tmp/cache/assets/D2F/290/sprockets%2Fd5c244ec777cb5719f86d085df9f8816
|
237
|
+
- test/dummy/tmp/cache/assets/D13/FD0/sprockets%2F8d733d18e3095c053f81f78d4a422afd
|
204
238
|
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
205
239
|
- test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
|
206
|
-
- test/dummy/tmp/cache/assets/
|
207
|
-
- test/dummy/tmp/cache/assets/
|
208
|
-
- test/dummy/tmp/cache/assets/
|
209
|
-
- test/dummy/tmp/cache/assets/
|
240
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
241
|
+
- test/dummy/tmp/cache/assets/D52/D30/sprockets%2Fb1b780ccf384149569ceb76ee7bd5639
|
242
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
243
|
+
- test/dummy/tmp/cache/assets/D65/FC0/sprockets%2F650c155de4459a33bb5cc75d0cabc738
|
244
|
+
- test/dummy/tmp/cache/assets/D67/250/sprockets%2F2b4acc4bbcc24118e7707c269738f0bf
|
245
|
+
- test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174
|
246
|
+
- test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff6eeb33602682bd6ff6d1f177f6b142d
|
247
|
+
- test/dummy/tmp/cache/assets/D76/4D0/sprockets%2F8a096b6dd59bfda3e461617a95524eaf
|
210
248
|
- test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19
|
249
|
+
- test/dummy/tmp/cache/assets/DB7/6C0/sprockets%2F386e9196dd0f9efdce6f92ce93a6d107
|
250
|
+
- test/dummy/tmp/cache/assets/DBA/C70/sprockets%2F393a0a1b56d0da607ff53aa2fdb9ec31
|
251
|
+
- test/dummy/tmp/cache/assets/DC8/3B0/sprockets%2F0949dcec3ad4d7d2733ad5b523aeb7d4
|
252
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
253
|
+
- test/dummy/tmp/cache/assets/DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f
|
211
254
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
255
|
+
- test/dummy/tmp/cache/assets/E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3
|
212
256
|
- test/serializer_test.rb
|
213
257
|
- test/test_helper.rb
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<%= form_for(@user) do |f| %>
|
2
|
-
|
3
|
-
<% if @user.errors.any? %>
|
4
|
-
<p><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</p>
|
5
|
-
<ul>
|
6
|
-
<% @user.errors.each do |attribute, message| %>
|
7
|
-
<li><%= "#{attribute} : #{message}" %></li>
|
8
|
-
<% end %>
|
9
|
-
</ul>
|
10
|
-
<% end %>
|
11
|
-
|
12
|
-
<div class="field">
|
13
|
-
<%= f.label :name, "Name:" %><br />
|
14
|
-
<%= f.text_field :name %>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="field">
|
18
|
-
<%= f.label :email, "Email:" %><br />
|
19
|
-
<%= f.text_field :email %>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<div class="field">
|
23
|
-
<%= f.check_box :fb_share %>
|
24
|
-
<%= f.label :fb_share, "FB Share" %>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<div class="field">
|
28
|
-
<%= f.check_box :tw_share %>
|
29
|
-
<%= f.label :tw_share, "TW Share" %>
|
30
|
-
</div>
|
31
|
-
|
32
|
-
<div class="field">
|
33
|
-
<%= f.radio_button :tb_share, true %>
|
34
|
-
<%= f.label :tb_share_true, "Enable Tumblr Share" %>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<%= f.radio_button :tb_share, false %>
|
39
|
-
<%= f.label :tb_share_false, "Disable Tumblr Share" %>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<div class="actions">
|
43
|
-
<%= f.submit %>
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<% end %>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<h1>Index</h1>
|
2
|
-
|
3
|
-
<table>
|
4
|
-
<tr>
|
5
|
-
<th>Name</th>
|
6
|
-
<th>Email</th>
|
7
|
-
<th></th>
|
8
|
-
<th></th>
|
9
|
-
<th></th>
|
10
|
-
</tr>
|
11
|
-
|
12
|
-
<% @users.each do |user| %>
|
13
|
-
<tr>
|
14
|
-
<td><%= user.name %></td>
|
15
|
-
<td><%= user.email %></td>
|
16
|
-
<td><%= link_to 'Show', user %></td>
|
17
|
-
<td><%= link_to 'Edit', edit_user_path(user) %></td>
|
18
|
-
<td><%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %></td>
|
19
|
-
</tr>
|
20
|
-
<% end %>
|
21
|
-
</table>
|
22
|
-
|
23
|
-
<br />
|
24
|
-
|
25
|
-
<%= link_to 'New User', new_user_path %>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<h1>Show</h1>
|
2
|
-
|
3
|
-
<p id="notice"><%= notice %></p>
|
4
|
-
|
5
|
-
<p>
|
6
|
-
<b>Name:</b>
|
7
|
-
<%= @user.name %>
|
8
|
-
</p>
|
9
|
-
|
10
|
-
<p>
|
11
|
-
<b>Email:</b>
|
12
|
-
<%= @user.email %>
|
13
|
-
</p>
|
14
|
-
|
15
|
-
<%- if @user.fb_share? -%>
|
16
|
-
<p>FB Share</p>
|
17
|
-
<%- end -%>
|
18
|
-
|
19
|
-
<%- if @user.tw_share? -%>
|
20
|
-
<p>TW Share</p>
|
21
|
-
<%- end -%>
|
22
|
-
|
23
|
-
<%= link_to 'Edit', edit_user_path(@user) %>
|
24
|
-
<%= link_to 'Back', users_path %>
|