jaxx 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/jaxx/upload.rb +2 -2
  2. data/lib/jaxx/version.rb +1 -1
  3. metadata +4 -4
data/lib/jaxx/upload.rb CHANGED
@@ -18,7 +18,7 @@ module Jaxx
18
18
  def files
19
19
  if File.directory?(process.file)
20
20
  Dir[File.join(process.file, "**", "*")]
21
- .reject!{|fp| File.directory?(fp) }
21
+ .reject{|fp| File.directory?(fp) }
22
22
  .inject({}) {|hsh, fp| hsh[fp] = fp.gsub(process.file, ''); hsh }
23
23
  else
24
24
  { process.file => filename }
@@ -35,7 +35,7 @@ module Jaxx
35
35
  :key => name || file,
36
36
  :body => File.read(file),
37
37
  :public => process.public?,
38
- :content_type => MIME::Types.type_for(file).first
38
+ :content_type => MIME::Types.type_for(file).last
39
39
  )
40
40
  end
41
41
  end
data/lib/jaxx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jaxx
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jaxx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-04 00:00:00.000000000 Z
12
+ date: 2013-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
@@ -244,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
244
  version: '0'
245
245
  segments:
246
246
  - 0
247
- hash: 3625006949931740995
247
+ hash: 2106183695942923971
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  none: false
250
250
  requirements:
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  version: '0'
254
254
  segments:
255
255
  - 0
256
- hash: 3625006949931740995
256
+ hash: 2106183695942923971
257
257
  requirements: []
258
258
  rubyforge_project:
259
259
  rubygems_version: 1.8.25