simple_token_authentication 1.0.0.beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +674 -0
  3. data/README.md +134 -0
  4. data/Rakefile +32 -0
  5. data/lib/simple_token_authentication.rb +5 -0
  6. data/lib/simple_token_authentication/acts_as_token_authenticatable.rb +33 -0
  7. data/lib/simple_token_authentication/acts_as_token_authentication_handler.rb +68 -0
  8. data/lib/simple_token_authentication/version.rb +3 -0
  9. data/lib/tasks/simple_token_authentication_tasks.rake +4 -0
  10. data/test/dummy/README.rdoc +28 -0
  11. data/test/dummy/Rakefile +6 -0
  12. data/test/dummy/app/assets/javascripts/application.js +13 -0
  13. data/test/dummy/app/assets/javascripts/posts.js +2 -0
  14. data/test/dummy/app/assets/javascripts/private_posts.js +2 -0
  15. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  16. data/test/dummy/app/assets/stylesheets/posts.css +4 -0
  17. data/test/dummy/app/assets/stylesheets/private_posts.css +4 -0
  18. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  19. data/test/dummy/app/controllers/application_controller.rb +21 -0
  20. data/test/dummy/app/controllers/posts_controller.rb +62 -0
  21. data/test/dummy/app/controllers/private_posts_controller.rb +63 -0
  22. data/test/dummy/app/helpers/application_helper.rb +2 -0
  23. data/test/dummy/app/helpers/posts_helper.rb +2 -0
  24. data/test/dummy/app/helpers/private_posts_helper.rb +2 -0
  25. data/test/dummy/app/models/post.rb +3 -0
  26. data/test/dummy/app/models/private_post.rb +3 -0
  27. data/test/dummy/app/models/user.rb +2 -0
  28. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  29. data/test/dummy/app/views/posts/_form.html.erb +29 -0
  30. data/test/dummy/app/views/posts/edit.html.erb +6 -0
  31. data/test/dummy/app/views/posts/index.html.erb +31 -0
  32. data/test/dummy/app/views/posts/new.html.erb +5 -0
  33. data/test/dummy/app/views/posts/show.html.erb +19 -0
  34. data/test/dummy/app/views/private_posts/_form.html.erb +29 -0
  35. data/test/dummy/app/views/private_posts/edit.html.erb +6 -0
  36. data/test/dummy/app/views/private_posts/index.html.erb +31 -0
  37. data/test/dummy/app/views/private_posts/new.html.erb +5 -0
  38. data/test/dummy/app/views/private_posts/show.html.erb +19 -0
  39. data/test/dummy/bin/bundle +3 -0
  40. data/test/dummy/bin/rails +4 -0
  41. data/test/dummy/bin/rake +4 -0
  42. data/test/dummy/config.ru +4 -0
  43. data/test/dummy/config/application.rb +23 -0
  44. data/test/dummy/config/boot.rb +5 -0
  45. data/test/dummy/config/database.yml +25 -0
  46. data/test/dummy/config/environment.rb +5 -0
  47. data/test/dummy/config/environments/development.rb +29 -0
  48. data/test/dummy/config/environments/production.rb +80 -0
  49. data/test/dummy/config/environments/test.rb +36 -0
  50. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  51. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  52. data/test/dummy/config/initializers/indefinite_articlerize.rb +4 -0
  53. data/test/dummy/config/initializers/inflections.rb +16 -0
  54. data/test/dummy/config/initializers/mime_types.rb +5 -0
  55. data/test/dummy/config/initializers/secret_token.rb +12 -0
  56. data/test/dummy/config/initializers/session_store.rb +3 -0
  57. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  58. data/test/dummy/config/locales/en.yml +23 -0
  59. data/test/dummy/config/routes.rb +60 -0
  60. data/test/dummy/db/development.sqlite3 +0 -0
  61. data/test/dummy/db/migrate/20140107041016_create_posts.rb +11 -0
  62. data/test/dummy/db/migrate/20140107053025_create_users.rb +6 -0
  63. data/test/dummy/db/migrate/20140107064508_create_private_posts.rb +11 -0
  64. data/test/dummy/db/schema.rb +35 -0
  65. data/test/dummy/db/test.sqlite3 +0 -0
  66. data/test/dummy/lib/generators/rspec/controller/controller_generator.rb +33 -0
  67. data/test/dummy/lib/generators/rspec/helper/helper_generator.rb +15 -0
  68. data/test/dummy/lib/generators/rspec/model/model_generator.rb +22 -0
  69. data/test/dummy/lib/generators/rspec/scaffold/scaffold_generator.rb +192 -0
  70. data/test/dummy/lib/templates/rspec/controller/controller_spec.rb +16 -0
  71. data/test/dummy/lib/templates/rspec/controller/view_spec.rb +5 -0
  72. data/test/dummy/lib/templates/rspec/helper/helper_spec.rb +0 -0
  73. data/test/dummy/lib/templates/rspec/model/model_spec.rb +65 -0
  74. data/test/dummy/lib/templates/rspec/model/model_spec_backup.rb +19 -0
  75. data/test/dummy/lib/templates/rspec/scaffold/controller_spec.rb +168 -0
  76. data/test/dummy/lib/templates/rspec/scaffold/edit_spec.rb +31 -0
  77. data/test/dummy/lib/templates/rspec/scaffold/index_spec.rb +32 -0
  78. data/test/dummy/lib/templates/rspec/scaffold/new_spec.rb +30 -0
  79. data/test/dummy/lib/templates/rspec/scaffold/routing_spec.rb +39 -0
  80. data/test/dummy/lib/templates/rspec/scaffold/show_spec.rb +28 -0
  81. data/test/dummy/log/development.log +3437 -0
  82. data/test/dummy/log/test.log +22013 -0
  83. data/test/dummy/public/404.html +58 -0
  84. data/test/dummy/public/422.html +58 -0
  85. data/test/dummy/public/500.html +57 -0
  86. data/test/dummy/public/favicon.ico +0 -0
  87. data/test/dummy/spec/controllers/posts_controller_spec.rb +161 -0
  88. data/test/dummy/spec/controllers/private_posts_controller_spec.rb +41 -0
  89. data/test/dummy/spec/factories/posts.rb +11 -0
  90. data/test/dummy/spec/factories/private_posts.rb +11 -0
  91. data/test/dummy/spec/helpers/posts_helper_spec.rb +0 -0
  92. data/test/dummy/spec/helpers/private_posts_helper_spec.rb +0 -0
  93. data/test/dummy/spec/models/post_spec.rb +65 -0
  94. data/test/dummy/spec/models/private_post_spec.rb +65 -0
  95. data/test/dummy/spec/models/user_spec.rb +61 -0
  96. data/test/dummy/spec/requests/posts_spec.rb +16 -0
  97. data/test/dummy/spec/requests/private_posts_spec.rb +17 -0
  98. data/test/dummy/spec/routing/posts_routing_spec.rb +35 -0
  99. data/test/dummy/spec/routing/private_posts_routing_spec.rb +35 -0
  100. data/test/dummy/spec/spec_helper.rb +42 -0
  101. data/test/dummy/spec/support/factory_girl.rb +6 -0
  102. data/test/dummy/spec/views/posts/edit.html.erb_spec.rb +22 -0
  103. data/test/dummy/spec/views/posts/index.html.erb_spec.rb +26 -0
  104. data/test/dummy/spec/views/posts/new.html.erb_spec.rb +22 -0
  105. data/test/dummy/spec/views/posts/show.html.erb_spec.rb +19 -0
  106. data/test/dummy/spec/views/private_posts/edit.html.erb_spec.rb +22 -0
  107. data/test/dummy/spec/views/private_posts/index.html.erb_spec.rb +26 -0
  108. data/test/dummy/spec/views/private_posts/new.html.erb_spec.rb +22 -0
  109. data/test/dummy/spec/views/private_posts/show.html.erb_spec.rb +19 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/4050a4e5062ab95c9f32e9b6940821ea +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/87b209c0c9da28094a8d5581a21262c6 +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124 +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  126. data/test/simple_token_authentication_test.rb +7 -0
  127. data/test/test_helper.rb +15 -0
  128. metadata +384 -0
@@ -0,0 +1,19 @@
1
+ require 'spec_helper'
2
+
3
+ describe "private_posts/show" do
4
+ before(:each) do
5
+ @private_post = assign(:private_post, stub_model(PrivatePost,
6
+ :title => "Title",
7
+ :body => "MyText",
8
+ :published => false
9
+ ))
10
+ end
11
+
12
+ it "renders attributes in <p>" do
13
+ render
14
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
15
+ rendered.should match(/Title/)
16
+ rendered.should match(/MyText/)
17
+ rendered.should match(/false/)
18
+ end
19
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class SimpleTokenAuthenticationTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, SimpleTokenAuthentication
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata ADDED
@@ -0,0 +1,384 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple_token_authentication
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.beta.5
5
+ platform: ruby
6
+ authors:
7
+ - Gonzalo Bulnes Guilpain
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-01-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.6
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '5'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.6
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '5'
33
+ - !ruby/object:Gem::Dependency
34
+ name: actionmailer
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: 3.2.6
40
+ - - <
41
+ - !ruby/object:Gem::Version
42
+ version: '5'
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - '>='
48
+ - !ruby/object:Gem::Version
49
+ version: 3.2.6
50
+ - - <
51
+ - !ruby/object:Gem::Version
52
+ version: '5'
53
+ - !ruby/object:Gem::Dependency
54
+ name: devise
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ version: 3.2.0
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: 3.2.0
67
+ - !ruby/object:Gem::Dependency
68
+ name: sqlite3
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ - !ruby/object:Gem::Dependency
82
+ name: rspec-rails
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: factory_girl_rails
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ description:
110
+ email:
111
+ - gon.bulnes@gmail.com
112
+ executables: []
113
+ extensions: []
114
+ extra_rdoc_files: []
115
+ files:
116
+ - lib/tasks/simple_token_authentication_tasks.rake
117
+ - lib/simple_token_authentication/acts_as_token_authenticatable.rb
118
+ - lib/simple_token_authentication/acts_as_token_authentication_handler.rb
119
+ - lib/simple_token_authentication/version.rb
120
+ - lib/simple_token_authentication.rb
121
+ - LICENSE
122
+ - Rakefile
123
+ - README.md
124
+ - test/test_helper.rb
125
+ - test/dummy/config.ru
126
+ - test/dummy/bin/bundle
127
+ - test/dummy/bin/rails
128
+ - test/dummy/bin/rake
129
+ - test/dummy/db/development.sqlite3
130
+ - test/dummy/db/migrate/20140107041016_create_posts.rb
131
+ - test/dummy/db/migrate/20140107064508_create_private_posts.rb
132
+ - test/dummy/db/migrate/20140107053025_create_users.rb
133
+ - test/dummy/db/test.sqlite3
134
+ - test/dummy/db/schema.rb
135
+ - test/dummy/log/development.log
136
+ - test/dummy/log/test.log
137
+ - test/dummy/README.rdoc
138
+ - test/dummy/lib/templates/rspec/helper/helper_spec.rb
139
+ - test/dummy/lib/templates/rspec/controller/view_spec.rb
140
+ - test/dummy/lib/templates/rspec/controller/controller_spec.rb
141
+ - test/dummy/lib/templates/rspec/scaffold/routing_spec.rb
142
+ - test/dummy/lib/templates/rspec/scaffold/edit_spec.rb
143
+ - test/dummy/lib/templates/rspec/scaffold/new_spec.rb
144
+ - test/dummy/lib/templates/rspec/scaffold/show_spec.rb
145
+ - test/dummy/lib/templates/rspec/scaffold/controller_spec.rb
146
+ - test/dummy/lib/templates/rspec/scaffold/index_spec.rb
147
+ - test/dummy/lib/templates/rspec/model/model_spec_backup.rb
148
+ - test/dummy/lib/templates/rspec/model/model_spec.rb
149
+ - test/dummy/lib/generators/rspec/helper/helper_generator.rb
150
+ - test/dummy/lib/generators/rspec/controller/controller_generator.rb
151
+ - test/dummy/lib/generators/rspec/scaffold/scaffold_generator.rb
152
+ - test/dummy/lib/generators/rspec/model/model_generator.rb
153
+ - test/dummy/config/initializers/wrap_parameters.rb
154
+ - test/dummy/config/initializers/inflections.rb
155
+ - test/dummy/config/initializers/secret_token.rb
156
+ - test/dummy/config/initializers/session_store.rb
157
+ - test/dummy/config/initializers/backtrace_silencers.rb
158
+ - test/dummy/config/initializers/indefinite_articlerize.rb
159
+ - test/dummy/config/initializers/filter_parameter_logging.rb
160
+ - test/dummy/config/initializers/mime_types.rb
161
+ - test/dummy/config/boot.rb
162
+ - test/dummy/config/routes.rb
163
+ - test/dummy/config/application.rb
164
+ - test/dummy/config/environments/production.rb
165
+ - test/dummy/config/environments/development.rb
166
+ - test/dummy/config/environments/test.rb
167
+ - test/dummy/config/database.yml
168
+ - test/dummy/config/environment.rb
169
+ - test/dummy/config/locales/en.yml
170
+ - test/dummy/Rakefile
171
+ - test/dummy/tmp/cache/assets/test/sprockets/4050a4e5062ab95c9f32e9b6940821ea
172
+ - test/dummy/tmp/cache/assets/test/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174
173
+ - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
174
+ - test/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145
175
+ - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
176
+ - test/dummy/tmp/cache/assets/test/sprockets/87b209c0c9da28094a8d5581a21262c6
177
+ - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
178
+ - test/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212
179
+ - test/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2
180
+ - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
181
+ - test/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
182
+ - test/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4
183
+ - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
184
+ - test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
185
+ - test/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6
186
+ - test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124
187
+ - test/dummy/spec/spec_helper.rb
188
+ - test/dummy/spec/views/private_posts/edit.html.erb_spec.rb
189
+ - test/dummy/spec/views/private_posts/new.html.erb_spec.rb
190
+ - test/dummy/spec/views/private_posts/index.html.erb_spec.rb
191
+ - test/dummy/spec/views/private_posts/show.html.erb_spec.rb
192
+ - test/dummy/spec/views/posts/edit.html.erb_spec.rb
193
+ - test/dummy/spec/views/posts/new.html.erb_spec.rb
194
+ - test/dummy/spec/views/posts/index.html.erb_spec.rb
195
+ - test/dummy/spec/views/posts/show.html.erb_spec.rb
196
+ - test/dummy/spec/support/factory_girl.rb
197
+ - test/dummy/spec/factories/posts.rb
198
+ - test/dummy/spec/factories/private_posts.rb
199
+ - test/dummy/spec/routing/posts_routing_spec.rb
200
+ - test/dummy/spec/routing/private_posts_routing_spec.rb
201
+ - test/dummy/spec/models/user_spec.rb
202
+ - test/dummy/spec/models/post_spec.rb
203
+ - test/dummy/spec/models/private_post_spec.rb
204
+ - test/dummy/spec/controllers/private_posts_controller_spec.rb
205
+ - test/dummy/spec/controllers/posts_controller_spec.rb
206
+ - test/dummy/spec/requests/posts_spec.rb
207
+ - test/dummy/spec/requests/private_posts_spec.rb
208
+ - test/dummy/spec/helpers/posts_helper_spec.rb
209
+ - test/dummy/spec/helpers/private_posts_helper_spec.rb
210
+ - test/dummy/app/views/layouts/application.html.erb
211
+ - test/dummy/app/views/private_posts/new.html.erb
212
+ - test/dummy/app/views/private_posts/index.html.erb
213
+ - test/dummy/app/views/private_posts/edit.html.erb
214
+ - test/dummy/app/views/private_posts/_form.html.erb
215
+ - test/dummy/app/views/private_posts/show.html.erb
216
+ - test/dummy/app/views/posts/new.html.erb
217
+ - test/dummy/app/views/posts/index.html.erb
218
+ - test/dummy/app/views/posts/edit.html.erb
219
+ - test/dummy/app/views/posts/_form.html.erb
220
+ - test/dummy/app/views/posts/show.html.erb
221
+ - test/dummy/app/assets/stylesheets/posts.css
222
+ - test/dummy/app/assets/stylesheets/private_posts.css
223
+ - test/dummy/app/assets/stylesheets/application.css
224
+ - test/dummy/app/assets/stylesheets/scaffold.css
225
+ - test/dummy/app/assets/javascripts/private_posts.js
226
+ - test/dummy/app/assets/javascripts/posts.js
227
+ - test/dummy/app/assets/javascripts/application.js
228
+ - test/dummy/app/models/post.rb
229
+ - test/dummy/app/models/private_post.rb
230
+ - test/dummy/app/models/user.rb
231
+ - test/dummy/app/controllers/posts_controller.rb
232
+ - test/dummy/app/controllers/private_posts_controller.rb
233
+ - test/dummy/app/controllers/application_controller.rb
234
+ - test/dummy/app/helpers/posts_helper.rb
235
+ - test/dummy/app/helpers/application_helper.rb
236
+ - test/dummy/app/helpers/private_posts_helper.rb
237
+ - test/dummy/public/500.html
238
+ - test/dummy/public/favicon.ico
239
+ - test/dummy/public/422.html
240
+ - test/dummy/public/404.html
241
+ - test/simple_token_authentication_test.rb
242
+ homepage: https://github.com/gonzalo-bulnes/simple_token_authentication
243
+ licenses:
244
+ - GPLv3
245
+ metadata: {}
246
+ post_install_message:
247
+ rdoc_options: []
248
+ require_paths:
249
+ - lib
250
+ required_ruby_version: !ruby/object:Gem::Requirement
251
+ requirements:
252
+ - - '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ required_rubygems_version: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - '>'
258
+ - !ruby/object:Gem::Version
259
+ version: 1.3.1
260
+ requirements: []
261
+ rubyforge_project:
262
+ rubygems_version: 2.1.11
263
+ signing_key:
264
+ specification_version: 4
265
+ summary: Simple (but safe) token authentication for Rails apps or API with Devise.
266
+ test_files:
267
+ - test/test_helper.rb
268
+ - test/dummy/config.ru
269
+ - test/dummy/bin/bundle
270
+ - test/dummy/bin/rails
271
+ - test/dummy/bin/rake
272
+ - test/dummy/db/development.sqlite3
273
+ - test/dummy/db/migrate/20140107041016_create_posts.rb
274
+ - test/dummy/db/migrate/20140107064508_create_private_posts.rb
275
+ - test/dummy/db/migrate/20140107053025_create_users.rb
276
+ - test/dummy/db/test.sqlite3
277
+ - test/dummy/db/schema.rb
278
+ - test/dummy/log/development.log
279
+ - test/dummy/log/test.log
280
+ - test/dummy/README.rdoc
281
+ - test/dummy/lib/templates/rspec/helper/helper_spec.rb
282
+ - test/dummy/lib/templates/rspec/controller/view_spec.rb
283
+ - test/dummy/lib/templates/rspec/controller/controller_spec.rb
284
+ - test/dummy/lib/templates/rspec/scaffold/routing_spec.rb
285
+ - test/dummy/lib/templates/rspec/scaffold/edit_spec.rb
286
+ - test/dummy/lib/templates/rspec/scaffold/new_spec.rb
287
+ - test/dummy/lib/templates/rspec/scaffold/show_spec.rb
288
+ - test/dummy/lib/templates/rspec/scaffold/controller_spec.rb
289
+ - test/dummy/lib/templates/rspec/scaffold/index_spec.rb
290
+ - test/dummy/lib/templates/rspec/model/model_spec_backup.rb
291
+ - test/dummy/lib/templates/rspec/model/model_spec.rb
292
+ - test/dummy/lib/generators/rspec/helper/helper_generator.rb
293
+ - test/dummy/lib/generators/rspec/controller/controller_generator.rb
294
+ - test/dummy/lib/generators/rspec/scaffold/scaffold_generator.rb
295
+ - test/dummy/lib/generators/rspec/model/model_generator.rb
296
+ - test/dummy/config/initializers/wrap_parameters.rb
297
+ - test/dummy/config/initializers/inflections.rb
298
+ - test/dummy/config/initializers/secret_token.rb
299
+ - test/dummy/config/initializers/session_store.rb
300
+ - test/dummy/config/initializers/backtrace_silencers.rb
301
+ - test/dummy/config/initializers/indefinite_articlerize.rb
302
+ - test/dummy/config/initializers/filter_parameter_logging.rb
303
+ - test/dummy/config/initializers/mime_types.rb
304
+ - test/dummy/config/boot.rb
305
+ - test/dummy/config/routes.rb
306
+ - test/dummy/config/application.rb
307
+ - test/dummy/config/environments/production.rb
308
+ - test/dummy/config/environments/development.rb
309
+ - test/dummy/config/environments/test.rb
310
+ - test/dummy/config/database.yml
311
+ - test/dummy/config/environment.rb
312
+ - test/dummy/config/locales/en.yml
313
+ - test/dummy/Rakefile
314
+ - test/dummy/tmp/cache/assets/test/sprockets/4050a4e5062ab95c9f32e9b6940821ea
315
+ - test/dummy/tmp/cache/assets/test/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174
316
+ - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
317
+ - test/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145
318
+ - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
319
+ - test/dummy/tmp/cache/assets/test/sprockets/87b209c0c9da28094a8d5581a21262c6
320
+ - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
321
+ - test/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212
322
+ - test/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2
323
+ - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
324
+ - test/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
325
+ - test/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4
326
+ - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
327
+ - test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
328
+ - test/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6
329
+ - test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124
330
+ - test/dummy/spec/spec_helper.rb
331
+ - test/dummy/spec/views/private_posts/edit.html.erb_spec.rb
332
+ - test/dummy/spec/views/private_posts/new.html.erb_spec.rb
333
+ - test/dummy/spec/views/private_posts/index.html.erb_spec.rb
334
+ - test/dummy/spec/views/private_posts/show.html.erb_spec.rb
335
+ - test/dummy/spec/views/posts/edit.html.erb_spec.rb
336
+ - test/dummy/spec/views/posts/new.html.erb_spec.rb
337
+ - test/dummy/spec/views/posts/index.html.erb_spec.rb
338
+ - test/dummy/spec/views/posts/show.html.erb_spec.rb
339
+ - test/dummy/spec/support/factory_girl.rb
340
+ - test/dummy/spec/factories/posts.rb
341
+ - test/dummy/spec/factories/private_posts.rb
342
+ - test/dummy/spec/routing/posts_routing_spec.rb
343
+ - test/dummy/spec/routing/private_posts_routing_spec.rb
344
+ - test/dummy/spec/models/user_spec.rb
345
+ - test/dummy/spec/models/post_spec.rb
346
+ - test/dummy/spec/models/private_post_spec.rb
347
+ - test/dummy/spec/controllers/private_posts_controller_spec.rb
348
+ - test/dummy/spec/controllers/posts_controller_spec.rb
349
+ - test/dummy/spec/requests/posts_spec.rb
350
+ - test/dummy/spec/requests/private_posts_spec.rb
351
+ - test/dummy/spec/helpers/posts_helper_spec.rb
352
+ - test/dummy/spec/helpers/private_posts_helper_spec.rb
353
+ - test/dummy/app/views/layouts/application.html.erb
354
+ - test/dummy/app/views/private_posts/new.html.erb
355
+ - test/dummy/app/views/private_posts/index.html.erb
356
+ - test/dummy/app/views/private_posts/edit.html.erb
357
+ - test/dummy/app/views/private_posts/_form.html.erb
358
+ - test/dummy/app/views/private_posts/show.html.erb
359
+ - test/dummy/app/views/posts/new.html.erb
360
+ - test/dummy/app/views/posts/index.html.erb
361
+ - test/dummy/app/views/posts/edit.html.erb
362
+ - test/dummy/app/views/posts/_form.html.erb
363
+ - test/dummy/app/views/posts/show.html.erb
364
+ - test/dummy/app/assets/stylesheets/posts.css
365
+ - test/dummy/app/assets/stylesheets/private_posts.css
366
+ - test/dummy/app/assets/stylesheets/application.css
367
+ - test/dummy/app/assets/stylesheets/scaffold.css
368
+ - test/dummy/app/assets/javascripts/private_posts.js
369
+ - test/dummy/app/assets/javascripts/posts.js
370
+ - test/dummy/app/assets/javascripts/application.js
371
+ - test/dummy/app/models/post.rb
372
+ - test/dummy/app/models/private_post.rb
373
+ - test/dummy/app/models/user.rb
374
+ - test/dummy/app/controllers/posts_controller.rb
375
+ - test/dummy/app/controllers/private_posts_controller.rb
376
+ - test/dummy/app/controllers/application_controller.rb
377
+ - test/dummy/app/helpers/posts_helper.rb
378
+ - test/dummy/app/helpers/application_helper.rb
379
+ - test/dummy/app/helpers/private_posts_helper.rb
380
+ - test/dummy/public/500.html
381
+ - test/dummy/public/favicon.ico
382
+ - test/dummy/public/422.html
383
+ - test/dummy/public/404.html
384
+ - test/simple_token_authentication_test.rb