voluntary_translation 0.1.0 → 0.2.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 19a6f81a17c13b14a7c73aabeb7d111b9b565912
4
+ data.tar.gz: 48f8f9521e10b10b37073cacc55961e94fb4e4d3
5
+ SHA512:
6
+ metadata.gz: 5dfe7d9dfe51d92893715094ebc7e8a72f49151ac740445f8573f270c8c7762203118fad831f373392f54db7c4386f621b57545e3f4259763192dec2c09c8b3d
7
+ data.tar.gz: 744528f274a6a405bedcd8043b125aa7328ddc52e334962bc049d37fde0eca4d1fa544e4f535646919cf00bbe7066fb4f148fe92354f86b36230cc53bfd8e4d2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.0 (April 10, 2015) ##
2
+
3
+ * #2 Rails 4.2.1 upgrade and Travis setup.
4
+
1
5
  ## 0.1.0 (March 22, 2014) ##
2
6
 
3
7
  * Rails 4 upgrade.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Mathias Gawlista
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # voluntary_translation [![Build Status](https://travis-ci.org/volontariat/voluntary_translation.svg?branch=master)](https://travis-ci.org/volontariat/voluntary_translation) [![Code Climate](https://codeclimate.com/github/volontariat/voluntary_translation/badges/gpa.svg)](https://codeclimate.com/github/volontariat/voluntary_translation) [![Test Coverage](https://codeclimate.com/github/volontariat/voluntary_translation/badges/coverage.svg)](https://codeclimate.com/github/volontariat/voluntary_translation) [![Dependency Status](https://gemnasium.com/volontariat/voluntary_translation.png)](https://gemnasium.com/volontariat/voluntary_translation)
2
+
3
+ Translation plugin for Crowdsourcing management system Voluntary.Software.
4
+
5
+ ## Installation
6
+
7
+ Preconditions: install the voluntary gem in your rails application https://GitHub.com/volontariat/voluntary
8
+
9
+ Add this to your Gemfile:
10
+
11
+ ```ruby
12
+ gem 'voluntary_translation'
13
+ ```
14
+
15
+ Run this in your console:
16
+
17
+ ```bash
18
+ bundle install
19
+ ```
20
+
21
+ Run this in your console:
22
+
23
+ ```bash
24
+ rake railties:install:migrations
25
+ ```
26
+
27
+ ## License
28
+
29
+ This project uses MIT-LICENSE.
@@ -1,10 +1,6 @@
1
1
  class AddTranslationProduct < ActiveRecord::Migration
2
2
  def up
3
- area = Area.where(name: 'General').first
4
-
5
- product = Product.new(name: 'Translation', text: 'Dummy', area_ids: [area.id])
6
- product.user_id = User.where(name: 'Master').first.id
7
- product.save!
3
+ product = Product.create(name: 'Translation', text: 'Dummy')
8
4
  end
9
5
 
10
6
  def down
@@ -1,3 +1,3 @@
1
1
  module VoluntaryTranslation
2
- VERSION = "0.1.0"
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,44 +1,283 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voluntary_translation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mathias Gawlista
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-03-22 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: voluntary
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 0.2.0
19
+ version: 0.3.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 0.2.0
30
- description: Translation product for crowdsourcing engine voluntary.
26
+ version: 0.3.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: letter_opener
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: oink
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.10.1
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.10.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: awesome_print
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.1.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: capybara
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.1.2
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.1.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: capybara-webkit
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.13.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.13.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: cucumber-rails-training-wheels
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 1.0.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.0.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: timecop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.6.1
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.6.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: factory_girl_rails
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 1.7.0
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 1.7.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: fixture_builder
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.3.3
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.3.3
167
+ - !ruby/object:Gem::Dependency
168
+ name: selenium-webdriver
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 2.22.1
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 2.22.1
181
+ - !ruby/object:Gem::Dependency
182
+ name: spork
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 1.0rc2
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 1.0rc2
195
+ - !ruby/object:Gem::Dependency
196
+ name: guard-rspec
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: 3.0.2
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: 3.0.2
209
+ - !ruby/object:Gem::Dependency
210
+ name: guard-spork
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: 1.5.1
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: 1.5.1
223
+ - !ruby/object:Gem::Dependency
224
+ name: guard-cucumber
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 1.4.0
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 1.4.0
237
+ - !ruby/object:Gem::Dependency
238
+ name: launchy
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: 2.1.2
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 2.1.2
251
+ - !ruby/object:Gem::Dependency
252
+ name: database_cleaner
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: 0.7.1
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: 0.7.1
265
+ description: 'Plugin for #Crowdsourcing system Voluntary.Software: http://bit.ly/vt-0-2-0'
31
266
  email:
32
267
  - gawlista@gmail.com
33
268
  executables: []
34
269
  extensions: []
35
270
  extra_rdoc_files: []
36
271
  files:
272
+ - CHANGELOG.md
273
+ - LICENSE
274
+ - README.md
275
+ - Rakefile
37
276
  - app/assets/javascripts/voluntary_translation/stories.js.coffee
277
+ - app/models/product/translation.rb
38
278
  - app/models/product/translation/column.rb
39
279
  - app/models/product/translation/story.rb
40
280
  - app/models/product/translation/task.rb
41
- - app/models/product/translation.rb
42
281
  - app/views/products/types/translation/stories/_form.html.erb
43
282
  - app/views/products/types/translation/stories/steps/_activate.html.erb
44
283
  - app/views/products/types/translation/stories/steps/_setup_tasks.html.erb
@@ -49,42 +288,31 @@ files:
49
288
  - config/routes.rb
50
289
  - db/migrate/20131006062915_add_translation_product.rb
51
290
  - lib/tasks/voluntary_translation_tasks.rake
291
+ - lib/voluntary_translation.rb
52
292
  - lib/voluntary_translation/engine.rb
53
293
  - lib/voluntary_translation/version.rb
54
- - lib/voluntary_translation.rb
55
- - CHANGELOG.md
56
- - MIT-LICENSE
57
- - Rakefile
58
- - README.rdoc
59
294
  homepage: http://github.com/volontariat/voluntary_translation
60
295
  licenses: []
296
+ metadata: {}
61
297
  post_install_message:
62
298
  rdoc_options: []
63
299
  require_paths:
64
300
  - lib
65
301
  required_ruby_version: !ruby/object:Gem::Requirement
66
- none: false
67
302
  requirements:
68
- - - ! '>='
303
+ - - ">="
69
304
  - !ruby/object:Gem::Version
70
305
  version: '0'
71
- segments:
72
- - 0
73
- hash: 471193835094535036
74
306
  required_rubygems_version: !ruby/object:Gem::Requirement
75
- none: false
76
307
  requirements:
77
- - - ! '>='
308
+ - - ">="
78
309
  - !ruby/object:Gem::Version
79
310
  version: '0'
80
- segments:
81
- - 0
82
- hash: 471193835094535036
83
311
  requirements: []
84
312
  rubyforge_project:
85
- rubygems_version: 1.8.23
313
+ rubygems_version: 2.4.5
86
314
  signing_key:
87
- specification_version: 3
88
- summary: Translation product for crowdsourcing engine voluntary.
315
+ specification_version: 4
316
+ summary: Translation plugin for Crowdsourcing management system Voluntary.Software.
89
317
  test_files: []
90
318
  has_rdoc:
data/MIT-LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright 2013 YOURNAME
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = VoluntaryTranslation
2
-
3
- This project rocks and uses MIT-LICENSE.