s33r 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/cli/instant_download_server.rb +1 -1
- data/examples/fores33r/app/controllers/browser_controller.rb +1 -1
- data/examples/fores33r/app/views/browser/_upload.rhtml +1 -1
- data/examples/fores33r/config/environment.rb +5 -4
- data/examples/fores33r/log/development.log +8074 -0
- data/examples/fores33r/log/mongrel.log +573 -0
- data/examples/fores33r/log/production.log +1 -0
- data/examples/fores33r/tmp/fores33r.pid +1 -0
- data/examples/fores33r/tmp/sessions/ruby_sess.0c2698596752188b +0 -0
- data/examples/fores33r/tmp/sessions/ruby_sess.4a48fe4b3d99901d +0 -0
- data/examples/fores33r/tmp/sessions/ruby_sess.987bf5655d8a4d9b +0 -0
- data/examples/fores33r/tmp/sessions/ruby_sess.aa26883a8a59649a +0 -0
- data/examples/fores33r/tmp/sessions/ruby_sess.edee8583e9baf769 +0 -0
- data/lib/s33r/bucket.rb +6 -1
- data/lib/s33r/bucket_listing.rb +1 -1
- data/lib/s33r/client.rb +10 -3
- data/lib/s33r/networking.rb +6 -3
- data/lib/s33r/s33r_http.rb +4 -3
- data/lib/s33r/s3_logging.rb +2 -2
- data/lib/s33r/utility.rb +11 -6
- data/test/cases/spec_acl.rb +5 -5
- data/test/cases/spec_bucket_listing.rb +9 -9
- data/test/cases/spec_logging.rb +5 -5
- data/test/cases/spec_s3_object.rb +1 -17
- data/test/cases/spec_utility.rb +16 -16
- data/test/cases/spec_xml.rb +2 -2
- data/test/test_setup.rb +1 -2
- metadata +150 -134
data/test/cases/spec_xml.rb
CHANGED
@@ -8,7 +8,7 @@ context 'LibXML extensions' do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
specify 'should make it easy to get an XML::Document from an XML string' do
|
11
|
-
@doc.
|
11
|
+
@doc.class.should be XML::Document
|
12
12
|
clean_xml(@doc.to_s).should == clean_xml(@with_xml_str)
|
13
13
|
end
|
14
14
|
|
@@ -19,4 +19,4 @@ context 'LibXML extensions' do
|
|
19
19
|
specify 'should return nil if no matching path' do
|
20
20
|
@doc.xget('//madeup').should == nil
|
21
21
|
end
|
22
|
-
end
|
22
|
+
end
|
data/test/test_setup.rb
CHANGED
metadata
CHANGED
@@ -1,184 +1,200 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: s33r
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.
|
7
|
-
date: 2007-10-19 00:00:00 +01:00
|
8
|
-
summary: A library for accessing Amazon S3
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: elliot@moochlabs.com/
|
12
|
-
homepage: http://moochlabs.com/
|
13
|
-
rubyforge_project: s33r
|
14
|
-
description:
|
15
|
-
autorequire: s33r
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.5.4
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Elliot Smith
|
8
|
+
autorequire: s33r
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-06-14 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: builder
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "0"
|
23
|
+
version:
|
24
|
+
description:
|
25
|
+
email: elliot@moochlabs.com/
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files: []
|
31
|
+
|
31
32
|
files:
|
32
|
-
- examples/cli
|
33
33
|
- examples/fores33r
|
34
|
-
- examples/s3.yaml
|
35
|
-
- examples/cli/s3cli.rb
|
36
|
-
- examples/cli/simple.rb
|
37
|
-
- examples/cli/instant_download_server.rb
|
38
|
-
- examples/fores33r/db
|
39
|
-
- examples/fores33r/app
|
40
|
-
- examples/fores33r/doc
|
41
|
-
- examples/fores33r/lib
|
42
|
-
- examples/fores33r/log
|
43
|
-
- examples/fores33r/tmp
|
44
34
|
- examples/fores33r/test
|
45
|
-
- examples/fores33r/
|
46
|
-
- examples/fores33r/
|
47
|
-
- examples/fores33r/
|
48
|
-
- examples/fores33r/
|
49
|
-
- examples/fores33r/
|
50
|
-
- examples/fores33r/
|
51
|
-
- examples/fores33r/
|
52
|
-
- examples/fores33r/
|
35
|
+
- examples/fores33r/test/unit
|
36
|
+
- examples/fores33r/test/functional
|
37
|
+
- examples/fores33r/test/integration
|
38
|
+
- examples/fores33r/test/fixtures
|
39
|
+
- examples/fores33r/test/mocks
|
40
|
+
- examples/fores33r/test/mocks/test
|
41
|
+
- examples/fores33r/test/mocks/development
|
42
|
+
- examples/fores33r/test/test_helper.rb
|
43
|
+
- examples/fores33r/app
|
53
44
|
- examples/fores33r/app/helpers
|
45
|
+
- examples/fores33r/app/helpers/application_helper.rb
|
46
|
+
- examples/fores33r/app/models
|
47
|
+
- examples/fores33r/app/controllers
|
48
|
+
- examples/fores33r/app/controllers/browser_controller.rb
|
49
|
+
- examples/fores33r/app/controllers/application.rb
|
50
|
+
- examples/fores33r/app/views
|
54
51
|
- examples/fores33r/app/views/layouts
|
55
|
-
- examples/fores33r/app/views/browser
|
56
52
|
- examples/fores33r/app/views/layouts/s3_layout.rhtml
|
57
53
|
- examples/fores33r/app/views/layouts/application.rhtml
|
54
|
+
- examples/fores33r/app/views/browser
|
58
55
|
- examples/fores33r/app/views/browser/s3_index.rhtml
|
59
56
|
- examples/fores33r/app/views/browser/show_bucket.rhtml
|
57
|
+
- examples/fores33r/app/views/browser/index.rhtml
|
60
58
|
- examples/fores33r/app/views/browser/plain_bucket.rhtml
|
61
59
|
- examples/fores33r/app/views/browser/_create_bucket.rhtml
|
62
|
-
- examples/fores33r/app/views/browser/index.rhtml
|
63
60
|
- examples/fores33r/app/views/browser/_upload.rhtml
|
64
|
-
- examples/fores33r/
|
65
|
-
- examples/fores33r/app/controllers/application.rb
|
66
|
-
- examples/fores33r/app/helpers/application_helper.rb
|
67
|
-
- examples/fores33r/doc/README_FOR_APP
|
68
|
-
- examples/fores33r/lib/tasks
|
69
|
-
- examples/fores33r/tmp/pids
|
61
|
+
- examples/fores33r/tmp
|
70
62
|
- examples/fores33r/tmp/cache
|
71
|
-
- examples/fores33r/tmp/sockets
|
72
63
|
- examples/fores33r/tmp/sessions
|
73
|
-
- examples/fores33r/
|
74
|
-
- examples/fores33r/
|
75
|
-
- examples/fores33r/
|
76
|
-
- examples/fores33r/
|
77
|
-
- examples/fores33r/
|
78
|
-
- examples/fores33r/
|
79
|
-
- examples/fores33r/
|
80
|
-
- examples/fores33r/
|
81
|
-
- examples/fores33r/
|
64
|
+
- examples/fores33r/tmp/sessions/ruby_sess.aa26883a8a59649a
|
65
|
+
- examples/fores33r/tmp/sessions/ruby_sess.0c2698596752188b
|
66
|
+
- examples/fores33r/tmp/sessions/ruby_sess.987bf5655d8a4d9b
|
67
|
+
- examples/fores33r/tmp/sessions/ruby_sess.4a48fe4b3d99901d
|
68
|
+
- examples/fores33r/tmp/sessions/ruby_sess.edee8583e9baf769
|
69
|
+
- examples/fores33r/tmp/sockets
|
70
|
+
- examples/fores33r/tmp/fores33r.pid
|
71
|
+
- examples/fores33r/tmp/pids
|
72
|
+
- examples/fores33r/log
|
73
|
+
- examples/fores33r/log/development.log
|
74
|
+
- examples/fores33r/log/mongrel.log
|
75
|
+
- examples/fores33r/log/production.log
|
76
|
+
- examples/fores33r/script
|
77
|
+
- examples/fores33r/script/performance
|
78
|
+
- examples/fores33r/script/performance/benchmarker
|
79
|
+
- examples/fores33r/script/performance/profiler
|
80
|
+
- examples/fores33r/script/process
|
81
|
+
- examples/fores33r/script/process/spawner
|
82
|
+
- examples/fores33r/script/process/reaper
|
83
|
+
- examples/fores33r/script/breakpointer
|
84
|
+
- examples/fores33r/script/console
|
85
|
+
- examples/fores33r/script/server
|
86
|
+
- examples/fores33r/script/destroy
|
87
|
+
- examples/fores33r/script/runner
|
88
|
+
- examples/fores33r/script/about
|
89
|
+
- examples/fores33r/script/generate
|
90
|
+
- examples/fores33r/script/plugin
|
91
|
+
- examples/fores33r/config
|
82
92
|
- examples/fores33r/config/environments
|
83
|
-
- examples/fores33r/config/database.yml
|
84
|
-
- examples/fores33r/config/environment.rb
|
85
|
-
- examples/fores33r/config/boot.rb
|
86
93
|
- examples/fores33r/config/environments/test.rb
|
87
94
|
- examples/fores33r/config/environments/development.rb
|
88
95
|
- examples/fores33r/config/environments/production.rb
|
89
|
-
- examples/fores33r/
|
90
|
-
- examples/fores33r/
|
91
|
-
- examples/fores33r/
|
92
|
-
- examples/fores33r/
|
93
|
-
- examples/fores33r/
|
96
|
+
- examples/fores33r/config/environment.rb
|
97
|
+
- examples/fores33r/config/routes.rb
|
98
|
+
- examples/fores33r/config/database.yml
|
99
|
+
- examples/fores33r/config/boot.rb
|
100
|
+
- examples/fores33r/db
|
101
|
+
- examples/fores33r/doc
|
102
|
+
- examples/fores33r/doc/README_FOR_APP
|
103
|
+
- examples/fores33r/lib
|
104
|
+
- examples/fores33r/lib/tasks
|
105
|
+
- examples/fores33r/vendor
|
106
|
+
- examples/fores33r/vendor/plugins
|
107
|
+
- examples/fores33r/public
|
94
108
|
- examples/fores33r/public/images
|
95
|
-
- examples/fores33r/public/
|
96
|
-
- examples/fores33r/public/
|
97
|
-
- examples/fores33r/public/
|
98
|
-
- examples/fores33r/public/dispatch.cgi
|
99
|
-
- examples/fores33r/public/stylesheets/core.css
|
109
|
+
- examples/fores33r/public/images/rails.png
|
110
|
+
- examples/fores33r/public/javascripts
|
111
|
+
- examples/fores33r/public/javascripts/application.js
|
100
112
|
- examples/fores33r/public/javascripts/prototype.js
|
101
|
-
- examples/fores33r/public/javascripts/controls.js
|
102
113
|
- examples/fores33r/public/javascripts/effects.js
|
103
114
|
- examples/fores33r/public/javascripts/dragdrop.js
|
104
|
-
- examples/fores33r/public/javascripts/
|
105
|
-
- examples/fores33r/public/
|
106
|
-
- examples/fores33r/
|
107
|
-
- examples/fores33r/
|
108
|
-
- examples/fores33r/
|
109
|
-
- examples/fores33r/
|
110
|
-
- examples/fores33r/
|
111
|
-
- examples/fores33r/
|
112
|
-
- examples/fores33r/
|
113
|
-
- examples/fores33r/
|
114
|
-
- examples/fores33r/
|
115
|
-
- examples/
|
116
|
-
- examples/
|
117
|
-
- examples/
|
118
|
-
- examples/
|
119
|
-
- examples/
|
120
|
-
- examples/fores33r/vendor/plugins
|
115
|
+
- examples/fores33r/public/javascripts/controls.js
|
116
|
+
- examples/fores33r/public/stylesheets
|
117
|
+
- examples/fores33r/public/stylesheets/core.css
|
118
|
+
- examples/fores33r/public/dispatch.fcgi
|
119
|
+
- examples/fores33r/public/dispatch.cgi
|
120
|
+
- examples/fores33r/public/dispatch.rb
|
121
|
+
- examples/fores33r/public/robots.txt
|
122
|
+
- examples/fores33r/public/500.html
|
123
|
+
- examples/fores33r/public/404.html
|
124
|
+
- examples/fores33r/public/favicon.ico
|
125
|
+
- examples/fores33r/Rakefile
|
126
|
+
- examples/cli
|
127
|
+
- examples/cli/simple.rb
|
128
|
+
- examples/cli/s3cli.rb
|
129
|
+
- examples/cli/instant_download_server.rb
|
130
|
+
- examples/s3.yaml
|
121
131
|
- lib/s33r
|
122
|
-
- lib/s33r.rb
|
123
|
-
- lib/s33r/s3_acl.rb
|
124
|
-
- lib/s33r/s3_logging.rb
|
125
132
|
- lib/s33r/bucket_listing.rb
|
126
|
-
- lib/s33r/
|
127
|
-
- lib/s33r/
|
133
|
+
- lib/s33r/s33r_http.rb
|
134
|
+
- lib/s33r/utility.rb
|
135
|
+
- lib/s33r/s3_acl.rb
|
128
136
|
- lib/s33r/s3_obj.rb
|
137
|
+
- lib/s33r/client.rb
|
138
|
+
- lib/s33r/libxml_extensions.rb
|
129
139
|
- lib/s33r/s33r_exception.rb
|
130
140
|
- lib/s33r/mimetypes.rb
|
131
|
-
- lib/s33r/client.rb
|
132
141
|
- lib/s33r/bucket.rb
|
133
|
-
- lib/s33r/
|
134
|
-
- lib/s33r/
|
142
|
+
- lib/s33r/networking.rb
|
143
|
+
- lib/s33r/s3_logging.rb
|
135
144
|
- lib/s33r/orderly_xml_markup.rb
|
136
|
-
-
|
145
|
+
- lib/s33r.rb
|
137
146
|
- test/files
|
138
|
-
- test/test_setup.rb
|
139
|
-
- test/cases/spec_acl.rb
|
140
|
-
- test/cases/spec_bucket_listing.rb
|
141
|
-
- test/cases/spec_networking.rb
|
142
|
-
- test/cases/spec_xml.rb
|
143
|
-
- test/cases/spec_s3_object.rb
|
144
|
-
- test/cases/spec_logging.rb
|
145
|
-
- test/cases/spec_utility.rb
|
146
|
-
- test/files/suspect_bucket_listing.xml
|
147
147
|
- test/files/textfile.txt
|
148
|
-
- test/files/
|
148
|
+
- test/files/wave.jpg
|
149
149
|
- test/files/bucket_listing2.xml
|
150
|
-
- test/files/bucket_listing3.xml
|
151
150
|
- test/files/config.yaml
|
152
|
-
- test/files/
|
151
|
+
- test/files/bucket_listing3.xml
|
153
152
|
- test/files/acl.xml
|
153
|
+
- test/files/logging_status_enabled.xml
|
154
|
+
- test/files/logging_acl.xml
|
154
155
|
- test/files/bucket_listing.xml
|
155
156
|
- test/files/bucket_listing_broken.xml
|
156
|
-
- test/files/
|
157
|
-
- test/files/logging_status_disabled.xml
|
157
|
+
- test/files/s3_object.xml
|
158
158
|
- test/files/acl_grant1.xml
|
159
159
|
- test/files/acl_grant2.xml
|
160
|
+
- test/files/suspect_bucket_listing.xml
|
160
161
|
- test/files/acl_grant3.xml
|
161
162
|
- test/files/acl_grant4.xml
|
162
|
-
- test/files/
|
163
|
-
|
164
|
-
|
163
|
+
- test/files/logging_status_disabled.xml
|
164
|
+
- test/cases
|
165
|
+
- test/cases/spec_bucket_listing.rb
|
166
|
+
- test/cases/spec_s3_object.rb
|
167
|
+
- test/cases/spec_logging.rb
|
168
|
+
- test/cases/spec_acl.rb
|
169
|
+
- test/cases/spec_xml.rb
|
170
|
+
- test/cases/spec_utility.rb
|
171
|
+
- test/cases/spec_networking.rb
|
172
|
+
- test/test_setup.rb
|
173
|
+
has_rdoc: true
|
174
|
+
homepage: http://moochlabs.com/
|
175
|
+
post_install_message:
|
165
176
|
rdoc_options: []
|
166
177
|
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
178
|
+
require_paths:
|
179
|
+
- lib
|
180
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: "0"
|
185
|
+
version:
|
186
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: "0"
|
191
|
+
version:
|
173
192
|
requirements: []
|
174
193
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
version: 0.0.0
|
184
|
-
version:
|
194
|
+
rubyforge_project: s33r
|
195
|
+
rubygems_version: 0.9.5
|
196
|
+
signing_key:
|
197
|
+
specification_version: 2
|
198
|
+
summary: A library for accessing Amazon S3
|
199
|
+
test_files: []
|
200
|
+
|