shuck 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,36 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shuck (0.0.4)
4
+ shuck (0.0.6)
5
5
  builder
6
6
  thor
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- archive-tar-minitar (0.5.2)
12
11
  aws-s3 (0.6.2)
13
12
  builder
14
13
  mime-types
15
14
  xml-simple
16
15
  builder (2.1.2)
17
- columnize (0.3.2)
18
- linecache19 (0.5.11)
19
- ruby_core_source (>= 0.1.4)
20
16
  mime-types (1.16)
21
17
  right_aws (2.0.0)
22
18
  right_http_connection (>= 1.2.1)
23
19
  right_http_connection (1.2.4)
24
- ruby-debug-base19 (0.11.24)
25
- columnize (>= 0.3.1)
26
- linecache19 (>= 0.5.11)
27
- ruby_core_source (>= 0.1.4)
28
- ruby-debug19 (0.11.6)
29
- columnize (>= 0.3.1)
30
- linecache19 (>= 0.5.11)
31
- ruby-debug-base19 (>= 0.11.19)
32
- ruby_core_source (0.1.4)
33
- archive-tar-minitar (>= 0.5.2)
34
20
  thor (0.14.4)
35
21
  xml-simple (1.0.12)
36
22
 
@@ -42,6 +28,5 @@ DEPENDENCIES
42
28
  builder
43
29
  bundler (>= 1.0.0)
44
30
  right_aws
45
- ruby-debug19
46
31
  shuck!
47
32
  thor
@@ -51,10 +51,9 @@ module Shuck
51
51
  if real_obj
52
52
  response.status = 200
53
53
  response['Content-Type'] = "application/octet-stream"
54
- response['Content-Length'] = real_obj.io.size
54
+ response['Content-Length'] = File.size(real_obj.io)
55
55
  response['Etag'] = real_obj.md5
56
56
  response.body = real_obj.io
57
- puts real_obj.io.size
58
57
  else
59
58
  response.status = 404
60
59
  response.body = ""
@@ -1,3 +1,3 @@
1
1
  module Shuck
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -15,7 +15,6 @@ Gem::Specification.new do |s|
15
15
  s.rubyforge_project = "shuck"
16
16
 
17
17
  s.add_development_dependency "bundler", ">= 1.0.0"
18
- s.add_development_dependency "ruby-debug19"
19
18
  s.add_development_dependency "aws-s3"
20
19
  s.add_development_dependency "right_aws"
21
20
  s.add_dependency "thor"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Curtis Spencer
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-12 00:00:00 -08:00
17
+ date: 2010-12-19 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -33,7 +33,7 @@ dependencies:
33
33
  type: :development
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
36
- name: ruby-debug19
36
+ name: aws-s3
37
37
  prerelease: false
38
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
@@ -46,7 +46,7 @@ dependencies:
46
46
  type: :development
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
49
- name: aws-s3
49
+ name: right_aws
50
50
  prerelease: false
51
51
  requirement: &id003 !ruby/object:Gem::Requirement
52
52
  none: false
@@ -59,7 +59,7 @@ dependencies:
59
59
  type: :development
60
60
  version_requirements: *id003
61
61
  - !ruby/object:Gem::Dependency
62
- name: right_aws
62
+ name: thor
63
63
  prerelease: false
64
64
  requirement: &id004 !ruby/object:Gem::Requirement
65
65
  none: false
@@ -69,10 +69,10 @@ dependencies:
69
69
  segments:
70
70
  - 0
71
71
  version: "0"
72
- type: :development
72
+ type: :runtime
73
73
  version_requirements: *id004
74
74
  - !ruby/object:Gem::Dependency
75
- name: thor
75
+ name: builder
76
76
  prerelease: false
77
77
  requirement: &id005 !ruby/object:Gem::Requirement
78
78
  none: false
@@ -84,19 +84,6 @@ dependencies:
84
84
  version: "0"
85
85
  type: :runtime
86
86
  version_requirements: *id005
87
- - !ruby/object:Gem::Dependency
88
- name: builder
89
- prerelease: false
90
- requirement: &id006 !ruby/object:Gem::Requirement
91
- none: false
92
- requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- segments:
96
- - 0
97
- version: "0"
98
- type: :runtime
99
- version_requirements: *id006
100
87
  description: Use Shuck to test basic S3 functionality without actually connecting to S3
101
88
  email:
102
89
  - curtis@sevenforge.com