polygallery 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class HomeControllerTest < ActionController::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ title: MyString
5
+
6
+ two:
7
+ title: MyString
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class EventsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class HomeHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class EventTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the '{}' from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
@@ -0,0 +1,7 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ gallery_id: 1
5
+
6
+ two:
7
+ gallery_id: 1
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Polygallery
4
+ class GalleriesHelperTest < ActionView::TestCase
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Polygallery
4
+ class PhotosHelperTest < ActionView::TestCase
5
+ end
6
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module Polygallery
4
+ class GalleryTest < ActiveSupport::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module Polygallery
4
+ class PhotoTest < ActiveSupport::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class PolygalleryTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Polygallery
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,461 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: polygallery
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - MacKinley Smith
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 4.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: pg
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: paperclip
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: cocoon
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: haml-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: coffee-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: jquery-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simple_form
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simple_form_fileinput
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: Polymorphic galleries made simple.
140
+ email:
141
+ - smit1625@msu.edu
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - MIT-LICENSE
147
+ - README.rdoc
148
+ - Rakefile
149
+ - app/assets/images/polygallery/thumbnail-missing.jpg
150
+ - app/assets/javascripts/polygallery/application.js
151
+ - app/assets/javascripts/polygallery/galleries.js
152
+ - app/assets/javascripts/polygallery/init.js
153
+ - app/assets/javascripts/polygallery/photos.js
154
+ - app/assets/javascripts/polygallery/polygallery.js.coffee
155
+ - app/assets/stylesheets/polygallery/application.css
156
+ - app/assets/stylesheets/polygallery/galleries.css
157
+ - app/assets/stylesheets/polygallery/photos.css
158
+ - app/controllers/polygallery/application_controller.rb
159
+ - app/controllers/polygallery/galleries_controller.rb
160
+ - app/controllers/polygallery/photos_controller.rb
161
+ - app/helpers/polygallery/application_helper.rb
162
+ - app/helpers/polygallery/galleries_helper.rb
163
+ - app/helpers/polygallery/photos_helper.rb
164
+ - app/models/polygallery/gallery.rb
165
+ - app/models/polygallery/photo.rb
166
+ - app/models/polygallery/polygallery.rb
167
+ - app/views/layouts/polygallery/application.html.erb
168
+ - app/views/polygallery/galleries/_fields_for.html.haml
169
+ - app/views/polygallery/galleries/_simple_fields_for.html.haml
170
+ - app/views/polygallery/photos/_fields_for.html.haml
171
+ - app/views/polygallery/photos/_simple_fields_for.html.haml
172
+ - config/routes.rb
173
+ - db/migrate/20140803171516_create_polygallery_galleries.rb
174
+ - db/migrate/20140803171534_create_polygallery_photos.rb
175
+ - lib/generators/polygallery/install/install_generator.rb
176
+ - lib/generators/polygallery/install/templates/polygallery_migration.rb
177
+ - lib/polygallery.rb
178
+ - lib/polygallery/engine.rb
179
+ - lib/polygallery/glue.rb
180
+ - lib/polygallery/has_polygallery.rb
181
+ - lib/polygallery/railtie.rb
182
+ - lib/polygallery/validators.rb
183
+ - lib/polygallery/validators/polygallery_presence_validator.rb
184
+ - lib/polygallery/version.rb
185
+ - lib/polygallery/view_helpers.rb
186
+ - lib/tasks/polygallery_tasks.rake
187
+ - test/controllers/polygallery/galleries_controller_test.rb
188
+ - test/controllers/polygallery/photos_controller_test.rb
189
+ - test/dummy/README.rdoc
190
+ - test/dummy/Rakefile
191
+ - test/dummy/app/assets/javascripts/application.js
192
+ - test/dummy/app/assets/javascripts/bootstrap.min.js
193
+ - test/dummy/app/assets/javascripts/events.js
194
+ - test/dummy/app/assets/javascripts/home.js
195
+ - test/dummy/app/assets/stylesheets/application.css
196
+ - test/dummy/app/assets/stylesheets/bootstrap-theme.min.css
197
+ - test/dummy/app/assets/stylesheets/bootstrap.min.css
198
+ - test/dummy/app/assets/stylesheets/events.css
199
+ - test/dummy/app/assets/stylesheets/home.css
200
+ - test/dummy/app/controllers/application_controller.rb
201
+ - test/dummy/app/controllers/events_controller.rb
202
+ - test/dummy/app/controllers/home_controller.rb
203
+ - test/dummy/app/helpers/application_helper.rb
204
+ - test/dummy/app/helpers/events_helper.rb
205
+ - test/dummy/app/helpers/home_helper.rb
206
+ - test/dummy/app/models/event.rb
207
+ - test/dummy/app/views/home/index.html.haml
208
+ - test/dummy/app/views/layouts/application.html.haml
209
+ - test/dummy/bin/bundle
210
+ - test/dummy/bin/rails
211
+ - test/dummy/bin/rake
212
+ - test/dummy/config.ru
213
+ - test/dummy/config/application.rb
214
+ - test/dummy/config/boot.rb
215
+ - test/dummy/config/database.yml
216
+ - test/dummy/config/environment.rb
217
+ - test/dummy/config/environments/development.rb
218
+ - test/dummy/config/environments/production.rb
219
+ - test/dummy/config/environments/test.rb
220
+ - test/dummy/config/initializers/backtrace_silencers.rb
221
+ - test/dummy/config/initializers/cookies_serializer.rb
222
+ - test/dummy/config/initializers/filter_parameter_logging.rb
223
+ - test/dummy/config/initializers/inflections.rb
224
+ - test/dummy/config/initializers/mime_types.rb
225
+ - test/dummy/config/initializers/reload_lib.rb
226
+ - test/dummy/config/initializers/session_store.rb
227
+ - test/dummy/config/initializers/simple_form.rb
228
+ - test/dummy/config/initializers/simple_form_bootstrap.rb
229
+ - test/dummy/config/initializers/simple_form_fileinput.rb
230
+ - test/dummy/config/initializers/wrap_parameters.rb
231
+ - test/dummy/config/locales/en.yml
232
+ - test/dummy/config/locales/simple_form.en.yml
233
+ - test/dummy/config/routes.rb
234
+ - test/dummy/config/secrets.yml
235
+ - test/dummy/db/migrate/20140803170839_create_events.rb
236
+ - test/dummy/db/schema.rb
237
+ - test/dummy/lib/templates/haml/scaffold/_form.html.haml
238
+ - test/dummy/log/development.log
239
+ - test/dummy/public/404.html
240
+ - test/dummy/public/422.html
241
+ - test/dummy/public/500.html
242
+ - test/dummy/public/favicon.ico
243
+ - test/dummy/public/fonts/glyphicons-halflings-regular.eot
244
+ - test/dummy/public/fonts/glyphicons-halflings-regular.svg
245
+ - test/dummy/public/fonts/glyphicons-halflings-regular.ttf
246
+ - test/dummy/public/fonts/glyphicons-halflings-regular.woff
247
+ - test/dummy/test/controllers/events_controller_test.rb
248
+ - test/dummy/test/controllers/home_controller_test.rb
249
+ - test/dummy/test/fixtures/events.yml
250
+ - test/dummy/test/helpers/events_helper_test.rb
251
+ - test/dummy/test/helpers/home_helper_test.rb
252
+ - test/dummy/test/models/event_test.rb
253
+ - test/dummy/tmp/cache/assets/development/sprockets/05c0a42e9725c8eb8a83324cfdce4a16
254
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
255
+ - test/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c
256
+ - test/dummy/tmp/cache/assets/development/sprockets/1e1c73f8892119a4dbc6ead7718b4472
257
+ - test/dummy/tmp/cache/assets/development/sprockets/1ecd715c01db7b05e5fc97838c7bdac7
258
+ - test/dummy/tmp/cache/assets/development/sprockets/23a02f793bdc3b6a6cbd015f184c6f6c
259
+ - test/dummy/tmp/cache/assets/development/sprockets/2757fae967a52701ef3724ae5a76c4a8
260
+ - test/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2
261
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
262
+ - test/dummy/tmp/cache/assets/development/sprockets/30e3552cad42917377b8675173b87d6d
263
+ - test/dummy/tmp/cache/assets/development/sprockets/311df7a951cd5c960bea25b750d24073
264
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
265
+ - test/dummy/tmp/cache/assets/development/sprockets/39bcd7e5a58fb6e7114bbae6ac577fe6
266
+ - test/dummy/tmp/cache/assets/development/sprockets/3df3a0e2cf2fc334a9e6292941bae875
267
+ - test/dummy/tmp/cache/assets/development/sprockets/3edcdce4b73dab626737716f1fc4d97d
268
+ - test/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683
269
+ - test/dummy/tmp/cache/assets/development/sprockets/4d1647c172443398b0d023245fb13877
270
+ - test/dummy/tmp/cache/assets/development/sprockets/4daff1d5b8e6da6d2ed55886db193ef2
271
+ - test/dummy/tmp/cache/assets/development/sprockets/4ea33e825e6e38bd22dccab488a0255b
272
+ - test/dummy/tmp/cache/assets/development/sprockets/61cd6f9b2dc23f35478fc14d5fb4f7df
273
+ - test/dummy/tmp/cache/assets/development/sprockets/650d6a1ba71368c14b9fced6b6180b2d
274
+ - test/dummy/tmp/cache/assets/development/sprockets/65dccf676de4439612547abc6451ba65
275
+ - test/dummy/tmp/cache/assets/development/sprockets/69bda14eaa1d8ad1ea1235abb619e366
276
+ - test/dummy/tmp/cache/assets/development/sprockets/6f562a48c0e855e0e4fdab624ba41eb9
277
+ - test/dummy/tmp/cache/assets/development/sprockets/7be9086c960bb4384c9d23a52e489f29
278
+ - test/dummy/tmp/cache/assets/development/sprockets/86f909bf5baee50515afadaa3ce2df8f
279
+ - test/dummy/tmp/cache/assets/development/sprockets/88f812810562f1bc315ee991f8a30c4e
280
+ - test/dummy/tmp/cache/assets/development/sprockets/8e5a9738e9bc15478e026d98335454f9
281
+ - test/dummy/tmp/cache/assets/development/sprockets/8f8936f164170e095c5ca2d0c2ae6127
282
+ - test/dummy/tmp/cache/assets/development/sprockets/a11d7eb71230eda394161e35aefa0a24
283
+ - test/dummy/tmp/cache/assets/development/sprockets/a32fea9e0a124a0fbd82afec0c27e0d4
284
+ - test/dummy/tmp/cache/assets/development/sprockets/a995a3b95e4a7b0e5b9fa7c49efd6b74
285
+ - test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
286
+ - test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
287
+ - test/dummy/tmp/cache/assets/development/sprockets/ba56eb60d599a0ca3d2f6b67772774c2
288
+ - test/dummy/tmp/cache/assets/development/sprockets/c0a32ddd5941d7ff3aca0ad92298608c
289
+ - test/dummy/tmp/cache/assets/development/sprockets/c54e257d17c58c802e2870d68ff1bd39
290
+ - test/dummy/tmp/cache/assets/development/sprockets/c6d68ddd2f21544d3a6ac67934487535
291
+ - test/dummy/tmp/cache/assets/development/sprockets/c79813a3ee7359e3d7880d6b671f6f6d
292
+ - test/dummy/tmp/cache/assets/development/sprockets/c9e5e8280743d98ec882539be0f91af5
293
+ - test/dummy/tmp/cache/assets/development/sprockets/cbe9afc48460e8e0bc42c314d5e594a0
294
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
295
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
296
+ - test/dummy/tmp/cache/assets/development/sprockets/e01ccf02ec6a0fb2cb7189161c5850c5
297
+ - test/dummy/tmp/cache/assets/development/sprockets/e928c77266ca2960fa4a7fbb56b4e034
298
+ - test/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0
299
+ - test/dummy/tmp/cache/assets/development/sprockets/ee77497db62576e6878e7815e80e8b5a
300
+ - test/dummy/tmp/cache/assets/development/sprockets/f644fd75cbead0e58c847aa16546e2a8
301
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
302
+ - test/dummy/tmp/cache/assets/development/sprockets/fe0a04f09eb0c97bcc18973678e986a3
303
+ - test/fixtures/polygallery/galleries.yml
304
+ - test/fixtures/polygallery/photos.yml
305
+ - test/helpers/polygallery/galleries_helper_test.rb
306
+ - test/helpers/polygallery/photos_helper_test.rb
307
+ - test/integration/navigation_test.rb
308
+ - test/models/polygallery/gallery_test.rb
309
+ - test/models/polygallery/photo_test.rb
310
+ - test/polygallery_test.rb
311
+ - test/test_helper.rb
312
+ homepage: http://www.mackinleysmith.com/
313
+ licenses:
314
+ - MIT
315
+ metadata: {}
316
+ post_install_message:
317
+ rdoc_options: []
318
+ require_paths:
319
+ - lib
320
+ required_ruby_version: !ruby/object:Gem::Requirement
321
+ requirements:
322
+ - - '>='
323
+ - !ruby/object:Gem::Version
324
+ version: '0'
325
+ required_rubygems_version: !ruby/object:Gem::Requirement
326
+ requirements:
327
+ - - '>='
328
+ - !ruby/object:Gem::Version
329
+ version: '0'
330
+ requirements: []
331
+ rubyforge_project:
332
+ rubygems_version: 2.2.2
333
+ signing_key:
334
+ specification_version: 4
335
+ summary: Polymorphic galleries made simple.
336
+ test_files:
337
+ - test/controllers/polygallery/galleries_controller_test.rb
338
+ - test/controllers/polygallery/photos_controller_test.rb
339
+ - test/dummy/app/assets/javascripts/application.js
340
+ - test/dummy/app/assets/javascripts/bootstrap.min.js
341
+ - test/dummy/app/assets/javascripts/events.js
342
+ - test/dummy/app/assets/javascripts/home.js
343
+ - test/dummy/app/assets/stylesheets/application.css
344
+ - test/dummy/app/assets/stylesheets/bootstrap-theme.min.css
345
+ - test/dummy/app/assets/stylesheets/bootstrap.min.css
346
+ - test/dummy/app/assets/stylesheets/events.css
347
+ - test/dummy/app/assets/stylesheets/home.css
348
+ - test/dummy/app/controllers/application_controller.rb
349
+ - test/dummy/app/controllers/events_controller.rb
350
+ - test/dummy/app/controllers/home_controller.rb
351
+ - test/dummy/app/helpers/application_helper.rb
352
+ - test/dummy/app/helpers/events_helper.rb
353
+ - test/dummy/app/helpers/home_helper.rb
354
+ - test/dummy/app/models/event.rb
355
+ - test/dummy/app/views/home/index.html.haml
356
+ - test/dummy/app/views/layouts/application.html.haml
357
+ - test/dummy/bin/bundle
358
+ - test/dummy/bin/rails
359
+ - test/dummy/bin/rake
360
+ - test/dummy/config/application.rb
361
+ - test/dummy/config/boot.rb
362
+ - test/dummy/config/database.yml
363
+ - test/dummy/config/environment.rb
364
+ - test/dummy/config/environments/development.rb
365
+ - test/dummy/config/environments/production.rb
366
+ - test/dummy/config/environments/test.rb
367
+ - test/dummy/config/initializers/backtrace_silencers.rb
368
+ - test/dummy/config/initializers/cookies_serializer.rb
369
+ - test/dummy/config/initializers/filter_parameter_logging.rb
370
+ - test/dummy/config/initializers/inflections.rb
371
+ - test/dummy/config/initializers/mime_types.rb
372
+ - test/dummy/config/initializers/reload_lib.rb
373
+ - test/dummy/config/initializers/session_store.rb
374
+ - test/dummy/config/initializers/simple_form.rb
375
+ - test/dummy/config/initializers/simple_form_bootstrap.rb
376
+ - test/dummy/config/initializers/simple_form_fileinput.rb
377
+ - test/dummy/config/initializers/wrap_parameters.rb
378
+ - test/dummy/config/locales/en.yml
379
+ - test/dummy/config/locales/simple_form.en.yml
380
+ - test/dummy/config/routes.rb
381
+ - test/dummy/config/secrets.yml
382
+ - test/dummy/config.ru
383
+ - test/dummy/db/migrate/20140803170839_create_events.rb
384
+ - test/dummy/db/schema.rb
385
+ - test/dummy/lib/templates/haml/scaffold/_form.html.haml
386
+ - test/dummy/log/development.log
387
+ - test/dummy/public/404.html
388
+ - test/dummy/public/422.html
389
+ - test/dummy/public/500.html
390
+ - test/dummy/public/favicon.ico
391
+ - test/dummy/public/fonts/glyphicons-halflings-regular.eot
392
+ - test/dummy/public/fonts/glyphicons-halflings-regular.svg
393
+ - test/dummy/public/fonts/glyphicons-halflings-regular.ttf
394
+ - test/dummy/public/fonts/glyphicons-halflings-regular.woff
395
+ - test/dummy/Rakefile
396
+ - test/dummy/README.rdoc
397
+ - test/dummy/test/controllers/events_controller_test.rb
398
+ - test/dummy/test/controllers/home_controller_test.rb
399
+ - test/dummy/test/fixtures/events.yml
400
+ - test/dummy/test/helpers/events_helper_test.rb
401
+ - test/dummy/test/helpers/home_helper_test.rb
402
+ - test/dummy/test/models/event_test.rb
403
+ - test/dummy/tmp/cache/assets/development/sprockets/05c0a42e9725c8eb8a83324cfdce4a16
404
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
405
+ - test/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c
406
+ - test/dummy/tmp/cache/assets/development/sprockets/1e1c73f8892119a4dbc6ead7718b4472
407
+ - test/dummy/tmp/cache/assets/development/sprockets/1ecd715c01db7b05e5fc97838c7bdac7
408
+ - test/dummy/tmp/cache/assets/development/sprockets/23a02f793bdc3b6a6cbd015f184c6f6c
409
+ - test/dummy/tmp/cache/assets/development/sprockets/2757fae967a52701ef3724ae5a76c4a8
410
+ - test/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2
411
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
412
+ - test/dummy/tmp/cache/assets/development/sprockets/30e3552cad42917377b8675173b87d6d
413
+ - test/dummy/tmp/cache/assets/development/sprockets/311df7a951cd5c960bea25b750d24073
414
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
415
+ - test/dummy/tmp/cache/assets/development/sprockets/39bcd7e5a58fb6e7114bbae6ac577fe6
416
+ - test/dummy/tmp/cache/assets/development/sprockets/3df3a0e2cf2fc334a9e6292941bae875
417
+ - test/dummy/tmp/cache/assets/development/sprockets/3edcdce4b73dab626737716f1fc4d97d
418
+ - test/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683
419
+ - test/dummy/tmp/cache/assets/development/sprockets/4d1647c172443398b0d023245fb13877
420
+ - test/dummy/tmp/cache/assets/development/sprockets/4daff1d5b8e6da6d2ed55886db193ef2
421
+ - test/dummy/tmp/cache/assets/development/sprockets/4ea33e825e6e38bd22dccab488a0255b
422
+ - test/dummy/tmp/cache/assets/development/sprockets/61cd6f9b2dc23f35478fc14d5fb4f7df
423
+ - test/dummy/tmp/cache/assets/development/sprockets/650d6a1ba71368c14b9fced6b6180b2d
424
+ - test/dummy/tmp/cache/assets/development/sprockets/65dccf676de4439612547abc6451ba65
425
+ - test/dummy/tmp/cache/assets/development/sprockets/69bda14eaa1d8ad1ea1235abb619e366
426
+ - test/dummy/tmp/cache/assets/development/sprockets/6f562a48c0e855e0e4fdab624ba41eb9
427
+ - test/dummy/tmp/cache/assets/development/sprockets/7be9086c960bb4384c9d23a52e489f29
428
+ - test/dummy/tmp/cache/assets/development/sprockets/86f909bf5baee50515afadaa3ce2df8f
429
+ - test/dummy/tmp/cache/assets/development/sprockets/88f812810562f1bc315ee991f8a30c4e
430
+ - test/dummy/tmp/cache/assets/development/sprockets/8e5a9738e9bc15478e026d98335454f9
431
+ - test/dummy/tmp/cache/assets/development/sprockets/8f8936f164170e095c5ca2d0c2ae6127
432
+ - test/dummy/tmp/cache/assets/development/sprockets/a11d7eb71230eda394161e35aefa0a24
433
+ - test/dummy/tmp/cache/assets/development/sprockets/a32fea9e0a124a0fbd82afec0c27e0d4
434
+ - test/dummy/tmp/cache/assets/development/sprockets/a995a3b95e4a7b0e5b9fa7c49efd6b74
435
+ - test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
436
+ - test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
437
+ - test/dummy/tmp/cache/assets/development/sprockets/ba56eb60d599a0ca3d2f6b67772774c2
438
+ - test/dummy/tmp/cache/assets/development/sprockets/c0a32ddd5941d7ff3aca0ad92298608c
439
+ - test/dummy/tmp/cache/assets/development/sprockets/c54e257d17c58c802e2870d68ff1bd39
440
+ - test/dummy/tmp/cache/assets/development/sprockets/c6d68ddd2f21544d3a6ac67934487535
441
+ - test/dummy/tmp/cache/assets/development/sprockets/c79813a3ee7359e3d7880d6b671f6f6d
442
+ - test/dummy/tmp/cache/assets/development/sprockets/c9e5e8280743d98ec882539be0f91af5
443
+ - test/dummy/tmp/cache/assets/development/sprockets/cbe9afc48460e8e0bc42c314d5e594a0
444
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
445
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
446
+ - test/dummy/tmp/cache/assets/development/sprockets/e01ccf02ec6a0fb2cb7189161c5850c5
447
+ - test/dummy/tmp/cache/assets/development/sprockets/e928c77266ca2960fa4a7fbb56b4e034
448
+ - test/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0
449
+ - test/dummy/tmp/cache/assets/development/sprockets/ee77497db62576e6878e7815e80e8b5a
450
+ - test/dummy/tmp/cache/assets/development/sprockets/f644fd75cbead0e58c847aa16546e2a8
451
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
452
+ - test/dummy/tmp/cache/assets/development/sprockets/fe0a04f09eb0c97bcc18973678e986a3
453
+ - test/fixtures/polygallery/galleries.yml
454
+ - test/fixtures/polygallery/photos.yml
455
+ - test/helpers/polygallery/galleries_helper_test.rb
456
+ - test/helpers/polygallery/photos_helper_test.rb
457
+ - test/integration/navigation_test.rb
458
+ - test/models/polygallery/gallery_test.rb
459
+ - test/models/polygallery/photo_test.rb
460
+ - test/polygallery_test.rb
461
+ - test/test_helper.rb