xlf_importer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xlf_importer/version.rb +1 -1
- data/lib/xlf_importer.rb +2 -2
- data/xlf_importer.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6596611baaa2f9dc1a7cb94d3a0f91d3140642
|
4
|
+
data.tar.gz: 975948ad2eb24ddbf4803aff7c6f812bb7b32f2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bd803050cf390abbeffea9ab0ab44d83877100de719e5cd8e65e705b31799d03d6594d25a860b79fb96ba1d89f72c46e97efa7f7c08b2821ff418d947273e24
|
7
|
+
data.tar.gz: c5fea993e7b9328dd2a32288e603b5094ec686c6c1bbfe6da065184f8d225b702ddf2af945a67c0bcf645df9189c9d834ae70a4e373b2b660fbbeb7d8731ecb1
|
data/lib/xlf_importer/version.rb
CHANGED
data/lib/xlf_importer.rb
CHANGED
@@ -110,7 +110,7 @@ module XlfImporter
|
|
110
110
|
unless tag_stack[-2].nil?
|
111
111
|
return if tag_stack[-2].bytes.to_a.eql?([98, 111, 100, 121]) || tag_stack[-2].bytes.to_a.eql?([116, 114, 97, 110, 115, 45, 117, 110, 105, 116])
|
112
112
|
end
|
113
|
-
write_tu
|
113
|
+
write_tu
|
114
114
|
@doc[:tu][:counter] += 1
|
115
115
|
when [115, 111, 117, 114, 99, 101] # source
|
116
116
|
@doc[:tu][:vals] << [@doc[:tu][:id]] unless @doc[:tu][:vals].include?([@doc[:tu][:id]])
|
@@ -124,7 +124,7 @@ module XlfImporter
|
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
127
|
-
def write_tu
|
127
|
+
def write_tu
|
128
128
|
generate_unique_id
|
129
129
|
end
|
130
130
|
|
data/xlf_importer.gemspec
CHANGED
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
23
|
spec.add_development_dependency "rspec"
|
24
24
|
spec.add_runtime_dependency "libxml-ruby", "2.8.0"
|
25
|
-
spec.add_runtime_dependency "pretty_strings", "~> 0.
|
25
|
+
spec.add_runtime_dependency "pretty_strings", "~> 0.6.0"
|
26
26
|
spec.add_runtime_dependency "charlock_holmes_bundle_icu", "~> 0.6.9.2"
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xlf_importer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin S. Dias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.6.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.6.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: charlock_holmes_bundle_icu
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.4.
|
139
|
+
rubygems_version: 2.4.1
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: XLIFF / XLF file importer
|