txgh 2.4.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/txgh/version.rb +1 -1
- data/spec/resource_contents_spec.rb +7 -7
- data/spec/resource_downloader_spec.rb +18 -18
- data/spec/resource_updater_spec.rb +1 -1
- data/txgh.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fdd0fc2aef582a990ec6d4e3ba910272c983b5c
|
4
|
+
data.tar.gz: a23ff4651a74b4d83fa8aa6568000651e77092b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 742668090fc7458a79091b64d4c1ddfc4cf83c8de2a70579b970639a3145c55f2fdff056951ccf1a9626086c28b96faed39cca8ba6f1e16c0aece5835bd13c2b
|
7
|
+
data.tar.gz: 2cda6f1fe1938a253585beef2e806e8c7cf9ddada727735bbfd568c754e337d1cfd1cd16a2838c0ca0e604ae3a9fbf6832ed2dd9cc0723ab2cf24944ef198065
|
data/lib/txgh/version.rb
CHANGED
@@ -50,9 +50,9 @@ describe ResourceContents do
|
|
50
50
|
expect(stream.string).to eq(outdent(%Q(
|
51
51
|
en:
|
52
52
|
welcome:
|
53
|
-
message:
|
53
|
+
message: "Hello!"
|
54
54
|
goodbye:
|
55
|
-
message:
|
55
|
+
message: "Goodbye!"
|
56
56
|
)))
|
57
57
|
end
|
58
58
|
|
@@ -65,12 +65,12 @@ describe ResourceContents do
|
|
65
65
|
expect(stream.string).to eq(outdent(%Q(
|
66
66
|
en:
|
67
67
|
welcome:
|
68
|
-
message:
|
68
|
+
message: "Hello!"
|
69
69
|
goodbye:
|
70
|
-
message:
|
70
|
+
message: "Goodbye!"
|
71
71
|
foo:
|
72
72
|
bar:
|
73
|
-
baz:
|
73
|
+
baz: "boo"
|
74
74
|
)))
|
75
75
|
end
|
76
76
|
end
|
@@ -80,9 +80,9 @@ describe ResourceContents do
|
|
80
80
|
expect(contents.to_s).to eq(outdent(%Q(
|
81
81
|
en:
|
82
82
|
welcome:
|
83
|
-
message:
|
83
|
+
message: "Hello!"
|
84
84
|
goodbye:
|
85
|
-
message:
|
85
|
+
message: "Goodbye!"
|
86
86
|
)))
|
87
87
|
end
|
88
88
|
end
|
@@ -33,7 +33,7 @@ describe ResourceDownloader do
|
|
33
33
|
def translations_for(resource, language)
|
34
34
|
outdent(%Q{
|
35
35
|
#{language}:
|
36
|
-
string:
|
36
|
+
string: "translation"
|
37
37
|
})
|
38
38
|
end
|
39
39
|
|
@@ -114,18 +114,18 @@ describe ResourceDownloader do
|
|
114
114
|
# picard unmodified, janeway modified, sisko added, sulu removed
|
115
115
|
outdent(%Q{
|
116
116
|
en:
|
117
|
-
picard:
|
118
|
-
janeway:
|
119
|
-
sisko:
|
117
|
+
picard: "enterprise"
|
118
|
+
janeway: "uss voyager"
|
119
|
+
sisko: "deep space nine"
|
120
120
|
})
|
121
121
|
end
|
122
122
|
|
123
123
|
def diff_point_source_for(branch)
|
124
124
|
outdent(%Q{
|
125
125
|
en:
|
126
|
-
picard:
|
127
|
-
janeway:
|
128
|
-
sulu:
|
126
|
+
picard: "enterprise"
|
127
|
+
janeway: "voyager"
|
128
|
+
sulu: "excelsior"
|
129
129
|
})
|
130
130
|
end
|
131
131
|
|
@@ -143,9 +143,9 @@ describe ResourceDownloader do
|
|
143
143
|
def head_translations_for(language)
|
144
144
|
outdent(%Q{
|
145
145
|
#{language}:
|
146
|
-
picard:
|
147
|
-
janeway:
|
148
|
-
sisko:
|
146
|
+
picard: "enterprise (head trans)"
|
147
|
+
janeway: "uss voyager (head trans)"
|
148
|
+
sisko: "deep space nine (head trans)"
|
149
149
|
})
|
150
150
|
end
|
151
151
|
|
@@ -153,9 +153,9 @@ describe ResourceDownloader do
|
|
153
153
|
# diff point strings (i.e. strings in master)
|
154
154
|
outdent(%Q{
|
155
155
|
#{language}:
|
156
|
-
picard:
|
157
|
-
janeway:
|
158
|
-
sulu:
|
156
|
+
picard: "enterprise (dp trans)"
|
157
|
+
janeway: "voyager (dp trans)"
|
158
|
+
sulu: "excelsior (dp trans)"
|
159
159
|
})
|
160
160
|
end
|
161
161
|
|
@@ -167,9 +167,9 @@ describe ResourceDownloader do
|
|
167
167
|
"translations/#{language}/sample.yml",
|
168
168
|
outdent(%Q{
|
169
169
|
#{language}:
|
170
|
-
picard:
|
171
|
-
janeway:
|
172
|
-
sisko:
|
170
|
+
picard: "enterprise (dp trans)"
|
171
|
+
janeway: "uss voyager (head trans)"
|
172
|
+
sisko: "deep space nine (head trans)"
|
173
173
|
})
|
174
174
|
]
|
175
175
|
end
|
@@ -194,8 +194,8 @@ describe ResourceDownloader do
|
|
194
194
|
"translations/#{language}/sample.yml",
|
195
195
|
outdent(%Q{
|
196
196
|
#{language}:
|
197
|
-
picard:
|
198
|
-
janeway:
|
197
|
+
picard: "enterprise (dp trans)"
|
198
|
+
janeway: "voyager (dp trans)"
|
199
199
|
})
|
200
200
|
]
|
201
201
|
end
|
data/txgh.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.platform = Gem::Platform::RUBY
|
14
14
|
s.has_rdoc = true
|
15
15
|
|
16
|
-
s.add_dependency 'abroad', '~>
|
16
|
+
s.add_dependency 'abroad', '~> 3.0'
|
17
17
|
s.add_dependency 'faraday', '~> 0.9'
|
18
18
|
s.add_dependency 'faraday_middleware', '~> 0.10'
|
19
19
|
s.add_dependency 'json', '~> 1.8'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: txgh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Jackowski
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: abroad
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '3.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '3.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: faraday
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|