voluntary 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/README.md +1 -1
  4. data/app/assets/javascripts/voluntary/lib/jquery-competitive_list.js +533 -0
  5. data/app/controllers/comments_controller.rb +1 -3
  6. data/app/controllers/concerns/voluntary/v1/base_controller.rb +1 -5
  7. data/app/controllers/home_controller.rb +0 -1
  8. data/app/controllers/workflow/project_owner_controller.rb +17 -15
  9. data/app/controllers/workflow/tasks_controller.rb +1 -1
  10. data/app/models/ability.rb +3 -7
  11. data/app/models/comment.rb +1 -1
  12. data/app/models/product/music_metadata_enrichment.rb +2 -0
  13. data/app/models/product.rb +0 -27
  14. data/app/models/project.rb +0 -1
  15. data/app/models/project_user.rb +2 -3
  16. data/app/models/user.rb +4 -3
  17. data/app/views/layouts/application.html.erb +0 -4
  18. data/app/views/layouts/shared/_flash_messages.html.erb +2 -2
  19. data/app/views/workflow/project_owner/index.html.erb +7 -7
  20. data/config/locales/en.yml +1 -2
  21. data/config/locales/general/en.yml +2 -8
  22. data/config/locales/workflow/en.yml +1 -5
  23. data/config/routes/workflow.rb +0 -25
  24. data/config/routes.rb +0 -35
  25. data/db/migrate/20131018143613_replace_user_by_polymorphic_resource_in_candidatures.rb +4 -4
  26. data/db/migrate/20150802141840_drop_recruiting_unless_recruiting_plugin_present.rb +59 -0
  27. data/lib/generators/voluntary/install/templates/features/support/paths.rb +0 -14
  28. data/lib/generators/voluntary/product_dummy/templates/config/main_navigation.rb +1 -260
  29. data/lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_steps.rb +1 -1
  30. data/lib/generators/voluntary/product_dummy/templates/features/step_definitions/custom_web_steps.rb +5 -0
  31. data/lib/generators/voluntary/product_dummy/templates/features/support/integration_sessions_controller.rb +1 -1
  32. data/lib/generators/voluntary/product_dummy/templates/features/support/paths.rb +0 -14
  33. data/lib/voluntary/navigation.rb +34 -74
  34. data/lib/voluntary/test/rspec_helpers/factories.rb +10 -17
  35. data/lib/voluntary/version.rb +1 -1
  36. data/lib/voluntary.rb +1 -2
  37. metadata +37 -44
  38. data/app/assets/javascripts/voluntary/lib/competitive_list.js +0 -484
  39. data/app/controllers/candidatures_controller.rb +0 -84
  40. data/app/controllers/vacancies_controller.rb +0 -88
  41. data/app/controllers/workflow/candidatures_controller.rb +0 -20
  42. data/app/controllers/workflow/vacancies_controller.rb +0 -17
  43. data/app/models/candidature.rb +0 -38
  44. data/app/models/state_machines/candidature.rb +0 -64
  45. data/app/models/state_machines/vacancy.rb +0 -49
  46. data/app/models/vacancy.rb +0 -43
  47. data/app/views/candidatures/_form.html.erb +0 -13
  48. data/app/views/candidatures/edit.html.erb +0 -3
  49. data/app/views/candidatures/index.html.erb +0 -11
  50. data/app/views/candidatures/new.html.erb +0 -3
  51. data/app/views/candidatures/show.html.erb +0 -18
  52. data/app/views/vacancies/_form.html.erb +0 -15
  53. data/app/views/vacancies/edit.html.erb +0 -3
  54. data/app/views/vacancies/index.html.erb +0 -7
  55. data/app/views/vacancies/new.html.erb +0 -3
  56. data/app/views/vacancies/show.html.erb +0 -15
  57. data/app/views/workflow/project_owner/_candidatures.html.erb +0 -32
  58. data/app/views/workflow/project_owner/_vacancies.html.erb +0 -27
  59. data/config/locales/resources/candidature/en.yml +0 -19
  60. data/config/locales/resources/vacancy/en.yml +0 -29
  61. data/lib/generators/voluntary/product_dummy/templates/features/step_definitions/candidature_steps.rb +0 -34
  62. data/lib/generators/voluntary/product_dummy/templates/features/step_definitions/vacancy_steps.rb +0 -32
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voluntary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Gawlista
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-08 00:00:00.000000000 Z
11
+ date: 2015-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -584,6 +584,20 @@ dependencies:
584
584
  - - "~>"
585
585
  - !ruby/object:Gem::Version
586
586
  version: 1.6.4
587
+ - !ruby/object:Gem::Dependency
588
+ name: redcarpet
589
+ requirement: !ruby/object:Gem::Requirement
590
+ requirements:
591
+ - - "~>"
592
+ - !ruby/object:Gem::Version
593
+ version: 3.2.3
594
+ type: :runtime
595
+ prerelease: false
596
+ version_requirements: !ruby/object:Gem::Requirement
597
+ requirements:
598
+ - - "~>"
599
+ - !ruby/object:Gem::Version
600
+ version: 3.2.3
587
601
  - !ruby/object:Gem::Dependency
588
602
  name: slim
589
603
  requirement: !ruby/object:Gem::Requirement
@@ -604,14 +618,28 @@ dependencies:
604
618
  requirements:
605
619
  - - "~>"
606
620
  - !ruby/object:Gem::Version
607
- version: 3.0.4
621
+ version: 3.0.7
608
622
  type: :runtime
609
623
  prerelease: false
610
624
  version_requirements: !ruby/object:Gem::Requirement
611
625
  requirements:
612
626
  - - "~>"
613
627
  - !ruby/object:Gem::Version
614
- version: 3.0.4
628
+ version: 3.0.7
629
+ - !ruby/object:Gem::Dependency
630
+ name: will_paginate_mongoid
631
+ requirement: !ruby/object:Gem::Requirement
632
+ requirements:
633
+ - - "~>"
634
+ - !ruby/object:Gem::Version
635
+ version: 2.0.1
636
+ type: :runtime
637
+ prerelease: false
638
+ version_requirements: !ruby/object:Gem::Requirement
639
+ requirements:
640
+ - - "~>"
641
+ - !ruby/object:Gem::Version
642
+ version: 2.0.1
615
643
  - !ruby/object:Gem::Dependency
616
644
  name: gon
617
645
  requirement: !ruby/object:Gem::Requirement
@@ -766,20 +794,6 @@ dependencies:
766
794
  - - "~>"
767
795
  - !ruby/object:Gem::Version
768
796
  version: 0.5.3
769
- - !ruby/object:Gem::Dependency
770
- name: capistrano
771
- requirement: !ruby/object:Gem::Requirement
772
- requirements:
773
- - - "~>"
774
- - !ruby/object:Gem::Version
775
- version: 2.15.5
776
- type: :runtime
777
- prerelease: false
778
- version_requirements: !ruby/object:Gem::Requirement
779
- requirements:
780
- - - "~>"
781
- - !ruby/object:Gem::Version
782
- version: 2.15.5
783
797
  - !ruby/object:Gem::Dependency
784
798
  name: simple-navigation-bootstrap
785
799
  requirement: !ruby/object:Gem::Requirement
@@ -1144,7 +1158,7 @@ dependencies:
1144
1158
  - - "~>"
1145
1159
  - !ruby/object:Gem::Version
1146
1160
  version: 2.2.0
1147
- description: "#Crowdsourcing management system for #Ruby on #Rails changes: http://bit.ly/voluntary-0-3-0"
1161
+ description: "#Crowdsourcing management system for #RubyOnRails: http://bit.ly/voluntary-0-4-0"
1148
1162
  email:
1149
1163
  - gawlista@gmail.com
1150
1164
  executables: []
@@ -1159,7 +1173,7 @@ files:
1159
1173
  - app/assets/javascripts/voluntary/application.js
1160
1174
  - app/assets/javascripts/voluntary/base.js.coffee
1161
1175
  - app/assets/javascripts/voluntary/functions.js
1162
- - app/assets/javascripts/voluntary/lib/competitive_list.js
1176
+ - app/assets/javascripts/voluntary/lib/jquery-competitive_list.js
1163
1177
  - app/assets/javascripts/voluntary/lib/jquery.multisortable.js
1164
1178
  - app/assets/javascripts/voluntary/likes/list.js.coffee
1165
1179
  - app/assets/javascripts/voluntary/users.js.coffee
@@ -1168,7 +1182,6 @@ files:
1168
1182
  - app/assets/stylesheets/voluntary/bootstrap_and_overrides.css.sass
1169
1183
  - app/assets/stylesheets/voluntary/sticky_footer.css
1170
1184
  - app/controllers/areas_controller.rb
1171
- - app/controllers/candidatures_controller.rb
1172
1185
  - app/controllers/comments_controller.rb
1173
1186
  - app/controllers/concerns/voluntary/v1/base_controller.rb
1174
1187
  - app/controllers/devise_extensions/registrations_controller.rb
@@ -1184,10 +1197,8 @@ files:
1184
1197
  - app/controllers/stories_controller.rb
1185
1198
  - app/controllers/tasks_controller.rb
1186
1199
  - app/controllers/users_controller.rb
1187
- - app/controllers/vacancies_controller.rb
1188
1200
  - app/controllers/voluntary/api/v1/base_controller.rb
1189
1201
  - app/controllers/voluntary/application_controller.rb
1190
- - app/controllers/workflow/candidatures_controller.rb
1191
1202
  - app/controllers/workflow/products_controller.rb
1192
1203
  - app/controllers/workflow/project_owner_controller.rb
1193
1204
  - app/controllers/workflow/stories_controller.rb
@@ -1195,7 +1206,6 @@ files:
1195
1206
  - app/controllers/workflow/user/product/areas_controller.rb
1196
1207
  - app/controllers/workflow/user/projects_controller.rb
1197
1208
  - app/controllers/workflow/user_controller.rb
1198
- - app/controllers/workflow/vacancies_controller.rb
1199
1209
  - app/controllers/workflow_controller.rb
1200
1210
  - app/helpers/voluntary/application_helper.rb
1201
1211
  - app/helpers/voluntary/collection_helper.rb
@@ -1209,7 +1219,6 @@ files:
1209
1219
  - app/models/ability.rb
1210
1220
  - app/models/area.rb
1211
1221
  - app/models/area_user.rb
1212
- - app/models/candidature.rb
1213
1222
  - app/models/column.rb
1214
1223
  - app/models/comment.rb
1215
1224
  - app/models/concerns/likeable.rb
@@ -1225,6 +1234,7 @@ files:
1225
1234
  - app/models/organization.rb
1226
1235
  - app/models/page.rb
1227
1236
  - app/models/product.rb
1237
+ - app/models/product/music_metadata_enrichment.rb
1228
1238
  - app/models/product/new_product.rb
1229
1239
  - app/models/product/project_management.rb
1230
1240
  - app/models/profession.rb
@@ -1236,17 +1246,14 @@ files:
1236
1246
  - app/models/role/master.rb
1237
1247
  - app/models/role/project_owner.rb
1238
1248
  - app/models/role/user.rb
1239
- - app/models/state_machines/candidature.rb
1240
1249
  - app/models/state_machines/page.rb
1241
1250
  - app/models/state_machines/story.rb
1242
1251
  - app/models/state_machines/task.rb
1243
- - app/models/state_machines/vacancy.rb
1244
1252
  - app/models/story.rb
1245
1253
  - app/models/task.rb
1246
1254
  - app/models/thing.rb
1247
1255
  - app/models/user.rb
1248
1256
  - app/models/user_role.rb
1249
- - app/models/vacancy.rb
1250
1257
  - app/presenters/layout/application_presenter.rb
1251
1258
  - app/presenters/layout_presenter.rb
1252
1259
  - app/presenters/presenter.rb
@@ -1262,11 +1269,6 @@ files:
1262
1269
  - app/views/areas/index.html.erb
1263
1270
  - app/views/areas/new.html.erb
1264
1271
  - app/views/areas/show.html.erb
1265
- - app/views/candidatures/_form.html.erb
1266
- - app/views/candidatures/edit.html.erb
1267
- - app/views/candidatures/index.html.erb
1268
- - app/views/candidatures/new.html.erb
1269
- - app/views/candidatures/show.html.erb
1270
1272
  - app/views/columns/_collection.html.erb
1271
1273
  - app/views/comments/_form.html.erb
1272
1274
  - app/views/comments/_resource.html.erb
@@ -1334,17 +1336,10 @@ files:
1334
1336
  - app/views/users/new.html.erb
1335
1337
  - app/views/users/preferences.html.erb
1336
1338
  - app/views/users/show.html.erb
1337
- - app/views/vacancies/_form.html.erb
1338
- - app/views/vacancies/edit.html.erb
1339
- - app/views/vacancies/index.html.erb
1340
- - app/views/vacancies/new.html.erb
1341
- - app/views/vacancies/show.html.erb
1342
1339
  - app/views/workflow/index.html.erb
1343
1340
  - app/views/workflow/products/show.html.erb
1344
- - app/views/workflow/project_owner/_candidatures.html.erb
1345
1341
  - app/views/workflow/project_owner/_stories.html.erb
1346
1342
  - app/views/workflow/project_owner/_tasks.html.erb
1347
- - app/views/workflow/project_owner/_vacancies.html.erb
1348
1343
  - app/views/workflow/project_owner/index.html.erb
1349
1344
  - app/views/workflow/tasks/_work_form.html.erb
1350
1345
  - app/views/workflow/tasks/_work_head.html.erb
@@ -1375,7 +1370,6 @@ files:
1375
1370
  - config/locales/en.yml
1376
1371
  - config/locales/general/en.yml
1377
1372
  - config/locales/resources/area/en.yml
1378
- - config/locales/resources/candidature/en.yml
1379
1373
  - config/locales/resources/comment/en.yml
1380
1374
  - config/locales/resources/like/en.yml
1381
1375
  - config/locales/resources/organization/en.yml
@@ -1386,7 +1380,6 @@ files:
1386
1380
  - config/locales/resources/story/en.yml
1387
1381
  - config/locales/resources/task/en.yml
1388
1382
  - config/locales/resources/user/en.yml
1389
- - config/locales/resources/vacancy/en.yml
1390
1383
  - config/locales/simple_form.en.yml
1391
1384
  - config/locales/workflow/en.yml
1392
1385
  - config/routes.rb
@@ -1410,6 +1403,7 @@ files:
1410
1403
  - db/migrate/20150119151714_add_provider_to_users.rb
1411
1404
  - db/migrate/20150119171210_add_lastfm_user_name_to_users.rb
1412
1405
  - db/migrate/20150126185249_create_likes.rb
1406
+ - db/migrate/20150802141840_drop_recruiting_unless_recruiting_plugin_present.rb
1413
1407
  - db/seeds.rb
1414
1408
  - lib/api_constraints.rb
1415
1409
  - lib/applicat/mvc/controller.rb
@@ -1483,9 +1477,9 @@ files:
1483
1477
  - lib/generators/voluntary/product_dummy/templates/dummy/spec/spec_helper.rb
1484
1478
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/area_behaviour_steps.rb
1485
1479
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/area_steps.rb
1486
- - lib/generators/voluntary/product_dummy/templates/features/step_definitions/candidature_steps.rb
1487
1480
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_behaviour_steps.rb
1488
1481
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/comment_steps.rb
1482
+ - lib/generators/voluntary/product_dummy/templates/features/step_definitions/custom_web_steps.rb
1489
1483
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/email_steps.rb
1490
1484
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/factory_steps.rb
1491
1485
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/javascript_steps.rb
@@ -1498,7 +1492,6 @@ files:
1498
1492
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/story_steps.rb
1499
1493
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/task_steps.rb
1500
1494
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/user_steps.rb
1501
- - lib/generators/voluntary/product_dummy/templates/features/step_definitions/vacancy_steps.rb
1502
1495
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/web_steps.rb
1503
1496
  - lib/generators/voluntary/product_dummy/templates/features/step_definitions/wizards/story_steps.rb
1504
1497
  - lib/generators/voluntary/product_dummy/templates/features/support/database_cleaner_patches.rb