net-github-upload 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/net/github-upload.rb +1 -2
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -49,7 +49,7 @@ spec = Gem::Specification.new do |s|
49
49
  s.rubyforge_project = $rubyforge_project
50
50
  s.require_path = 'lib'
51
51
  s.test_files = Dir["test/*_test.rb"]
52
- s.add_dependency('nokogiri')
52
+ s.add_dependency('nokogiri', '>=1.4.0')
53
53
  s.add_dependency('faster_xml_simple')
54
54
  s.add_dependency('httpclient')
55
55
  s.files = %w(README.rdoc Rakefile) + Dir["{bin,test,lib}/**/*"]
@@ -6,7 +6,7 @@ require 'faster_xml_simple'
6
6
  module Net
7
7
  module GitHub
8
8
  class Upload
9
- VERSION = '0.0.1'
9
+ VERSION = '0.0.2'
10
10
  def initialize params=nil
11
11
  @login = params[:login]
12
12
  @token = params[:token]
@@ -82,7 +82,6 @@ module Net
82
82
  if stat.code == 201
83
83
  return FasterXmlSimple.xml_in(stat.content)['PostResponse']['Location']
84
84
  else
85
- pp stat.content
86
85
  raise 'Failed to upload'
87
86
  end
88
87
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-github-upload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Constellation
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-01 00:00:00 +09:00
12
+ date: 2010-01-05 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: "0"
23
+ version: 1.4.0
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: faster_xml_simple