rabbit_swift 0.2.9 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7570788a09d3209ca2aa282b96282eb050b43e13
4
- data.tar.gz: 3510fd4456248d641eae7997db7ef7eea2620dd9
3
+ metadata.gz: 804ffd4e738e1d57034cb48fb80a41af300bd32f
4
+ data.tar.gz: 746ea1d0eeecfeb9c604d03dd02550a67af51f81
5
5
  SHA512:
6
- metadata.gz: 62c332ae6f2bc9f5da004522fdd0d9414ca6154a7775d894b042ba3e101e26cdad09e05516bf4566031a6b93a600e5bba0510d494634f8123cc5b0e7ac46baa6
7
- data.tar.gz: ed758fe16687b2cee36750d4aa1862ae14ed09f6b07eb5232c8147a3e20554065d6877c530876bb3d0df5a9b893da7e7c70534cee7e226468de5f1b65f2f23b3
6
+ metadata.gz: bb14f293bc65e9657de5223d91f17c00aa4897d9636893190f2651e67750b602f9ddeff8d11b817f24b719e8fc47a2fe85eafe66428efbc567f36e63f81f2c9a
7
+ data.tar.gz: 7cb7cc62070f02818aff6fdea47b35b5b881e1db07fa495812cdeb5a1c04fe907fac68071d83f1b5d32897ea324d9b6f9529d8c5da6b1968fcbcdab7b001c4ba
data/README.md CHANGED
@@ -46,6 +46,8 @@ Or install it yourself as:
46
46
  puts "upload success!"
47
47
  end
48
48
 
49
+ ### Support Static Large Object
50
+ bundle exec ruby -I./lib bin/slo_client.rb -s ~/Downloads/test.zip -d /test -c ../chino/conf/conf.json -l 100MB
49
51
 
50
52
  ## Contributing
51
53
 
data/RELEASE.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # リリース履歴
2
2
 
3
+ ## 0.3.0
4
+
5
+ (2015/02/15)
6
+
7
+ Static Large Object (α2)
8
+
3
9
  ## 0.2.9
4
10
 
5
11
  (2015/02/14)
data/bin/slo_client.rb CHANGED
@@ -4,6 +4,8 @@ require 'rabbit_swift'
4
4
 
5
5
  #ruby -I./lib/ this.rb
6
6
  #bundle exec ruby -I./lib bin/slo_client.rb -s ~/Downloads/test.zip -d /test -c ../chino/conf/conf.json -l 1048576
7
+ #bundle exec ruby -I./lib bin/slo_client.rb -s ~/Downloads/test.zip -d /test -c ../chino/conf/conf.json -l 100MB
8
+
7
9
  =begin
8
10
  -c conf.json
9
11
  {
@@ -18,7 +20,7 @@ require 'rabbit_swift'
18
20
  =end
19
21
 
20
22
  opt = OptionParser.new
21
- Version = "1.0.0"
23
+ Version = '1.0.0'
22
24
 
23
25
  src_path = nil
24
26
  dest_path = nil
@@ -160,7 +160,8 @@ module RabbitSwift
160
160
  p end_point
161
161
  p File.basename(input_file_path)
162
162
  p manifest_path
163
- p manifest_path.sub!(/^./,'')
163
+ manifest_path.sub!(/^./,'')
164
+ p manifest_path
164
165
  auth_header =
165
166
  {'X-Auth-Token' => token,
166
167
  'X-Object-Manifest' => manifest_path+'_',
@@ -20,7 +20,7 @@ module RabbitSwift::LargeObject
20
20
  @file_path = file_path
21
21
  @split_file_path = split_file_path
22
22
  @dest_container_path = dest_container_path
23
- @limit_file_size = limit_file_size.to_i
23
+ @limit_file_size = limit_file_size
24
24
  end
25
25
 
26
26
  def split
@@ -1,3 +1,3 @@
1
1
  module RabbitSwift
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit_swift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AKB428