fastdfs-client 1.4.1 → 1.4.3

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: c3735a69f5c28f27cf3398bdd3b15fb8bac086b3
4
- data.tar.gz: 3dda382700e17ad1370c0c8b44e850872bf7fcef
3
+ metadata.gz: 96f96d3b598aabcfd2800fa9a63c7fb58c322aaf
4
+ data.tar.gz: 474c4a59f3faeff8ead7fff0a6a3bb7a6dd45e76
5
5
  SHA512:
6
- metadata.gz: 0b26882340dcbd85f8ca431aff07b9e0112db1e1bf99c116c66e72d3689859e81be4cfaf14c8c19cfba9471ad96d198fae905dae26ebd4151df53ab4d9b57e98
7
- data.tar.gz: f138f4209f067a94c62e04f5c66316f22afa9e282d6de544f30b8cf40f5197cf589fb026530d4a081b282c10db33f85062352361957195cdb7d65e2df5ebf8a1
6
+ metadata.gz: 05e66e8bf2d4ce7341eeea92bf84b0bf1a43036bd8244d7d6ce4e7259fea643314152533be9f8b9ef10b71c897a7b28dd3429e09d44d221d009755f58e5a762a
7
+ data.tar.gz: d17a1d9e82036d96d38667aa0da57824a02f3fea75bce1a98c5316da31163ff3752eaafc90f14a6e0c9803daf0b615c245c37c9fe204e6450f6aa451f7bc520d
@@ -11,11 +11,10 @@ module Fastdfs
11
11
  @options = options
12
12
  @proxy = ClientProxy.new(host, port, @options[:socket])
13
13
  @socket = @proxy.socket
14
- @cmd = CMD::STORE_WITHOUT_GROUP_ONE
15
14
  end
16
15
 
17
16
  def get_storage
18
- res = @proxy.dispose(@cmd) do |body|
17
+ res = @proxy.dispose(CMD::STORE_WITHOUT_GROUP_ONE) do |body|
19
18
  storage_ip = body[ProtoCommon::IPADDR].strip
20
19
  storage_port = body[ProtoCommon::PORT].unpack("C*").to_pack_long
21
20
  store_path = body[ProtoCommon::TRACKER_BODY_LEN-1].unpack("C*")[0]
@@ -1,5 +1,5 @@
1
1
  module Fastdfs
2
2
  module Client
3
- VERSION = '1.4.1'
3
+ VERSION = '1.4.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastdfs-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ka Ka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-05 00:00:00.000000000 Z
11
+ date: 2017-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler