web_translate_it 2.0.0 → 2.0.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.
data/history.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Version 2.0.1 / 2012-05-11
2
+
3
+ * Fix: Issue with saving labels on a string.
4
+
1
5
  ## Version 2.0.0 / 2012-04-24
2
6
 
3
7
  * Add more helpers to `wti init` a project
@@ -3,7 +3,7 @@ module WebTranslateIt
3
3
  class String
4
4
  require 'json'
5
5
 
6
- attr_accessor :id, :key, :plural, :type, :dev_comment, :word_count, :status, :category, :label, :file,
6
+ attr_accessor :id, :key, :plural, :type, :dev_comment, :word_count, :status, :category, :labels, :file,
7
7
  :created_at, :updated_at, :translations, :new_record
8
8
 
9
9
  # Initialize a new WebTranslateIt::String
@@ -30,7 +30,7 @@ module WebTranslateIt
30
30
  self.word_count = params["word_count"] || nil
31
31
  self.status = params["status"] || nil
32
32
  self.category = params["category"] || nil
33
- self.label = params["label"] || nil
33
+ self.labels = params["labels"] || nil
34
34
  self.file = params["file"] || nil
35
35
  self.created_at = params["created_at"] || nil
36
36
  self.updated_at = params["updated_at"] || nil
@@ -233,7 +233,7 @@ module WebTranslateIt
233
233
  "type" => type,
234
234
  "dev_comment" => dev_comment,
235
235
  "status" => status,
236
- "label" => label,
236
+ "labels" => labels,
237
237
  "category" => category,
238
238
  "file" => file
239
239
  }
data/version CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_translate_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
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: 2012-04-24 00:00:00.000000000 Z
12
+ date: 2012-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multipart-post