voluntary 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/CHANGELOG.md +88 -0
  2. data/README.rdoc +2 -2
  3. data/app/assets/javascripts/voluntary/application.js +3 -0
  4. data/app/assets/javascripts/voluntary/base.js.coffee +47 -28
  5. data/app/assets/javascripts/voluntary/lib/jquery.multisortable.js +254 -0
  6. data/app/assets/stylesheets/voluntary/application.css +2 -0
  7. data/app/assets/stylesheets/voluntary/base.css.sass +7 -1
  8. data/app/assets/stylesheets/voluntary/bootstrap_and_overrides.css.sass +5 -1
  9. data/app/controllers/concerns/voluntary/v1/base_controller.rb +6 -1
  10. data/app/controllers/voluntary/api/v1/base_controller.rb +11 -0
  11. data/app/helpers/voluntary/show_helper.rb +2 -2
  12. data/app/models/concerns/likeable.rb +11 -0
  13. data/app/models/user.rb +4 -0
  14. data/app/views/layouts/application.html.erb +7 -1
  15. data/app/views/shared/_modal_javascript_response.js.erb +31 -0
  16. data/app/views/shared/layouts/twitter_bootstrap/_control_group.html.erb +11 -0
  17. data/app/views/shared/layouts/twitter_bootstrap/_modal.html.erb +12 -0
  18. data/app/views/shared/layouts/twitter_bootstrap/control_group/_boolean.html.erb +17 -0
  19. data/app/views/shared/resource/_actions.html.erb +4 -2
  20. data/config/locales/general/en.yml +14 -2
  21. data/config/routes/api.rb +6 -0
  22. data/config/routes.rb +3 -1
  23. data/lib/generators/voluntary/install/templates/app/views/layouts/application.html.erb +7 -1
  24. data/lib/generators/voluntary/product_dummy/product_dummy_generator.rb +0 -1
  25. data/lib/generators/voluntary/product_dummy/templates/app/views/layouts/application.html.erb +7 -1
  26. data/lib/voluntary/version.rb +1 -1
  27. data/lib/voluntary.rb +3 -1
  28. metadata +90 -84
  29. data/app/controllers/voluntary/api/v1/api_controller.rb +0 -9
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voluntary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
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: 2015-02-05 00:00:00.000000000 Z
12
+ date: 2015-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -668,13 +668,13 @@ dependencies:
668
668
  - !ruby/object:Gem::Version
669
669
  version: 4.0.3.1
670
670
  - !ruby/object:Gem::Dependency
671
- name: will_paginate
671
+ name: bootstrap-sass-rails
672
672
  requirement: !ruby/object:Gem::Requirement
673
673
  none: false
674
674
  requirements:
675
675
  - - ~>
676
676
  - !ruby/object:Gem::Version
677
- version: 3.0.4
677
+ version: '2'
678
678
  type: :runtime
679
679
  prerelease: false
680
680
  version_requirements: !ruby/object:Gem::Requirement
@@ -682,15 +682,15 @@ dependencies:
682
682
  requirements:
683
683
  - - ~>
684
684
  - !ruby/object:Gem::Version
685
- version: 3.0.4
685
+ version: '2'
686
686
  - !ruby/object:Gem::Dependency
687
- name: gon
687
+ name: auto_html
688
688
  requirement: !ruby/object:Gem::Requirement
689
689
  none: false
690
690
  requirements:
691
691
  - - ~>
692
692
  - !ruby/object:Gem::Version
693
- version: 5.0.1
693
+ version: 1.6.4
694
694
  type: :runtime
695
695
  prerelease: false
696
696
  version_requirements: !ruby/object:Gem::Requirement
@@ -698,15 +698,15 @@ dependencies:
698
698
  requirements:
699
699
  - - ~>
700
700
  - !ruby/object:Gem::Version
701
- version: 5.0.1
701
+ version: 1.6.4
702
702
  - !ruby/object:Gem::Dependency
703
- name: carrierwave
703
+ name: will_paginate
704
704
  requirement: !ruby/object:Gem::Requirement
705
705
  none: false
706
706
  requirements:
707
707
  - - ~>
708
708
  - !ruby/object:Gem::Version
709
- version: 0.6.2
709
+ version: 3.0.4
710
710
  type: :runtime
711
711
  prerelease: false
712
712
  version_requirements: !ruby/object:Gem::Requirement
@@ -714,15 +714,15 @@ dependencies:
714
714
  requirements:
715
715
  - - ~>
716
716
  - !ruby/object:Gem::Version
717
- version: 0.6.2
717
+ version: 3.0.4
718
718
  - !ruby/object:Gem::Dependency
719
- name: fog
719
+ name: gon
720
720
  requirement: !ruby/object:Gem::Requirement
721
721
  none: false
722
722
  requirements:
723
723
  - - ~>
724
724
  - !ruby/object:Gem::Version
725
- version: 1.19.0
725
+ version: 5.0.1
726
726
  type: :runtime
727
727
  prerelease: false
728
728
  version_requirements: !ruby/object:Gem::Requirement
@@ -730,15 +730,15 @@ dependencies:
730
730
  requirements:
731
731
  - - ~>
732
732
  - !ruby/object:Gem::Version
733
- version: 1.19.0
733
+ version: 5.0.1
734
734
  - !ruby/object:Gem::Dependency
735
- name: mini_magick
735
+ name: selectize-rails
736
736
  requirement: !ruby/object:Gem::Requirement
737
737
  none: false
738
738
  requirements:
739
739
  - - ~>
740
740
  - !ruby/object:Gem::Version
741
- version: '3.4'
741
+ version: 0.12.0
742
742
  type: :runtime
743
743
  prerelease: false
744
744
  version_requirements: !ruby/object:Gem::Requirement
@@ -746,47 +746,47 @@ dependencies:
746
746
  requirements:
747
747
  - - ~>
748
748
  - !ruby/object:Gem::Version
749
- version: '3.4'
749
+ version: 0.12.0
750
750
  - !ruby/object:Gem::Dependency
751
- name: json
751
+ name: jquery-rails
752
752
  requirement: !ruby/object:Gem::Requirement
753
753
  none: false
754
754
  requirements:
755
- - - ~>
755
+ - - ! '>='
756
756
  - !ruby/object:Gem::Version
757
- version: 1.8.1
757
+ version: '0'
758
758
  type: :runtime
759
759
  prerelease: false
760
760
  version_requirements: !ruby/object:Gem::Requirement
761
761
  none: false
762
762
  requirements:
763
- - - ~>
763
+ - - ! '>='
764
764
  - !ruby/object:Gem::Version
765
- version: 1.8.1
765
+ version: '0'
766
766
  - !ruby/object:Gem::Dependency
767
- name: acts_as_api
767
+ name: jquery-ui-bootstrap-rails-asset
768
768
  requirement: !ruby/object:Gem::Requirement
769
769
  none: false
770
770
  requirements:
771
- - - ~>
771
+ - - ! '>='
772
772
  - !ruby/object:Gem::Version
773
- version: 0.4.2
773
+ version: '0'
774
774
  type: :runtime
775
775
  prerelease: false
776
776
  version_requirements: !ruby/object:Gem::Requirement
777
777
  none: false
778
778
  requirements:
779
- - - ~>
779
+ - - ! '>='
780
780
  - !ruby/object:Gem::Version
781
- version: 0.4.2
781
+ version: '0'
782
782
  - !ruby/object:Gem::Dependency
783
- name: i18n-inflector-rails
783
+ name: bootstrap-datetimepicker-rails
784
784
  requirement: !ruby/object:Gem::Requirement
785
785
  none: false
786
786
  requirements:
787
787
  - - ~>
788
788
  - !ruby/object:Gem::Version
789
- version: '1.0'
789
+ version: 0.0.11
790
790
  type: :runtime
791
791
  prerelease: false
792
792
  version_requirements: !ruby/object:Gem::Requirement
@@ -794,15 +794,15 @@ dependencies:
794
794
  requirements:
795
795
  - - ~>
796
796
  - !ruby/object:Gem::Version
797
- version: '1.0'
797
+ version: 0.0.11
798
798
  - !ruby/object:Gem::Dependency
799
- name: rails-i18n
799
+ name: carrierwave
800
800
  requirement: !ruby/object:Gem::Requirement
801
801
  none: false
802
802
  requirements:
803
803
  - - ~>
804
804
  - !ruby/object:Gem::Version
805
- version: 4.0.1
805
+ version: 0.6.2
806
806
  type: :runtime
807
807
  prerelease: false
808
808
  version_requirements: !ruby/object:Gem::Requirement
@@ -810,15 +810,15 @@ dependencies:
810
810
  requirements:
811
811
  - - ~>
812
812
  - !ruby/object:Gem::Version
813
- version: 4.0.1
813
+ version: 0.6.2
814
814
  - !ruby/object:Gem::Dependency
815
- name: sidekiq
815
+ name: fog
816
816
  requirement: !ruby/object:Gem::Requirement
817
817
  none: false
818
818
  requirements:
819
819
  - - ~>
820
820
  - !ruby/object:Gem::Version
821
- version: 2.17.3
821
+ version: 1.19.0
822
822
  type: :runtime
823
823
  prerelease: false
824
824
  version_requirements: !ruby/object:Gem::Requirement
@@ -826,15 +826,15 @@ dependencies:
826
826
  requirements:
827
827
  - - ~>
828
828
  - !ruby/object:Gem::Version
829
- version: 2.17.3
829
+ version: 1.19.0
830
830
  - !ruby/object:Gem::Dependency
831
- name: slim
831
+ name: mini_magick
832
832
  requirement: !ruby/object:Gem::Requirement
833
833
  none: false
834
834
  requirements:
835
835
  - - ~>
836
836
  - !ruby/object:Gem::Version
837
- version: 2.0.2
837
+ version: '3.4'
838
838
  type: :runtime
839
839
  prerelease: false
840
840
  version_requirements: !ruby/object:Gem::Requirement
@@ -842,15 +842,15 @@ dependencies:
842
842
  requirements:
843
843
  - - ~>
844
844
  - !ruby/object:Gem::Version
845
- version: 2.0.2
845
+ version: '3.4'
846
846
  - !ruby/object:Gem::Dependency
847
- name: http_accept_language
847
+ name: json
848
848
  requirement: !ruby/object:Gem::Requirement
849
849
  none: false
850
850
  requirements:
851
851
  - - ~>
852
852
  - !ruby/object:Gem::Version
853
- version: 1.0.2
853
+ version: 1.8.1
854
854
  type: :runtime
855
855
  prerelease: false
856
856
  version_requirements: !ruby/object:Gem::Requirement
@@ -858,15 +858,15 @@ dependencies:
858
858
  requirements:
859
859
  - - ~>
860
860
  - !ruby/object:Gem::Version
861
- version: 1.0.2
861
+ version: 1.8.1
862
862
  - !ruby/object:Gem::Dependency
863
- name: typhoeus
863
+ name: acts_as_api
864
864
  requirement: !ruby/object:Gem::Requirement
865
865
  none: false
866
866
  requirements:
867
867
  - - ~>
868
868
  - !ruby/object:Gem::Version
869
- version: 0.5.3
869
+ version: 0.4.2
870
870
  type: :runtime
871
871
  prerelease: false
872
872
  version_requirements: !ruby/object:Gem::Requirement
@@ -874,15 +874,15 @@ dependencies:
874
874
  requirements:
875
875
  - - ~>
876
876
  - !ruby/object:Gem::Version
877
- version: 0.5.3
877
+ version: 0.4.2
878
878
  - !ruby/object:Gem::Dependency
879
- name: capistrano
879
+ name: i18n-inflector-rails
880
880
  requirement: !ruby/object:Gem::Requirement
881
881
  none: false
882
882
  requirements:
883
883
  - - ~>
884
884
  - !ruby/object:Gem::Version
885
- version: 2.15.5
885
+ version: '1.0'
886
886
  type: :runtime
887
887
  prerelease: false
888
888
  version_requirements: !ruby/object:Gem::Requirement
@@ -890,79 +890,79 @@ dependencies:
890
890
  requirements:
891
891
  - - ~>
892
892
  - !ruby/object:Gem::Version
893
- version: 2.15.5
893
+ version: '1.0'
894
894
  - !ruby/object:Gem::Dependency
895
- name: jquery-rails
895
+ name: rails-i18n
896
896
  requirement: !ruby/object:Gem::Requirement
897
897
  none: false
898
898
  requirements:
899
- - - ! '>='
899
+ - - ~>
900
900
  - !ruby/object:Gem::Version
901
- version: '0'
901
+ version: 4.0.1
902
902
  type: :runtime
903
903
  prerelease: false
904
904
  version_requirements: !ruby/object:Gem::Requirement
905
905
  none: false
906
906
  requirements:
907
- - - ! '>='
907
+ - - ~>
908
908
  - !ruby/object:Gem::Version
909
- version: '0'
909
+ version: 4.0.1
910
910
  - !ruby/object:Gem::Dependency
911
- name: jquery-ui-bootstrap-rails-asset
911
+ name: sidekiq
912
912
  requirement: !ruby/object:Gem::Requirement
913
913
  none: false
914
914
  requirements:
915
- - - ! '>='
915
+ - - ~>
916
916
  - !ruby/object:Gem::Version
917
- version: '0'
917
+ version: 2.17.3
918
918
  type: :runtime
919
919
  prerelease: false
920
920
  version_requirements: !ruby/object:Gem::Requirement
921
921
  none: false
922
922
  requirements:
923
- - - ! '>='
923
+ - - ~>
924
924
  - !ruby/object:Gem::Version
925
- version: '0'
925
+ version: 2.17.3
926
926
  - !ruby/object:Gem::Dependency
927
- name: jquery-rails
927
+ name: slim
928
928
  requirement: !ruby/object:Gem::Requirement
929
929
  none: false
930
930
  requirements:
931
- - - ! '>='
931
+ - - ~>
932
932
  - !ruby/object:Gem::Version
933
- version: '0'
933
+ version: 2.0.2
934
934
  type: :runtime
935
935
  prerelease: false
936
936
  version_requirements: !ruby/object:Gem::Requirement
937
937
  none: false
938
938
  requirements:
939
- - - ! '>='
939
+ - - ~>
940
940
  - !ruby/object:Gem::Version
941
- version: '0'
941
+ version: 2.0.2
942
942
  - !ruby/object:Gem::Dependency
943
- name: jquery-ui-bootstrap-rails-asset
943
+ name: http_accept_language
944
944
  requirement: !ruby/object:Gem::Requirement
945
945
  none: false
946
946
  requirements:
947
- - - ! '>='
947
+ - - ~>
948
948
  - !ruby/object:Gem::Version
949
- version: '0'
949
+ version: 1.0.2
950
950
  type: :runtime
951
951
  prerelease: false
952
952
  version_requirements: !ruby/object:Gem::Requirement
953
953
  none: false
954
954
  requirements:
955
- - - ! '>='
955
+ - - ~>
956
956
  - !ruby/object:Gem::Version
957
- version: '0'
957
+ version: 1.0.2
958
958
  - !ruby/object:Gem::Dependency
959
- name: bootstrap-sass-rails
959
+ name: typhoeus
960
960
  requirement: !ruby/object:Gem::Requirement
961
961
  none: false
962
962
  requirements:
963
963
  - - ~>
964
964
  - !ruby/object:Gem::Version
965
- version: '2'
965
+ version: 0.5.3
966
966
  type: :runtime
967
967
  prerelease: false
968
968
  version_requirements: !ruby/object:Gem::Requirement
@@ -970,15 +970,15 @@ dependencies:
970
970
  requirements:
971
971
  - - ~>
972
972
  - !ruby/object:Gem::Version
973
- version: '2'
973
+ version: 0.5.3
974
974
  - !ruby/object:Gem::Dependency
975
- name: auto_html
975
+ name: capistrano
976
976
  requirement: !ruby/object:Gem::Requirement
977
977
  none: false
978
978
  requirements:
979
979
  - - ~>
980
980
  - !ruby/object:Gem::Version
981
- version: 1.6.4
981
+ version: 2.15.5
982
982
  type: :runtime
983
983
  prerelease: false
984
984
  version_requirements: !ruby/object:Gem::Requirement
@@ -986,7 +986,7 @@ dependencies:
986
986
  requirements:
987
987
  - - ~>
988
988
  - !ruby/object:Gem::Version
989
- version: 1.6.4
989
+ version: 2.15.5
990
990
  - !ruby/object:Gem::Dependency
991
991
  name: jquery-rails
992
992
  requirement: !ruby/object:Gem::Requirement
@@ -1378,7 +1378,7 @@ dependencies:
1378
1378
  requirements:
1379
1379
  - - ~>
1380
1380
  - !ruby/object:Gem::Version
1381
- version: 4.0.0
1381
+ version: 4.0.5
1382
1382
  type: :runtime
1383
1383
  prerelease: false
1384
1384
  version_requirements: !ruby/object:Gem::Requirement
@@ -1386,7 +1386,7 @@ dependencies:
1386
1386
  requirements:
1387
1387
  - - ~>
1388
1388
  - !ruby/object:Gem::Version
1389
- version: 4.0.0
1389
+ version: 4.0.5
1390
1390
  - !ruby/object:Gem::Dependency
1391
1391
  name: coffee-rails
1392
1392
  requirement: !ruby/object:Gem::Requirement
@@ -1451,8 +1451,8 @@ dependencies:
1451
1451
  - - ~>
1452
1452
  - !ruby/object:Gem::Version
1453
1453
  version: 2.2.0
1454
- description: This is a gem which turns your rails application into a crowdsourcing
1455
- platform to run on your intranet or on the internet.
1454
+ description: ! '#Crowdsourcing management system for #Ruby on #Rails changes: http://bit.ly/voluntary-0-2-3
1455
+ #Volontariat #CMS'
1456
1456
  email:
1457
1457
  - gawlista@gmail.com
1458
1458
  executables: []
@@ -1463,6 +1463,7 @@ files:
1463
1463
  - app/assets/javascripts/voluntary/application.js
1464
1464
  - app/assets/javascripts/voluntary/base.js.coffee
1465
1465
  - app/assets/javascripts/voluntary/functions.js
1466
+ - app/assets/javascripts/voluntary/lib/jquery.multisortable.js
1466
1467
  - app/assets/javascripts/voluntary/likes/list.js.coffee
1467
1468
  - app/assets/javascripts/voluntary/users.js.coffee
1468
1469
  - app/assets/stylesheets/voluntary/application.css
@@ -1486,7 +1487,7 @@ files:
1486
1487
  - app/controllers/tasks_controller.rb
1487
1488
  - app/controllers/users_controller.rb
1488
1489
  - app/controllers/vacancies_controller.rb
1489
- - app/controllers/voluntary/api/v1/api_controller.rb
1490
+ - app/controllers/voluntary/api/v1/base_controller.rb
1490
1491
  - app/controllers/voluntary/application_controller.rb
1491
1492
  - app/controllers/workflow/candidatures_controller.rb
1492
1493
  - app/controllers/workflow/products_controller.rb
@@ -1610,9 +1611,13 @@ files:
1610
1611
  - app/views/projects/show.html.erb
1611
1612
  - app/views/shared/_comments.html.erb
1612
1613
  - app/views/shared/_likes_and_dislikes.html.erb
1614
+ - app/views/shared/_modal_javascript_response.js.erb
1613
1615
  - app/views/shared/collection/_list.html.erb
1614
1616
  - app/views/shared/collection/_table.html.erb
1615
1617
  - app/views/shared/form/_error_messages.html.erb
1618
+ - app/views/shared/layouts/twitter_bootstrap/_control_group.html.erb
1619
+ - app/views/shared/layouts/twitter_bootstrap/_modal.html.erb
1620
+ - app/views/shared/layouts/twitter_bootstrap/control_group/_boolean.html.erb
1616
1621
  - app/views/shared/resource/_actions.html.erb
1617
1622
  - app/views/shared/resource/_event_elements.html.erb
1618
1623
  - app/views/stories/_collection.html.erb
@@ -1684,6 +1689,7 @@ files:
1684
1689
  - config/locales/resources/vacancy/en.yml
1685
1690
  - config/locales/simple_form.en.yml
1686
1691
  - config/locales/workflow/en.yml
1692
+ - config/routes/api.rb
1687
1693
  - config/routes/workflow.rb
1688
1694
  - config/routes.rb
1689
1695
  - db/migrate/20120907144853_create_schema.rb
@@ -1835,8 +1841,9 @@ files:
1835
1841
  - vendor_extensions/active_model/naming.rb
1836
1842
  - MIT-LICENSE
1837
1843
  - Rakefile
1844
+ - CHANGELOG.md
1838
1845
  - README.rdoc
1839
- homepage: http://github.com/Applicat/voluntary
1846
+ homepage: http://Volontari.at
1840
1847
  licenses: []
1841
1848
  post_install_message:
1842
1849
  rdoc_options: []
@@ -1850,7 +1857,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1850
1857
  version: '0'
1851
1858
  segments:
1852
1859
  - 0
1853
- hash: 1073244219484482667
1860
+ hash: -1239943101745729040
1854
1861
  required_rubygems_version: !ruby/object:Gem::Requirement
1855
1862
  none: false
1856
1863
  requirements:
@@ -1859,13 +1866,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1859
1866
  version: '0'
1860
1867
  segments:
1861
1868
  - 0
1862
- hash: 1073244219484482667
1869
+ hash: -1239943101745729040
1863
1870
  requirements: []
1864
1871
  rubyforge_project:
1865
1872
  rubygems_version: 1.8.23
1866
1873
  signing_key:
1867
1874
  specification_version: 3
1868
- summary: This is a gem which turns your rails application into a crowdsourcing platform
1869
- to run on your intranet or on the internet.
1875
+ summary: Crowdsourcing management system for Rails
1870
1876
  test_files: []
1871
1877
  has_rdoc:
@@ -1,9 +0,0 @@
1
- module Voluntary
2
- module Api
3
- module V1
4
- class BaseController < ActionController::API
5
- include Voluntary::V1::BaseController
6
- end
7
- end
8
- end
9
- end