to_deep_csv 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: e3920e42f4f2b239c8ae90603f22a03a58cecc8bab182f5f64688e56a09ea3d5
4
- data.tar.gz: 22a1ac3df01c8c53e34d4bf711ae4d06a744f7f9547136b4aa0949944b689c76
3
+ metadata.gz: 876c2b6f30e2ccffd16978d70a3c4fc272aa164a2551db3332bd878a113386cd
4
+ data.tar.gz: f9bef94fd9698caeb88be9c7c7beeccb53d10d67cf3e7940b086422cb0711a44
5
5
  SHA512:
6
- metadata.gz: f70cc8041b4ceeb30d7c7000e561c6d7e3d587d6c28874508839667185125ab7d7bb05f4300090ac8bf697544d8eb7d3e105496448fae29e6139cc4991f043ab
7
- data.tar.gz: 4000a31653e020b46975a164da370e7166d983445338ed1e1aaf37472e0653dd9df4dd6fb8d81f18d957e3f93609b4cf4ee73663f7700e7b76c65cd39c2059f9
6
+ metadata.gz: 1c2781db704176bbcb109e209b3eae41fa155a5a9c0e60bdf0574a72a4c9e92600b914b39250cd2ce27198ce390eb291cb2735399ad51ea94f8a183c92a59647
7
+ data.tar.gz: f5b89b440454a7fefa636645a499e50b3a08706bfaa654ab5033bd4007912469e5d3570d980f7594b3caf12681ecd43ac6f2cfdd379b8479b498307dc854aada
@@ -1,4 +1,5 @@
1
1
  require "csv"
2
+ require "active_support/core_ext/object/try"
2
3
 
3
4
  class Array
4
5
  # to_csv for Array<Array>, Array<Hash>, Array<ActiveRecord::Base>, ActiveRecord::Relation etc.
@@ -1,3 +1,3 @@
1
1
  module ToDeepCsv
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
data/to_deep_csv.gemspec CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
+ spec.add_dependency "activesupport"
23
24
  spec.add_development_dependency "bundler", "~> 1.16"
24
25
  spec.add_development_dependency "onkcop"
25
26
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: to_deep_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Narazaka
@@ -10,6 +10,20 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2018-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement