s3io 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/s3io/version.rb +1 -1
- metadata +37 -50
data/README.md
CHANGED
@@ -30,7 +30,7 @@ Once wrapped, S3 objects behave the way you'd expect from an ordinary IO object.
|
|
30
30
|
require 's3io'
|
31
31
|
|
32
32
|
s3_object = S3.buckets['some-bucket'].objects['path/to/object']
|
33
|
-
io = S3io.new(
|
33
|
+
io = S3io.new(s3_object)
|
34
34
|
|
35
35
|
first_100_bytes = io.read(100) # reading first 100 bytes
|
36
36
|
|
data/lib/s3io/version.rb
CHANGED
metadata
CHANGED
@@ -1,46 +1,39 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3io
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Arthur Pirogovski
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: aws-sdk
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
32
22
|
type: :runtime
|
33
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
34
30
|
description: An IO-compatible wrapper for S3
|
35
|
-
email:
|
31
|
+
email:
|
36
32
|
- arthur@flyingtealeaf.com
|
37
33
|
executables: []
|
38
|
-
|
39
34
|
extensions: []
|
40
|
-
|
41
35
|
extra_rdoc_files: []
|
42
|
-
|
43
|
-
files:
|
36
|
+
files:
|
44
37
|
- .gitignore
|
45
38
|
- .travis.yml
|
46
39
|
- Gemfile
|
@@ -56,38 +49,32 @@ files:
|
|
56
49
|
- test/test_s3io_wrapper.rb
|
57
50
|
homepage: http://github.com/fiksu/s3io
|
58
51
|
licenses: []
|
59
|
-
|
60
52
|
post_install_message:
|
61
53
|
rdoc_options: []
|
62
|
-
|
63
|
-
require_paths:
|
54
|
+
require_paths:
|
64
55
|
- lib
|
65
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
57
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
- 0
|
73
|
-
version: "0"
|
74
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
63
|
none: false
|
76
|
-
requirements:
|
77
|
-
- -
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
|
80
|
-
segments:
|
81
|
-
- 0
|
82
|
-
version: "0"
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
83
68
|
requirements: []
|
84
|
-
|
85
69
|
rubyforge_project:
|
86
70
|
rubygems_version: 1.8.24
|
87
71
|
signing_key:
|
88
72
|
specification_version: 3
|
89
|
-
summary: Amazon's official AWS SDK provides an API for S3 that isn't compatible with
|
90
|
-
|
73
|
+
summary: Amazon's official AWS SDK provides an API for S3 that isn't compatible with
|
74
|
+
Ruby's standard IO class and its derivatives. This gem provides a thin wrapper around
|
75
|
+
AWS SDK that makes it possible to access objects stored on S3 as if they were instances
|
76
|
+
of File or StringIO classes.
|
77
|
+
test_files:
|
91
78
|
- test/s3_test_data.csv
|
92
79
|
- test/test_s3io.rb
|
93
80
|
- test/test_s3io_wrapper.rb
|