babelyoda 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/babelyoda.rb +7 -8
- data/lib/babelyoda/version.rb +1 -1
- metadata +25 -25
data/lib/babelyoda.rb
CHANGED
@@ -164,16 +164,15 @@ namespace :babelyoda do
|
|
164
164
|
end
|
165
165
|
$logger.info "Pushing local keys for '#{langs.join(', ')}' to the remote..."
|
166
166
|
spec.strings_files.each do |filename|
|
167
|
-
local_keyset =
|
167
|
+
local_keyset = Babelyoda::Strings.new(filename, spec.development_language).read!
|
168
|
+
$logger.debug "Processing keyset: #{local_keyset.name}"
|
168
169
|
|
169
170
|
langs.each do |lang|
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
local_keyset.merge!(strings, preserve: true)
|
176
|
-
end
|
171
|
+
next if lang == spec.development_language
|
172
|
+
fn = strings_filename(local_keyset.name, lang)
|
173
|
+
next unless File.exist?(fn)
|
174
|
+
strings = Babelyoda::Strings.new(fn, lang).read!
|
175
|
+
local_keyset.merge!(strings, preserve: true)
|
177
176
|
end
|
178
177
|
|
179
178
|
remote_keyset = spec.engine.load_keyset(local_keyset.name, nil, :unapproved)
|
data/lib/babelyoda/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: babelyoda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-21 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70180055212420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70180055212420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: guard
|
27
|
-
requirement: &
|
27
|
+
requirement: &70180055211860 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70180055211860
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: guard-rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &70180055211440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70180055211440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: ruby_gntp
|
49
|
-
requirement: &
|
49
|
+
requirement: &70180055211020 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70180055211020
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: awesome_print
|
60
|
-
requirement: &
|
60
|
+
requirement: &70180055210440 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -68,10 +68,10 @@ dependencies:
|
|
68
68
|
version: 1.0.2
|
69
69
|
type: :runtime
|
70
70
|
prerelease: false
|
71
|
-
version_requirements: *
|
71
|
+
version_requirements: *70180055210440
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: rake
|
74
|
-
requirement: &
|
74
|
+
requirement: &70180055209460 !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
77
77
|
- - ~>
|
@@ -82,10 +82,10 @@ dependencies:
|
|
82
82
|
version: 0.9.2.2
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
|
-
version_requirements: *
|
85
|
+
version_requirements: *70180055209460
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: active_support
|
88
|
-
requirement: &
|
88
|
+
requirement: &70180055202380 !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
@@ -96,10 +96,10 @@ dependencies:
|
|
96
96
|
version: 3.0.0
|
97
97
|
type: :runtime
|
98
98
|
prerelease: false
|
99
|
-
version_requirements: *
|
99
|
+
version_requirements: *70180055202380
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: rchardet19
|
102
|
-
requirement: &
|
102
|
+
requirement: &70180055201600 !ruby/object:Gem::Requirement
|
103
103
|
none: false
|
104
104
|
requirements:
|
105
105
|
- - ~>
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: 1.3.5
|
111
111
|
type: :runtime
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *70180055201600
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: builder
|
116
|
-
requirement: &
|
116
|
+
requirement: &70180055200860 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ~>
|
@@ -124,10 +124,10 @@ dependencies:
|
|
124
124
|
version: 3.0.0
|
125
125
|
type: :runtime
|
126
126
|
prerelease: false
|
127
|
-
version_requirements: *
|
127
|
+
version_requirements: *70180055200860
|
128
128
|
- !ruby/object:Gem::Dependency
|
129
129
|
name: nokogiri
|
130
|
-
requirement: &
|
130
|
+
requirement: &70180055200100 !ruby/object:Gem::Requirement
|
131
131
|
none: false
|
132
132
|
requirements:
|
133
133
|
- - ~>
|
@@ -138,10 +138,10 @@ dependencies:
|
|
138
138
|
version: 1.5.0
|
139
139
|
type: :runtime
|
140
140
|
prerelease: false
|
141
|
-
version_requirements: *
|
141
|
+
version_requirements: *70180055200100
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
143
|
name: term-ansicolor
|
144
|
-
requirement: &
|
144
|
+
requirement: &70180055199360 !ruby/object:Gem::Requirement
|
145
145
|
none: false
|
146
146
|
requirements:
|
147
147
|
- - ~>
|
@@ -152,10 +152,10 @@ dependencies:
|
|
152
152
|
version: 1.0.7
|
153
153
|
type: :runtime
|
154
154
|
prerelease: false
|
155
|
-
version_requirements: *
|
155
|
+
version_requirements: *70180055199360
|
156
156
|
- !ruby/object:Gem::Dependency
|
157
157
|
name: log4r-color
|
158
|
-
requirement: &
|
158
|
+
requirement: &70180055198640 !ruby/object:Gem::Requirement
|
159
159
|
none: false
|
160
160
|
requirements:
|
161
161
|
- - ~>
|
@@ -163,7 +163,7 @@ dependencies:
|
|
163
163
|
version: '1.2'
|
164
164
|
type: :runtime
|
165
165
|
prerelease: false
|
166
|
-
version_requirements: *
|
166
|
+
version_requirements: *70180055198640
|
167
167
|
description: A simple utility to push/pull l10n resources of an Xcode project to/from
|
168
168
|
the translators
|
169
169
|
email:
|