voluntary 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/app/assets/javascripts/voluntary/lib/jquery-competitive_list.js +3 -7
- data/app/assets/javascripts/voluntary/lib/sugar.js +8264 -0
- data/app/assets/stylesheets/voluntary/bootstrap_and_overrides.css.sass +1 -1
- data/app/controllers/voluntary/api/v1/argument_topics_controller.rb +18 -0
- data/app/controllers/voluntary/api/v1/arguments_controller.rb +76 -0
- data/app/controllers/voluntary/api/v1/things/arguments_controller.rb +48 -0
- data/app/controllers/voluntary/api/v1/users_controller.rb +9 -0
- data/app/models/argument.rb +58 -0
- data/app/models/argument_topic.rb +17 -0
- data/app/models/user.rb +1 -0
- data/app/serializers/application_serializer.rb +2 -0
- data/app/serializers/argument_serializer.rb +19 -0
- data/app/serializers/basic_user_serializer.rb +3 -0
- data/app/serializers/current_user_serializer.rb +3 -0
- data/app/serializers/user_serializer.rb +2 -0
- data/app/views/layouts/application.html.erb +1 -1
- data/app/views/shared/layouts/twitter_bootstrap/_control_group.html.erb +1 -1
- data/app/views/shared/layouts/twitter_bootstrap/_modal.html.erb +13 -9
- data/config/initializers/active_model_serializer.rb +4 -0
- data/config/locales/general/en.yml +15 -1
- data/config/locales/resources/argument/en.yml +28 -0
- data/config/locales/resources/argument_topic/en.yml +9 -0
- data/config/locales/resources/like/en.yml +6 -0
- data/config/routes/api.rb +12 -0
- data/db/migrate/20121006162913_add_public_attribute_to_roles.rb +3 -0
- data/db/migrate/20150818151512_create_or_alter_arguments.rb +49 -0
- data/db/migrate/20150821102558_add_vote_column_to_arguments.rb +6 -0
- data/db/migrate/20150823174056_add_likes_count_to_arguments.rb +6 -0
- data/lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb +1 -0
- data/lib/generators/voluntary/product_dummy/templates/features/step_definitions/web_steps.rb +4 -0
- data/lib/generators/voluntary/product_dummy/templates/features/support/env.rb +4 -0
- data/lib/voluntary/engine.rb +1 -0
- data/lib/voluntary/test/rspec_helpers/factories.rb +4 -0
- data/lib/voluntary/version.rb +1 -1
- data/lib/voluntary.rb +1 -1
- metadata +35 -4
- data/lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb +0 -7
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.5.
|
4
|
+
version: 0.5.1
|
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-08-
|
11
|
+
date: 2015-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -178,6 +178,20 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 0.13.5
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: active_model_serializers
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.9.3
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.9.3
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: devise
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1116,7 +1130,7 @@ dependencies:
|
|
1116
1130
|
- - "~>"
|
1117
1131
|
- !ruby/object:Gem::Version
|
1118
1132
|
version: 2.2.0
|
1119
|
-
description: "#Crowdsourcing management system for #RubyOnRails: http://bit.ly/voluntary-0-5-
|
1133
|
+
description: "#Crowdsourcing management system for #RubyOnRails: http://bit.ly/voluntary-0-5-1"
|
1120
1134
|
email:
|
1121
1135
|
- gawlista@gmail.com
|
1122
1136
|
executables: []
|
@@ -1133,6 +1147,7 @@ files:
|
|
1133
1147
|
- app/assets/javascripts/voluntary/functions.js
|
1134
1148
|
- app/assets/javascripts/voluntary/lib/jquery-competitive_list.js
|
1135
1149
|
- app/assets/javascripts/voluntary/lib/jquery.multisortable.js
|
1150
|
+
- app/assets/javascripts/voluntary/lib/sugar.js
|
1136
1151
|
- app/assets/javascripts/voluntary/likes/list.js.coffee
|
1137
1152
|
- app/assets/javascripts/voluntary/users.js.coffee
|
1138
1153
|
- app/assets/stylesheets/voluntary/application.css
|
@@ -1155,8 +1170,12 @@ files:
|
|
1155
1170
|
- app/controllers/stories_controller.rb
|
1156
1171
|
- app/controllers/tasks_controller.rb
|
1157
1172
|
- app/controllers/users_controller.rb
|
1173
|
+
- app/controllers/voluntary/api/v1/argument_topics_controller.rb
|
1174
|
+
- app/controllers/voluntary/api/v1/arguments_controller.rb
|
1158
1175
|
- app/controllers/voluntary/api/v1/base_controller.rb
|
1159
1176
|
- app/controllers/voluntary/api/v1/tasks_controller.rb
|
1177
|
+
- app/controllers/voluntary/api/v1/things/arguments_controller.rb
|
1178
|
+
- app/controllers/voluntary/api/v1/users_controller.rb
|
1160
1179
|
- app/controllers/voluntary/application_controller.rb
|
1161
1180
|
- app/controllers/workflow/products_controller.rb
|
1162
1181
|
- app/controllers/workflow/project_owner_controller.rb
|
@@ -1178,6 +1197,8 @@ files:
|
|
1178
1197
|
- app/models/ability.rb
|
1179
1198
|
- app/models/area.rb
|
1180
1199
|
- app/models/area_user.rb
|
1200
|
+
- app/models/argument.rb
|
1201
|
+
- app/models/argument_topic.rb
|
1181
1202
|
- app/models/column.rb
|
1182
1203
|
- app/models/comment.rb
|
1183
1204
|
- app/models/concerns/likeable.rb
|
@@ -1218,6 +1239,11 @@ files:
|
|
1218
1239
|
- app/presenters/resources/general/wizards/story_presenter.rb
|
1219
1240
|
- app/presenters/resources/user/form_presenter.rb
|
1220
1241
|
- app/presenters/shared/collection/table_presenter.rb
|
1242
|
+
- app/serializers/application_serializer.rb
|
1243
|
+
- app/serializers/argument_serializer.rb
|
1244
|
+
- app/serializers/basic_user_serializer.rb
|
1245
|
+
- app/serializers/current_user_serializer.rb
|
1246
|
+
- app/serializers/user_serializer.rb
|
1221
1247
|
- app/views/areas/_form.html.erb
|
1222
1248
|
- app/views/areas/edit.html.erb
|
1223
1249
|
- app/views/areas/index.html.erb
|
@@ -1309,6 +1335,7 @@ files:
|
|
1309
1335
|
- app/views/workflow/user/product/areas/show.html.erb
|
1310
1336
|
- app/views/workflow/user/projects/show.html.erb
|
1311
1337
|
- config/initializers/1_initialize_app_config.rb
|
1338
|
+
- config/initializers/active_model_serializer.rb
|
1312
1339
|
- config/initializers/assets.rb
|
1313
1340
|
- config/initializers/cookies_serializer.rb
|
1314
1341
|
- config/initializers/devise.rb
|
@@ -1326,6 +1353,8 @@ files:
|
|
1326
1353
|
- config/locales/en.yml
|
1327
1354
|
- config/locales/general/en.yml
|
1328
1355
|
- config/locales/resources/area/en.yml
|
1356
|
+
- config/locales/resources/argument/en.yml
|
1357
|
+
- config/locales/resources/argument_topic/en.yml
|
1329
1358
|
- config/locales/resources/comment/en.yml
|
1330
1359
|
- config/locales/resources/like/en.yml
|
1331
1360
|
- config/locales/resources/organization/en.yml
|
@@ -1363,6 +1392,9 @@ files:
|
|
1363
1392
|
- db/migrate/20150802141840_drop_recruiting_unless_recruiting_plugin_present.rb
|
1364
1393
|
- db/migrate/20150808155719_add_api_key_to_users.rb
|
1365
1394
|
- db/migrate/20150809120211_remove_roles_model.rb
|
1395
|
+
- db/migrate/20150818151512_create_or_alter_arguments.rb
|
1396
|
+
- db/migrate/20150821102558_add_vote_column_to_arguments.rb
|
1397
|
+
- db/migrate/20150823174056_add_likes_count_to_arguments.rb
|
1366
1398
|
- lib/api_constraints.rb
|
1367
1399
|
- lib/applicat/mvc/controller.rb
|
1368
1400
|
- lib/applicat/mvc/controller/error_handling.rb
|
@@ -1443,7 +1475,6 @@ files:
|
|
1443
1475
|
- lib/generators/voluntary/product_dummy/templates/features/step_definitions/project_steps.rb
|
1444
1476
|
- lib/generators/voluntary/product_dummy/templates/features/step_definitions/resources_steps.rb
|
1445
1477
|
- lib/generators/voluntary/product_dummy/templates/features/step_definitions/session_steps.rb
|
1446
|
-
- lib/generators/voluntary/product_dummy/templates/features/step_definitions/state_machines/vacancy_steps.rb
|
1447
1478
|
- lib/generators/voluntary/product_dummy/templates/features/step_definitions/story_steps.rb
|
1448
1479
|
- lib/generators/voluntary/product_dummy/templates/features/step_definitions/task_steps.rb
|
1449
1480
|
- lib/generators/voluntary/product_dummy/templates/features/step_definitions/user_steps.rb
|