HTTPal 19 → 25

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.
data.tar.gz.sig CHANGED
Binary file
data/README CHANGED
@@ -6,3 +6,9 @@ referer, and other state items around.
6
6
 
7
7
  Caveat: Individual Browsers aren't thread-safe in any sense of the word. So if you use
8
8
  multiple threads all browsin', each one should have their own HTTPal::Browser object.
9
+
10
+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
11
+
12
+ This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
13
+
14
+ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
data/Rakefile CHANGED
@@ -1,21 +1,20 @@
1
1
  #
2
- # Rakefile
3
- # httpal
2
+ # httpal/Rakefile
4
3
  #
5
4
  # Created by Bryce Kerley on 2006-12-31.
6
- # Copyright (c) 2006 Bryce Kerley. All rights reserved.
5
+ # Copyright (c) 2006-2007 Bryce Kerley. All rights reserved.
6
+ # This software is licensed under the GNU LGPL 2.1 .
7
+ # See COPYING in the httpal root for the full license.
7
8
  #
8
9
  # Subversion info:
9
- # $Id: Rakefile 19 2007-02-06 01:43:59Z bkerley $
10
- #
11
- # pillaged wholesale from Sam Stephenson's
12
- # Rakefile for minischeme
10
+ # $Id: Rakefile 25 2007-03-17 20:11:44Z bkerley $
11
+
13
12
  require 'rake'
14
13
  require 'rake/testtask'
15
14
  require 'rake/gempackagetask'
16
15
  require 'rubygems'
17
16
 
18
- ID = "$Id: Rakefile 19 2007-02-06 01:43:59Z bkerley $"
17
+ ID = "$Id: Rakefile 25 2007-03-17 20:11:44Z bkerley $"
19
18
  GEM_VERSION = ID.split[2]
20
19
 
21
20
  #this will probably fail in win32
@@ -37,6 +36,7 @@ spec = Gem::Specification.new do |s|
37
36
  s.email = "bkerley@brycekerley.net"
38
37
  s.version = GEM_VERSION
39
38
  s.requirements << 'none'
39
+ s.add_dependency 'rake'
40
40
  s.require_path = 'lib'
41
41
  s.autorequire = 'httpal'
42
42
  s.files = FileList["{lib,tests}/**/*"].to_a + ["README", "Rakefile"]
@@ -1,12 +1,13 @@
1
1
  #
2
- # httpal.rb
3
- # httpal
2
+ # httpal/lib/httpal.rb
4
3
  #
5
4
  # Created by Bryce Kerley on 2006-12-31.
6
- # Copyright (c) 2006 Bryce Kerley. All rights reserved.
5
+ # Copyright (c) 2006-2007 Bryce Kerley. All rights reserved.
6
+ # This software is licensed under the GNU LGPL 2.1 .
7
+ # See COPYING in the httpal root for the full license.
7
8
  #
8
9
  # Subversion info:
9
- # $Id: httpal.rb 1 2007-01-01 19:20:16Z bkerley $
10
+ # $Id: httpal.rb 20 2007-02-08 02:13:16Z bkerley $
10
11
  $:.unshift File.dirname(__FILE__)
11
12
  require 'net/http'
12
13
  require 'uri'
@@ -1,12 +1,13 @@
1
1
  #
2
- # httpal.rb
3
- # httpal
2
+ # httpal/lib/httpal/browser.rb
4
3
  #
5
4
  # Created by Bryce Kerley on 2006-12-23.
6
- # Copyright (c) 2006 Bryce Kerley. All rights reserved.
5
+ # Copyright (c) 2006-2007 Bryce Kerley. All rights reserved.
6
+ # This software is licensed under the GNU LGPL 2.1 .
7
+ # See COPYING in the httpal root for the full license.
7
8
  #
8
9
  # Subversion info:
9
- # $Id: browser.rb 12 2007-02-01 22:37:02Z bkerley $
10
+ # $Id: browser.rb 20 2007-02-08 02:13:16Z bkerley $
10
11
  module HTTPal
11
12
  class Browser
12
13
 
@@ -1,12 +1,13 @@
1
1
  #
2
- # cookie.rb
3
- # httpal
2
+ # httpal/lib/httpal/cookie.rb
4
3
  #
5
4
  # Created by Bryce Kerley on 2006-12-23.
6
- # Copyright (c) 2006 Bryce Kerley. All rights reserved.
5
+ # Copyright (c) 2006-2007 Bryce Kerley. All rights reserved.
6
+ # This software is licensed under the GNU LGPL 2.1 .
7
+ # See COPYING in the httpal root for the full license.
7
8
  #
8
9
  # Subversion info:
9
- # $Id: cookie.rb 1 2007-01-01 19:20:16Z bkerley $
10
+ # $Id: cookie.rb 20 2007-02-08 02:13:16Z bkerley $
10
11
  module HTTPal
11
12
  class CookieMonster
12
13
  def self.parse_set_cookie(sc)
@@ -1,12 +1,13 @@
1
1
  #!/usr/bin/env ruby
2
- # test.rb
3
- # httpal
2
+ # httpal/tests/original_test.rb
4
3
  #
5
4
  # Created by Bryce Kerley on 2006-12-28.
6
- # Copyright (c) 2006 Bryce Kerley. All rights reserved.
5
+ # Copyright (c) 2006-2007 Bryce Kerley. All rights reserved.
6
+ # This software is licensed under the GNU LGPL 2.1 .
7
+ # See COPYING in the httpal root for the full license.
7
8
  #
8
9
  # Subversion info:
9
- # $Id: original_test.rb 1 2007-01-01 19:20:16Z bkerley $
10
+ # $Id: original_test.rb 20 2007-02-08 02:13:16Z bkerley $
10
11
  require File.join(File.dirname(__FILE__), 'test_helper')
11
12
 
12
13
  class OriginalTest < Test::Unit::TestCase
@@ -1,12 +1,14 @@
1
1
  #
2
- # test_helper.rb
2
+ # httpal/tests/test_helper.rb
3
3
  # httpal
4
4
  #
5
5
  # Created by Bryce Kerley on 2006-12-31.
6
- # Copyright (c) 2006 Bryce Kerley. All rights reserved.
6
+ # Copyright (c) 2006-2007 Bryce Kerley. All rights reserved.
7
+ # This software is licensed under the GNU LGPL 2.1 .
8
+ # See COPYING in the httpal root for the full license.
7
9
  #
8
10
  # Subversion info:
9
- # $Id: test_helper.rb 1 2007-01-01 19:20:16Z bkerley $
11
+ # $Id: test_helper.rb 20 2007-02-08 02:13:16Z bkerley $
10
12
 
11
13
  $:.unshift File.dirname(__FILE__)
12
14
  $:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.9.1
3
3
  specification_version: 1
4
4
  name: HTTPal
5
5
  version: !ruby/object:Gem::Version
6
- version: "19"
7
- date: 2007-02-05 00:00:00 -05:00
6
+ version: "25"
7
+ date: 2007-03-17 00:00:00 -04:00
8
8
  summary: HTTP browser library
9
9
  require_paths:
10
10
  - lib
@@ -55,8 +55,8 @@ files:
55
55
  - lib/httpal.rb
56
56
  - lib/httpal/browser.rb
57
57
  - lib/httpal/cookie.rb
58
- - tests/test_helper.rb
59
58
  - tests/original_test.rb
59
+ - tests/test_helper.rb
60
60
  - README
61
61
  - Rakefile
62
62
  test_files: []
@@ -71,5 +71,13 @@ extensions: []
71
71
 
72
72
  requirements:
73
73
  - none
74
- dependencies: []
75
-
74
+ dependencies:
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake
77
+ version_requirement:
78
+ version_requirements: !ruby/object:Gem::Version::Requirement
79
+ requirements:
80
+ - - ">"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.0.0
83
+ version:
metadata.gz.sig CHANGED
Binary file