mingle-storage 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/storage/s3_store.rb +1 -1
  3. metadata +25 -44
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 67ad6bbdfaef2a8548f0a59b045abee389215dd7
4
+ data.tar.gz: da1d0e4f63d7f980c41408793c2f5a4a0521b971
5
+ SHA512:
6
+ metadata.gz: 7269efb439b07d2353faa1f5f0aa84b55ccc0daae20addbccd3e5a8e6ac71b8b2043ce41a702a64524ed262825e18464c008a244fdeb65533bf71c69580183c9
7
+ data.tar.gz: 307f8bbe634ecc25efe7a018ae65892f7a25a00959e7cc47f78f1ebb285d7876a42cc2a63bca639c92e4e2af028fe996e1fa993da90b946f328ea63633b5bb6b
@@ -112,7 +112,7 @@ module Storage
112
112
  local_file_name = File.basename(local_file)
113
113
  bucket.objects.create(
114
114
  s3_path(path, local_file_name),
115
- File.read(local_file),
115
+ Pathname.new(local_file),
116
116
  { :content_type => derive_content_type(local_file_name) }
117
117
  )
118
118
  end
metadata CHANGED
@@ -1,36 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mingle-storage
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 6
10
- version: 0.0.6
4
+ version: 0.0.7
11
5
  platform: ruby
12
6
  authors:
13
- - ThoughtWorks Studios
7
+ - ThoughtWorks Studios
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
11
 
18
- date: 2013-08-16 00:00:00 Z
12
+ date: 2014-03-04 00:00:00 Z
19
13
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: aws-sdk
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
32
- type: :runtime
33
- version_requirements: *id001
14
+ - !ruby/object:Gem::Dependency
15
+ name: aws-sdk
16
+ prerelease: false
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - &id002
20
+ - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
23
+ type: :runtime
24
+ version_requirements: *id001
34
25
  description: Mingle storage API to support filesystem and AWS S3 backed storage
35
26
  email: mingle-dev@thoughtworks.com
36
27
  executables: []
@@ -40,41 +31,31 @@ extensions: []
40
31
  extra_rdoc_files: []
41
32
 
42
33
  files:
43
- - lib/storage/filesystem_store.rb
44
- - lib/storage/s3_store.rb
45
- - lib/storage.rb
34
+ - lib/storage.rb
35
+ - lib/storage/filesystem_store.rb
36
+ - lib/storage/s3_store.rb
46
37
  homepage: http://www.thoughtworks.com/products
47
38
  licenses:
48
- - MIT
39
+ - MIT
40
+ metadata: {}
41
+
49
42
  post_install_message:
50
43
  rdoc_options: []
51
44
 
52
45
  require_paths:
53
- - lib
46
+ - lib
54
47
  required_ruby_version: !ruby/object:Gem::Requirement
55
- none: false
56
48
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
61
- - 0
62
- version: "0"
49
+ - *id002
63
50
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
51
  requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
70
- - 0
71
- version: "0"
52
+ - *id002
72
53
  requirements: []
73
54
 
74
55
  rubyforge_project:
75
- rubygems_version: 1.8.24
56
+ rubygems_version: 2.1.9
76
57
  signing_key:
77
- specification_version: 3
58
+ specification_version: 4
78
59
  summary: Mingle storage API to support filesystem and AWS S3 backed storage
79
60
  test_files: []
80
61