feeder 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -0
  3. data/app/controllers/feeder/feeds_controller.rb +9 -0
  4. data/app/helpers/feeder/feeds_helper.rb +4 -0
  5. data/app/models/feeder/feedable_observer.rb +13 -0
  6. data/app/models/feeder/item.rb +9 -0
  7. data/app/views/feeder/feeds/index.html.erb +3 -0
  8. data/app/views/feeder/items/_item.html.erb +3 -0
  9. data/config/routes.rb +1 -0
  10. data/db/migrate/20140317150822_create_feeder_items.rb +9 -0
  11. data/db/migrate/20140317152137_add_polymorphic_feedable_reference_to_feeder_items.rb +5 -0
  12. data/lib/feeder.rb +14 -0
  13. data/lib/feeder/configuration.rb +13 -0
  14. data/lib/feeder/engine.rb +5 -0
  15. data/lib/feeder/version.rb +1 -1
  16. data/spec/controllers/feeder/feeds_controller_spec.rb +27 -0
  17. data/spec/dummy/README.md +20 -0
  18. data/spec/dummy/Rakefile +6 -0
  19. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  20. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  21. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  22. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  23. data/spec/dummy/app/models/message.rb +3 -0
  24. data/spec/dummy/app/views/feeder/types/_message.html.erb +7 -0
  25. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  26. data/spec/dummy/bin/bundle +3 -0
  27. data/spec/dummy/bin/rails +4 -0
  28. data/spec/dummy/bin/rake +4 -0
  29. data/spec/dummy/config.ru +4 -0
  30. data/spec/dummy/config/application.rb +23 -0
  31. data/spec/dummy/config/boot.rb +5 -0
  32. data/spec/dummy/config/database.yml +30 -0
  33. data/spec/dummy/config/environment.rb +5 -0
  34. data/spec/dummy/config/environments/development.rb +37 -0
  35. data/spec/dummy/config/environments/production.rb +83 -0
  36. data/spec/dummy/config/environments/test.rb +39 -0
  37. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  38. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  39. data/spec/dummy/config/initializers/feeder.rb +3 -0
  40. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  41. data/spec/dummy/config/initializers/inflections.rb +16 -0
  42. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  43. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  44. data/spec/dummy/config/initializers/session_store.rb +3 -0
  45. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/spec/dummy/config/locales/en.yml +23 -0
  47. data/spec/dummy/config/routes.rb +3 -0
  48. data/spec/dummy/db/development.sqlite3 +0 -0
  49. data/spec/dummy/db/migrate/20140317152438_create_messages.rb +10 -0
  50. data/spec/dummy/db/schema.rb +33 -0
  51. data/spec/dummy/db/test.sqlite3 +0 -0
  52. data/spec/dummy/log/development.log +2085 -0
  53. data/spec/dummy/log/test.log +7335 -0
  54. data/spec/dummy/public/404.html +67 -0
  55. data/spec/dummy/public/422.html +67 -0
  56. data/spec/dummy/public/500.html +66 -0
  57. data/spec/dummy/public/favicon.ico +0 -0
  58. data/spec/dummy/spec/factories/messages.rb +8 -0
  59. data/spec/dummy/spec/models/message_spec.rb +4 -0
  60. data/spec/dummy/tmp/cache/assets/development/sass/cc0ae3082edda8b101454f32a85acd8032e02894/feeds.css.sassc +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/2354fd765092c7362b56558785335d81 +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/26d5bae3975c391b4fdb4d27c295de66 +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/48c268542a36cf0ae2798aa622d313f3 +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/5096fdabc77430005f981db4445a7fb4 +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/61e16ab9f9dab8c9891ed097e769091a +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/62dbe8eaf571a159b5465ab66db3d743 +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/6cd04a523094cc4b9a45960b88071cf6 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/9e0c746d57ae4025432c481d2474fbcd +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/9f66e980658cebf448ebf64ee6ad675c +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/d9e923facd879cd34681bc70a2b8c536 +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/f3f68eef7ae2cd624064b6cf137d2e9c +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/f6b968e3ffc85f344828e79f20a1d100 +0 -0
  73. data/spec/dummy/tmp/pids/server.pid +1 -0
  74. data/spec/lib/feeder/configuration_spec.rb +15 -0
  75. data/spec/lib/feeder_spec.rb +23 -0
  76. data/spec/models/feeder/item_spec.rb +19 -0
  77. data/spec/spec_helper.rb +20 -0
  78. data/spec/support/observers.rb +18 -0
  79. metadata +166 -3
  80. data/MIT-LICENSE +0 -20
@@ -1,20 +0,0 @@
1
- Copyright 2014 Hyper Interaktiv AS
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.