
RCS file: /var/cvs/google-search/lib/google.rb,v
Working file: lib/google.rb
head: 1.32
branch:
locks: strict
access list:
symbolic names:
	v0-5-1: 1.32
	v0-5-0: 1.31
	v0-4-2: 1.29
	v0-4-1: 1.27
	v0-4-0: 1.24
	v0-3-0: 1.13
	v0-2-0: 1.10
	v0-1-0: 1.5
keyword substitution: kv
total revisions: 32;	selected revisions: 32
description:
----------------------------
revision 1.32
date: 2003/05/20 07:09:22;  author: ianmacd;  state: Exp;  lines: +9 -9

- use Object#class instead of Object#type to silence warnings in 1.8
----------------------------
revision 1.31
date: 2003/01/18 00:40:50;  author: ianmacd;  state: Exp;  lines: +14 -26

- SOAP4R offers WSDL support now, so use that
----------------------------
revision 1.30
date: 2002/09/24 18:08:33;  author: ianmacd;  state: Exp;  lines: +6 -6

- properly format GNU message for man page
----------------------------
revision 1.29
date: 2002/09/09 23:02:50;  author: ianmacd;  state: Exp;  lines: +10 -3

- issue warning if Ruby is in verbose mode and either ie or oe is passed
  to Google::Search
----------------------------
revision 1.28
date: 2002/09/09 22:35:42;  author: ianmacd;  state: Exp;  lines: +7 -6

- oe and ie parameters in Google::Search are now deprecated, in line with
  changes to Google Web API made on 30th August 2002
----------------------------
revision 1.27
date: 2002/05/23 20:57:41;  author: ianmacd;  state: Exp;  lines: +4 -4

- updated release to 0.4.1
----------------------------
revision 1.26
date: 2002/05/23 06:41:18;  author: ianmacd;  state: Exp;  lines: +11 -11

- minor code clean-up (use String#% rather than << to construct some
  return strings)
----------------------------
revision 1.25
date: 2002/05/23 06:33:18;  author: ianmacd;  state: Exp;  lines: +17 -17

- make corrections to documentation
----------------------------
revision 1.24
date: 2002/05/01 20:13:51;  author: ianmacd;  state: Exp;  lines: +12 -4

- updated release to 0.4.0
----------------------------
revision 1.23
date: 2002/04/29 18:34:27;  author: ianmacd;  state: Exp;  lines: +198 -200

- nest module Each in module Google
- improve indentation
----------------------------
revision 1.22
date: 2002/04/29 08:20:09;  author: ianmacd;  state: Exp;  lines: +37 -15

- improve file lay-out
----------------------------
revision 1.21
date: 2002/04/28 10:40:36;  author: ianmacd;  state: Exp;  lines: +10 -11

- place 'each' method from ResultElement and DirectoryCategory classes into
  its own module (called Each), and mix that in instead of duplicating the
  code.
----------------------------
revision 1.20
date: 2002/04/28 10:12:57;  author: ianmacd;  state: Exp;  lines: +16 -12

- add documentation describing the directoryCategories member of
  Struct::Response
- other improvements to the documentation
----------------------------
revision 1.19
date: 2002/04/26 20:59:25;  author: ianmacd;  state: Exp;  lines: +29 -8

- new DirectoryCategory class added. Instances of this class have two
  attributes: fullViewableName and specialEncoding
- the directoryCategories member of the Struct::Response returned by
  Search.new is now of type Struct::DirectoryCategory
- the directoryName member of the Struct::ResultElement returned by
  ResultElement.new was renamed fullViewableName
- the directoryEncoding member of the Struct::ResultElement returned by
  ResultElement.new was renamed specialEncoding
----------------------------
revision 1.18
date: 2002/04/26 20:19:52;  author: ianmacd;  state: Exp;  lines: +55 -29

- renamed the filefilter restrict to filetype
- renamed the fileexclude restrict to notfiletype
- added new class methods Search.query_length_ok?, Search.query_words_ok?,
  Search.query_sites_ok? and an encapsulating method, Search.query_ok?
- removed Search#check method
- fixed bug in handling of phrase restricts (array needed to be converted
  to string)
----------------------------
revision 1.17
date: 2002/04/26 07:19:36;  author: ianmacd;  state: Exp;  lines: +36 -11

- add Search#check to check that a query is within the bounds specified by
  the Google Web API documentation
- Search#restrict now allows multiple restricts to be built without multiple
  calls to the method. It now builds a restrict for each parameter passed
  to it.
- no longer create a new SOAP::Driver object on 2nd and subsequent calls
  to Search.new
----------------------------
revision 1.16
date: 2002/04/25 19:59:03;  author: ianmacd;  state: Exp;  lines: +13 -19

- add SOAP methods at initialisation time, not when calling the search,
  spell and cache methods
----------------------------
revision 1.15
date: 2002/04/24 22:57:21;  author: ianmacd;  state: Exp;  lines: +57 -2

- add method Search#restrict to allow special query terms
----------------------------
revision 1.14
date: 2002/04/24 20:47:18;  author: ianmacd;  state: Exp;  lines: +6 -6

- in class ResultElement, cachedSize is returned as a SOAP object when Google
  returns no data. Check for it being a String before setting self.cachedSize.
- don't instantiate a connection to Google until a Search object is created
  using Search.new
----------------------------
revision 1.13
date: 2002/04/23 05:36:01;  author: ianmacd;  state: Exp;  lines: +5 -9

- dispense with some class variables in class Search
----------------------------
revision 1.12
date: 2002/04/23 04:32:05;  author: ianmacd;  state: Exp;  lines: +12 -12

- documentation improvements
- update release to 0.3.0
----------------------------
revision 1.11
date: 2002/04/22 09:05:25;  author: ianmacd;  state: Exp;  lines: +21 -25

changes to Search class
- response is now a local variable, not an instance variable
- return response now instead of self (breaks interface compatibility with
  previous versions)
changes to ResultElement class
- attribute method no longer used
- return self
other changes
- improved documentation
----------------------------
revision 1.10
date: 2002/04/15 18:25:52;  author: ianmacd;  state: Exp;  lines: +6 -2

- add documentation on proxy setting
----------------------------
revision 1.9
date: 2002/04/15 17:51:57;  author: ianmacd;  state: Exp;  lines: +5 -4

- update version to 0.2.0
----------------------------
revision 1.8
date: 2002/04/14 08:14:25;  author: ianmacd;  state: Exp;  lines: +23 -12

- use class variables to track whether a particular method has already been
  created using the addMethodWithSOAPAction method. This prevents some
  warnings about methods being redefined when running with -w.
----------------------------
revision 1.7
date: 2002/04/14 07:36:35;  author: ianmacd;  state: Exp;  lines: +41 -40

- the search method now returns a Struct instead of a hash
- the resultElements element of the Struct returned by the search method is
  now also a Struct, not a hash

  The above two changes came from "Brian F. Feldman" <green@FreeBSD.org>

- updated documentation to reflect the above changes
- documentation referred to results hash. This should have been resultElements,
  which is now a Struct
----------------------------
revision 1.6
date: 2002/04/12 04:44:58;  author: ianmacd;  state: Exp;  lines: +4 -3

- add proxy support (idea from Hiroshi Nakamura <nahi@keynauts.com>)
----------------------------
revision 1.5
date: 2002/04/11 21:33:22;  author: ianmacd;  state: Exp;  lines: +3 -4

- removed trailing / on hyperlink that caused RDtool to barf
----------------------------
revision 1.4
date: 2002/04/11 21:31:21;  author: ianmacd;  state: Exp;  lines: +60 -43

- reimplemented lots of instance variables as a single instance hash
- improved documentation in many places
----------------------------
revision 1.3
date: 2002/04/11 16:48:56;  author: ianmacd;  state: Exp;  lines: +5 -3

- attr_reader was missing most of the variable names in Google::Search
----------------------------
revision 1.2
date: 2002/04/11 10:50:59;  author: ianmacd;  state: Exp;  lines: +3 -3

- update ENDPOINT
----------------------------
revision 1.1
date: 2002/04/11 10:07:41;  author: ianmacd;  state: Exp;

- remove valid key from search.rb
- move google.rb into lib/
=============================================================================
