embulk-output-google_sheets_ruby 0.1.3 → 0.1.4

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: 0d4e91dd7df7e1370b3b6f8c880e858adcf1f5f6
4
- data.tar.gz: 1f3a522eae33171d9a570b94ad6a7373e9bd29a5
3
+ metadata.gz: 5660e11a04229214aa99fea91ecb6b294582a5e4
4
+ data.tar.gz: 973968a3f900db5809855e57158d45f62bf2eab2
5
5
  SHA512:
6
- metadata.gz: 9f94406edd50b4e91838420d7e91ea5104d9b43e4f6fc29e7b23671c764d2f9a19d1a1e5d7f5b46759b4c8452d36926589432bff1d6ba7a015afb8253f28a008
7
- data.tar.gz: 4a8aa6c7f0c9cb8f1f66af976f783652ac180f22afdb754d8f43aa11b790aebeb5a315b0780dcddb41e3c03baa16bcf3ef70064fb7439342d83d1aead200e1de
6
+ metadata.gz: a7e33030ca4c7645600616b973c5cc59a3e0f2545039d8ec485c4692082781747a003a352df7eeda9c9fb5b081822401a5be32f83a848be72d2fec080e30d586
7
+ data.tar.gz: fcd3b62cb2992919fb08dc6db881064626d63ea17a2e250aa022954f1d39eb348647fa8f763f10373c8f14ee246d865721274a41fea9e60a394d51a8d849a3c2
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = 'embulk-output-google_sheets_ruby'
4
- spec.version = '0.1.3'
4
+ spec.version = '0.1.4'
5
5
  spec.authors = ['ariarijp']
6
6
  spec.summary = 'Google Sheets Ruby output plugin for Embulk'
7
7
  spec.description = 'Dumps records to Google Sheets.'
@@ -34,7 +34,9 @@ module Embulk
34
34
  @auth_method = task['auth_method']
35
35
  @mode = task['mode']
36
36
  @rows = []
37
- @rows << schema.map(&:name)
37
+ if @index == 0
38
+ @rows << schema.map(&:name)
39
+ end
38
40
 
39
41
  @service = Google::Apis::SheetsV4::SheetsService.new
40
42
  @service.client_options.application_name = APPLICATION_NAME
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-google_sheets_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ariarijp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-12 00:00:00.000000000 Z
11
+ date: 2021-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement