fastdfs-client 1.4.0 → 1.4.1

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: a8009a29d5b18921a4b3d9f628a9f7eaea019635
4
- data.tar.gz: ac88fd2d1e51070637b34496619e750ccda97d57
3
+ metadata.gz: c3735a69f5c28f27cf3398bdd3b15fb8bac086b3
4
+ data.tar.gz: 3dda382700e17ad1370c0c8b44e850872bf7fcef
5
5
  SHA512:
6
- metadata.gz: 445d9a50ccb21df204e0210cb968610831e137352d94a2c2fc62504c48864af9ef28190f1552b0e38476d91a6621925d7361706616361c9e2da638874c21ea01
7
- data.tar.gz: 928522790ed79785a931dd0ac000c5ee977f6f5329a5ff74102522a5da3a26ab3daf9271835fe41867deba809380867445e8b136e554d6cc267885b10305046e
6
+ metadata.gz: 0b26882340dcbd85f8ca431aff07b9e0112db1e1bf99c116c66e72d3689859e81be4cfaf14c8c19cfba9471ad96d198fae905dae26ebd4151df53ab4d9b57e98
7
+ data.tar.gz: f138f4209f067a94c62e04f5c66316f22afa9e282d6de544f30b8cf40f5197cf589fb026530d4a081b282c10db33f85062352361957195cdb7d65e2df5ebf8a1
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  *.gem
2
- Gemfile.lock
2
+ Gemfile.lock
3
+ tmp
data/README.md CHANGED
@@ -24,6 +24,7 @@ fastdfs client for ruby
24
24
  if @storage.is_a?(Fastdfs::Client::Storage)
25
25
 
26
26
  @storage.upload(@file)
27
+ # @file class includes [File, Tempfile, ActionDispatch::Http::UploadedFile]
27
28
  #result: {group_name: "group1", path: "m1/xfsd/fds.jpg"}
28
29
 
29
30
  @storage.delete(path, group_name)
@@ -15,7 +15,6 @@ module Fastdfs
15
15
  @options = options || {}
16
16
  @connection_timeout = @options[:connection_timeout] || 3
17
17
  @recv_timeout = @options[:recv_timeout] || 20
18
- connection
19
18
  end
20
19
 
21
20
  def write(*args)
@@ -1,5 +1,5 @@
1
1
  module Fastdfs
2
2
  module Client
3
- VERSION = '1.4.0'
3
+ VERSION = '1.4.1'
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.0
4
+ version: 1.4.1
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-10-14 00:00:00.000000000 Z
11
+ date: 2016-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler