gemcutter 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/commands/push.rb +1 -0
  2. metadata +2 -2
@@ -29,6 +29,7 @@ class Gem::Commands::PushCommand < Gem::AbstractCommand
29
29
  response = make_request(:post, "gems") do |request|
30
30
  request.body = File.open(name).read
31
31
  request.add_field("Content-Length", request.body.size)
32
+ request.add_field("Content-Type", "application/octet-stream")
32
33
  request.add_field("Authorization", api_key)
33
34
  end
34
35
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemcutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Quaranto
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-18 00:00:00 -04:00
12
+ date: 2009-08-19 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency