lalala 4.0.0.dev.94 → 4.0.0.dev.107

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/lalala/modules/grid.module.js +146 -13
  3. data/app/assets/stylesheets/lalala/base/_variables.css.scss +1 -0
  4. data/app/assets/stylesheets/lalala/components/_buttons.css.scss +3 -3
  5. data/app/assets/stylesheets/lalala/components/_forms.css.scss +27 -2
  6. data/app/assets/stylesheets/lalala/lib/_jquery-ui.css.scss +14 -629
  7. data/app/assets/stylesheets/lalala/modules/_footer.css.scss +1 -0
  8. data/app/assets/stylesheets/lalala/modules/_grid.css.scss +96 -1
  9. data/app/models/lalala/abstract_asset.rb +20 -0
  10. data/app/models/lalala/file_asset.rb +3 -0
  11. data/app/models/lalala/image_asset.rb +3 -0
  12. data/lalala-assets.gemspec +1 -1
  13. data/lib/formtastic/inputs/grid_input.rb +29 -4
  14. data/lib/formtastic/inputs/single_file_input.rb +34 -0
  15. data/lib/generators/lalala/install/install_generator.rb +12 -0
  16. data/lib/generators/lalala/install/templates/migrations/4_create_assets.rb +23 -0
  17. data/lib/generators/lalala/install/templates/models/file_asset.rb +2 -0
  18. data/lib/generators/lalala/install/templates/models/image_asset.rb +2 -0
  19. data/lib/generators/lalala/install/templates/uploaders/file_uploader.rb +2 -0
  20. data/lib/generators/lalala/install/templates/uploaders/image_uploader.rb +11 -0
  21. data/lib/lalala/engine.rb +7 -0
  22. data/lib/lalala/ext_active_record/assets.rb +25 -0
  23. data/lib/lalala/ext_active_record.rb +1 -0
  24. data/lib/lalala/ext_rack/multiple_file_upload_support.rb +46 -0
  25. data/lib/lalala/ext_rack.rb +1 -0
  26. data/lib/lalala/uploaders/file.rb +19 -0
  27. data/lib/lalala/uploaders/image.rb +5 -17
  28. data/lib/lalala/uploaders.rb +1 -0
  29. data/lib/lalala/utils/{intall_template.rb → install_template.rb} +0 -0
  30. data/lib/lalala/version.rb +1 -1
  31. data/lib/lalala.rb +1 -0
  32. data/lib/tasks/lalala_tasks.rake +12 -4
  33. data/test/dummy/app/uploaders/file_uploader.rb +2 -0
  34. data/test/dummy/app/uploaders/image_uploader.rb +2 -0
  35. metadata +19 -22
  36. data/app/assets/images/.DS_Store +0 -0
  37. data/app/assets/images/lalala/jquery-ui/animated-overlay.gif +0 -0
  38. data/app/assets/images/lalala/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  39. data/app/assets/images/lalala/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  40. data/app/assets/images/lalala/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  41. data/app/assets/images/lalala/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  42. data/app/assets/images/lalala/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  43. data/app/assets/images/lalala/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  44. data/app/assets/images/lalala/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  45. data/app/assets/images/lalala/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  46. data/app/assets/images/lalala/jquery-ui/ui-icons_222222_256x240.png +0 -0
  47. data/app/assets/images/lalala/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
  48. data/app/assets/images/lalala/jquery-ui/ui-icons_454545_256x240.png +0 -0
  49. data/app/assets/images/lalala/jquery-ui/ui-icons_888888_256x240.png +0 -0
  50. data/app/assets/images/lalala/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
  51. data/app/assets/images/lalala/users/.DS_Store +0 -0
  52. data/app/assets/javascripts/.DS_Store +0 -0
  53. data/app/assets/stylesheets/.DS_Store +0 -0
  54. data/app/assets/stylesheets/lalala/lib/.DS_Store +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lalala
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev.94
4
+ version: 4.0.0.dev.107
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-04-22 00:00:00.000000000 Z
16
+ date: 2013-04-23 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: carrierwave
@@ -337,7 +337,6 @@ files:
337
337
  - LICENSE.txt
338
338
  - README.md
339
339
  - Rakefile
340
- - app/assets/images/.DS_Store
341
340
  - app/assets/images/lalala/chosen/chosen-sprite.png
342
341
  - app/assets/images/lalala/icons/accept.png
343
342
  - app/assets/images/lalala/icons/add.png
@@ -1351,23 +1350,7 @@ files:
1351
1350
  - app/assets/images/lalala/icons/zoom.png
1352
1351
  - app/assets/images/lalala/icons/zoom_in.png
1353
1352
  - app/assets/images/lalala/icons/zoom_out.png
1354
- - app/assets/images/lalala/jquery-ui/animated-overlay.gif
1355
- - app/assets/images/lalala/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png
1356
- - app/assets/images/lalala/jquery-ui/ui-bg_flat_75_ffffff_40x100.png
1357
- - app/assets/images/lalala/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png
1358
- - app/assets/images/lalala/jquery-ui/ui-bg_glass_65_ffffff_1x400.png
1359
- - app/assets/images/lalala/jquery-ui/ui-bg_glass_75_dadada_1x400.png
1360
- - app/assets/images/lalala/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png
1361
- - app/assets/images/lalala/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png
1362
- - app/assets/images/lalala/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png
1363
- - app/assets/images/lalala/jquery-ui/ui-icons_222222_256x240.png
1364
- - app/assets/images/lalala/jquery-ui/ui-icons_2e83ff_256x240.png
1365
- - app/assets/images/lalala/jquery-ui/ui-icons_454545_256x240.png
1366
- - app/assets/images/lalala/jquery-ui/ui-icons_888888_256x240.png
1367
- - app/assets/images/lalala/jquery-ui/ui-icons_cd0a0a_256x240.png
1368
- - app/assets/images/lalala/users/.DS_Store
1369
1353
  - app/assets/images/lalala/users/default.jpg
1370
- - app/assets/javascripts/.DS_Store
1371
1354
  - app/assets/javascripts/browser/console.module.js
1372
1355
  - app/assets/javascripts/browser/document.module.js
1373
1356
  - app/assets/javascripts/browser/history.module.js
@@ -1387,7 +1370,6 @@ files:
1387
1370
  - app/assets/javascripts/lalala/modules/init.module.js
1388
1371
  - app/assets/javascripts/lalala/modules/locale_chooser.module.js
1389
1372
  - app/assets/javascripts/lalala/modules/storage.module.js
1390
- - app/assets/stylesheets/.DS_Store
1391
1373
  - app/assets/stylesheets/lalala/_base.css.scss
1392
1374
  - app/assets/stylesheets/lalala/base/_base.css.scss
1393
1375
  - app/assets/stylesheets/lalala/base/_layout.css.scss
@@ -1398,7 +1380,6 @@ files:
1398
1380
  - app/assets/stylesheets/lalala/components/_icons.css.scss
1399
1381
  - app/assets/stylesheets/lalala/components/_tables.css.scss
1400
1382
  - app/assets/stylesheets/lalala/editor-preview.css.scss
1401
- - app/assets/stylesheets/lalala/lib/.DS_Store
1402
1383
  - app/assets/stylesheets/lalala/lib/_chosen.css.scss
1403
1384
  - app/assets/stylesheets/lalala/lib/_jquery-ui.css.scss
1404
1385
  - app/assets/stylesheets/lalala/lib/_pikaday.css
@@ -1423,6 +1404,9 @@ files:
1423
1404
  - app/controllers/lalala/markdown_controller.rb
1424
1405
  - app/controllers/lalala/public/errors_controller.rb
1425
1406
  - app/controllers/lalala/public/pages_controller.rb
1407
+ - app/models/lalala/abstract_asset.rb
1408
+ - app/models/lalala/file_asset.rb
1409
+ - app/models/lalala/image_asset.rb
1426
1410
  - app/models/lalala/page.rb
1427
1411
  - app/views/lalala/markdown/cheatsheet.html.erb
1428
1412
  - app/views/lalala/markdown/preview.html.erb
@@ -1439,6 +1423,7 @@ files:
1439
1423
  - lalala-test.gemspec
1440
1424
  - lalala.gemspec
1441
1425
  - lib/formtastic/inputs/grid_input.rb
1426
+ - lib/formtastic/inputs/single_file_input.rb
1442
1427
  - lib/generators/lalala/assets/assets_generator.rb
1443
1428
  - lib/generators/lalala/assets/templates/active_admin.css.scss
1444
1429
  - lib/generators/lalala/assets/templates/active_admin.js
@@ -1453,8 +1438,13 @@ files:
1453
1438
  - lib/generators/lalala/install/templates/migrations/1_create_admin_notes.rb
1454
1439
  - lib/generators/lalala/install/templates/migrations/2_move_admin_notes_to_comments.rb
1455
1440
  - lib/generators/lalala/install/templates/migrations/3_create_pages.rb
1441
+ - lib/generators/lalala/install/templates/migrations/4_create_assets.rb
1442
+ - lib/generators/lalala/install/templates/models/file_asset.rb
1443
+ - lib/generators/lalala/install/templates/models/image_asset.rb
1456
1444
  - lib/generators/lalala/install/templates/pages_controller.rb
1457
1445
  - lib/generators/lalala/install/templates/routes.rb.erb
1446
+ - lib/generators/lalala/install/templates/uploaders/file_uploader.rb
1447
+ - lib/generators/lalala/install/templates/uploaders/image_uploader.rb
1458
1448
  - lib/generators/lalala/page/page_generator.rb
1459
1449
  - lib/generators/lalala/page/templates/page.rb
1460
1450
  - lib/generators/lalala/resource/USAGE
@@ -1466,6 +1456,7 @@ files:
1466
1456
  - lib/lalala/development.rb
1467
1457
  - lib/lalala/engine.rb
1468
1458
  - lib/lalala/ext_active_record.rb
1459
+ - lib/lalala/ext_active_record/assets.rb
1469
1460
  - lib/lalala/ext_active_record/i18n_translations_writer.rb
1470
1461
  - lib/lalala/ext_active_record/schema.rb
1471
1462
  - lib/lalala/ext_active_record/schema/join_table.rb
@@ -1479,6 +1470,7 @@ files:
1479
1470
  - lib/lalala/ext_rack.rb
1480
1471
  - lib/lalala/ext_rack/canonical_url.rb
1481
1472
  - lib/lalala/ext_rack/i18n_negotiator.rb
1473
+ - lib/lalala/ext_rack/multiple_file_upload_support.rb
1482
1474
  - lib/lalala/ext_rack/page_loader.rb
1483
1475
  - lib/lalala/ext_with_advisory_lock.rb
1484
1476
  - lib/lalala/ext_with_advisory_lock/flock.rb
@@ -1498,8 +1490,9 @@ files:
1498
1490
  - lib/lalala/pages/route_mapper.rb
1499
1491
  - lib/lalala/test.rb
1500
1492
  - lib/lalala/uploaders.rb
1493
+ - lib/lalala/uploaders/file.rb
1501
1494
  - lib/lalala/uploaders/image.rb
1502
- - lib/lalala/utils/intall_template.rb
1495
+ - lib/lalala/utils/install_template.rb
1503
1496
  - lib/lalala/vendor.rb
1504
1497
  - lib/lalala/version.rb
1505
1498
  - lib/lalala/views/index_as_tree_table.rb
@@ -1525,6 +1518,8 @@ files:
1525
1518
  - test/dummy/app/models/.gitkeep
1526
1519
  - test/dummy/app/models/admin_user.rb
1527
1520
  - test/dummy/app/pages/application_page.rb
1521
+ - test/dummy/app/uploaders/file_uploader.rb
1522
+ - test/dummy/app/uploaders/image_uploader.rb
1528
1523
  - test/dummy/app/views/layouts/application.html.erb
1529
1524
  - test/dummy/config.ru
1530
1525
  - test/dummy/config/application.rb
@@ -2120,6 +2115,8 @@ test_files:
2120
2115
  - test/dummy/app/models/.gitkeep
2121
2116
  - test/dummy/app/models/admin_user.rb
2122
2117
  - test/dummy/app/pages/application_page.rb
2118
+ - test/dummy/app/uploaders/file_uploader.rb
2119
+ - test/dummy/app/uploaders/image_uploader.rb
2123
2120
  - test/dummy/app/views/layouts/application.html.erb
2124
2121
  - test/dummy/config.ru
2125
2122
  - test/dummy/config/application.rb
Binary file
Binary file
Binary file