mogilefs-client 3.5.0.rc1 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/GIT-VERSION-GEN +1 -1
  2. data/lib/mogilefs/mogilefs.rb +2 -1
  3. metadata +77 -62
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  CONSTANT = "MogileFS::VERSION"
3
3
  RVF = "lib/mogilefs/version.rb"
4
- DEF_VER = "v3.5.0-rc1"
4
+ DEF_VER = "v3.5.0"
5
5
  vn = DEF_VER
6
6
 
7
7
  # First see if there is a version file (included in release tarballs),
@@ -280,7 +280,7 @@ class MogileFS::MogileFS < MogileFS::Client
280
280
  # an array of URI::HTTP objects to the stored destinations
281
281
  def new_file(key, args = nil, bytes = nil) # :yields: file
282
282
  raise MogileFS::ReadOnlyError if readonly?
283
- opts = { :key => key, :multi_dest => 1, :nhp_put => @nhp_put }
283
+ opts = { :key => key, :multi_dest => 1 }
284
284
  case args
285
285
  when Hash
286
286
  opts[:domain] = args[:domain]
@@ -291,6 +291,7 @@ class MogileFS::MogileFS < MogileFS::Client
291
291
  end
292
292
  opts[:domain] ||= @domain
293
293
  res = @backend.create_open(open_args ? open_args.merge(opts) : opts)
294
+ opts[:nhp_put] = @nhp_put
294
295
 
295
296
  dests = if dev_count = res['dev_count'] # multi_dest succeeded
296
297
  (1..dev_count.to_i).map { |i| [res["devid_#{i}"], res["path_#{i}"]] }
metadata CHANGED
@@ -1,59 +1,66 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mogilefs-client
3
- version: !ruby/object:Gem::Version
4
- version: 3.5.0.rc1
5
- prerelease: 6
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
+ prerelease:
6
+ segments:
7
+ - 3
8
+ - 5
9
+ - 0
10
+ version: 3.5.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Eric Wong
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-10-31 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-12-04 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rdoc
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '3.10'
22
- type: :development
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '3.10'
30
- - !ruby/object:Gem::Dependency
31
- name: hoe
32
- requirement: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
33
24
  none: false
34
- requirements:
25
+ requirements:
35
26
  - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '3.0'
27
+ - !ruby/object:Gem::Version
28
+ hash: 19
29
+ segments:
30
+ - 3
31
+ - 10
32
+ version: "3.10"
38
33
  type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: hoe
39
37
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
38
+ requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
40
+ requirements:
43
41
  - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '3.0'
46
- description: ! '["A MogileFS client library for Ruby. MogileFS is an open source\ndistributed
47
- filesystem, see: http://mogilefs.org for more details. This\nlibrary allows any
48
- Ruby application to read, write and delete files in a\nMogileFS instance."]'
49
- email:
42
+ - !ruby/object:Gem::Version
43
+ hash: 7
44
+ segments:
45
+ - 3
46
+ - 0
47
+ version: "3.0"
48
+ type: :development
49
+ version_requirements: *id002
50
+ description: |-
51
+ A MogileFS client library for Ruby. MogileFS is an open source
52
+ distributed filesystem, see: http://mogilefs.org for more details. This
53
+ library allows any Ruby application to read, write and delete files in a
54
+ MogileFS instance.
55
+ email:
50
56
  - normalperson@yhbt.net
51
- executables:
57
+ executables:
52
58
  - mog
53
59
  extensions: []
54
- extra_rdoc_files:
60
+
61
+ extra_rdoc_files:
55
62
  - Manifest.txt
56
- files:
63
+ files:
57
64
  - .document
58
65
  - .gitignore
59
66
  - .wrongdoc.yml
@@ -125,45 +132,53 @@ files:
125
132
  - .gemtest
126
133
  homepage: http://bogomips.org/mogilefs-client/
127
134
  licenses: []
135
+
128
136
  post_install_message:
129
- rdoc_options:
137
+ rdoc_options:
130
138
  - --main
131
139
  - README
132
- require_paths:
140
+ require_paths:
133
141
  - lib
134
- required_ruby_version: !ruby/object:Gem::Requirement
142
+ required_ruby_version: !ruby/object:Gem::Requirement
135
143
  none: false
136
- requirements:
137
- - - ! '>='
138
- - !ruby/object:Gem::Version
139
- version: '0'
140
- required_rubygems_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
150
+ version: "0"
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
141
152
  none: false
142
- requirements:
143
- - - ! '>'
144
- - !ruby/object:Gem::Version
145
- version: 1.3.1
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 3
157
+ segments:
158
+ - 0
159
+ version: "0"
146
160
  requirements: []
161
+
147
162
  rubyforge_project: seattlerb
148
163
  rubygems_version: 1.8.24
149
164
  signing_key:
150
165
  specification_version: 3
151
166
  summary: MogileFS client library for Ruby
152
- test_files:
153
- - test/test_bigfile.rb
154
- - test/test_admin.rb
155
- - test/test_pool.rb
156
- - test/test_db_backend.rb
157
- - test/test_mogilefs_integration_list_keys.rb
167
+ test_files:
158
168
  - test/test_http_reader.rb
159
- - test/test_mogtool_bigfile.rb
169
+ - test/test_mogilefs_integration_list_keys.rb
170
+ - test/test_db_backend.rb
171
+ - test/test_mogilefs_socket_pure.rb
172
+ - test/test_mysql.rb
160
173
  - test/test_backend.rb
174
+ - test/test_mogilefs.rb
175
+ - test/test_mogtool_bigfile.rb
161
176
  - test/test_client.rb
162
- - test/test_mogilefs_integration.rb
163
- - test/test_mogilefs_socket_pure.rb
177
+ - test/test_admin.rb
164
178
  - test/test_mogilefs_socket_kgio.rb
179
+ - test/test_mogilefs_integration.rb
165
180
  - test/test_fresh.rb
166
- - test/test_mogstored_rack.rb
167
- - test/test_mogilefs.rb
181
+ - test/test_pool.rb
182
+ - test/test_bigfile.rb
168
183
  - test/test_mogilefs_integration_large_pipe.rb
169
- - test/test_mysql.rb
184
+ - test/test_mogstored_rack.rb