podcsv 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/lib/podcsv.rb +4 -3
- data/lib/podcsv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 479b585dbcbd90c248d2f41f9444df1081b19884
|
4
|
+
data.tar.gz: 2809e93b4f23cef0382aaf654351c6857294797d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 509f17323a75514bbab62a076f9c14f7df1001dfc7b7d4b4af018cae606ce41dd01658add2ce4efabda1e0e9a0de0454ab5c1d3ae2161c7430ce290180392339
|
7
|
+
data.tar.gz: 40076aa0abb26cdebaeef24f94857d0698484c9bb2d4fcc98697c2abcff3eb181845f15f782b503657c826261fd8047f14c87ab7d577bdff1221b8c8070f4fc8
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
data/lib/podcsv.rb
CHANGED
@@ -96,7 +96,8 @@ class PodArray < Array
|
|
96
96
|
#$stderr.puts "{#{self.class}##{__method__}} args: #{args} / rr: #{rr}"
|
97
97
|
|
98
98
|
pary = super(args)
|
99
|
-
|
99
|
+
# `self.class` for derived classes.
|
100
|
+
ret = self.class.new(
|
100
101
|
# Integer
|
101
102
|
pary
|
102
103
|
)
|
@@ -142,7 +143,7 @@ class PodArray < Array
|
|
142
143
|
|
143
144
|
def reverse
|
144
145
|
#$stderr.puts "#{self.class}##{__method__} ()"
|
145
|
-
ret =
|
146
|
+
ret = self.class.new(super)
|
146
147
|
#$stderr.puts "#{self.class}##{__method__} ret: #{ret.class}"
|
147
148
|
#$stderr.puts "#{self.class}##{__method__} ret.first: #{ret.first.class}"
|
148
149
|
|
@@ -203,7 +204,7 @@ class PodArray < Array
|
|
203
204
|
|
204
205
|
# return
|
205
206
|
if block_given?
|
206
|
-
|
207
|
+
self.class.new(ret)
|
207
208
|
else
|
208
209
|
tmp
|
209
210
|
end
|
data/lib/podcsv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: podcsv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YAMAMOTO, Masayuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|