web_translate_it 1.7.0.4 → 1.7.0.5

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 1.7.0.5 / 2010-09-04
2
+
3
+ * Fixes to make wti compatible with Ruby 1.9.2.
4
+
1
5
  ## Version 1.7.0.4 / 2010-06-29
2
6
 
3
7
  * New: Added support for labels. Only works for `wti push` for now.
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module WebTranslateIt
2
3
 
3
4
  # Class to automatically fetch the last translations from Web Translate It
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module WebTranslateIt
2
3
 
3
4
  # Handles the configuration of your project, both via the the configuration file
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module WebTranslateIt
2
3
  class Project
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require 'sinatra/base'
2
3
  require 'erb'
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module WebTranslateIt
2
3
  # A TranslationFile is the representation of a master language file
3
4
  # on Web Translate It.
@@ -9,7 +10,7 @@ module WebTranslateIt
9
10
  require 'net/https'
10
11
  require 'net/http/post/multipart'
11
12
  require 'time'
12
- require 'ftools'
13
+ require 'fileutils'
13
14
 
14
15
  attr_accessor :id, :file_path, :locale, :api_key
15
16
 
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module WebTranslateIt
2
3
  # A few useful functions
3
4
  class Util
data/version.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  :major: 1
3
3
  :minor: 7
4
4
  :tiny: 0
5
- :patch: 4
5
+ :patch: 5
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_translate_it
3
3
  version: !ruby/object:Gem::Version
4
- hash: 111
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 7
9
8
  - 0
10
- - 4
11
- version: 1.7.0.4
9
+ - 5
10
+ version: 1.7.0.5
12
11
  platform: ruby
13
12
  authors:
14
13
  - "\xC3\x89douard Bri\xC3\xA8re"
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-06-29 00:00:00 +02:00
18
+ date: 2010-08-04 00:00:00 +02:00
20
19
  default_executable: wti
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -27,7 +26,6 @@ dependencies:
27
26
  requirements:
28
27
  - - ~>
29
28
  - !ruby/object:Gem::Version
30
- hash: 15
31
29
  segments:
32
30
  - 1
33
31
  - 0
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ~>
44
42
  - !ruby/object:Gem::Version
45
- hash: 19
46
43
  segments:
47
44
  - 0
48
45
  - 1
@@ -58,7 +55,6 @@ dependencies:
58
55
  requirements:
59
56
  - - ~>
60
57
  - !ruby/object:Gem::Version
61
- hash: 15
62
58
  segments:
63
59
  - 1
64
60
  - 0
@@ -73,7 +69,6 @@ dependencies:
73
69
  requirements:
74
70
  - - ">="
75
71
  - !ruby/object:Gem::Version
76
- hash: 13
77
72
  segments:
78
73
  - 1
79
74
  - 2
@@ -138,7 +133,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
133
  requirements:
139
134
  - - ">="
140
135
  - !ruby/object:Gem::Version
141
- hash: 3
142
136
  segments:
143
137
  - 0
144
138
  version: "0"
@@ -147,7 +141,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
141
  requirements:
148
142
  - - ">="
149
143
  - !ruby/object:Gem::Version
150
- hash: 3
151
144
  segments:
152
145
  - 0
153
146
  version: "0"