polygallery 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/images/polygallery/thumbnail-missing.jpg +0 -0
  6. data/app/assets/javascripts/polygallery/application.js +13 -0
  7. data/app/assets/javascripts/polygallery/galleries.js +2 -0
  8. data/app/assets/javascripts/polygallery/init.js +17 -0
  9. data/app/assets/javascripts/polygallery/photos.js +2 -0
  10. data/app/assets/javascripts/polygallery/polygallery.js.coffee +4 -0
  11. data/app/assets/stylesheets/polygallery/application.css +15 -0
  12. data/app/assets/stylesheets/polygallery/galleries.css +4 -0
  13. data/app/assets/stylesheets/polygallery/photos.css +4 -0
  14. data/app/controllers/polygallery/application_controller.rb +4 -0
  15. data/app/controllers/polygallery/galleries_controller.rb +6 -0
  16. data/app/controllers/polygallery/photos_controller.rb +6 -0
  17. data/app/helpers/polygallery/application_helper.rb +4 -0
  18. data/app/helpers/polygallery/galleries_helper.rb +4 -0
  19. data/app/helpers/polygallery/photos_helper.rb +4 -0
  20. data/app/models/polygallery/gallery.rb +22 -0
  21. data/app/models/polygallery/photo.rb +10 -0
  22. data/app/models/polygallery/polygallery.rb +7 -0
  23. data/app/views/layouts/polygallery/application.html.erb +14 -0
  24. data/app/views/polygallery/galleries/_fields_for.html.haml +5 -0
  25. data/app/views/polygallery/galleries/_simple_fields_for.html.haml +25 -0
  26. data/app/views/polygallery/photos/_fields_for.html.haml +3 -0
  27. data/app/views/polygallery/photos/_simple_fields_for.html.haml +9 -0
  28. data/config/routes.rb +6 -0
  29. data/db/migrate/20140803171516_create_polygallery_galleries.rb +12 -0
  30. data/db/migrate/20140803171534_create_polygallery_photos.rb +12 -0
  31. data/lib/generators/polygallery/install/install_generator.rb +37 -0
  32. data/lib/generators/polygallery/install/templates/polygallery_migration.rb +20 -0
  33. data/lib/polygallery.rb +6 -0
  34. data/lib/polygallery/engine.rb +10 -0
  35. data/lib/polygallery/glue.rb +9 -0
  36. data/lib/polygallery/has_polygallery.rb +46 -0
  37. data/lib/polygallery/railtie.rb +25 -0
  38. data/lib/polygallery/validators.rb +37 -0
  39. data/lib/polygallery/validators/polygallery_presence_validator.rb +30 -0
  40. data/lib/polygallery/version.rb +3 -0
  41. data/lib/polygallery/view_helpers.rb +21 -0
  42. data/lib/tasks/polygallery_tasks.rake +4 -0
  43. data/test/controllers/polygallery/galleries_controller_test.rb +9 -0
  44. data/test/controllers/polygallery/photos_controller_test.rb +9 -0
  45. data/test/dummy/README.rdoc +28 -0
  46. data/test/dummy/Rakefile +6 -0
  47. data/test/dummy/app/assets/javascripts/application.js +16 -0
  48. data/test/dummy/app/assets/javascripts/bootstrap.min.js +6 -0
  49. data/test/dummy/app/assets/javascripts/events.js +2 -0
  50. data/test/dummy/app/assets/javascripts/home.js +2 -0
  51. data/test/dummy/app/assets/stylesheets/application.css +17 -0
  52. data/test/dummy/app/assets/stylesheets/bootstrap-theme.min.css +5 -0
  53. data/test/dummy/app/assets/stylesheets/bootstrap.min.css +5 -0
  54. data/test/dummy/app/assets/stylesheets/events.css +4 -0
  55. data/test/dummy/app/assets/stylesheets/home.css +4 -0
  56. data/test/dummy/app/controllers/application_controller.rb +5 -0
  57. data/test/dummy/app/controllers/events_controller.rb +19 -0
  58. data/test/dummy/app/controllers/home_controller.rb +7 -0
  59. data/test/dummy/app/helpers/application_helper.rb +2 -0
  60. data/test/dummy/app/helpers/events_helper.rb +2 -0
  61. data/test/dummy/app/helpers/home_helper.rb +2 -0
  62. data/test/dummy/app/models/event.rb +5 -0
  63. data/test/dummy/app/views/home/index.html.haml +32 -0
  64. data/test/dummy/app/views/layouts/application.html.haml +21 -0
  65. data/test/dummy/bin/bundle +3 -0
  66. data/test/dummy/bin/rails +4 -0
  67. data/test/dummy/bin/rake +4 -0
  68. data/test/dummy/config.ru +4 -0
  69. data/test/dummy/config/application.rb +24 -0
  70. data/test/dummy/config/boot.rb +5 -0
  71. data/test/dummy/config/database.yml +85 -0
  72. data/test/dummy/config/environment.rb +5 -0
  73. data/test/dummy/config/environments/development.rb +37 -0
  74. data/test/dummy/config/environments/production.rb +83 -0
  75. data/test/dummy/config/environments/test.rb +39 -0
  76. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  77. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  78. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  79. data/test/dummy/config/initializers/inflections.rb +16 -0
  80. data/test/dummy/config/initializers/mime_types.rb +4 -0
  81. data/test/dummy/config/initializers/reload_lib.rb +9 -0
  82. data/test/dummy/config/initializers/session_store.rb +3 -0
  83. data/test/dummy/config/initializers/simple_form.rb +145 -0
  84. data/test/dummy/config/initializers/simple_form_bootstrap.rb +96 -0
  85. data/test/dummy/config/initializers/simple_form_fileinput.rb +15 -0
  86. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  87. data/test/dummy/config/locales/en.yml +23 -0
  88. data/test/dummy/config/locales/simple_form.en.yml +26 -0
  89. data/test/dummy/config/routes.rb +7 -0
  90. data/test/dummy/config/secrets.yml +22 -0
  91. data/test/dummy/db/migrate/20140803170839_create_events.rb +9 -0
  92. data/test/dummy/db/schema.rb +46 -0
  93. data/test/dummy/lib/templates/haml/scaffold/_form.html.haml +10 -0
  94. data/test/dummy/log/development.log +5483 -0
  95. data/test/dummy/public/404.html +67 -0
  96. data/test/dummy/public/422.html +67 -0
  97. data/test/dummy/public/500.html +66 -0
  98. data/test/dummy/public/favicon.ico +0 -0
  99. data/test/dummy/public/fonts/glyphicons-halflings-regular.eot +0 -0
  100. data/test/dummy/public/fonts/glyphicons-halflings-regular.svg +229 -0
  101. data/test/dummy/public/fonts/glyphicons-halflings-regular.ttf +0 -0
  102. data/test/dummy/public/fonts/glyphicons-halflings-regular.woff +0 -0
  103. data/test/dummy/test/controllers/events_controller_test.rb +7 -0
  104. data/test/dummy/test/controllers/home_controller_test.rb +7 -0
  105. data/test/dummy/test/fixtures/events.yml +7 -0
  106. data/test/dummy/test/helpers/events_helper_test.rb +4 -0
  107. data/test/dummy/test/helpers/home_helper_test.rb +4 -0
  108. data/test/dummy/test/models/event_test.rb +7 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/05c0a42e9725c8eb8a83324cfdce4a16 +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/1e1c73f8892119a4dbc6ead7718b4472 +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/1ecd715c01db7b05e5fc97838c7bdac7 +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sprockets/23a02f793bdc3b6a6cbd015f184c6f6c +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sprockets/2757fae967a52701ef3724ae5a76c4a8 +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2 +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/30e3552cad42917377b8675173b87d6d +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/311df7a951cd5c960bea25b750d24073 +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/39bcd7e5a58fb6e7114bbae6ac577fe6 +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/3df3a0e2cf2fc334a9e6292941bae875 +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/3edcdce4b73dab626737716f1fc4d97d +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683 +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/4d1647c172443398b0d023245fb13877 +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/4daff1d5b8e6da6d2ed55886db193ef2 +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/4ea33e825e6e38bd22dccab488a0255b +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/61cd6f9b2dc23f35478fc14d5fb4f7df +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/650d6a1ba71368c14b9fced6b6180b2d +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/65dccf676de4439612547abc6451ba65 +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/69bda14eaa1d8ad1ea1235abb619e366 +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/6f562a48c0e855e0e4fdab624ba41eb9 +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/7be9086c960bb4384c9d23a52e489f29 +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/86f909bf5baee50515afadaa3ce2df8f +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/88f812810562f1bc315ee991f8a30c4e +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/8e5a9738e9bc15478e026d98335454f9 +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/8f8936f164170e095c5ca2d0c2ae6127 +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/a11d7eb71230eda394161e35aefa0a24 +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/a32fea9e0a124a0fbd82afec0c27e0d4 +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/a995a3b95e4a7b0e5b9fa7c49efd6b74 +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4 +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/ba56eb60d599a0ca3d2f6b67772774c2 +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/c0a32ddd5941d7ff3aca0ad92298608c +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/c54e257d17c58c802e2870d68ff1bd39 +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/c6d68ddd2f21544d3a6ac67934487535 +0 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/c79813a3ee7359e3d7880d6b671f6f6d +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/c9e5e8280743d98ec882539be0f91af5 +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/cbe9afc48460e8e0bc42c314d5e594a0 +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/e01ccf02ec6a0fb2cb7189161c5850c5 +0 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/e928c77266ca2960fa4a7fbb56b4e034 +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0 +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/ee77497db62576e6878e7815e80e8b5a +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/f644fd75cbead0e58c847aa16546e2a8 +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/fe0a04f09eb0c97bcc18973678e986a3 +0 -0
  159. data/test/fixtures/polygallery/galleries.yml +11 -0
  160. data/test/fixtures/polygallery/photos.yml +7 -0
  161. data/test/helpers/polygallery/galleries_helper_test.rb +6 -0
  162. data/test/helpers/polygallery/photos_helper_test.rb +6 -0
  163. data/test/integration/navigation_test.rb +10 -0
  164. data/test/models/polygallery/gallery_test.rb +9 -0
  165. data/test/models/polygallery/photo_test.rb +9 -0
  166. data/test/polygallery_test.rb +7 -0
  167. data/test/test_helper.rb +15 -0
  168. metadata +461 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.