haste 0.0.2 → 0.0.3

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/haste.rb +1 -1
  2. data/lib/haste/version.rb +1 -1
  3. metadata +6 -6
data/lib/haste.rb CHANGED
@@ -25,7 +25,7 @@ module Haste
25
25
  data = JSON.parse(response.body)
26
26
  STDOUT.puts "#{server}/#{data['key']}"
27
27
  else
28
- STDERR.puts "failure uploading: #{res.status}"
28
+ STDERR.puts "failure uploading: #{response.code}"
29
29
  end
30
30
  rescue RuntimeError, JSON::ParserError => e
31
31
  STDERR.puts "failure uploading: #{response.code}"
data/lib/haste/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Haste
2
2
 
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haste
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-28 00:00:00.000000000Z
12
+ date: 2011-12-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70245634412680 !ruby/object:Gem::Requirement
16
+ requirement: &70125346979720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70245634412680
24
+ version_requirements: *70125346979720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &70245634412000 !ruby/object:Gem::Requirement
27
+ requirement: &70125346978880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70245634412000
35
+ version_requirements: *70125346978880
36
36
  description: CLI Haste Client
37
37
  email: john.crepezzi@gmail.com
38
38
  executables: