ems 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/app/assets/stylesheets/ems/active_admin/components/_asset_store.scss +5 -1
  2. data/app/models/ems/asset.rb +1 -1
  3. data/app/views/ems/articles/_form.html.haml +1 -1
  4. data/app/views/ems/globals/_lead_image.html.haml +2 -0
  5. data/app/views/ems/news/_form.html.haml +1 -1
  6. data/app/views/ems/reports/_form.html.haml +1 -1
  7. data/config/initializers/bean_kramdown.rb +1 -0
  8. data/lib/ems/engine.rb +1 -1
  9. data/lib/ems/version.rb +1 -1
  10. data/lib/kramdown/bean_kramdown.rb +26 -0
  11. data/lib/kramdown/bean_kramdown/info_box.rb +52 -0
  12. data/lib/kramdown/bean_kramdown/oembed.rb +230 -0
  13. data/lib/kramdown/converter/bean_html.rb +71 -0
  14. data/lib/kramdown/parser/bean_kramdown/info_box.rb +52 -0
  15. data/lib/kramdown/parser/bean_kramdown/oembed.rb +230 -0
  16. data/test/dummy/log/development.log +1706 -0
  17. data/test/dummy/public/system/ems/articles/images/000/000/012/image228x126/nandos.png +0 -0
  18. data/test/dummy/public/system/ems/articles/images/000/000/012/image312x126/nandos.png +0 -0
  19. data/test/dummy/public/system/ems/articles/images/000/000/012/image312x189/nandos.png +0 -0
  20. data/test/dummy/public/system/ems/articles/images/000/000/012/image564x252/nandos.png +0 -0
  21. data/test/dummy/public/system/ems/articles/images/000/000/012/original/nandos.png +0 -0
  22. data/test/dummy/public/system/ems/assets/assets/000/000/001/original/CATs.jpeg +0 -0
  23. data/test/dummy/public/system/ems/assets/assets/000/000/002/original/test.pdf +0 -0
  24. data/test/dummy/tmp/cache/assets/C40/AE0/sprockets%2Ff6a5272156a29d410b210e23096595a4 +0 -0
  25. data/test/dummy/tmp/cache/assets/C93/990/sprockets%2F5a674ff04789264c4d9d30662c784b83 +0 -0
  26. metadata +43 -5
  27. data/config/environments/production.rb +0 -10
  28. data/test/dummy/tmp/pids/server.pid +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ems
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-22 00:00:00.000000000 Z
12
+ date: 2012-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -251,6 +251,22 @@ dependencies:
251
251
  - - ! '>='
252
252
  - !ruby/object:Gem::Version
253
253
  version: '0'
254
+ - !ruby/object:Gem::Dependency
255
+ name: kramdown
256
+ requirement: !ruby/object:Gem::Requirement
257
+ none: false
258
+ requirements:
259
+ - - ! '>='
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
262
+ type: :runtime
263
+ prerelease: false
264
+ version_requirements: !ruby/object:Gem::Requirement
265
+ none: false
266
+ requirements:
267
+ - - ! '>='
268
+ - !ruby/object:Gem::Version
269
+ version: '0'
254
270
  description: Editorial Management system used within group projects
255
271
  email:
256
272
  - vincent@thebeansgroup.com
@@ -387,7 +403,7 @@ files:
387
403
  - app/views/layouts/ems/application.html.haml
388
404
  - config/ems_navigation.rb
389
405
  - config/environment.rb
390
- - config/environments/production.rb
406
+ - config/initializers/bean_kramdown.rb
391
407
  - config/initializers/devise.rb
392
408
  - config/initializers/haml_template.rb
393
409
  - config/initializers/simple_form.rb
@@ -421,6 +437,12 @@ files:
421
437
  - lib/ems/engine.rb
422
438
  - lib/ems/version.rb
423
439
  - lib/ems.rb
440
+ - lib/kramdown/bean_kramdown/info_box.rb
441
+ - lib/kramdown/bean_kramdown/oembed.rb
442
+ - lib/kramdown/bean_kramdown.rb
443
+ - lib/kramdown/converter/bean_html.rb
444
+ - lib/kramdown/parser/bean_kramdown/info_box.rb
445
+ - lib/kramdown/parser/bean_kramdown/oembed.rb
424
446
  - lib/query_builder/channel_query_builder.rb
425
447
  - lib/query_builder/tag_query_builder.rb
426
448
  - lib/tasks/ems_tasks.rake
@@ -487,7 +509,14 @@ files:
487
509
  - test/dummy/public/system/ems/articles/images/000/000/011/s3_credentials/Ready_to_believe.jpg
488
510
  - test/dummy/public/system/ems/articles/images/000/000/011/s3_host_alias/Ready_to_believe.jpg
489
511
  - test/dummy/public/system/ems/articles/images/000/000/011/url/Ready_to_believe.jpg
512
+ - test/dummy/public/system/ems/articles/images/000/000/012/image228x126/nandos.png
513
+ - test/dummy/public/system/ems/articles/images/000/000/012/image312x126/nandos.png
514
+ - test/dummy/public/system/ems/articles/images/000/000/012/image312x189/nandos.png
515
+ - test/dummy/public/system/ems/articles/images/000/000/012/image564x252/nandos.png
516
+ - test/dummy/public/system/ems/articles/images/000/000/012/original/nandos.png
517
+ - test/dummy/public/system/ems/assets/assets/000/000/001/original/CATs.jpeg
490
518
  - test/dummy/public/system/ems/assets/assets/000/000/002/original/CATs.jpeg
519
+ - test/dummy/public/system/ems/assets/assets/000/000/002/original/test.pdf
491
520
  - test/dummy/public/system/ems/assets/assets/000/000/003/original/326885main_mirror_test_hi.jpeg
492
521
  - test/dummy/public/system/ems/images/images/000/000/003/original/jake-humphrey-how-to-get-into-tv-and-much-more2639.jpeg
493
522
  - test/dummy/public/system/ems/images/images/000/000/004/original/326885main_mirror_test_hi.jpeg
@@ -582,6 +611,7 @@ files:
582
611
  - test/dummy/tmp/cache/assets/C23/220/sprockets%2F98d6a2423cc220f13370995014559e86
583
612
  - test/dummy/tmp/cache/assets/C30/4C0/sprockets%2F24c1080437cf388980a6223855489fd8
584
613
  - test/dummy/tmp/cache/assets/C33/5B0/sprockets%2F03691989462275a209f992c0478b7fb3
614
+ - test/dummy/tmp/cache/assets/C40/AE0/sprockets%2Ff6a5272156a29d410b210e23096595a4
585
615
  - test/dummy/tmp/cache/assets/C42/CC0/sprockets%2Fc12111637956648d5b014f3f05513c2e
586
616
  - test/dummy/tmp/cache/assets/C50/C20/sprockets%2Fa19280241024f7e66e69a06446649db2
587
617
  - test/dummy/tmp/cache/assets/C52/A30/sprockets%2F99820138778ef1378911f7a403a02a0f
@@ -614,6 +644,7 @@ files:
614
644
  - test/dummy/tmp/cache/assets/C8E/A00/sprockets%2F7813d02067f610d57868ed76169b3fe3
615
645
  - test/dummy/tmp/cache/assets/C90/990/sprockets%2F348b9515f363b29a87f283576b0d9f33
616
646
  - test/dummy/tmp/cache/assets/C93/880/sprockets%2Fd2d8c646b488a24764975d107f09c728
647
+ - test/dummy/tmp/cache/assets/C93/990/sprockets%2F5a674ff04789264c4d9d30662c784b83
617
648
  - test/dummy/tmp/cache/assets/C99/080/sprockets%2F33c8998871ed5100b688861762d85ccf
618
649
  - test/dummy/tmp/cache/assets/C9B/4E0/sprockets%2Ff1357c3f6a99e24347b939298471fc84
619
650
  - test/dummy/tmp/cache/assets/C9D/110/sprockets%2F6f45b3576e5f93656c073784f78d31e6
@@ -1085,7 +1116,6 @@ files:
1085
1116
  - test/dummy/tmp/cache/sass/e78adca29a957b0861544376f6710ec608000fc6/_typography.scssc
1086
1117
  - test/dummy/tmp/cache/sass/e78adca29a957b0861544376f6710ec608000fc6/_utilities.scssc
1087
1118
  - test/dummy/tmp/cache/sass/e78adca29a957b0861544376f6710ec608000fc6/_variables.css.scssc
1088
- - test/dummy/tmp/pids/server.pid
1089
1119
  - test/ems_test.rb
1090
1120
  - test/fixtures/ems/articles.yml
1091
1121
  - test/fixtures/ems/articles_channels.yml
@@ -1212,7 +1242,14 @@ test_files:
1212
1242
  - test/dummy/public/system/ems/articles/images/000/000/011/s3_credentials/Ready_to_believe.jpg
1213
1243
  - test/dummy/public/system/ems/articles/images/000/000/011/s3_host_alias/Ready_to_believe.jpg
1214
1244
  - test/dummy/public/system/ems/articles/images/000/000/011/url/Ready_to_believe.jpg
1245
+ - test/dummy/public/system/ems/articles/images/000/000/012/image228x126/nandos.png
1246
+ - test/dummy/public/system/ems/articles/images/000/000/012/image312x126/nandos.png
1247
+ - test/dummy/public/system/ems/articles/images/000/000/012/image312x189/nandos.png
1248
+ - test/dummy/public/system/ems/articles/images/000/000/012/image564x252/nandos.png
1249
+ - test/dummy/public/system/ems/articles/images/000/000/012/original/nandos.png
1250
+ - test/dummy/public/system/ems/assets/assets/000/000/001/original/CATs.jpeg
1215
1251
  - test/dummy/public/system/ems/assets/assets/000/000/002/original/CATs.jpeg
1252
+ - test/dummy/public/system/ems/assets/assets/000/000/002/original/test.pdf
1216
1253
  - test/dummy/public/system/ems/assets/assets/000/000/003/original/326885main_mirror_test_hi.jpeg
1217
1254
  - test/dummy/public/system/ems/images/images/000/000/003/original/jake-humphrey-how-to-get-into-tv-and-much-more2639.jpeg
1218
1255
  - test/dummy/public/system/ems/images/images/000/000/004/original/326885main_mirror_test_hi.jpeg
@@ -1307,6 +1344,7 @@ test_files:
1307
1344
  - test/dummy/tmp/cache/assets/C23/220/sprockets%2F98d6a2423cc220f13370995014559e86
1308
1345
  - test/dummy/tmp/cache/assets/C30/4C0/sprockets%2F24c1080437cf388980a6223855489fd8
1309
1346
  - test/dummy/tmp/cache/assets/C33/5B0/sprockets%2F03691989462275a209f992c0478b7fb3
1347
+ - test/dummy/tmp/cache/assets/C40/AE0/sprockets%2Ff6a5272156a29d410b210e23096595a4
1310
1348
  - test/dummy/tmp/cache/assets/C42/CC0/sprockets%2Fc12111637956648d5b014f3f05513c2e
1311
1349
  - test/dummy/tmp/cache/assets/C50/C20/sprockets%2Fa19280241024f7e66e69a06446649db2
1312
1350
  - test/dummy/tmp/cache/assets/C52/A30/sprockets%2F99820138778ef1378911f7a403a02a0f
@@ -1339,6 +1377,7 @@ test_files:
1339
1377
  - test/dummy/tmp/cache/assets/C8E/A00/sprockets%2F7813d02067f610d57868ed76169b3fe3
1340
1378
  - test/dummy/tmp/cache/assets/C90/990/sprockets%2F348b9515f363b29a87f283576b0d9f33
1341
1379
  - test/dummy/tmp/cache/assets/C93/880/sprockets%2Fd2d8c646b488a24764975d107f09c728
1380
+ - test/dummy/tmp/cache/assets/C93/990/sprockets%2F5a674ff04789264c4d9d30662c784b83
1342
1381
  - test/dummy/tmp/cache/assets/C99/080/sprockets%2F33c8998871ed5100b688861762d85ccf
1343
1382
  - test/dummy/tmp/cache/assets/C9B/4E0/sprockets%2Ff1357c3f6a99e24347b939298471fc84
1344
1383
  - test/dummy/tmp/cache/assets/C9D/110/sprockets%2F6f45b3576e5f93656c073784f78d31e6
@@ -1810,7 +1849,6 @@ test_files:
1810
1849
  - test/dummy/tmp/cache/sass/e78adca29a957b0861544376f6710ec608000fc6/_typography.scssc
1811
1850
  - test/dummy/tmp/cache/sass/e78adca29a957b0861544376f6710ec608000fc6/_utilities.scssc
1812
1851
  - test/dummy/tmp/cache/sass/e78adca29a957b0861544376f6710ec608000fc6/_variables.css.scssc
1813
- - test/dummy/tmp/pids/server.pid
1814
1852
  - test/ems_test.rb
1815
1853
  - test/fixtures/ems/articles.yml
1816
1854
  - test/fixtures/ems/articles_channels.yml
@@ -1,10 +0,0 @@
1
- Paperclip::Attachment.default_options.merge!({
2
- :storage => :s3,
3
- :s3_credentials => {
4
- bucket: "thebeansgroup",
5
- access_key_id: "AKIAJHD2Y5VLUTL3R3XA",
6
- secret_access_key: "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",
7
- s3_host_name: "s3-eu-west-1.amazonaws.com",
8
- },
9
- :s3_host_alias => "tbg.beanscdn.co.uk",
10
- })
@@ -1 +0,0 @@
1
- 19488