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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adf800e42e5f26bdf2f163aa5748c2d442946c83
4
- data.tar.gz: 413aba3f970760c04a4bba9da409f3cd5b051ccb
3
+ metadata.gz: 29a83df2ed2eeadb5c776d96a816bdd945b554cf
4
+ data.tar.gz: ab06afe8e05ad99c21242c6775ba1ec774385abd
5
5
  SHA512:
6
- metadata.gz: dafd5a12af86b79eee2c4d3217c79d79c88804512064b3d8b3b5630c4e6a308af95607302adf50bb3b3044cad909e3b96872f20e96e478aa4689f121c6f84635
7
- data.tar.gz: 84dce900f344234131a12cf03c2e2b7292b00311694dc01ba32d46cc6802f6530be01d0d22cbee808fbd7d34f02f8deefe18999c14aa0384890e675c0069164f
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
@@ -1,7 +1,7 @@
1
1
  module Tolq
2
2
  module Parsers
3
3
  module CSV
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
6
6
  end
7
7
  end
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.1
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-10 00:00:00.000000000 Z
11
+ date: 2017-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler