spontaneous 0.2.0.beta1 → 0.2.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +24 -0
  3. data/.locat +42 -0
  4. data/.travis/gemfiles/Gemfile.empty +7 -0
  5. data/.travis.yml +18 -0
  6. data/Gemfile +12 -8
  7. data/LICENSE +1 -1
  8. data/Rakefile +15 -157
  9. data/Readme.markdown +1 -1
  10. data/application/css/core.css.scss +22 -146
  11. data/application/css/definitions.css.scss +7 -3
  12. data/application/css/dialogue.css.scss +26 -1
  13. data/application/css/editing.css.scss +70 -28
  14. data/application/css/font.css.scss +1 -1
  15. data/application/css/popover.css.scss +2 -0
  16. data/application/css/top.css.scss +231 -0
  17. data/application/js/add_alias_dialogue.js +1 -1
  18. data/application/js/add_home_dialogue.js +1 -1
  19. data/application/js/ajax.js +61 -31
  20. data/application/js/box.js +4 -4
  21. data/application/js/conflicted_field_dialogue.js +1 -1
  22. data/application/js/content.js +5 -5
  23. data/application/js/dom.js +5 -0
  24. data/application/js/edit_panel.js +1 -0
  25. data/application/js/editing.js +1 -1
  26. data/application/js/extensions.js +8 -0
  27. data/application/js/field/boolean.js +31 -0
  28. data/application/js/field/file.js +32 -4
  29. data/application/js/field/image.js +24 -9
  30. data/application/js/field/markdown.js +87 -59
  31. data/application/js/field/select.js +1 -1
  32. data/application/js/field/webvideo.js +6 -1
  33. data/application/js/init.js +2 -2
  34. data/application/js/jquery-selection-position.js +130 -0
  35. data/application/js/location.js +4 -25
  36. data/application/js/meta_view/user_admin.js +2 -2
  37. data/application/js/metadata.js +2 -2
  38. data/application/js/page_browser.js +1 -1
  39. data/application/js/panel/root_menu.js +0 -1
  40. data/application/js/popover.js +27 -12
  41. data/application/js/popover_view.js +20 -4
  42. data/application/js/preview.js +31 -16
  43. data/application/js/progress.js +22 -21
  44. data/application/js/publish.js +18 -7
  45. data/application/js/sharded_upload.js +9 -6
  46. data/application/js/spontaneous.js +3 -1
  47. data/application/js/top_bar.js +264 -173
  48. data/application/js/upload.js +12 -5
  49. data/application/js/upload_manager.js +4 -3
  50. data/application/js/user.js +1 -2
  51. data/application/js/views/box_view.js +1 -1
  52. data/application/js/views/page_view.js +16 -5
  53. data/application/js/views/piece_view.js +5 -4
  54. data/application/static/font/fontawesome-webfont-1c66a4738b40ef0f6b1abca0ba9a796d.ttf +0 -0
  55. data/application/views/index.erb +6 -14
  56. data/application/views/login.erb +6 -25
  57. data/application/views/schema_modification_error.html.erb +3 -7
  58. data/db/migrations/20130114120000_create_revision_tables.rb +2 -2
  59. data/db/migrations/20130813111009_increase_path_length.rb +14 -0
  60. data/gem-public_cert.pem +20 -0
  61. data/lib/spontaneous/asset/app_compiler.rb +44 -0
  62. data/lib/spontaneous/asset/environment.rb +225 -0
  63. data/lib/spontaneous/asset.rb +2 -67
  64. data/lib/spontaneous/box.rb +0 -1
  65. data/lib/spontaneous/capistrano/deploy.rb +2 -2
  66. data/lib/spontaneous/capistrano/sync.rb +1 -1
  67. data/lib/spontaneous/cli/init.rb +36 -13
  68. data/lib/spontaneous/cli/server.rb +0 -1
  69. data/lib/spontaneous/cli/site.rb +2 -1
  70. data/lib/spontaneous/cli.rb +3 -1
  71. data/lib/spontaneous/collections/entry_set.rb +4 -12
  72. data/lib/spontaneous/collections/hash_with_fallback.rb +20 -0
  73. data/lib/spontaneous/collections/prototype_set.rb +6 -5
  74. data/lib/spontaneous/crypt.rb +2 -2
  75. data/lib/spontaneous/data_mapper/content_model/associations.rb +115 -63
  76. data/lib/spontaneous/data_mapper.rb +1 -1
  77. data/lib/spontaneous/errors.rb +6 -0
  78. data/lib/spontaneous/extensions/object_space.rb +6 -0
  79. data/lib/spontaneous/facet.rb +1 -0
  80. data/lib/spontaneous/field/base.rb +86 -13
  81. data/lib/spontaneous/field/boolean.rb +65 -0
  82. data/lib/spontaneous/field/file.rb +17 -6
  83. data/lib/spontaneous/field/html.rb +13 -0
  84. data/lib/spontaneous/field/image/size.rb +76 -0
  85. data/lib/spontaneous/field/image.rb +99 -414
  86. data/lib/spontaneous/field/tags.rb +36 -0
  87. data/lib/spontaneous/field/update.rb +1 -1
  88. data/lib/spontaneous/field/webvideo/fallback.rb +41 -0
  89. data/lib/spontaneous/field/webvideo/vimeo.rb +113 -0
  90. data/lib/spontaneous/field/webvideo/vine.rb +94 -0
  91. data/lib/spontaneous/field/webvideo/youtube.rb +133 -0
  92. data/lib/spontaneous/field/webvideo.rb +100 -250
  93. data/lib/spontaneous/field.rb +1 -1
  94. data/lib/spontaneous/generators/site/Gemfile.tt +5 -14
  95. data/lib/spontaneous/generators/site/assets/README.md +20 -0
  96. data/lib/spontaneous/generators/site/assets/css/site.scss +8 -0
  97. data/lib/spontaneous/generators/site/assets/js/site.js +6 -0
  98. data/lib/spontaneous/generators/site/config/deploy.rb.tt +9 -0
  99. data/lib/spontaneous/generators/site/config/user_levels.yml +14 -3
  100. data/lib/spontaneous/generators/site/public/README.md +12 -0
  101. data/lib/spontaneous/generators/site/templates/layouts/standard.html.cut.tt +2 -2
  102. data/lib/spontaneous/generators/site.rb +77 -35
  103. data/lib/spontaneous/layout.rb +6 -7
  104. data/lib/spontaneous/loader.rb +21 -13
  105. data/lib/spontaneous/media/file.rb +22 -9
  106. data/lib/spontaneous/media/image/attributes.rb +33 -0
  107. data/lib/spontaneous/media/image/format/gif.rb +4 -0
  108. data/lib/spontaneous/media/image/format/jpg.rb +17 -0
  109. data/lib/spontaneous/media/image/format/png.rb +4 -0
  110. data/lib/spontaneous/media/image/format/webp.rb +26 -0
  111. data/lib/spontaneous/media/image/format.rb +79 -0
  112. data/lib/spontaneous/media/image/optimizer.rb +69 -0
  113. data/lib/spontaneous/media/image/processor.rb +17 -0
  114. data/lib/spontaneous/media/image/renderable.rb +52 -0
  115. data/lib/spontaneous/media/image/skeptick.rb +70 -0
  116. data/lib/spontaneous/media/image.rb +50 -0
  117. data/lib/spontaneous/media/temp_file.rb +4 -0
  118. data/lib/spontaneous/media.rb +1 -0
  119. data/lib/spontaneous/model/core/aliases.rb +14 -8
  120. data/lib/spontaneous/model/core/boxes.rb +5 -2
  121. data/lib/spontaneous/model/core/entries.rb +4 -0
  122. data/lib/spontaneous/model/core/entry.rb +1 -0
  123. data/lib/spontaneous/model/core/fields.rb +5 -2
  124. data/lib/spontaneous/model/core/locks.rb +16 -0
  125. data/lib/spontaneous/model/core/media.rb +1 -15
  126. data/lib/spontaneous/model/core.rb +31 -1
  127. data/lib/spontaneous/model/page/controllers.rb +2 -2
  128. data/lib/spontaneous/model/page/formats.rb +1 -4
  129. data/lib/spontaneous/model/page/layouts.rb +6 -2
  130. data/lib/spontaneous/model/page/locks.rb +8 -2
  131. data/lib/spontaneous/model/page/page_tree.rb +2 -2
  132. data/lib/spontaneous/model/page/paths.rb +74 -9
  133. data/lib/spontaneous/model/page.rb +11 -3
  134. data/lib/spontaneous/model.rb +6 -6
  135. data/lib/spontaneous/output/context/render_cache.rb +23 -0
  136. data/lib/spontaneous/output/context.rb +56 -30
  137. data/lib/spontaneous/output/helpers/script_helper.rb +9 -53
  138. data/lib/spontaneous/output/helpers/stylesheet_helper.rb +8 -40
  139. data/lib/spontaneous/output/template/renderer.rb +17 -5
  140. data/lib/spontaneous/output.rb +0 -1
  141. data/lib/spontaneous/paths.rb +6 -2
  142. data/lib/spontaneous/permissions/access_key.rb +18 -0
  143. data/lib/spontaneous/permissions/user.rb +1 -1
  144. data/lib/spontaneous/permissions.rb +4 -1
  145. data/lib/spontaneous/plugins/application/state.rb +19 -12
  146. data/lib/spontaneous/prototypes/field_prototype.rb +14 -8
  147. data/lib/spontaneous/published_revision.rb +7 -0
  148. data/lib/spontaneous/publishing/immediate.rb +43 -34
  149. data/lib/spontaneous/publishing/revision.rb +9 -6
  150. data/lib/spontaneous/rack/asset_server.rb +20 -0
  151. data/lib/spontaneous/rack/back/alias.rb +46 -0
  152. data/lib/spontaneous/rack/back/application_assets.rb +28 -0
  153. data/lib/spontaneous/rack/back/base.rb +34 -0
  154. data/lib/spontaneous/rack/back/changes.rb +19 -0
  155. data/lib/spontaneous/rack/back/content.rb +54 -0
  156. data/lib/spontaneous/rack/back/events.rb +38 -0
  157. data/lib/spontaneous/rack/back/field.rb +37 -0
  158. data/lib/spontaneous/rack/back/file.rb +118 -0
  159. data/lib/spontaneous/rack/back/helpers.rb +71 -0
  160. data/lib/spontaneous/rack/back/index.rb +16 -0
  161. data/lib/spontaneous/rack/back/login.rb +47 -0
  162. data/lib/spontaneous/rack/back/map.rb +24 -0
  163. data/lib/spontaneous/rack/back/page.rb +46 -0
  164. data/lib/spontaneous/rack/back/preview.rb +43 -0
  165. data/lib/spontaneous/rack/back/schema.rb +30 -0
  166. data/lib/spontaneous/rack/back/site.rb +25 -0
  167. data/lib/spontaneous/rack/back/site_assets.rb +13 -0
  168. data/lib/spontaneous/rack/back/unsupported_browser.rb +7 -0
  169. data/lib/spontaneous/rack/{user_admin.rb → back/user_admin.rb} +2 -5
  170. data/lib/spontaneous/rack/back.rb +85 -764
  171. data/lib/spontaneous/rack/cacheable_file.rb +3 -3
  172. data/lib/spontaneous/rack/front.rb +16 -9
  173. data/lib/spontaneous/rack/middleware/authenticate.rb +65 -0
  174. data/lib/spontaneous/rack/middleware/csrf.rb +66 -0
  175. data/lib/spontaneous/rack/middleware/reloader.rb +52 -0
  176. data/lib/spontaneous/rack/middleware/scope.rb +60 -0
  177. data/lib/spontaneous/rack/middleware.rb +6 -0
  178. data/lib/spontaneous/rack/page_controller.rb +18 -5
  179. data/lib/spontaneous/rack/public.rb +17 -11
  180. data/lib/spontaneous/rack.rb +34 -24
  181. data/lib/spontaneous/revision.rb +29 -2
  182. data/lib/spontaneous/schema/uid.rb +4 -3
  183. data/lib/spontaneous/schema/uid_map.rb +5 -24
  184. data/lib/spontaneous/schema.rb +1 -0
  185. data/lib/spontaneous/search/database.rb +8 -0
  186. data/lib/spontaneous/search/field.rb +1 -1
  187. data/lib/spontaneous/search/index.rb +3 -5
  188. data/lib/spontaneous/server.rb +1 -1
  189. data/lib/spontaneous/simultaneous.rb +1 -1
  190. data/lib/spontaneous/site/features.rb +4 -5
  191. data/lib/spontaneous/site/helpers.rb +22 -5
  192. data/lib/spontaneous/site/instance.rb +2 -2
  193. data/lib/spontaneous/site/selectors.rb +22 -3
  194. data/lib/spontaneous/storage/cloud.rb +13 -9
  195. data/lib/spontaneous/storage/local.rb +11 -6
  196. data/lib/spontaneous/style.rb +40 -23
  197. data/lib/spontaneous/utils/database/mysql_dumper.rb +1 -1
  198. data/lib/spontaneous/utils/smush_it.rb +1 -1
  199. data/lib/spontaneous/version.rb +1 -1
  200. data/lib/spontaneous.rb +35 -33
  201. data/spontaneous.gemspec +53 -787
  202. data/test/experimental/test_crypt.rb +56 -56
  203. data/test/experimental/test_features.rb +16 -27
  204. data/test/fixtures/assets/public1/css/data.css.scss +3 -0
  205. data/test/fixtures/assets/public1/css/image1.css.scss +4 -0
  206. data/test/fixtures/assets/public1/css/import.css.scss +1 -0
  207. data/test/fixtures/assets/public1/css/urlhash.css.scss +3 -0
  208. data/test/fixtures/assets/public1/js/a.js +1 -1
  209. data/test/fixtures/assets/public1/js/all.js +4 -0
  210. data/test/fixtures/assets/public1/js/{m.coffee → m.js.coffee} +1 -0
  211. data/test/fixtures/assets/public1/x.js +1 -0
  212. data/test/fixtures/assets/public2/css/all.css +4 -0
  213. data/test/fixtures/assets/public2/css/missing.css.scss +3 -0
  214. data/test/fixtures/assets/public2/i/y.png +0 -0
  215. data/test/fixtures/assets/public2/js/b.js +1 -1
  216. data/test/fixtures/assets/public2/js/c.js +1 -1
  217. data/test/fixtures/images/size.extended.webp +0 -0
  218. data/test/fixtures/images/size.lossless.webp +0 -0
  219. data/test/fixtures/images/size.lossy.webp +0 -0
  220. data/test/fixtures/schema/before.yml +4 -4
  221. data/test/fixtures/schema/schema.yml +1 -1
  222. data/test/fixtures/templates/aliases/aaa.html.cut +0 -0
  223. data/test/fixtures/templates/extended/partial_with_renderer.html.cut +1 -0
  224. data/test/fixtures/templates/extended/with_includes_and_renderer.html.cut +2 -0
  225. data/test/functional/test_application.rb +108 -106
  226. data/test/functional/test_back.rb +924 -930
  227. data/test/functional/test_front.rb +285 -238
  228. data/test/functional/test_user_manager.rb +75 -100
  229. data/test/integration/test_installation.rb +1 -1
  230. data/test/support/matchers.rb +12 -0
  231. data/test/support/minitest.rb +121 -0
  232. data/test/support/rack.rb +45 -0
  233. data/test/support/test_start_finish.rb +103 -0
  234. data/test/test_helper.rb +21 -68
  235. data/test/test_integration_helper.rb +1 -3
  236. data/test/unit/test_alias.rb +432 -408
  237. data/test/unit/test_asset_bundler.rb +58 -58
  238. data/test/unit/test_assets.rb +485 -155
  239. data/test/unit/test_async.rb +16 -37
  240. data/test/unit/test_authentication.rb +425 -457
  241. data/test/unit/test_boxes.rb +191 -191
  242. data/test/unit/test_changesets.rb +244 -254
  243. data/test/unit/test_config.rb +128 -142
  244. data/test/unit/test_content.rb +313 -359
  245. data/test/unit/test_content_inheritance.rb +29 -30
  246. data/test/unit/test_datamapper.rb +1205 -1080
  247. data/test/unit/test_datamapper_content.rb +49 -51
  248. data/test/unit/test_extensions.rb +23 -23
  249. data/test/unit/test_fields.rb +1488 -1180
  250. data/test/unit/test_formats.rb +158 -158
  251. data/test/unit/test_generators.rb +98 -40
  252. data/test/unit/test_helpers.rb +73 -76
  253. data/test/unit/test_image_size.rb +53 -22
  254. data/test/unit/test_images.rb +164 -165
  255. data/test/unit/test_layouts.rb +133 -122
  256. data/test/unit/test_logger.rb +14 -17
  257. data/test/unit/test_media.rb +69 -84
  258. data/test/unit/test_modifications.rb +513 -525
  259. data/test/unit/test_page.rb +462 -361
  260. data/test/unit/test_permissions.rb +379 -364
  261. data/test/unit/test_piece.rb +67 -75
  262. data/test/unit/test_plugins.rb +82 -89
  263. data/test/unit/test_prototype_set.rb +215 -216
  264. data/test/unit/test_prototypes.rb +114 -124
  265. data/test/unit/test_publishing.rb +252 -289
  266. data/test/unit/test_render.rb +167 -115
  267. data/test/unit/test_revisions.rb +436 -444
  268. data/test/unit/test_schema.rb +339 -309
  269. data/test/unit/test_search.rb +577 -574
  270. data/test/unit/test_serialisation.rb +136 -147
  271. data/test/unit/test_site.rb +252 -227
  272. data/test/unit/test_skeptick.rb +130 -0
  273. data/test/unit/test_storage.rb +46 -40
  274. data/test/unit/test_structure.rb +57 -66
  275. data/test/unit/test_styles.rb +104 -104
  276. data/test/unit/test_templates.rb +72 -57
  277. data/test/unit/test_type_hierarchy.rb +15 -16
  278. data/test/unit/test_visibility.rb +239 -257
  279. metadata +455 -326
  280. data/application/js/vendor/JS.Class-2.1.5/CHANGELOG +0 -283
  281. data/application/js/vendor/JS.Class-2.1.5/MIT-LICENSE +0 -30
  282. data/application/js/vendor/JS.Class-2.1.5/README +0 -30
  283. data/application/js/vendor/JS.Class-2.1.5/min/command.js +0 -1
  284. data/application/js/vendor/JS.Class-2.1.5/min/comparable.js +0 -1
  285. data/application/js/vendor/JS.Class-2.1.5/min/constant_scope.js +0 -1
  286. data/application/js/vendor/JS.Class-2.1.5/min/decorator.js +0 -1
  287. data/application/js/vendor/JS.Class-2.1.5/min/enumerable.js +0 -1
  288. data/application/js/vendor/JS.Class-2.1.5/min/forwardable.js +0 -1
  289. data/application/js/vendor/JS.Class-2.1.5/min/hash.js +0 -1
  290. data/application/js/vendor/JS.Class-2.1.5/min/linked_list.js +0 -1
  291. data/application/js/vendor/JS.Class-2.1.5/min/loader.js +0 -1
  292. data/application/js/vendor/JS.Class-2.1.5/min/method_chain.js +0 -1
  293. data/application/js/vendor/JS.Class-2.1.5/min/observable.js +0 -1
  294. data/application/js/vendor/JS.Class-2.1.5/min/package.js +0 -1
  295. data/application/js/vendor/JS.Class-2.1.5/min/proxy.js +0 -1
  296. data/application/js/vendor/JS.Class-2.1.5/min/ruby.js +0 -1
  297. data/application/js/vendor/JS.Class-2.1.5/min/set.js +0 -1
  298. data/application/js/vendor/JS.Class-2.1.5/min/stack_trace.js +0 -1
  299. data/application/js/vendor/JS.Class-2.1.5/min/state.js +0 -1
  300. data/application/js/vendor/JS.Class-2.1.5/min/stdlib.js +0 -16
  301. data/application/js/vendor/jquery-1.6.2.min.js +0 -18
  302. data/application/js/vendor/jquery-ui-1.8.16.custom.min.js +0 -791
  303. data/application/js/vendor/jquery-ui-1.8.9.custom.min.js +0 -415
  304. data/application/static/font/fontawesome-webfont-5c5c21100a346972a82c34c5e96ffcfe.ttf +0 -0
  305. data/application/static/select-arrow-6e7dd3745b00e934b0d7a3250c46558b.png +0 -0
  306. data/bin/limit-upload +0 -5
  307. data/bin/unlimit-upload +0 -3
  308. data/lib/spontaneous/asset/file.rb +0 -25
  309. data/lib/spontaneous/asset/source.rb +0 -28
  310. data/lib/spontaneous/image_size.rb +0 -123
  311. data/lib/spontaneous/output/assets/compression.rb +0 -58
  312. data/lib/spontaneous/output/assets.rb +0 -32
  313. data/lib/spontaneous/rack/around_back.rb +0 -20
  314. data/lib/spontaneous/rack/around_front.rb +0 -27
  315. data/lib/spontaneous/rack/around_preview.rb +0 -22
  316. data/lib/spontaneous/rack/assets.rb +0 -126
  317. data/lib/spontaneous/rack/authentication.rb +0 -20
  318. data/lib/spontaneous/rack/cookie_authentication.rb +0 -38
  319. data/lib/spontaneous/rack/helpers.rb +0 -52
  320. data/lib/spontaneous/rack/http.rb +0 -18
  321. data/lib/spontaneous/rack/media.rb +0 -30
  322. data/lib/spontaneous/rack/query_authentication.rb +0 -35
  323. data/lib/spontaneous/rack/reloader.rb +0 -45
  324. data/lib/spontaneous/rack/user_helpers.rb +0 -28
  325. /data/{README → application/js/field/markdown/text_command.js} +0 -0
  326. /data/application/js/vendor/{JS.Class-2.1.5/min/core.js → js.class-2.1.5.min.js} +0 -0
  327. /data/test/fixtures/assets/public1/css/{a.scss → a.css.scss} +0 -0
  328. /data/{lib/spontaneous/generators/site/public/css/site.scss → test/fixtures/assets/public1/x.css} +0 -0
  329. /data/{lib/spontaneous/generators/site/public/js/.empty_directory → test/fixtures/assets/public1/x.png} +0 -0
  330. /data/test/fixtures/assets/public2/css/{b.scss → b.css.scss} +0 -0
  331. /data/test/fixtures/assets/public2/js/{n.coffee → n.js.coffee} +0 -0
  332. /data/test/fixtures/back/{public → assets}/css/sass_include.scss +0 -0
  333. /data/test/fixtures/back/{public → assets}/css/sass_template.scss +0 -0
  334. /data/test/fixtures/back/{public → assets}/js/coffeescript.coffee +0 -0
  335. /data/{lib/spontaneous/generators/site/public/js/site.js → test/fixtures/templates/aliases/aa_alias.html.cut} +0 -0
data/spontaneous.gemspec CHANGED
@@ -1,796 +1,62 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'spontaneous/version'
1
4
 
2
5
  Gem::Specification.new do |s|
3
- s.specification_version = 2 if s.respond_to? :specification_version=
4
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
5
- s.rubygems_version = '1.3.5'
6
- s.required_ruby_version = ">= 1.9.3"
6
+ s.required_ruby_version = '>= 1.9.3'
7
7
 
8
- s.name = 'spontaneous'
9
- s.version = '0.2.0.beta1'
10
- s.date = '2013-01-26'
11
- s.rubyforge_project = 'spontaneous'
8
+ s.name = 'spontaneous'
9
+ s.version = Spontaneous::VERSION
12
10
 
13
- s.summary = "Spontaneous is a next-generation Ruby CMS"
14
- s.description = "Spontaneous is a next-generation Ruby CMS"
11
+ s.summary = "Spontaneous is a next-generation Ruby CMS"
12
+ s.description = "Spontaneous is a next-generation Ruby CMS"
15
13
 
16
- s.authors = ["Garry Hill"]
17
- s.email = 'garry@magnetised.net'
18
- s.homepage = 'http://spontaneous.io'
14
+ s.authors = ['Garry Hill']
15
+ s.email = 'garry@spontaneous.io'
16
+ s.homepage = 'http://spontaneous.io'
19
17
 
18
+ s.executables = ['spot']
19
+ s.files = `git ls-files`.split($/)
20
+ s.test_files = s.files.grep(%r{^test/})
20
21
  s.require_paths = %w[lib]
21
22
 
22
- # s.require_paths << 'ext'
23
- # s.extensions = %w[ext/extconf.rb]
24
-
25
- s.executables = ["spot"]
26
-
27
- s.rdoc_options = ["--charset=UTF-8"]
28
- s.extra_rdoc_files = %w[README LICENSE]
29
-
30
- s.add_dependency('activesupport', ["~> 3.2.0"])
31
- s.add_dependency('base58', ["~> 0.1.0"])
32
- s.add_dependency('bcrypt-ruby', ["~> 3.0.1"])
33
- s.add_dependency('bundler', ["> 1.0.15"])
34
- s.add_dependency('coffee-script', ["~> 2.2.0"])
35
- s.add_dependency('cutaneous', ["~> 0.1.3"])
36
- s.add_dependency('erubis', ["~> 2.6"])
37
- s.add_dependency('fog', ["~> 1.6.0"])
38
- s.add_dependency('foreman', ["~> 0.60.2"])
39
- s.add_dependency('kramdown', ["~> 0.14.0"])
40
- s.add_dependency('launchy', ["~> 2.1.2"])
41
- s.add_dependency('mini_magick', ["~> 3.3"])
42
- s.add_dependency('nokogiri', ["~> 1.5.0"])
43
- s.add_dependency('public_suffix', ["~> 1.0"])
44
- s.add_dependency('rack', ["= 1.4.1"])
45
- s.add_dependency('rake', ["~> 0.9.2"])
46
- s.add_dependency('rdoc', ["~> 3.9.4"])
47
- s.add_dependency('sass', ["~> 3.1.4"])
48
- s.add_dependency('sequel', ["~> 3.43.0"])
49
- s.add_dependency('shine', ["~> 0.6"])
50
- s.add_dependency('simultaneous', ["~> 0.4.2"])
51
- s.add_dependency('sinatra', ["= 1.3.2"])
52
- s.add_dependency('sinatra-contrib', ["~> 1.3.1"])
53
- s.add_dependency('sprockets', ["~> 2.7.0"])
54
- s.add_dependency('stringex', ["= 1.3"])
55
- s.add_dependency('therubyracer', ['~> 0.9.10'])
56
- s.add_dependency('thin', ["~> 1.2"])
57
- s.add_dependency('thor', ["~> 0.16.0"])
58
- s.add_dependency('uglifier', ["~> 1.3.0"])
59
- s.add_dependency('yajl-ruby', ["~> 1.1.0"])
60
-
61
- s.add_development_dependency('minitest', ["~> 2.1.0"])
62
- s.add_development_dependency('mysql2', ["~> 0.3.11"])
63
- s.add_development_dependency('pg', ["~> 0.14.1"])
64
- s.add_development_dependency('jeweler', ["~> 1.5"])
65
- s.add_development_dependency('jnunemaker-matchy', ["~> 0.4"])
66
- s.add_development_dependency('shoulda', ["~> 2.11.3"])
67
- s.add_development_dependency('timecop', ["~> 0.3"])
68
- s.add_development_dependency('mocha', ["~> 0.9"])
69
- s.add_development_dependency('rack-test', ["~> 0.5"])
70
- s.add_development_dependency('leftright', ["~> 0.9"])
71
- s.add_development_dependency('stackdeck', ["~> 0.2"])
72
-
73
- # = MANIFEST =
74
- s.files = %w[
75
- Gemfile
76
- LICENSE
77
- README
78
- Rakefile
79
- Readme.markdown
80
- application/css/add_alias_dialogue.css.scss
81
- application/css/core.css.scss
82
- application/css/definitions.css.scss
83
- application/css/developer.css.scss
84
- application/css/dialogue.css.scss
85
- application/css/editing.css.scss
86
- application/css/font.css.scss
87
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_diagonals-thick_18_b81900_40x40.png
88
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_diagonals-thick_20_666666_40x40.png
89
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_flat_10_000000_40x100.png
90
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_glass_100_f6f6f6_1x400.png
91
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_glass_100_fdf5ce_1x400.png
92
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_glass_65_ffffff_1x400.png
93
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_gloss-wave_35_f6a828_500x100.png
94
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
95
- application/css/jquery-ui-1.8.21.custom/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
96
- application/css/jquery-ui-1.8.21.custom/images/ui-icons_222222_256x240.png
97
- application/css/jquery-ui-1.8.21.custom/images/ui-icons_228ef1_256x240.png
98
- application/css/jquery-ui-1.8.21.custom/images/ui-icons_ef8c08_256x240.png
99
- application/css/jquery-ui-1.8.21.custom/images/ui-icons_ffd27a_256x240.png
100
- application/css/jquery-ui-1.8.21.custom/images/ui-icons_ffffff_256x240.png
101
- application/css/jquery-ui-1.8.21.custom/ui-lightness.css.scss
102
- application/css/login.css.scss
103
- application/css/meta.css.scss
104
- application/css/popover.css.scss
105
- application/css/schema_error.css.scss
106
- application/css/spontaneous.css
107
- application/css/unsupported.css.scss
108
- application/js/add_alias_dialogue.js
109
- application/js/add_home_dialogue.js
110
- application/js/ajax.js
111
- application/js/authentication.js
112
- application/js/box.js
113
- application/js/box_container.js
114
- application/js/compatibility.js
115
- application/js/conflicted_field_dialogue.js
116
- application/js/content.js
117
- application/js/content_area.js
118
- application/js/dialogue.js
119
- application/js/dom.js
120
- application/js/edit_panel.js
121
- application/js/editing.js
122
- application/js/entry.js
123
- application/js/event_source.js
124
- application/js/extensions.js
125
- application/js/field.js
126
- application/js/field/date.js
127
- application/js/field/file.js
128
- application/js/field/image.js
129
- application/js/field/long_string.js
130
- application/js/field/markdown.js
131
- application/js/field/select.js
132
- application/js/field/string.js
133
- application/js/field/webvideo.js
134
- application/js/field_preview.js
135
- application/js/image.js
136
- application/js/init.js
137
- application/js/load.js
138
- application/js/location.js
139
- application/js/login.js
140
- application/js/meta_view.js
141
- application/js/meta_view/user_admin.js
142
- application/js/metadata.js
143
- application/js/page.js
144
- application/js/page_browser.js
145
- application/js/page_entry.js
146
- application/js/panel/root_menu.js
147
- application/js/popover.js
148
- application/js/popover_view.js
149
- application/js/preview.js
150
- application/js/progress.js
151
- application/js/properties.js
152
- application/js/publish.js
153
- application/js/require.js
154
- application/js/services.js
155
- application/js/sharded_upload.js
156
- application/js/side_bar.js
157
- application/js/spontaneous.js
158
- application/js/state.js
159
- application/js/status_bar.js
160
- application/js/top_bar.js
161
- application/js/types.js
162
- application/js/upload.js
163
- application/js/upload_manager.js
164
- application/js/user.js
165
- application/js/vendor/JS.Class-2.1.5/CHANGELOG
166
- application/js/vendor/JS.Class-2.1.5/MIT-LICENSE
167
- application/js/vendor/JS.Class-2.1.5/README
168
- application/js/vendor/JS.Class-2.1.5/min/command.js
169
- application/js/vendor/JS.Class-2.1.5/min/comparable.js
170
- application/js/vendor/JS.Class-2.1.5/min/constant_scope.js
171
- application/js/vendor/JS.Class-2.1.5/min/core.js
172
- application/js/vendor/JS.Class-2.1.5/min/decorator.js
173
- application/js/vendor/JS.Class-2.1.5/min/enumerable.js
174
- application/js/vendor/JS.Class-2.1.5/min/forwardable.js
175
- application/js/vendor/JS.Class-2.1.5/min/hash.js
176
- application/js/vendor/JS.Class-2.1.5/min/linked_list.js
177
- application/js/vendor/JS.Class-2.1.5/min/loader.js
178
- application/js/vendor/JS.Class-2.1.5/min/method_chain.js
179
- application/js/vendor/JS.Class-2.1.5/min/observable.js
180
- application/js/vendor/JS.Class-2.1.5/min/package.js
181
- application/js/vendor/JS.Class-2.1.5/min/proxy.js
182
- application/js/vendor/JS.Class-2.1.5/min/ruby.js
183
- application/js/vendor/JS.Class-2.1.5/min/set.js
184
- application/js/vendor/JS.Class-2.1.5/min/stack_trace.js
185
- application/js/vendor/JS.Class-2.1.5/min/state.js
186
- application/js/vendor/JS.Class-2.1.5/min/stdlib.js
187
- application/js/vendor/crypto-2.3.0-crypto.js
188
- application/js/vendor/crypto-2.3.0-sha1.js
189
- application/js/vendor/date.js
190
- application/js/vendor/diff_match_patch.js
191
- application/js/vendor/jquery-1.6.2.min.js
192
- application/js/vendor/jquery-ui-1.8.16.custom.min.js
193
- application/js/vendor/jquery-ui-1.8.18.custom.min.js
194
- application/js/vendor/jquery-ui-1.8.9.custom.min.js
195
- application/js/vendor/jquery.js
196
- application/js/views.js
197
- application/js/views/box_view.js
198
- application/js/views/page_piece_view.js
199
- application/js/views/page_view.js
200
- application/js/views/piece_view.js
201
- application/static/chromelogo-200x52-45c7cbc93be080bea342df5fcda2ef8b.png
202
- application/static/dot-texture-9eea29e4ac7ad9a772285252078ec127.png
203
- application/static/editing-textarea-resize-s-b5af62365eb7e19ea4beccf7242d508e.png
204
- application/static/editing-texture-1-42b06a3439752490988f30f2a06d5e7c.png
205
- application/static/favicon.ico
206
- application/static/font/fontawesome-webfont-5c5c21100a346972a82c34c5e96ffcfe.ttf
207
- application/static/location-arrow-c1c1d3ca472481c61a0a5f8cb289d743.png
208
- application/static/logo-400px-transparent.png
209
- application/static/loop_alt1-white-7894b458528e92216196cae26b4c2c96.svg
210
- application/static/missing-911ce6dbd9f4602e0f3fbcd7e78846a2.png
211
- application/static/orange-down-arrow-395ae1929e8662b2ff0977daf12c35bb.png
212
- application/static/page-browser-next-ce781a242c23b980b99b9db7abc20b05.png
213
- application/static/plus-box-dcde74a1e496f68298c9b443caa1c5d5.png
214
- application/static/px.gif
215
- application/static/select-arrow-6e7dd3745b00e934b0d7a3250c46558b.png
216
- application/static/slot-down-arrow-59ad5f5ee5b52a7ebd00bca4b3104194.png
217
- application/static/splash-65b493a714df9b8b3ab170103401b53d.png
218
- application/static/spontaneous-states-e91ec89db525c62da0105b97cdd781ce.png
219
- application/static/spot-71fab1d2f065034f5fc15e7bea2ad36c.png
220
- application/static/spot-8505041082d8d3bbe8d34c29dddb3b7d.svg
221
- application/static/texture-03f7627e8264b1d607113ab32c593a58.png
222
- application/views/index.erb
223
- application/views/login.erb
224
- application/views/schema_modification_error.html.erb
225
- application/views/unsupported.erb
226
- bin/limit-upload
227
- bin/spot
228
- bin/unlimit-upload
229
- config/nginx.conf
230
- db/migrations/20100610142136_init.rb
231
- db/migrations/20101130104334_timestamps.rb
232
- db/migrations/20101202113205_site_publishing_flags.rb
233
- db/migrations/20101206124543_aliases.rb
234
- db/migrations/20110201133550_visibility.rb
235
- db/migrations/20110209152710_users_and_groups.rb
236
- db/migrations/20110215133910_boxes.rb
237
- db/migrations/20110521114145_remove_slots_and_entries.rb
238
- db/migrations/20110604192145_rename_schema_id_columns.rb
239
- db/migrations/20110805141925_rename_site_to_state.rb
240
- db/migrations/20120106171423_visibility_path.rb
241
- db/migrations/20120107124541_owner_id.rb
242
- db/migrations/20120305112647_site_modification_time.rb
243
- db/migrations/20120418153903_add_ownership_of_content.rb
244
- db/migrations/20120423175416_add_pending_modifications.rb
245
- db/migrations/20120525164947_add_field_versions.rb
246
- db/migrations/20130109125023_add_page_publish_lock.rb
247
- db/migrations/20130111161934_convert_bcrypt_passwords.rb
248
- db/migrations/20130114120000_create_revision_tables.rb
249
- db/migrations/20130116220423_add_index_to_archive.rb
250
- docs/recipe-interface-screenshot.png
251
- lib/spontaneous.rb
252
- lib/spontaneous/application.rb
253
- lib/spontaneous/application/feature.rb
254
- lib/spontaneous/application/plugin.rb
255
- lib/spontaneous/asset.rb
256
- lib/spontaneous/asset/file.rb
257
- lib/spontaneous/asset/source.rb
258
- lib/spontaneous/box.rb
259
- lib/spontaneous/box_style.rb
260
- lib/spontaneous/capistrano.rb
261
- lib/spontaneous/capistrano/deploy.rb
262
- lib/spontaneous/capistrano/sync.rb
263
- lib/spontaneous/change.rb
264
- lib/spontaneous/cli.rb
265
- lib/spontaneous/cli/assets.rb
266
- lib/spontaneous/cli/console.rb
267
- lib/spontaneous/cli/fields.rb
268
- lib/spontaneous/cli/generate.rb
269
- lib/spontaneous/cli/init.rb
270
- lib/spontaneous/cli/media.rb
271
- lib/spontaneous/cli/migrate.rb
272
- lib/spontaneous/cli/server.rb
273
- lib/spontaneous/cli/site.rb
274
- lib/spontaneous/cli/sync.rb
275
- lib/spontaneous/cli/user.rb
276
- lib/spontaneous/collections/box_set.rb
277
- lib/spontaneous/collections/change_set.rb
278
- lib/spontaneous/collections/entry_set.rb
279
- lib/spontaneous/collections/field_set.rb
280
- lib/spontaneous/collections/prototype_set.rb
281
- lib/spontaneous/collections/style_set.rb
282
- lib/spontaneous/concern.rb
283
- lib/spontaneous/config.rb
284
- lib/spontaneous/constants.rb
285
- lib/spontaneous/content_query.rb
286
- lib/spontaneous/crypt.rb
287
- lib/spontaneous/crypt/version.rb
288
- lib/spontaneous/data_mapper.rb
289
- lib/spontaneous/data_mapper/content_model.rb
290
- lib/spontaneous/data_mapper/content_model/associations.rb
291
- lib/spontaneous/data_mapper/content_model/column_accessors.rb
292
- lib/spontaneous/data_mapper/content_model/instance_hooks.rb
293
- lib/spontaneous/data_mapper/content_model/serialization.rb
294
- lib/spontaneous/data_mapper/content_model/timestamps.rb
295
- lib/spontaneous/data_mapper/content_table.rb
296
- lib/spontaneous/data_mapper/dataset.rb
297
- lib/spontaneous/data_mapper/scope.rb
298
- lib/spontaneous/errors.rb
299
- lib/spontaneous/extensions/array.rb
300
- lib/spontaneous/extensions/class.rb
301
- lib/spontaneous/extensions/enumerable.rb
302
- lib/spontaneous/extensions/hash.rb
303
- lib/spontaneous/extensions/json.rb
304
- lib/spontaneous/extensions/kernel.rb
305
- lib/spontaneous/extensions/nil.rb
306
- lib/spontaneous/extensions/object.rb
307
- lib/spontaneous/extensions/object_space.rb
308
- lib/spontaneous/extensions/string.rb
309
- lib/spontaneous/facet.rb
310
- lib/spontaneous/field.rb
311
- lib/spontaneous/field/base.rb
312
- lib/spontaneous/field/date.rb
313
- lib/spontaneous/field/field_version.rb
314
- lib/spontaneous/field/file.rb
315
- lib/spontaneous/field/image.rb
316
- lib/spontaneous/field/location.rb
317
- lib/spontaneous/field/long_string.rb
318
- lib/spontaneous/field/markdown.rb
319
- lib/spontaneous/field/select.rb
320
- lib/spontaneous/field/string.rb
321
- lib/spontaneous/field/update.rb
322
- lib/spontaneous/field/webvideo.rb
323
- lib/spontaneous/generators.rb
324
- lib/spontaneous/generators/page.rb
325
- lib/spontaneous/generators/page/inline.html.cut
326
- lib/spontaneous/generators/page/page.html.cut.tt
327
- lib/spontaneous/generators/page/page.rb.tt
328
- lib/spontaneous/generators/site.rb
329
- lib/spontaneous/generators/site/.gitignore
330
- lib/spontaneous/generators/site/Capfile.tt
331
- lib/spontaneous/generators/site/Gemfile.tt
332
- lib/spontaneous/generators/site/Rakefile.tt
333
- lib/spontaneous/generators/site/config/back.ru
334
- lib/spontaneous/generators/site/config/boot.rb
335
- lib/spontaneous/generators/site/config/database.yml.tt
336
- lib/spontaneous/generators/site/config/deploy.rb.tt
337
- lib/spontaneous/generators/site/config/environment.rb.tt
338
- lib/spontaneous/generators/site/config/environments/development.rb.tt
339
- lib/spontaneous/generators/site/config/environments/production.rb.tt
340
- lib/spontaneous/generators/site/config/front.ru
341
- lib/spontaneous/generators/site/config/indexes.rb.tt
342
- lib/spontaneous/generators/site/config/schema.yml
343
- lib/spontaneous/generators/site/config/user_levels.yml
344
- lib/spontaneous/generators/site/lib/content.rb.tt
345
- lib/spontaneous/generators/site/lib/tasks/site.rake.tt
346
- lib/spontaneous/generators/site/public/css/site.scss
347
- lib/spontaneous/generators/site/public/favicon.ico
348
- lib/spontaneous/generators/site/public/js/.empty_directory
349
- lib/spontaneous/generators/site/public/js/site.js
350
- lib/spontaneous/generators/site/public/robots.txt
351
- lib/spontaneous/generators/site/schema/.map
352
- lib/spontaneous/generators/site/schema/box.rb.tt
353
- lib/spontaneous/generators/site/schema/page.rb.tt
354
- lib/spontaneous/generators/site/schema/piece.rb.tt
355
- lib/spontaneous/generators/site/templates/layouts/standard.html.cut.tt
356
- lib/spontaneous/image_size.rb
357
- lib/spontaneous/json.rb
358
- lib/spontaneous/layout.rb
359
- lib/spontaneous/loader.rb
360
- lib/spontaneous/logger.rb
361
- lib/spontaneous/media.rb
362
- lib/spontaneous/media/file.rb
363
- lib/spontaneous/media/temp_file.rb
364
- lib/spontaneous/model.rb
365
- lib/spontaneous/model/box.rb
366
- lib/spontaneous/model/box/allowed_types.rb
367
- lib/spontaneous/model/core.rb
368
- lib/spontaneous/model/core/aliases.rb
369
- lib/spontaneous/model/core/boxes.rb
370
- lib/spontaneous/model/core/content_groups.rb
371
- lib/spontaneous/model/core/editor_class.rb
372
- lib/spontaneous/model/core/entries.rb
373
- lib/spontaneous/model/core/entry.rb
374
- lib/spontaneous/model/core/fields.rb
375
- lib/spontaneous/model/core/instance_code.rb
376
- lib/spontaneous/model/core/media.rb
377
- lib/spontaneous/model/core/modifications.rb
378
- lib/spontaneous/model/core/page_search.rb
379
- lib/spontaneous/model/core/permissions.rb
380
- lib/spontaneous/model/core/prototypes.rb
381
- lib/spontaneous/model/core/publishing.rb
382
- lib/spontaneous/model/core/render.rb
383
- lib/spontaneous/model/core/schema_hierarchy.rb
384
- lib/spontaneous/model/core/schema_id.rb
385
- lib/spontaneous/model/core/schema_title.rb
386
- lib/spontaneous/model/core/serialisation.rb
387
- lib/spontaneous/model/core/styles.rb
388
- lib/spontaneous/model/core/supertype.rb
389
- lib/spontaneous/model/core/visibility.rb
390
- lib/spontaneous/model/page.rb
391
- lib/spontaneous/model/page/controllers.rb
392
- lib/spontaneous/model/page/formats.rb
393
- lib/spontaneous/model/page/layouts.rb
394
- lib/spontaneous/model/page/locks.rb
395
- lib/spontaneous/model/page/page_tree.rb
396
- lib/spontaneous/model/page/paths.rb
397
- lib/spontaneous/model/page/request.rb
398
- lib/spontaneous/model/page/site_map.rb
399
- lib/spontaneous/model/page/site_timestamps.rb
400
- lib/spontaneous/model/piece.rb
401
- lib/spontaneous/output.rb
402
- lib/spontaneous/output/assets.rb
403
- lib/spontaneous/output/assets/compression.rb
404
- lib/spontaneous/output/context.rb
405
- lib/spontaneous/output/format.rb
406
- lib/spontaneous/output/format/html.rb
407
- lib/spontaneous/output/format/plain.rb
408
- lib/spontaneous/output/helpers.rb
409
- lib/spontaneous/output/helpers/classes_helper.rb
410
- lib/spontaneous/output/helpers/conditional_comment_helper.rb
411
- lib/spontaneous/output/helpers/script_helper.rb
412
- lib/spontaneous/output/helpers/stylesheet_helper.rb
413
- lib/spontaneous/output/template.rb
414
- lib/spontaneous/output/template/engine.rb
415
- lib/spontaneous/output/template/renderer.rb
416
- lib/spontaneous/page_lock.rb
417
- lib/spontaneous/page_piece.rb
418
- lib/spontaneous/paths.rb
419
- lib/spontaneous/permissions.rb
420
- lib/spontaneous/permissions/access_group.rb
421
- lib/spontaneous/permissions/access_key.rb
422
- lib/spontaneous/permissions/user.rb
423
- lib/spontaneous/permissions/user_level.rb
424
- lib/spontaneous/plugins/application/facets.rb
425
- lib/spontaneous/plugins/application/features.rb
426
- lib/spontaneous/plugins/application/paths.rb
427
- lib/spontaneous/plugins/application/render.rb
428
- lib/spontaneous/plugins/application/serialisation.rb
429
- lib/spontaneous/plugins/application/state.rb
430
- lib/spontaneous/plugins/application/system.rb
431
- lib/spontaneous/prototypes/box_prototype.rb
432
- lib/spontaneous/prototypes/field_prototype.rb
433
- lib/spontaneous/prototypes/layout_prototype.rb
434
- lib/spontaneous/prototypes/style_prototype.rb
435
- lib/spontaneous/publishing.rb
436
- lib/spontaneous/publishing/event_client.rb
437
- lib/spontaneous/publishing/immediate.rb
438
- lib/spontaneous/publishing/revision.rb
439
- lib/spontaneous/publishing/simultaneous.rb
440
- lib/spontaneous/publishing/threaded.rb
441
- lib/spontaneous/rack.rb
442
- lib/spontaneous/rack/around_back.rb
443
- lib/spontaneous/rack/around_front.rb
444
- lib/spontaneous/rack/around_preview.rb
445
- lib/spontaneous/rack/assets.rb
446
- lib/spontaneous/rack/authentication.rb
447
- lib/spontaneous/rack/back.rb
448
- lib/spontaneous/rack/cacheable_file.rb
449
- lib/spontaneous/rack/cookie_authentication.rb
450
- lib/spontaneous/rack/css.rb
451
- lib/spontaneous/rack/event_source.rb
452
- lib/spontaneous/rack/front.rb
453
- lib/spontaneous/rack/helpers.rb
454
- lib/spontaneous/rack/http.rb
455
- lib/spontaneous/rack/js.rb
456
- lib/spontaneous/rack/media.rb
457
- lib/spontaneous/rack/page_controller.rb
458
- lib/spontaneous/rack/public.rb
459
- lib/spontaneous/rack/query_authentication.rb
460
- lib/spontaneous/rack/reloader.rb
461
- lib/spontaneous/rack/sse.rb
462
- lib/spontaneous/rack/static.rb
463
- lib/spontaneous/rack/user_admin.rb
464
- lib/spontaneous/rack/user_helpers.rb
465
- lib/spontaneous/revision.rb
466
- lib/spontaneous/schema.rb
467
- lib/spontaneous/schema/schema_modification.rb
468
- lib/spontaneous/schema/uid.rb
469
- lib/spontaneous/schema/uid_map.rb
470
- lib/spontaneous/search.rb
471
- lib/spontaneous/search/compound_indexer.rb
472
- lib/spontaneous/search/database.rb
473
- lib/spontaneous/search/field.rb
474
- lib/spontaneous/search/index.rb
475
- lib/spontaneous/search/results.rb
476
- lib/spontaneous/sequel.rb
477
- lib/spontaneous/server.rb
478
- lib/spontaneous/simultaneous.rb
479
- lib/spontaneous/site.rb
480
- lib/spontaneous/site/features.rb
481
- lib/spontaneous/site/helpers.rb
482
- lib/spontaneous/site/hooks.rb
483
- lib/spontaneous/site/instance.rb
484
- lib/spontaneous/site/level.rb
485
- lib/spontaneous/site/map.rb
486
- lib/spontaneous/site/paths.rb
487
- lib/spontaneous/site/publishing.rb
488
- lib/spontaneous/site/schema.rb
489
- lib/spontaneous/site/search.rb
490
- lib/spontaneous/site/selectors.rb
491
- lib/spontaneous/site/state.rb
492
- lib/spontaneous/site/storage.rb
493
- lib/spontaneous/site/url.rb
494
- lib/spontaneous/state.rb
495
- lib/spontaneous/storage.rb
496
- lib/spontaneous/storage/backend.rb
497
- lib/spontaneous/storage/cloud.rb
498
- lib/spontaneous/storage/local.rb
499
- lib/spontaneous/style.rb
500
- lib/spontaneous/tasks.rb
501
- lib/spontaneous/tasks/database.rake
502
- lib/spontaneous/utils.rb
503
- lib/spontaneous/utils/database.rb
504
- lib/spontaneous/utils/database/mysql_dumper.rb
505
- lib/spontaneous/utils/database/postgres_dumper.rb
506
- lib/spontaneous/utils/smart_quotes.rb
507
- lib/spontaneous/utils/smush_it.rb
508
- lib/spontaneous/version.rb
509
- spontaneous.gemspec
510
- test/disabled/test_slots.rb
511
- test/experimental/test_crypt.rb
512
- test/experimental/test_features.rb
513
- test/fixtures/application/js/test.js
514
- test/fixtures/application/static/favicon.ico
515
- test/fixtures/application/static/test.html
516
- test/fixtures/application/views/index.erb
517
- test/fixtures/asset_pipeline/application/css/basic.css.scss
518
- test/fixtures/asset_pipeline/application/css/complex.css.scss.erb
519
- test/fixtures/asset_pipeline/application/css/simple.css
520
- test/fixtures/asset_pipeline/application/css/spontaneous.css
521
- test/fixtures/asset_pipeline/application/css/subdir/complex.css.scss.erb
522
- test/fixtures/asset_pipeline/application/css/subdir/library.css.scss
523
- test/fixtures/asset_pipeline/application/css/subdir/simple.css
524
- test/fixtures/asset_pipeline/application/js/basic.js.coffee
525
- test/fixtures/asset_pipeline/application/js/complex.js.coffee.erb
526
- test/fixtures/asset_pipeline/application/js/login.js
527
- test/fixtures/asset_pipeline/application/js/require.js
528
- test/fixtures/asset_pipeline/application/js/simple.js
529
- test/fixtures/asset_pipeline/application/js/spontaneous.js
530
- test/fixtures/asset_pipeline/application/js/subdir/complex.js.coffee.erb
531
- test/fixtures/asset_pipeline/application/js/subdir/library.js.coffee
532
- test/fixtures/asset_pipeline/application/js/subdir/simple.js
533
- test/fixtures/asset_pipeline/application/js/vendor/jquery.js
534
- test/fixtures/asset_pipeline/application/static/dot-texture.png
535
- test/fixtures/asset_pipeline/application/static/subdir/px.gif
536
- test/fixtures/assets/public1/css/a.scss
537
- test/fixtures/assets/public1/js/a.js
538
- test/fixtures/assets/public1/js/m.coffee
539
- test/fixtures/assets/public2/css/b.scss
540
- test/fixtures/assets/public2/css/c.css
541
- test/fixtures/assets/public2/js/b.js
542
- test/fixtures/assets/public2/js/c.js
543
- test/fixtures/assets/public2/js/n.coffee
544
- test/fixtures/back/config/user_levels.yml
545
- test/fixtures/back/public/css/sass_include.scss
546
- test/fixtures/back/public/css/sass_template.scss
547
- test/fixtures/back/public/js/coffeescript.coffee
548
- test/fixtures/back/public/test.html
549
- test/fixtures/back/templates/layouts/standard.css.cut
550
- test/fixtures/back/templates/layouts/standard.html.cut
551
- test/fixtures/back/templates/layouts/standard.js.cut
552
- test/fixtures/config/config/environment.rb
553
- test/fixtures/config/config/environments/development.rb
554
- test/fixtures/config/config/environments/production.rb
555
- test/fixtures/config/config/environments/staging.rb
556
- test/fixtures/example_application/Gemfile
557
- test/fixtures/example_application/Gemfile.lock
558
- test/fixtures/example_application/Rakefile
559
- test/fixtures/example_application/config/back.rb
560
- test/fixtures/example_application/config/back.ru
561
- test/fixtures/example_application/config/back.yml
562
- test/fixtures/example_application/config/boot.rb
563
- test/fixtures/example_application/config/database.yml
564
- test/fixtures/example_application/config/environment.rb
565
- test/fixtures/example_application/config/environments/development.rb
566
- test/fixtures/example_application/config/environments/production.rb
567
- test/fixtures/example_application/config/environments/staging.rb
568
- test/fixtures/example_application/config/front.rb
569
- test/fixtures/example_application/config/front.ru
570
- test/fixtures/example_application/config/front.yml
571
- test/fixtures/example_application/config/schema.yml
572
- test/fixtures/example_application/config/unicorn.rb
573
- test/fixtures/example_application/config/user_levels.yml
574
- test/fixtures/example_application/lib/content.rb
575
- test/fixtures/example_application/public/css/test.css
576
- test/fixtures/example_application/public/favicon.ico
577
- test/fixtures/example_application/public/js/test.js
578
- test/fixtures/example_application/public/test.html
579
- test/fixtures/example_application/schema/client_project.rb
580
- test/fixtures/example_application/schema/client_projects.rb
581
- test/fixtures/example_application/schema/home_page.rb
582
- test/fixtures/example_application/schema/info_page.rb
583
- test/fixtures/example_application/schema/inline_image.rb
584
- test/fixtures/example_application/schema/page.rb
585
- test/fixtures/example_application/schema/piece.rb
586
- test/fixtures/example_application/schema/project.rb
587
- test/fixtures/example_application/schema/project_image.rb
588
- test/fixtures/example_application/schema/projects_page.rb
589
- test/fixtures/example_application/schema/text.rb
590
- test/fixtures/example_application/templates/client_project.html.cut
591
- test/fixtures/example_application/templates/client_project/images.html.cut
592
- test/fixtures/example_application/templates/client_projects.html.cut
593
- test/fixtures/example_application/templates/info_page/inline.html.cut
594
- test/fixtures/example_application/templates/inline_image.html.cut
595
- test/fixtures/example_application/templates/layouts/home.html.cut
596
- test/fixtures/example_application/templates/layouts/info.html.cut
597
- test/fixtures/example_application/templates/layouts/project.html.cut
598
- test/fixtures/example_application/templates/layouts/projects.html.cut
599
- test/fixtures/example_application/templates/layouts/standard.html.cut
600
- test/fixtures/example_application/templates/project.html.cut
601
- test/fixtures/example_application/templates/project/inline.html.cut
602
- test/fixtures/example_application/templates/project_image.html.cut
603
- test/fixtures/example_application/templates/text.html.cut
604
- test/fixtures/fields/youtube_api_response.xml
605
- test/fixtures/helpers/templates/layouts/standard.html.cut
606
- test/fixtures/helpers/templates/layouts/standard.mobile.cut
607
- test/fixtures/images/rose.greyscale.jpg
608
- test/fixtures/images/rose.jpg
609
- test/fixtures/images/size.gif
610
- test/fixtures/images/size.jpg
611
- test/fixtures/images/size.png24
612
- test/fixtures/images/size.png8
613
- test/fixtures/images/vimlogo.pdf
614
- test/fixtures/layouts/layouts/custom1.html.cut
615
- test/fixtures/layouts/layouts/custom1.pdf.cut
616
- test/fixtures/layouts/layouts/custom1.xml.cut
617
- test/fixtures/layouts/layouts/custom2.html.cut
618
- test/fixtures/layouts/layouts/custom3.html.cut
619
- test/fixtures/layouts/layouts/custom4.html.cut
620
- test/fixtures/layouts/layouts/standard.html.cut
621
- test/fixtures/media/101/003/rose.jpg
622
- test/fixtures/outputs/templates/layouts/standard.atom.cut
623
- test/fixtures/permissions/config/user_levels.yml
624
- test/fixtures/permissions/media/image.jpg
625
- test/fixtures/plugins/schema_plugin/init.rb
626
- test/fixtures/plugins/schema_plugin/public/css/plugin.css
627
- test/fixtures/plugins/schema_plugin/public/js/plugin.js
628
- test/fixtures/plugins/schema_plugin/public/static.html
629
- test/fixtures/plugins/schema_plugin/public/subdir/image.gif
630
- test/fixtures/plugins/schema_plugin/public/subdir/include1.scss
631
- test/fixtures/plugins/schema_plugin/public/subdir/sass.scss
632
- test/fixtures/plugins/schema_plugin/public/subdir/sass/include2.scss
633
- test/fixtures/plugins/schema_plugin/schema/external.rb
634
- test/fixtures/plugins/schema_plugin/templates/external.html.cut
635
- test/fixtures/plugins/schema_plugin/templates/from_plugin.html.cut
636
- test/fixtures/plugins/schema_plugin/templates/layouts/from_plugin.html.cut
637
- test/fixtures/public/templates/layouts/default.html.cut
638
- test/fixtures/public/templates/layouts/default.pdf.cut
639
- test/fixtures/public/templates/layouts/default.rss.cut
640
- test/fixtures/public/templates/layouts/dynamic.html.cut
641
- test/fixtures/public/templates/layouts/standard.html.cut
642
- test/fixtures/schema/before.yml
643
- test/fixtures/schema/resolvable.yml
644
- test/fixtures/schema/schema.yml
645
- test/fixtures/schema_modification/config/database.yml
646
- test/fixtures/schema_modification/config/environment.rb
647
- test/fixtures/schema_modification/schema/box.rb
648
- test/fixtures/schema_modification/schema/custom_box.rb
649
- test/fixtures/schema_modification/schema/page.rb
650
- test/fixtures/schema_modification/schema/piece.rb
651
- test/fixtures/search/config/database.yml
652
- test/fixtures/search/config/indexes.rb
653
- test/fixtures/serialisation/class_hash.yaml.erb
654
- test/fixtures/serialisation/root_hash.yaml.erb
655
- test/fixtures/sharding/rose.jpg
656
- test/fixtures/sharding/xaa
657
- test/fixtures/sharding/xab
658
- test/fixtures/sharding/xac
659
- test/fixtures/sharding/xad
660
- test/fixtures/sharding/xae
661
- test/fixtures/sharding/xaf
662
- test/fixtures/sharding/xag
663
- test/fixtures/storage/cloud/environment.rb
664
- test/fixtures/storage/default/environment.rb
665
- test/fixtures/styles/box_a.html.cut
666
- test/fixtures/styles/box_a/runny.html.cut
667
- test/fixtures/styles/named2.html.cut
668
- test/fixtures/styles/orange/apple.html.cut
669
- test/fixtures/styles/template_class.epub.cut
670
- test/fixtures/styles/template_class.html.cut
671
- test/fixtures/styles/template_class.pdf.cut
672
- test/fixtures/styles/template_class/named1.html.cut
673
- test/fixtures/styles/template_class/results.html.cut
674
- test/fixtures/styles/template_class/walky.html.cut
675
- test/fixtures/styles/template_sub_class1.html.cut
676
- test/fixtures/templates/aliases/a/a_style.html.cut
677
- test/fixtures/templates/aliases/a/page.html.cut
678
- test/fixtures/templates/aliases/a_alias/a_alias_style.html.cut
679
- test/fixtures/templates/aliases/layouts/b.html.cut
680
- test/fixtures/templates/aliases/layouts/b_alias.html.cut
681
- test/fixtures/templates/aliases/layouts/c_alias.html.cut
682
- test/fixtures/templates/boxes/blank_content/things.html.cut
683
- test/fixtures/templates/boxes/my_box_class/christy.html.cut
684
- test/fixtures/templates/boxes/thangs.html.cut
685
- test/fixtures/templates/boxes/with_template_box.html.cut
686
- test/fixtures/templates/content/include.html.cut
687
- test/fixtures/templates/content/include_dir.html.cut
688
- test/fixtures/templates/content/included.epub.cut
689
- test/fixtures/templates/content/included.html.cut
690
- test/fixtures/templates/content/partial/included.html.cut
691
- test/fixtures/templates/content/preprocess.html.cut
692
- test/fixtures/templates/content/second.html.cut
693
- test/fixtures/templates/content/template.epub.cut
694
- test/fixtures/templates/content/template.html.cut
695
- test/fixtures/templates/default_style_class.html.cut
696
- test/fixtures/templates/direct.html.cut
697
- test/fixtures/templates/engine/braces.html.cut
698
- test/fixtures/templates/engine/multiline.html.cut
699
- test/fixtures/templates/extended/grandparent.html.cut
700
- test/fixtures/templates/extended/main.html.cut
701
- test/fixtures/templates/extended/parent.html.cut
702
- test/fixtures/templates/extended/partial.html.cut
703
- test/fixtures/templates/extended/partial_with_locals.html.cut
704
- test/fixtures/templates/extended/with_includes.html.cut
705
- test/fixtures/templates/extended/with_includes_and_locals.html.cut
706
- test/fixtures/templates/layouts/entries.html.cut
707
- test/fixtures/templates/layouts/page_style.html.cut
708
- test/fixtures/templates/layouts/params.html.cut
709
- test/fixtures/templates/layouts/preview_render.html.cut
710
- test/fixtures/templates/layouts/standard.html.cut
711
- test/fixtures/templates/layouts/standard_page.html.cut
712
- test/fixtures/templates/layouts/subdir_style.html.cut
713
- test/fixtures/templates/layouts/template_params.html.cut
714
- test/fixtures/templates/layouts/variables.html.cut
715
- test/fixtures/templates/page_class/inline_style.html.cut
716
- test/fixtures/templates/preview_render/inline.html.cut
717
- test/fixtures/templates/preview_render/variables.html.cut
718
- test/fixtures/templates/publishing/templates/layouts/dynamic.html.cut
719
- test/fixtures/templates/publishing/templates/layouts/dynamic.rtf.cut
720
- test/fixtures/templates/publishing/templates/layouts/static.html.cut
721
- test/fixtures/templates/publishing/templates/layouts/static.rtf.cut
722
- test/fixtures/templates/template_class/anonymous_style.html.cut
723
- test/fixtures/templates/template_class/another_template.html.cut
724
- test/fixtures/templates/template_class/complex_template.html.cut
725
- test/fixtures/templates/template_class/complex_template.pdf.cut
726
- test/fixtures/templates/template_class/default_template_style.html.cut
727
- test/fixtures/templates/template_class/images_with_template.html.cut
728
- test/fixtures/templates/template_class/slots_template.html.cut
729
- test/fixtures/templates/template_class/slots_template.pdf.cut
730
- test/fixtures/templates/template_class/this_template.epub.cut
731
- test/fixtures/templates/template_class/this_template.html.cut
732
- test/fixtures/templates/template_class/this_template.pdf.cut
733
- test/fixtures/templates/with_default_style_class.html.cut
734
- test/fixtures/user_manager/config/user_levels.yml
735
- test/functional/test_application.rb
736
- test/functional/test_back.rb
737
- test/functional/test_front.rb
738
- test/functional/test_user_manager.rb
739
- test/integration/test_installation.rb
740
- test/javascript/env.js
741
- test/javascript/test_dom.rb
742
- test/javascript/test_markdown.rb
743
- test/support/custom_matchers.rb
744
- test/support/timing.rb
745
- test/test_helper.rb
746
- test/test_integration_helper.rb
747
- test/test_javascript.rb
748
- test/ui/test_page_editing.rb
749
- test/ui_helper.rb
750
- test/unit/test_alias.rb
751
- test/unit/test_asset_bundler.rb
752
- test/unit/test_assets.rb
753
- test/unit/test_async.rb
754
- test/unit/test_authentication.rb
755
- test/unit/test_boxes.rb
756
- test/unit/test_changesets.rb
757
- test/unit/test_config.rb
758
- test/unit/test_content.rb
759
- test/unit/test_content_inheritance.rb
760
- test/unit/test_datamapper.rb
761
- test/unit/test_datamapper_content.rb
762
- test/unit/test_extensions.rb
763
- test/unit/test_fields.rb
764
- test/unit/test_formats.rb
765
- test/unit/test_generators.rb
766
- test/unit/test_helpers.rb
767
- test/unit/test_image_size.rb
768
- test/unit/test_images.rb
769
- test/unit/test_layouts.rb
770
- test/unit/test_logger.rb
771
- test/unit/test_media.rb
772
- test/unit/test_modifications.rb
773
- test/unit/test_page.rb
774
- test/unit/test_permissions.rb
775
- test/unit/test_piece.rb
776
- test/unit/test_plugins.rb
777
- test/unit/test_prototype_set.rb
778
- test/unit/test_prototypes.rb
779
- test/unit/test_publishing.rb
780
- test/unit/test_render.rb
781
- test/unit/test_revisions.rb
782
- test/unit/test_schema.rb
783
- test/unit/test_search.rb
784
- test/unit/test_serialisation.rb
785
- test/unit/test_site.rb
786
- test/unit/test_storage.rb
787
- test/unit/test_structure.rb
788
- test/unit/test_styles.rb
789
- test/unit/test_templates.rb
790
- test/unit/test_type_hierarchy.rb
791
- test/unit/test_visibility.rb
792
- ]
793
- # = MANIFEST =
794
-
795
- s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
23
+ s.rdoc_options = ['--charset=UTF-8']
24
+ s.extra_rdoc_files = %w[LICENSE]
25
+
26
+ # s.signing_key = '/Volumes/Keys/rubygems-garry-magnetised-net-private_key.pem'
27
+ # s.cert_chain = ['gem-public_cert.pem']
28
+
29
+ s.add_dependency('activesupport', ['~> 4.0.0'])
30
+ s.add_dependency('coffee-script', ['~> 2.2.0'])
31
+ s.add_dependency('bcrypt-ruby', ['~> 3.0.1'])
32
+ s.add_dependency('bundler', ['> 1.0.15'])
33
+ s.add_dependency('cutaneous', ['~> 0.1.6'])
34
+ s.add_dependency('erubis', ['~> 2.6'])
35
+ s.add_dependency('fog', ['~> 1.6.0'])
36
+ s.add_dependency('foreman', ['~> 0.60.2'])
37
+ s.add_dependency('kramdown', ['~> 0.14.0'])
38
+ s.add_dependency('launchy', ['~> 2.1.2'])
39
+ s.add_dependency('mini_magick', ['~> 3.3'])
40
+ s.add_dependency('nokogiri', ['~> 1.5.0'])
41
+ s.add_dependency('posix-spawn', ['~> 0.3.6'])
42
+ s.add_dependency('public_suffix', ['~> 1.0'])
43
+ s.add_dependency('rack', ['~> 1.5.0'])
44
+ s.add_dependency('rake', ['~> 0.9.2'])
45
+ s.add_dependency('sass', ['~> 3.2.10'])
46
+ s.add_dependency('sequel', ['~> 3.43.0'])
47
+ s.add_dependency('simultaneous', ['~> 0.4.2'])
48
+ s.add_dependency('sinatra', ['~> 1.3.4'])
49
+ s.add_dependency('skeptick', ['~> 0.1.0'])
50
+ s.add_dependency('sprockets', ['~> 2.9.0'])
51
+ s.add_dependency('stringex', ['= 1.3'])
52
+ s.add_dependency('thin', ['~> 1.2'])
53
+ s.add_dependency('thor', ['~> 0.16.0'])
54
+ s.add_dependency('uglifier', ['~> 1.3.0'])
55
+ s.add_dependency('xapian-fu', ['~> 1.5'])
56
+ s.add_dependency('yajl-ruby', ['~> 1.1.0'])
57
+
58
+ s.add_development_dependency('minitest', ['~> 4.6.0'])
59
+ s.add_development_dependency('minitest-colorize', ['~> 0.0.5'])
60
+ s.add_development_dependency('mocha', ['~> 0.13.2'])
61
+ s.add_development_dependency('rack-test', ['~> 0.5'])
796
62
  end