rio 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +1 -1
- data/README +1 -1
- data/lib/rio.rb +5 -4
- data/lib/rio/abstract_method.rb +1 -1
- data/lib/rio/alturi.rb +10 -69
- data/lib/rio/alturi/algorithm.rb +1 -18
- data/lib/rio/alturi/escape.rb +0 -4
- data/lib/rio/alturi/parse.rb +0 -29
- data/lib/rio/alturi/path_parts.rb +0 -2
- data/lib/rio/alturi/uri_parts.rb +3 -32
- data/lib/rio/argv.rb +1 -1
- data/lib/rio/arraynge.rb +1 -3
- data/lib/rio/arycopy.rb +1 -1
- data/lib/rio/assert.rb +31 -47
- data/lib/rio/base.rb +1 -1
- data/lib/rio/callstr.rb +1 -1
- data/lib/rio/const.rb +1 -1
- data/lib/rio/construct.rb +1 -1
- data/lib/rio/constructor.rb +1 -1
- data/lib/rio/context.rb +8 -4
- data/lib/rio/context/autoclose.rb +1 -1
- data/lib/rio/context/binmode.rb +1 -7
- data/lib/rio/context/copying.rb +1 -1
- data/lib/rio/context/cxx.rb +1 -1
- data/lib/rio/context/dir.rb +1 -1
- data/lib/rio/context/encoding.rb +1 -2
- data/lib/rio/context/gzip.rb +1 -1
- data/lib/rio/context/methods.rb +1 -6
- data/lib/rio/context/skip.rb +1 -1
- data/lib/rio/context/stream.rb +1 -8
- data/lib/rio/cp.rb +1 -1
- data/lib/rio/cxuri.rb +11 -7
- data/lib/rio/dbg/trace_states.rb +0 -2
- data/lib/rio/def.rb +1 -1
- data/lib/rio/dir.rb +2 -2
- data/lib/rio/doc.rb +1 -1
- data/lib/rio/entrysel.rb +6 -6
- data/lib/rio/exception.rb +1 -1
- data/lib/rio/exception/copy.rb +1 -1
- data/lib/rio/exception/notimplemented.rb +1 -1
- data/lib/rio/exception/notsupported.rb +1 -1
- data/lib/rio/exception/open.rb +1 -12
- data/lib/rio/exception/state.rb +1 -1
- data/lib/rio/ext.rb +1 -8
- data/lib/rio/ext/csv.rb +1 -25
- data/lib/rio/ext/csv/csv-legacy.rb +1 -49
- data/lib/rio/ext/csv/csv.rb +1 -24
- data/lib/rio/ext/csv/filter.rb +1 -19
- data/lib/rio/ext/if.rb +1 -1
- data/lib/rio/ext/mp3info.rb +6 -5
- data/lib/rio/ext/splitlines.rb +1 -23
- data/lib/rio/ext/yaml.rb +1 -16
- data/lib/rio/ext/yaml/doc.rb +1 -6
- data/lib/rio/ext/yaml/tie.rb +4 -7
- data/lib/rio/ext/zipfile.rb +1 -56
- data/lib/rio/ext/zipfile/fs.rb +1 -30
- data/lib/rio/ext/zipfile/rl.rb +1 -128
- data/lib/rio/ext/zipfile/rootdir.rb +1 -30
- data/lib/rio/ext/zipfile/state.rb +1 -105
- data/lib/rio/ext/zipfile/wrap.rb +1 -86
- data/lib/rio/factory.rb +2 -100
- data/lib/rio/fibpipe.rb +0 -98
- data/lib/rio/file.rb +1 -12
- data/lib/rio/filter.rb +1 -1
- data/lib/rio/filter/closeoneof.rb +1 -10
- data/lib/rio/filter/gzip.rb +1 -16
- data/lib/rio/fs.rb +75 -92
- data/lib/rio/fs/base.rb +1 -1
- data/lib/rio/fs/impl.rb +1 -1
- data/lib/rio/fs/native.rb +1 -1
- data/lib/rio/fs/stream.rb +1 -1
- data/lib/rio/fs/url.rb +1 -1
- data/lib/rio/ftp/conncache.rb +1 -15
- data/lib/rio/ftp/dir.rb +1 -2
- data/lib/rio/ftp/fs.rb +1 -13
- data/lib/rio/fwd.rb +31 -8
- data/lib/rio/grande.rb +2 -4
- data/lib/rio/handle.rb +1 -1
- data/lib/rio/if.rb +1 -7
- data/lib/rio/if/basic.rb +1 -5
- data/lib/rio/if/csv.rb +1 -1
- data/lib/rio/if/dir.rb +1 -1
- data/lib/rio/if/file.rb +1 -1
- data/lib/rio/if/fileordir.rb +1 -1
- data/lib/rio/if/grande.rb +1 -1
- data/lib/rio/if/grande_entry.rb +1 -1
- data/lib/rio/if/grande_stream.rb +1 -1
- data/lib/rio/if/internal.rb +1 -1
- data/lib/rio/if/path.rb +1 -1
- data/lib/rio/if/rubyio.rb +1 -1
- data/lib/rio/if/string.rb +1 -1
- data/lib/rio/if/temp.rb +1 -1
- data/lib/rio/if/test.rb +1 -1
- data/lib/rio/if/yaml.rb +1 -1
- data/lib/rio/ioh.rb +42 -24
- data/lib/rio/iomode.rb +3 -3
- data/lib/rio/ios/fail.rb +1 -1
- data/lib/rio/ios/generic.rb +1 -1
- data/lib/rio/ios/mode.rb +1 -1
- data/lib/rio/ios/null.rb +1 -13
- data/lib/rio/iowrap.rb +1 -14
- data/lib/rio/kernel.rb +1 -2
- data/lib/rio/local.rb +1 -13
- data/lib/rio/match.rb +1 -2
- data/lib/rio/matchrecord.rb +5 -34
- data/lib/rio/no_warn.rb +1 -1
- data/lib/rio/nullio.rb +1 -1
- data/lib/rio/open3.rb +1 -10
- data/lib/rio/ops.rb +1 -1
- data/lib/rio/ops/construct.rb +1 -1
- data/lib/rio/ops/create.rb +1 -3
- data/lib/rio/ops/dir.rb +4 -46
- data/lib/rio/ops/either.rb +1 -3
- data/lib/rio/ops/file.rb +1 -25
- data/lib/rio/ops/path.rb +1 -18
- data/lib/rio/ops/stream.rb +4 -5
- data/lib/rio/ops/stream/input.rb +1 -10
- data/lib/rio/ops/stream/output.rb +1 -3
- data/lib/rio/ops/stream/read.rb +1 -1
- data/lib/rio/ops/stream/write.rb +1 -1
- data/lib/rio/ops/symlink.rb +1 -10
- data/lib/rio/path.rb +1 -4
- data/lib/rio/path/reset.rb +1 -6
- data/lib/rio/piper.rb +1 -4
- data/lib/rio/piper/cp.rb +1 -16
- data/lib/rio/prompt.rb +1 -1
- data/lib/rio/rectype.rb +1 -4
- data/lib/rio/rl/base.rb +1 -14
- data/lib/rio/rl/builder.rb +1 -12
- data/lib/rio/rl/chmap.rb +1 -11
- data/lib/rio/rl/fs2url.rb +1 -8
- data/lib/rio/rl/ioi.rb +1 -2
- data/lib/rio/rl/path.rb +1 -20
- data/lib/rio/rl/pathmethods.rb +1 -3
- data/lib/rio/rl/uri.rb +1 -11
- data/lib/rio/rl/withpath.rb +2 -30
- data/lib/rio/rrl/base.rb +1 -6
- data/lib/rio/rrl/builder.rb +2 -8
- data/lib/rio/rrl/chmap.rb +1 -11
- data/lib/rio/rrl/ioi.rb +1 -3
- data/lib/rio/rrl/path.rb +1 -11
- data/lib/rio/rrl/withpath.rb +8 -48
- data/lib/rio/scheme/aryio.rb +1 -1
- data/lib/rio/scheme/cmdio.rb +3 -15
- data/lib/rio/scheme/cmdpipe.rb +1 -5
- data/lib/rio/scheme/fd.rb +1 -1
- data/lib/rio/scheme/ftp.rb +1 -40
- data/lib/rio/scheme/http.rb +10 -7
- data/lib/rio/scheme/null.rb +1 -1
- data/lib/rio/scheme/path.rb +1 -63
- data/lib/rio/scheme/stderr.rb +1 -2
- data/lib/rio/scheme/stdio.rb +3 -3
- data/lib/rio/scheme/strio.rb +1 -3
- data/lib/rio/scheme/sysio.rb +1 -1
- data/lib/rio/scheme/tcp.rb +1 -2
- data/lib/rio/scheme/temp.rb +9 -38
- data/lib/rio/state.rb +4 -38
- data/lib/rio/state/data.rb +4 -5
- data/lib/rio/state/error.rb +2 -6
- data/lib/rio/stream.rb +1 -31
- data/lib/rio/stream/base.rb +1 -5
- data/lib/rio/stream/duplex.rb +1 -16
- data/lib/rio/stream/open.rb +1 -11
- data/lib/rio/symantics.rb +1 -1
- data/lib/rio/tempdir.rb +0 -2
- data/lib/rio/to_rio.rb +1 -1
- data/lib/rio/to_rio/all.rb +1 -1
- data/lib/rio/to_rio/array.rb +1 -1
- data/lib/rio/to_rio/io.rb +1 -1
- data/lib/rio/to_rio/object.rb +1 -1
- data/lib/rio/to_rio/string.rb +1 -1
- data/lib/rio/undef_rake_dsl.rb +3 -0
- data/lib/rio/uri/file.rb +1 -18
- data/lib/rio/uriref.rb +1 -18
- data/lib/rio/util.rb +1 -1
- data/lib/rio/version.rb +2 -2
- data/misc/update-copyright.rb +2 -2
- data/rio.gemspec +2 -3
- data/test/env.sh +1 -2
- data/test/http/tc/copy_from_http.rb +0 -1
- data/test/runhttp.rb +2 -1
- data/test/runtests.rb +7 -5
- data/test/tc/copyarray.rb +4 -4
- data/test/tc/copydir.rb +1 -1
- metadata +15 -47
data/lib/rio/tempdir.rb
CHANGED
data/lib/rio/to_rio.rb
CHANGED
data/lib/rio/to_rio/all.rb
CHANGED
data/lib/rio/to_rio/array.rb
CHANGED
data/lib/rio/to_rio/io.rb
CHANGED
data/lib/rio/to_rio/object.rb
CHANGED
data/lib/rio/to_rio/string.rb
CHANGED
data/lib/rio/uri/file.rb
CHANGED
@@ -20,7 +20,6 @@ module URI
|
|
20
20
|
#
|
21
21
|
class FILE < Generic
|
22
22
|
include REGEXP
|
23
|
-
#DEFAULT_PORT = 80
|
24
23
|
|
25
24
|
COMPONENT = [
|
26
25
|
:scheme,
|
@@ -78,7 +77,7 @@ module URI
|
|
78
77
|
if @registry || @opaque
|
79
78
|
raise InvalidURIError,
|
80
79
|
"can not set host with registry or opaque"
|
81
|
-
|
80
|
+
# elsif v != '' and @parser.regexp[:HOST] !~ v
|
82
81
|
elsif v != '' and HOST !~ v
|
83
82
|
raise InvalidComponentError,
|
84
83
|
"bad component(expected host component): #{v}"
|
@@ -114,22 +113,6 @@ module URI
|
|
114
113
|
self.host = '' if self.host.nil?
|
115
114
|
end
|
116
115
|
|
117
|
-
#
|
118
|
-
# == Description
|
119
|
-
#
|
120
|
-
# Returns the full path for an HTTP request, as required by Net::HTTP::Get.
|
121
|
-
#
|
122
|
-
# If the URI contains a query, the full path is URI#path + '?' + URI#query.
|
123
|
-
# Otherwise, the path is simply URI#path.
|
124
|
-
#
|
125
|
-
# def request_uri
|
126
|
-
# r = path_query
|
127
|
-
# if r[0] != ?/
|
128
|
-
# r = '/' + r
|
129
|
-
# end
|
130
|
-
|
131
|
-
# r
|
132
|
-
# end
|
133
116
|
end
|
134
117
|
|
135
118
|
@@schemes['FILE'] = FILE
|
data/lib/rio/uriref.rb
CHANGED
@@ -8,8 +8,6 @@ module RIO
|
|
8
8
|
def initialize(u,b=nil)
|
9
9
|
@ref = u
|
10
10
|
@base = b
|
11
|
-
#p "URIRef#initialize u=#{u} (#{u.class}),b=#{b} (#{b.class})"
|
12
|
-
#puts caller[0,6]
|
13
11
|
raise ArgumentError, "Either uri(#{u}) or base(#{b.inspect}) must be absolute" unless
|
14
12
|
@ref.absolute? or @base.absolute?
|
15
13
|
end
|
@@ -66,14 +64,12 @@ module RIO
|
|
66
64
|
|
67
65
|
def self.path_str_to_uri(pth,opts={})
|
68
66
|
cr_args = opts[:encoding] ? {:encoding => opts[:encoding]} : {}
|
69
|
-
#p cr_args
|
70
67
|
case
|
71
68
|
when pth.start_with?("//")
|
72
69
|
::Alt::URI.create(cr_args.merge(:netpath => pth))
|
73
70
|
when (pth.start_with?("/") or (pth =~ %r{^[a-zA-Z]:}))
|
74
71
|
::Alt::URI.create(cr_args.merge(:path => pth))
|
75
72
|
when pth =~ %r{^[a-zA-Z][a-zA-Z]+:}
|
76
|
-
#pth = "/" + pth if pth =~ /^[a-zA-Z]:/
|
77
73
|
::Alt::URI.parse(pth,opts)
|
78
74
|
else
|
79
75
|
::Alt::URI.create(cr_args.merge(:path => pth))
|
@@ -86,7 +82,6 @@ module RIO
|
|
86
82
|
when (pth.start_with?("/") or (pth =~ %r{^[a-zA-Z]:}))
|
87
83
|
::Alt::URI.create(:scheme => 'file', :authority => "", :path => pth)
|
88
84
|
when (pth =~ %r{^[a-zA-Z0-9-][a-zA-Z0-9-]+:})
|
89
|
-
#pth = "/" + pth if pth =~ /^[a-zA-Z]:/
|
90
85
|
::Alt::URI.parse(pth)
|
91
86
|
else
|
92
87
|
raise ArgumentError, "Base(#{pth.inspect}) must be absolute"
|
@@ -100,7 +95,6 @@ module RIO
|
|
100
95
|
end
|
101
96
|
end
|
102
97
|
def rel(b=nil)
|
103
|
-
# p "uriref (#{self}).rel(#{b.inspect})"
|
104
98
|
if b.nil?
|
105
99
|
self.class.build(ref.rel(base),:base => base)
|
106
100
|
else
|
@@ -108,12 +102,9 @@ module RIO
|
|
108
102
|
end
|
109
103
|
end
|
110
104
|
def route_from(b)
|
111
|
-
# p "uriref (#{self}).route_from(#{b.inspect})"
|
112
|
-
#self.class.build(abs.ref,b).rel
|
113
105
|
self.class.build(abs.ref.route_from(b.ref),:base => b)
|
114
106
|
end
|
115
107
|
def route_to(b)
|
116
|
-
#self.class.build(b,abs.ref).rel
|
117
108
|
self.class.build(self.abs.ref.route_to(b.ref),:base => self.ref)
|
118
109
|
end
|
119
110
|
def join(*args)
|
@@ -121,15 +112,7 @@ module RIO
|
|
121
112
|
self
|
122
113
|
end
|
123
114
|
def to_s() ref.to_s end
|
124
|
-
|
125
|
-
#extend Fwd
|
126
|
-
#fwd :ref, :scheme, :authority, :path, :query, :fragment
|
127
|
-
#fwd :ref, :host, :port, :userinfo, :user, :password
|
128
|
-
#fwd :ref, :typecode
|
129
|
-
#def_delegators :ref, :to_s, :normalize, :absolute?, :len gth
|
130
|
-
#fwd :ref, :dirname,:basename,:filename,:extname
|
131
|
-
#fwd :ref, :netpath,:fspath
|
132
|
-
#fwd :ref, :ext
|
115
|
+
|
133
116
|
def method_missing(sym,*args,&block)
|
134
117
|
ref.__send__(sym,*args,&block)
|
135
118
|
end
|
data/lib/rio/util.rb
CHANGED
data/lib/rio/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#--
|
2
2
|
# ===========================================================================
|
3
|
-
# Copyright (c) 2005-
|
3
|
+
# Copyright (c) 2005-2017 Christopher Kleckner
|
4
4
|
# All rights reserved
|
5
5
|
#
|
6
6
|
# This file is part of the Rio library for ruby.
|
@@ -27,7 +27,7 @@
|
|
27
27
|
module RIO
|
28
28
|
# :stopdoc:
|
29
29
|
module Version #:nodoc: all
|
30
|
-
VERSION = '0.
|
30
|
+
VERSION = '0.6.0'
|
31
31
|
|
32
32
|
N = VERSION.split('.').freeze
|
33
33
|
MAJOR = N[0].freeze
|
data/misc/update-copyright.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'rio'
|
2
2
|
|
3
|
-
old_cr = 'Copyright (c) 2005
|
4
|
-
new_cr = 'Copyright (c) 2005-
|
3
|
+
old_cr = 'Copyright (c) 2005-2012 Christopher Kleckner'
|
4
|
+
new_cr = 'Copyright (c) 2005-2017 Christopher Kleckner'
|
5
5
|
|
6
6
|
old_cr_re = Regexp.new(Regexp.escape(old_cr))
|
7
7
|
|
data/rio.gemspec
CHANGED
@@ -24,8 +24,7 @@ Gem::Specification.new do |gem|
|
|
24
24
|
'--main' << 'README'
|
25
25
|
gem.rubyforge_project = 'rio'
|
26
26
|
|
27
|
-
gem.required_ruby_version = '>=
|
27
|
+
gem.required_ruby_version = '>= 2.3.1'
|
28
|
+
gem.licenses = ['GPL-2.0']
|
28
29
|
|
29
|
-
gem.add_dependency "test-unit"
|
30
|
-
gem.add_dependency "rdoc"
|
31
30
|
end
|
data/test/env.sh
CHANGED
data/test/runhttp.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
#!/usr/
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
Dir.chdir File.dirname(__FILE__)
|
3
3
|
$:.unshift File.expand_path('../lib/')
|
4
4
|
$:.unshift File.expand_path('../test/')
|
5
5
|
|
6
6
|
require 'rio'
|
7
|
+
p "[#{RUBY_PLATFORM}] - Ruby(#{RUBY_VERSION}) - Rio(#{RIO::VERSION})"
|
7
8
|
require 'lib/temp_server'
|
8
9
|
require 'pp'
|
9
10
|
|
data/test/runtests.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/ruby
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
# encoding: UTF-8
|
3
3
|
Dir.chdir File.dirname(__FILE__)
|
4
4
|
$devlib=File.expand_path('../lib/')
|
@@ -6,8 +6,6 @@ $:.unshift $devlib unless $:[0] == $devlib
|
|
6
6
|
$testlib=File.expand_path('../test/')
|
7
7
|
$:.unshift $testlib unless $:[0] == $testlib
|
8
8
|
|
9
|
-
|
10
|
-
|
11
9
|
require 'platform'
|
12
10
|
|
13
11
|
require 'rio'
|
@@ -56,6 +54,7 @@ def run(options)
|
|
56
54
|
|
57
55
|
options.keys.each do |opt|
|
58
56
|
case opt
|
57
|
+
|
59
58
|
when :std
|
60
59
|
require 'tc/all'
|
61
60
|
require 'alturi/tests'
|
@@ -63,11 +62,14 @@ def run(options)
|
|
63
62
|
find_tests(ms)
|
64
63
|
ms.add(:URI,Alt)
|
65
64
|
ms.add(:URIRef)
|
65
|
+
|
66
66
|
when :http
|
67
67
|
require 'http/tests'
|
68
|
+
require 'lib/temp_server'
|
68
69
|
ms.add(:HTTP)
|
69
|
-
|
70
|
-
|
70
|
+
runtestpath = File.expand_path('runhttptests.rb')
|
71
|
+
TempServer.run(runtestpath)
|
72
|
+
|
71
73
|
when :ftp
|
72
74
|
require 'ftp/tests'
|
73
75
|
ms.add(:FTP)
|
data/test/tc/copyarray.rb
CHANGED
@@ -127,7 +127,7 @@ class TC_copyarray < Test::Unit::TestCase
|
|
127
127
|
out = rio('out').delete!
|
128
128
|
assert!(out.exist?)
|
129
129
|
out < rio(@d[1]).lines[1]
|
130
|
-
assert_equal([@l[0][1],@l[1][1]],out[])
|
130
|
+
assert_equal([@l[0][1],@l[1][1]].sort,out[].sort)
|
131
131
|
|
132
132
|
out = rio('out').delete!
|
133
133
|
assert!(out.exist?)
|
@@ -146,7 +146,7 @@ class TC_copyarray < Test::Unit::TestCase
|
|
146
146
|
out = rio('out').delete!.touch
|
147
147
|
assert(out.exist?)
|
148
148
|
out < rio(@d[1]).lines[1]
|
149
|
-
assert_equal([@l[0][1],@l[1][1]],out[])
|
149
|
+
assert_equal([@l[0][1],@l[1][1]].sort,out[].sort)
|
150
150
|
|
151
151
|
out = rio('out').delete!.touch
|
152
152
|
assert(out.exist?)
|
@@ -168,7 +168,7 @@ class TC_copyarray < Test::Unit::TestCase
|
|
168
168
|
out < @f
|
169
169
|
$trace_states = false
|
170
170
|
assert(out.directory?)
|
171
|
-
assert_equal(smap(@f.map { |el| el.rel(@d[0]) }),smap(out.map { |el| el.rel(out) }))
|
171
|
+
assert_equal(smap(@f.map { |el| el.rel(@d[0]) }).sort,smap(out.map { |el| el.rel(out) }).sort)
|
172
172
|
assert_equal(@l[0],rio(out,@f[0].filename).to_a)
|
173
173
|
assert_equal(@l[1],rio(out,@f[1].filename).to_a)
|
174
174
|
#assert_equal(@l[0]+@l[1],out[])
|
@@ -179,6 +179,6 @@ class TC_copyarray < Test::Unit::TestCase
|
|
179
179
|
out < @d[0].files.lines
|
180
180
|
assert(out.file?)
|
181
181
|
assert(out.closed?)
|
182
|
-
assert_equal(@l[0]+@l[1],out[])
|
182
|
+
assert_equal((@l[0]+@l[1]).sort,out[].sort)
|
183
183
|
end
|
184
184
|
end
|
data/test/tc/copydir.rb
CHANGED
@@ -122,7 +122,7 @@ class TC_copydir < Test::RIO::TestCase
|
|
122
122
|
dst = rio('files_a_fi').delete!.touch
|
123
123
|
dst < @d0.files[]
|
124
124
|
exp = %w[f0 f1].inject([]) { |lines,f| lines + rio(@d0,f).readlines }
|
125
|
-
assert_equal(exp,dst.readlines)
|
125
|
+
assert_equal(exp.sort,dst.readlines.sort)
|
126
126
|
end
|
127
127
|
def test_files_a_nonex
|
128
128
|
dst = rio('files_a_nonex').delete!
|
metadata
CHANGED
@@ -1,48 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.6.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Christopher Kleckner
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: test-unit
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: rdoc
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
11
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
46
13
|
description: Rio is a Ruby class wrapping much of the functionality of IO, File, Dir,
|
47
14
|
Pathname, FileUtils, Tempfile, StringIO, OpenURI, Zlib, and CSV.
|
48
15
|
email:
|
@@ -52,7 +19,7 @@ extensions: []
|
|
52
19
|
extra_rdoc_files:
|
53
20
|
- README
|
54
21
|
files:
|
55
|
-
- .gitignore
|
22
|
+
- ".gitignore"
|
56
23
|
- Gemfile
|
57
24
|
- LICENSE
|
58
25
|
- README
|
@@ -236,6 +203,7 @@ files:
|
|
236
203
|
- lib/rio/to_rio/io.rb
|
237
204
|
- lib/rio/to_rio/object.rb
|
238
205
|
- lib/rio/to_rio/string.rb
|
206
|
+
- lib/rio/undef_rake_dsl.rb
|
239
207
|
- lib/rio/uri/file.rb
|
240
208
|
- lib/rio/uriref.rb
|
241
209
|
- lib/rio/util.rb
|
@@ -412,32 +380,32 @@ files:
|
|
412
380
|
- test/uriref/tc/route.rb
|
413
381
|
- test/uriref/tests.rb
|
414
382
|
homepage: http://rio4ruby.com
|
415
|
-
licenses:
|
383
|
+
licenses:
|
384
|
+
- GPL-2.0
|
385
|
+
metadata: {}
|
416
386
|
post_install_message:
|
417
387
|
rdoc_options:
|
418
|
-
- --title
|
388
|
+
- "--title"
|
419
389
|
- Rio
|
420
|
-
- --main
|
390
|
+
- "--main"
|
421
391
|
- README
|
422
392
|
require_paths:
|
423
393
|
- lib
|
424
394
|
required_ruby_version: !ruby/object:Gem::Requirement
|
425
|
-
none: false
|
426
395
|
requirements:
|
427
|
-
- -
|
396
|
+
- - ">="
|
428
397
|
- !ruby/object:Gem::Version
|
429
|
-
version:
|
398
|
+
version: 2.3.1
|
430
399
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
431
|
-
none: false
|
432
400
|
requirements:
|
433
|
-
- -
|
401
|
+
- - ">="
|
434
402
|
- !ruby/object:Gem::Version
|
435
403
|
version: '0'
|
436
404
|
requirements: []
|
437
405
|
rubyforge_project: rio
|
438
|
-
rubygems_version:
|
406
|
+
rubygems_version: 2.6.8
|
439
407
|
signing_key:
|
440
|
-
specification_version:
|
408
|
+
specification_version: 4
|
441
409
|
summary: Rio - Ruby I/O Facilitator
|
442
410
|
test_files:
|
443
411
|
- test/alturi/tc/create.rb
|