csv_x 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/csv_x.rb +1 -1
  2. metadata +22 -13
  3. checksums.yaml +0 -7
@@ -8,7 +8,7 @@ module CsvX
8
8
  CSV.open(filename, 'wb') do |csv|
9
9
  csv << header
10
10
  datas.each do |data|
11
- if data.class = Hash
11
+ if data.class == Hash
12
12
  csv << make_row_from_hash(data)
13
13
  else
14
14
  csv << make_row(data)
metadata CHANGED
@@ -1,55 +1,62 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_x
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - yuki
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2015-11-02 00:00:00.000000000 Z
12
+ date: 2015-11-10 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '1.10'
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.10'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '10.0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '10.0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rspec
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  description: this gem is simple csv exporter. CsvX.export's argument is header(Array)
@@ -63,25 +70,27 @@ files:
63
70
  - lib/csv_x.rb
64
71
  homepage: https://github.com/littlekbt/csv_x
65
72
  licenses: []
66
- metadata: {}
67
73
  post_install_message:
68
74
  rdoc_options: []
69
75
  require_paths:
70
76
  - lib
71
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
+ none: false
72
79
  requirements:
73
- - - ">="
80
+ - - ! '>='
74
81
  - !ruby/object:Gem::Version
75
82
  version: '0'
76
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
+ none: false
77
85
  requirements:
78
- - - ">="
86
+ - - ! '>='
79
87
  - !ruby/object:Gem::Version
80
88
  version: '0'
81
89
  requirements: []
82
90
  rubyforge_project:
83
- rubygems_version: 2.4.8
91
+ rubygems_version: 1.8.23.2
84
92
  signing_key:
85
- specification_version: 4
93
+ specification_version: 3
86
94
  summary: csv_exporter
87
95
  test_files: []
96
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: b59d57f3173e662ed6a203242bc66d6de3087edd
4
- data.tar.gz: 3f484a04d141b5b3708fdb57983e940be2ca3606
5
- SHA512:
6
- metadata.gz: 57e6bdad964c2e8f1881e3bd642014fc9df4f11d4562bed654708531022840a950b4359e8ddd999892960dd00c533abdf493d6199917c4ab79b8a331e130ab82
7
- data.tar.gz: 7aafa1c1c368fd0ec08fadcb82446a2a2b5abd2fc234e38927bdbc601c0bcf1afbde40b759e33a25e4ec53a7fafb39c65ad9eab87e993c6bb8d24d3e5a6bf053