notifly 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +22 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +13 -0
  5. data/Gemfile +24 -0
  6. data/Gemfile.lock +199 -0
  7. data/README.md +32 -6
  8. data/Rakefile +40 -14
  9. data/VERSION +1 -0
  10. data/app/assets/images/notifly/.keep +0 -0
  11. data/bin/rails +12 -0
  12. data/lib/generators/notifly/install/install_generator.rb +4 -0
  13. data/lib/notifly/engine.rb +0 -10
  14. data/spec/controllers/notifly/notifications_controller_spec.rb +44 -0
  15. data/spec/dummy/README.rdoc +28 -0
  16. data/spec/dummy/Rakefile +6 -0
  17. data/spec/dummy/app/assets/images/.keep +0 -0
  18. data/spec/dummy/app/assets/javascripts/application.js +14 -0
  19. data/spec/dummy/app/assets/stylesheets/application.css +20 -0
  20. data/spec/dummy/app/controllers/application_controller.rb +13 -0
  21. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  22. data/spec/dummy/app/controllers/site_controller.rb +4 -0
  23. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  24. data/spec/dummy/app/mailers/.keep +0 -0
  25. data/spec/dummy/app/models/.keep +0 -0
  26. data/spec/dummy/app/models/concerns/.keep +0 -0
  27. data/spec/dummy/app/models/dummy_object.rb +19 -0
  28. data/spec/dummy/app/models/post.rb +21 -0
  29. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  30. data/spec/dummy/app/views/site/index.html.erb +2 -0
  31. data/spec/dummy/bin/bundle +3 -0
  32. data/spec/dummy/bin/rails +4 -0
  33. data/spec/dummy/bin/rake +4 -0
  34. data/spec/dummy/config.ru +4 -0
  35. data/spec/dummy/config/application.rb +29 -0
  36. data/spec/dummy/config/boot.rb +5 -0
  37. data/spec/dummy/config/database.exemple.yml +12 -0
  38. data/spec/dummy/config/database.travis.yml +4 -0
  39. data/spec/dummy/config/environment.rb +5 -0
  40. data/spec/dummy/config/environments/development.rb +37 -0
  41. data/spec/dummy/config/environments/production.rb +78 -0
  42. data/spec/dummy/config/environments/test.rb +39 -0
  43. data/spec/dummy/config/initializers/assets.rb +8 -0
  44. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  46. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  47. data/spec/dummy/config/initializers/inflections.rb +16 -0
  48. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  49. data/spec/dummy/config/initializers/session_store.rb +3 -0
  50. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/spec/dummy/config/locales/en.yml +23 -0
  52. data/spec/dummy/config/routes.rb +5 -0
  53. data/spec/dummy/config/secrets.yml +22 -0
  54. data/spec/dummy/db/migrate/20141031165049_create_dummy_objects.rb +9 -0
  55. data/spec/dummy/db/migrate/20141103191353_create_posts.rb +10 -0
  56. data/spec/dummy/db/migrate/20141104121318_add_dummy_to_post.rb +5 -0
  57. data/spec/dummy/db/schema.rb +54 -0
  58. data/spec/dummy/lib/assets/.keep +0 -0
  59. data/spec/dummy/log/.keep +0 -0
  60. data/spec/dummy/public/404.html +67 -0
  61. data/spec/dummy/public/422.html +67 -0
  62. data/spec/dummy/public/500.html +66 -0
  63. data/spec/dummy/public/favicon.ico +0 -0
  64. data/spec/dummy/spec/features/notifly/counter_spec.rb +38 -0
  65. data/spec/dummy/spec/features/notifly/loading_notifications_spec.rb +38 -0
  66. data/spec/dummy/spec/features/notifly/read_notifications_spec.rb +70 -0
  67. data/spec/dummy/spec/models/dummy_object_spec.rb +58 -0
  68. data/spec/dummy/spec/models/post_spec.rb +89 -0
  69. data/spec/models/notifly/notification_spec.rb +18 -0
  70. data/spec/rails_helper.rb +21 -0
  71. data/spec/spec_helper.rb +62 -0
  72. data/spec/support/shared_connection.rb +14 -0
  73. data/spec/support/suppress_log.rb +3 -0
  74. data/spec/support/wait_ajax.rb +53 -0
  75. data/vendor/assets/javascripts/twitter/bootstrap.js +181 -0
  76. data/vendor/assets/stylesheets/twitter/bootstrap.css +475 -0
  77. metadata +181 -11
  78. data/lib/notifly/version.rb +0 -3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Passalini
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-20 00:00:00.000000000 Z
12
+ date: 2014-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -29,22 +29,22 @@ dependencies:
29
29
  name: jquery-rails
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: '3.0'
35
32
  - - "<"
36
33
  - !ruby/object:Gem::Version
37
34
  version: '5'
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '3.0'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: '3.0'
45
42
  - - "<"
46
43
  - !ruby/object:Gem::Version
47
44
  version: '5'
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: kaminari
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -143,17 +143,124 @@ dependencies:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 2.7.0
146
+ - !ruby/object:Gem::Dependency
147
+ name: pry-rails
148
+ requirement: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ type: :development
154
+ prerelease: false
155
+ version_requirements: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ - !ruby/object:Gem::Dependency
161
+ name: pry-rescue
162
+ requirement: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ type: :development
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: awesome_print
176
+ requirement: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ type: :development
182
+ prerelease: false
183
+ version_requirements: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ - !ruby/object:Gem::Dependency
189
+ name: launchy
190
+ requirement: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ type: :development
196
+ prerelease: false
197
+ version_requirements: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ - !ruby/object:Gem::Dependency
203
+ name: better_errors
204
+ requirement: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ type: :development
210
+ prerelease: false
211
+ version_requirements: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ - !ruby/object:Gem::Dependency
217
+ name: binding_of_caller
218
+ requirement: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ type: :development
224
+ prerelease: false
225
+ version_requirements: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ - !ruby/object:Gem::Dependency
231
+ name: jeweler
232
+ requirement: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ type: :development
238
+ prerelease: false
239
+ version_requirements: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
146
244
  description: This project intend to offer a full notification system, back and front-end.
147
245
  email:
148
246
  - henrique.passalini@gmail.com
149
247
  - rafael@algorich.com.br
150
- executables: []
248
+ executables:
249
+ - rails
151
250
  extensions: []
152
- extra_rdoc_files: []
251
+ extra_rdoc_files:
252
+ - README.md
153
253
  files:
254
+ - ".editorconfig"
255
+ - ".rspec"
256
+ - ".travis.yml"
257
+ - Gemfile
258
+ - Gemfile.lock
154
259
  - MIT-LICENSE
155
260
  - README.md
156
261
  - Rakefile
262
+ - VERSION
263
+ - app/assets/images/notifly/.keep
157
264
  - app/assets/javascripts/notifly.js
158
265
  - app/assets/javascripts/notifly/counter.js.erb
159
266
  - app/assets/javascripts/notifly/get_notifications.js.erb
@@ -174,6 +281,7 @@ files:
174
281
  - app/views/notifly/notifications/read_specific.js.erb
175
282
  - app/views/notifly/notifications/toggle_read.js.erb
176
283
  - app/views/notifly/templates/_default.html.erb
284
+ - bin/rails
177
285
  - config/routes.rb
178
286
  - db/migrate/20141103170528_create_notifly_notifications.rb
179
287
  - db/migrate/20141104150224_add_data_to_notification.rb
@@ -190,8 +298,70 @@ files:
190
298
  - lib/notifly/models/notifiable.rb
191
299
  - lib/notifly/models/options/fly.rb
192
300
  - lib/notifly/railtie.rb
193
- - lib/notifly/version.rb
194
301
  - lib/tasks/notifly_tasks.rake
302
+ - spec/controllers/notifly/notifications_controller_spec.rb
303
+ - spec/dummy/README.rdoc
304
+ - spec/dummy/Rakefile
305
+ - spec/dummy/app/assets/images/.keep
306
+ - spec/dummy/app/assets/javascripts/application.js
307
+ - spec/dummy/app/assets/stylesheets/application.css
308
+ - spec/dummy/app/controllers/application_controller.rb
309
+ - spec/dummy/app/controllers/concerns/.keep
310
+ - spec/dummy/app/controllers/site_controller.rb
311
+ - spec/dummy/app/helpers/application_helper.rb
312
+ - spec/dummy/app/mailers/.keep
313
+ - spec/dummy/app/models/.keep
314
+ - spec/dummy/app/models/concerns/.keep
315
+ - spec/dummy/app/models/dummy_object.rb
316
+ - spec/dummy/app/models/post.rb
317
+ - spec/dummy/app/views/layouts/application.html.erb
318
+ - spec/dummy/app/views/site/index.html.erb
319
+ - spec/dummy/bin/bundle
320
+ - spec/dummy/bin/rails
321
+ - spec/dummy/bin/rake
322
+ - spec/dummy/config.ru
323
+ - spec/dummy/config/application.rb
324
+ - spec/dummy/config/boot.rb
325
+ - spec/dummy/config/database.exemple.yml
326
+ - spec/dummy/config/database.travis.yml
327
+ - spec/dummy/config/environment.rb
328
+ - spec/dummy/config/environments/development.rb
329
+ - spec/dummy/config/environments/production.rb
330
+ - spec/dummy/config/environments/test.rb
331
+ - spec/dummy/config/initializers/assets.rb
332
+ - spec/dummy/config/initializers/backtrace_silencers.rb
333
+ - spec/dummy/config/initializers/cookies_serializer.rb
334
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
335
+ - spec/dummy/config/initializers/inflections.rb
336
+ - spec/dummy/config/initializers/mime_types.rb
337
+ - spec/dummy/config/initializers/session_store.rb
338
+ - spec/dummy/config/initializers/wrap_parameters.rb
339
+ - spec/dummy/config/locales/en.yml
340
+ - spec/dummy/config/routes.rb
341
+ - spec/dummy/config/secrets.yml
342
+ - spec/dummy/db/migrate/20141031165049_create_dummy_objects.rb
343
+ - spec/dummy/db/migrate/20141103191353_create_posts.rb
344
+ - spec/dummy/db/migrate/20141104121318_add_dummy_to_post.rb
345
+ - spec/dummy/db/schema.rb
346
+ - spec/dummy/lib/assets/.keep
347
+ - spec/dummy/log/.keep
348
+ - spec/dummy/public/404.html
349
+ - spec/dummy/public/422.html
350
+ - spec/dummy/public/500.html
351
+ - spec/dummy/public/favicon.ico
352
+ - spec/dummy/spec/features/notifly/counter_spec.rb
353
+ - spec/dummy/spec/features/notifly/loading_notifications_spec.rb
354
+ - spec/dummy/spec/features/notifly/read_notifications_spec.rb
355
+ - spec/dummy/spec/models/dummy_object_spec.rb
356
+ - spec/dummy/spec/models/post_spec.rb
357
+ - spec/models/notifly/notification_spec.rb
358
+ - spec/rails_helper.rb
359
+ - spec/spec_helper.rb
360
+ - spec/support/shared_connection.rb
361
+ - spec/support/suppress_log.rb
362
+ - spec/support/wait_ajax.rb
363
+ - vendor/assets/javascripts/twitter/bootstrap.js
364
+ - vendor/assets/stylesheets/twitter/bootstrap.css
195
365
  homepage: https://github.com/algorich/notifly
196
366
  licenses:
197
367
  - MIT
@@ -1,3 +0,0 @@
1
- module Notifly
2
- VERSION = '0.0.3'
3
- end