cono_storage 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03da6fd423ab0ece69ddb0af32abfb92316da9b9
4
- data.tar.gz: fe20a2b727b70c03bb2d8cdd59672fb3aac0c3f0
3
+ metadata.gz: c4f70d3595ec870b0f430695e6adb6a83c0136d9
4
+ data.tar.gz: d7020d32f0c1b51b0bbd1679d7d32d01d6b0d0bd
5
5
  SHA512:
6
- metadata.gz: b7af829c008c3989863d13424d7617c5a965a17332175e0d7cdedb21412fedbfe4b6e75629fb20cb628234a0a25d0daa544b7b644058291c0774a5076110ca5b
7
- data.tar.gz: 7c51d9fcd12b56018650b05a69e3fd5f1a90a99c7906f93d226d9d1495381187c5af8360594486fdff382884b797f9f2a43845a7b7a40396163b57ed18ca55f8
6
+ metadata.gz: 10069b0075402d145425ff22010438bde92429fe172d64eafa16024f2458498626f4b970c2a2fddefb3216c88bbd1c97beae6a0d3e8fcd8fe5eff528ef363809
7
+ data.tar.gz: 7e09b9396a1ac0a48aa34d1c50f4fc993238b83ddee05ef33df60501f569072e8acad02fc8c176556e3f0900db52cdfb4eeca3d3f9c879c0ff460aa7409a376d
@@ -38,7 +38,7 @@ module ConoStorage
38
38
  end
39
39
 
40
40
  def upload(path, file, params, headers)
41
- unless file.is_a? File
41
+ if file.is_a?(String)
42
42
  file = File.open(file)
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module ConoStorage
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cono_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - kkosuge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-04 00:00:00.000000000 Z
11
+ date: 2015-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -137,4 +137,3 @@ signing_key:
137
137
  specification_version: 4
138
138
  summary: OpenStack Swift Client for ConoHa オブジェクトストレージ
139
139
  test_files: []
140
- has_rdoc: