acb 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/acb/version.rb +1 -1
  3. data/lib/acb.rb +2 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac03b7599299847c77dd1a7be3ec95a8c4848591fbe577f74bcc3d25abb3b242
4
- data.tar.gz: f3b0f0c8180184eff682fbe4679b39f0a9b1cb732fa8da9afa5d2deb27fd94f3
3
+ metadata.gz: 9e3c77997c9ede024d51be4db16615292e55b6014482f31f7688d7a9762acb3d
4
+ data.tar.gz: 88b9d179edbc54240d77b4625f1386f519284c8fa07a98b024e0be4dd1790c12
5
5
  SHA512:
6
- metadata.gz: b7f4d5f6cd6a79739a0fa320304522fad6664141b8353a786daaccec665a6a8cab8073c14c89634124cafc759b96d106faa71a6d65ee0298b4b0d15ae0db32c4
7
- data.tar.gz: 5f3dda17e5b93170f1f6ad8046f2989a881d7137edcf56c83fb4ca1737770428fbec9cd1701960709caa8c7469f4d19a92a0ff40963a52c3e785c919c3a0b61d
6
+ metadata.gz: 246cf3749a975639a8086ac4d7e96f3f3e1545e8ef3ade4caa853952e9310c89f90cf0b2bdff4da888814d836e344e3e89727a32d190b2c62457bc513aec68cb
7
+ data.tar.gz: 7c3eda99c5133d3367fd4f19bf36b8d68a8788175074d3eedf88cdfad65df3c2c7a0a8dcf137c204bf4330f2c6f403b78a668062aae8983c75e6487b9521b03c
data/lib/acb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Acb
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
data/lib/acb.rb CHANGED
@@ -30,9 +30,8 @@ module Acb
30
30
  end
31
31
 
32
32
  def content_string(**options)
33
- header_content = self.class.columns.header.join(',') + "\n"
34
-
35
- CSV.generate(header_content, **options) do |csv|
33
+ CSV.generate(**options) do |csv|
34
+ csv << self.class.columns.header
36
35
  data.each do |row|
37
36
  csv << get_data_from(row)
38
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acb
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
  - Akito Hikasa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport