tolq-parsers-csv 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/csv/unparser.rb +2 -2
- data/lib/csv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29a83df2ed2eeadb5c776d96a816bdd945b554cf
|
4
|
+
data.tar.gz: ab06afe8e05ad99c21242c6775ba1ec774385abd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7bbd4a2281da0ed35b4c2d7ba05aa55aeb198e50e0a333b13ee00058ea8da4260561fc423f73078ce886ad8091cb9d07af36b2c0c970f639d2bf3f0987e159f
|
7
|
+
data.tar.gz: a952e45eccfc47a4d93135d566170f6c69f9b2ece12e5e175c7de53af39adcc4aa44824a099e683b0a8f39f2d17d45c515d7436e55707b6f3d08fda7c11ce31e
|
data/lib/csv/unparser.rb
CHANGED
@@ -7,7 +7,7 @@ module Tolq::Parsers::CSV
|
|
7
7
|
#
|
8
8
|
# @param tolq_response [Hash] A parsed response from our api
|
9
9
|
# @return [String] A csv formatted string
|
10
|
-
def from_tolq_response(tolq_response)
|
10
|
+
def from_tolq_response(tolq_response, **args)
|
11
11
|
translations = tolq_response['translations'].values.first
|
12
12
|
generate_csv(translations)
|
13
13
|
end
|
@@ -16,7 +16,7 @@ module Tolq::Parsers::CSV
|
|
16
16
|
#
|
17
17
|
# @param translations [Hash] A hash of translations with key => translation
|
18
18
|
# @return [String] A csv formatted string
|
19
|
-
def from_hash(translations)
|
19
|
+
def from_hash(translations, **args)
|
20
20
|
generate_csv(translations)
|
21
21
|
end
|
22
22
|
|
data/lib/csv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tolq-parsers-csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timon Vonk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|