hatchy 0.0.5.pre → 0.0.6.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +68 -0
  3. data/app/assets/javascripts/hatchy/admin.js +7 -0
  4. data/app/controllers/hatchy/admin/projects_controller.rb +58 -0
  5. data/app/controllers/hatchy/admin/users_controller.rb +47 -0
  6. data/app/controllers/hatchy/projects_controller.rb +1 -1
  7. data/app/controllers/hatchy/users_controller.rb +1 -1
  8. data/app/datatables/hatchy/contributions_datatable.rb +68 -0
  9. data/app/datatables/hatchy/projects_datatable.rb +71 -0
  10. data/app/datatables/hatchy/users_datatable.rb +70 -0
  11. data/app/models/concerns/hatchy/project_states.rb +4 -5
  12. data/app/models/hatchy/project.rb +1 -1
  13. data/app/views/hatchy/admin/projects/_about.html.haml +8 -0
  14. data/app/views/hatchy/admin/projects/_basic_info.html.haml +55 -0
  15. data/app/views/hatchy/admin/projects/_project_account.html.haml +34 -0
  16. data/app/views/hatchy/admin/projects/index.html.haml +25 -0
  17. data/app/views/hatchy/admin/projects/show.html.haml +22 -0
  18. data/app/views/hatchy/admin/users/_basic_info.html.haml +54 -0
  19. data/app/views/hatchy/admin/users/_contributions.html.haml +25 -0
  20. data/app/views/hatchy/admin/users/_projects.html.haml +31 -0
  21. data/app/views/hatchy/admin/users/index.html.haml +24 -0
  22. data/app/views/hatchy/admin/users/show.html.haml +20 -0
  23. data/lib/generators/hatchy/install_generator.rb +24 -0
  24. data/lib/generators/templates/hatchy.rb +4 -0
  25. data/lib/hatchy.rb +8 -0
  26. data/lib/hatchy/version.rb +1 -1
  27. data/lib/tasks/hatchy_tasks.rake +11 -1
  28. data/spec/controllers/hatchy/admin/projects_controller_spec.rb +7 -0
  29. data/spec/controllers/hatchy/admin/users_controller_spec.rb +7 -0
  30. data/spec/dummy/db/development.sqlite3 +0 -0
  31. data/spec/dummy/log/development.log +40926 -0
  32. data/spec/dummy/public/uploads/hatchy/project/project_img/2/Kickstarter-games.jpg +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/69d0e5fd934e4f651c4126e0e7c8994f +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/7cba22a2cfc1f0a02bf5fa3a0e4e5a27 +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/8e08251664adb259d48c3ff9019fb9cf +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/adf03687ee42f87002445c1096069d64 +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/bde5827fcb5ae18fd1ca1c57386417be +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/c37311498380e52a91dbfc2c96425eac +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/d11f4f73ecc91eb895ed1a2da31f13ba +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/d41f33e5d0faf16d0549d1a45aef4f06 +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/fb4485de1e413169e29fd17a5549b7d5 +0 -0
  42. metadata +52 -3
  43. data/lib/hatchy/setup_generator.rb +0 -10
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hatchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.pre
4
+ version: 0.0.6.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hugo Marquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-16 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -188,6 +188,20 @@ dependencies:
188
188
  - - ">="
189
189
  - !ruby/object:Gem::Version
190
190
  version: 0.16.3
191
+ - !ruby/object:Gem::Dependency
192
+ name: best_in_place
193
+ requirement: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: 3.1.0
198
+ type: :runtime
199
+ prerelease: false
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: 3.1.0
191
205
  - !ruby/object:Gem::Dependency
192
206
  name: sqlite3
193
207
  requirement: !ruby/object:Gem::Requirement
@@ -224,6 +238,7 @@ extensions: []
224
238
  extra_rdoc_files: []
225
239
  files:
226
240
  - MIT-LICENSE
241
+ - README.md
227
242
  - Rakefile
228
243
  - app/assets/javascripts/hatchy/admin.js
229
244
  - app/assets/javascripts/hatchy/admin/dashboard.js
@@ -338,6 +353,8 @@ files:
338
353
  - app/controllers/hatchy/admin/categories_controller.rb
339
354
  - app/controllers/hatchy/admin/countries_controller.rb
340
355
  - app/controllers/hatchy/admin/dashboard_controller.rb
356
+ - app/controllers/hatchy/admin/projects_controller.rb
357
+ - app/controllers/hatchy/admin/users_controller.rb
341
358
  - app/controllers/hatchy/announcements_controller.rb
342
359
  - app/controllers/hatchy/application_controller.rb
343
360
  - app/controllers/hatchy/dashboard_controller.rb
@@ -345,6 +362,9 @@ files:
345
362
  - app/controllers/hatchy/projects/contributions_controller.rb
346
363
  - app/controllers/hatchy/projects_controller.rb
347
364
  - app/controllers/hatchy/users_controller.rb
365
+ - app/datatables/hatchy/contributions_datatable.rb
366
+ - app/datatables/hatchy/projects_datatable.rb
367
+ - app/datatables/hatchy/users_datatable.rb
348
368
  - app/helpers/hatchy/application_helper.rb
349
369
  - app/helpers/hatchy/form_helper.rb
350
370
  - app/helpers/hatchy/layout_helper.rb
@@ -387,11 +407,21 @@ files:
387
407
  - app/views/hatchy/admin/countries/show.html.haml
388
408
  - app/views/hatchy/admin/dashboard/_last_updated_table.html.haml
389
409
  - app/views/hatchy/admin/dashboard/index.html.haml
410
+ - app/views/hatchy/admin/projects/_about.html.haml
411
+ - app/views/hatchy/admin/projects/_basic_info.html.haml
412
+ - app/views/hatchy/admin/projects/_project_account.html.haml
413
+ - app/views/hatchy/admin/projects/index.html.haml
414
+ - app/views/hatchy/admin/projects/show.html.haml
390
415
  - app/views/hatchy/admin/shared/_admin_navtabs.html.haml
391
416
  - app/views/hatchy/admin/shared/_admin_sidebar.html.haml
392
417
  - app/views/hatchy/admin/shared/_model_form.html.haml
393
418
  - app/views/hatchy/admin/shared/_model_index.html.haml
394
419
  - app/views/hatchy/admin/shared/_model_show.html.haml
420
+ - app/views/hatchy/admin/users/_basic_info.html.haml
421
+ - app/views/hatchy/admin/users/_contributions.html.haml
422
+ - app/views/hatchy/admin/users/_projects.html.haml
423
+ - app/views/hatchy/admin/users/index.html.haml
424
+ - app/views/hatchy/admin/users/show.html.haml
395
425
  - app/views/hatchy/dashboard/_projects_you_support.html.haml
396
426
  - app/views/hatchy/dashboard/_your_projects.html.haml
397
427
  - app/views/hatchy/dashboard/index.html.haml
@@ -445,10 +475,11 @@ files:
445
475
  - db/migrate/20160111175249_devise_create_hatchy_users.rb
446
476
  - db/migrate/20160111181655_create_hatchy_category_followers.rb
447
477
  - db/seed.rb
478
+ - lib/generators/hatchy/install_generator.rb
479
+ - lib/generators/templates/hatchy.rb
448
480
  - lib/hatchy.rb
449
481
  - lib/hatchy/country_importer.rb
450
482
  - lib/hatchy/engine.rb
451
- - lib/hatchy/setup_generator.rb
452
483
  - lib/hatchy/version.rb
453
484
  - lib/tasks/hatchy_tasks.rake
454
485
  - spec/controllers/hatchy/admin/announcements_controller_spec.rb
@@ -457,6 +488,8 @@ files:
457
488
  - spec/controllers/hatchy/admin/categories_controller_spec.rb
458
489
  - spec/controllers/hatchy/admin/countries_controller_spec.rb
459
490
  - spec/controllers/hatchy/admin/dashboard_controller_spec.rb
491
+ - spec/controllers/hatchy/admin/projects_controller_spec.rb
492
+ - spec/controllers/hatchy/admin/users_controller_spec.rb
460
493
  - spec/controllers/hatchy/announcements_controller_spec.rb
461
494
  - spec/controllers/hatchy/dashboard_controller_spec.rb
462
495
  - spec/controllers/hatchy/home_controller_spec.rb
@@ -500,6 +533,7 @@ files:
500
533
  - spec/dummy/public/500.html
501
534
  - spec/dummy/public/favicon.ico
502
535
  - spec/dummy/public/uploads/hatchy/project/project_img/1/circus.jpg
536
+ - spec/dummy/public/uploads/hatchy/project/project_img/2/Kickstarter-games.jpg
503
537
  - spec/dummy/public/uploads/hatchy/user/profile_img/1/costanza.jpg
504
538
  - spec/dummy/public/uploads/tmp/1452646096-14084-2585/circus.jpg
505
539
  - spec/dummy/tmp/cache/assets/development/sass/1ae7eaad6fbe78b7fa091e1570fc6b83fd216672/admin.scss.erbc
@@ -617,6 +651,7 @@ files:
617
651
  - spec/dummy/tmp/cache/assets/development/sprockets/65b6d4456ef6974271b9a59fc6ec876f
618
652
  - spec/dummy/tmp/cache/assets/development/sprockets/6762976f03563abb88a60dd2284077f3
619
653
  - spec/dummy/tmp/cache/assets/development/sprockets/6978b21857c4cf9d2472adf77f935dfb
654
+ - spec/dummy/tmp/cache/assets/development/sprockets/69d0e5fd934e4f651c4126e0e7c8994f
620
655
  - spec/dummy/tmp/cache/assets/development/sprockets/6a402a89434119334a77b09c04ed6bd8
621
656
  - spec/dummy/tmp/cache/assets/development/sprockets/6aea5e2eeb52372c0f4dacc9b5e17629
622
657
  - spec/dummy/tmp/cache/assets/development/sprockets/6b0b3bc73b6ef3a71ff8c1235076f2fe
@@ -632,6 +667,7 @@ files:
632
667
  - spec/dummy/tmp/cache/assets/development/sprockets/79f81993fad700117165d85ea5e66f80
633
668
  - spec/dummy/tmp/cache/assets/development/sprockets/7abdb6b3ba312e2e713372cfa9ed6fd5
634
669
  - spec/dummy/tmp/cache/assets/development/sprockets/7c817753da2ab2a8909c5f67ca1055c4
670
+ - spec/dummy/tmp/cache/assets/development/sprockets/7cba22a2cfc1f0a02bf5fa3a0e4e5a27
635
671
  - spec/dummy/tmp/cache/assets/development/sprockets/8387ec69aabd9e9e2922644385d82285
636
672
  - spec/dummy/tmp/cache/assets/development/sprockets/893f7993845d6e4c08115ef3898fbbe8
637
673
  - spec/dummy/tmp/cache/assets/development/sprockets/8bfa3d2073d730eeae5930950577808b
@@ -666,6 +702,7 @@ files:
666
702
  - spec/dummy/tmp/cache/assets/development/sprockets/b5f65e3f4319656fcd1dd0a3f1b66e6d
667
703
  - spec/dummy/tmp/cache/assets/development/sprockets/bc3e3f14e046b451d6f962e59bf22e0b
668
704
  - spec/dummy/tmp/cache/assets/development/sprockets/bd49e8df5191d3e15d2ffa14fc384869
705
+ - spec/dummy/tmp/cache/assets/development/sprockets/bde5827fcb5ae18fd1ca1c57386417be
669
706
  - spec/dummy/tmp/cache/assets/development/sprockets/c37311498380e52a91dbfc2c96425eac
670
707
  - spec/dummy/tmp/cache/assets/development/sprockets/c60cce66e260d24218c7365bc3401b3e
671
708
  - spec/dummy/tmp/cache/assets/development/sprockets/c8ee3b2ea3203e3955b4db6e857d346e
@@ -674,8 +711,10 @@ files:
674
711
  - spec/dummy/tmp/cache/assets/development/sprockets/ccffcd47c7db3a6ab7e8006abc792752
675
712
  - spec/dummy/tmp/cache/assets/development/sprockets/ce0edb89508050d6ce80d9c608b0e478
676
713
  - spec/dummy/tmp/cache/assets/development/sprockets/ce4654bef988a1eb28b9da8d16fd2f65
714
+ - spec/dummy/tmp/cache/assets/development/sprockets/d11f4f73ecc91eb895ed1a2da31f13ba
677
715
  - spec/dummy/tmp/cache/assets/development/sprockets/d1ba02c2518f1bd8954e5fb38a6fdac1
678
716
  - spec/dummy/tmp/cache/assets/development/sprockets/d3ef307aaa54f919818b4dfb65b612f3
717
+ - spec/dummy/tmp/cache/assets/development/sprockets/d41f33e5d0faf16d0549d1a45aef4f06
679
718
  - spec/dummy/tmp/cache/assets/development/sprockets/d85c828a1b79af337db6fa07b91d05f2
680
719
  - spec/dummy/tmp/cache/assets/development/sprockets/d8e52300c14f8f97b4ad8849301d7433
681
720
  - spec/dummy/tmp/cache/assets/development/sprockets/d986eea7fe11b3e20c563cdc38db62ad
@@ -694,6 +733,7 @@ files:
694
733
  - spec/dummy/tmp/cache/assets/development/sprockets/f469cae685b83bf116813dc134ed0d2b
695
734
  - spec/dummy/tmp/cache/assets/development/sprockets/f8c026bc9f28742f8499ae687002da88
696
735
  - spec/dummy/tmp/cache/assets/development/sprockets/f9677a86b9c39422d1720fbc89ab727f
736
+ - spec/dummy/tmp/cache/assets/development/sprockets/fb4485de1e413169e29fd17a5549b7d5
697
737
  - spec/dummy/tmp/cache/assets/development/sprockets/fc35cea81cbc344664892761d90af504
698
738
  - spec/dummy/tmp/cache/assets/development/sprockets/fe23e9bb24f73b37f78fcf7523f4ddc7
699
739
  - spec/dummy/tmp/cache/assets/development/sprockets/fe79efd19de6388221ed374971484cbc
@@ -771,6 +811,7 @@ test_files:
771
811
  - spec/dummy/public/422.html
772
812
  - spec/dummy/public/uploads/tmp/1452646096-14084-2585/circus.jpg
773
813
  - spec/dummy/public/uploads/hatchy/project/project_img/1/circus.jpg
814
+ - spec/dummy/public/uploads/hatchy/project/project_img/2/Kickstarter-games.jpg
774
815
  - spec/dummy/public/uploads/hatchy/user/profile_img/1/costanza.jpg
775
816
  - spec/dummy/public/404.html
776
817
  - spec/dummy/public/500.html
@@ -888,6 +929,7 @@ test_files:
888
929
  - spec/dummy/tmp/cache/assets/development/sprockets/d8e52300c14f8f97b4ad8849301d7433
889
930
  - spec/dummy/tmp/cache/assets/development/sprockets/4276e0e173b6cfc29b9d6050eafe4bf3
890
931
  - spec/dummy/tmp/cache/assets/development/sprockets/6b0b3bc73b6ef3a71ff8c1235076f2fe
932
+ - spec/dummy/tmp/cache/assets/development/sprockets/fb4485de1e413169e29fd17a5549b7d5
891
933
  - spec/dummy/tmp/cache/assets/development/sprockets/f8c026bc9f28742f8499ae687002da88
892
934
  - spec/dummy/tmp/cache/assets/development/sprockets/285362fd93ab9c40902bc5d499f699d8
893
935
  - spec/dummy/tmp/cache/assets/development/sprockets/6978b21857c4cf9d2472adf77f935dfb
@@ -901,6 +943,7 @@ test_files:
901
943
  - spec/dummy/tmp/cache/assets/development/sprockets/7c817753da2ab2a8909c5f67ca1055c4
902
944
  - spec/dummy/tmp/cache/assets/development/sprockets/6de647c9f4ed6eab93fde5b1d14fa8d1
903
945
  - spec/dummy/tmp/cache/assets/development/sprockets/6762976f03563abb88a60dd2284077f3
946
+ - spec/dummy/tmp/cache/assets/development/sprockets/69d0e5fd934e4f651c4126e0e7c8994f
904
947
  - spec/dummy/tmp/cache/assets/development/sprockets/249e03ac9621a71cb1f7023fcc915530
905
948
  - spec/dummy/tmp/cache/assets/development/sprockets/77caa48be4dcd5f1d6f7791702ddbf3d
906
949
  - spec/dummy/tmp/cache/assets/development/sprockets/e8272a81b13334e8f911097487b72702
@@ -952,16 +995,20 @@ test_files:
952
995
  - spec/dummy/tmp/cache/assets/development/sprockets/6a402a89434119334a77b09c04ed6bd8
953
996
  - spec/dummy/tmp/cache/assets/development/sprockets/a62d4f134ec8d16ef50bbf15a53d6b57
954
997
  - spec/dummy/tmp/cache/assets/development/sprockets/2600e70eaad40390bb6639885a589d2a
998
+ - spec/dummy/tmp/cache/assets/development/sprockets/bde5827fcb5ae18fd1ca1c57386417be
955
999
  - spec/dummy/tmp/cache/assets/development/sprockets/3be516ed9e4cd248c26d9921d29295ec
956
1000
  - spec/dummy/tmp/cache/assets/development/sprockets/6444bc0df41903ea509632e5127abcce
957
1001
  - spec/dummy/tmp/cache/assets/development/sprockets/94686c27c680e4e11436a2262aa72b55
958
1002
  - spec/dummy/tmp/cache/assets/development/sprockets/d3ef307aaa54f919818b4dfb65b612f3
959
1003
  - spec/dummy/tmp/cache/assets/development/sprockets/a5895b06bddc58da1693d54571f58872
960
1004
  - spec/dummy/tmp/cache/assets/development/sprockets/d1ba02c2518f1bd8954e5fb38a6fdac1
1005
+ - spec/dummy/tmp/cache/assets/development/sprockets/d41f33e5d0faf16d0549d1a45aef4f06
961
1006
  - spec/dummy/tmp/cache/assets/development/sprockets/f469cae685b83bf116813dc134ed0d2b
962
1007
  - spec/dummy/tmp/cache/assets/development/sprockets/8387ec69aabd9e9e2922644385d82285
1008
+ - spec/dummy/tmp/cache/assets/development/sprockets/d11f4f73ecc91eb895ed1a2da31f13ba
963
1009
  - spec/dummy/tmp/cache/assets/development/sprockets/4deda75c514a17f1f937821be49df47b
964
1010
  - spec/dummy/tmp/cache/assets/development/sprockets/fc35cea81cbc344664892761d90af504
1011
+ - spec/dummy/tmp/cache/assets/development/sprockets/7cba22a2cfc1f0a02bf5fa3a0e4e5a27
965
1012
  - spec/dummy/tmp/cache/assets/development/sprockets/bc3e3f14e046b451d6f962e59bf22e0b
966
1013
  - spec/dummy/tmp/cache/assets/development/sprockets/ce4654bef988a1eb28b9da8d16fd2f65
967
1014
  - spec/dummy/tmp/cache/assets/development/sprockets/1c6272244847e7e1fa1b127ea9c66bff
@@ -1011,6 +1058,8 @@ test_files:
1011
1058
  - spec/controllers/hatchy/admin/countries_controller_spec.rb
1012
1059
  - spec/controllers/hatchy/admin/categories_controller_spec.rb
1013
1060
  - spec/controllers/hatchy/admin/dashboard_controller_spec.rb
1061
+ - spec/controllers/hatchy/admin/users_controller_spec.rb
1062
+ - spec/controllers/hatchy/admin/projects_controller_spec.rb
1014
1063
  - spec/controllers/hatchy/admin/application_controller_spec.rb
1015
1064
  - spec/controllers/hatchy/admin/banks_controller_spec.rb
1016
1065
  - spec/controllers/hatchy/projects_controller_spec.rb
@@ -1,10 +0,0 @@
1
- require 'rails/generators'
2
- module Hatchy
3
- class SetupGenerator < Rails::Generators::Base
4
-
5
- def create_route
6
- route 'mount Hatchy::Engine => "/"'
7
- end
8
-
9
- end
10
- end