jsl-placemaker 0.0.1.1

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 (2) hide show
  1. data/README.rdoc +34 -0
  2. metadata +78 -0
data/README.rdoc ADDED
@@ -0,0 +1,34 @@
1
+ = Description
2
+
3
+ Ruby interface for the Yahoo PlaceMaker API.
4
+
5
+ = Installation
6
+
7
+ Assuming that you've set up your ruby environment to pull gems from GitHub, install placemaker with the following command:
8
+
9
+ sudo gem install placemaker
10
+
11
+ = Usage
12
+
13
+ The following is an example of using the Placemaker gem to read places in a standard feed.
14
+
15
+ require 'placemaker'
16
+ p = Placemaker.new(:appid => YOUR_APP_ID, :document_url => 'http://feeds.feedburner.com/wooster', :document_type => 'text/xml')
17
+ results = p.fetch
18
+
19
+ "Results" will be a collection of Placemaker::Document objects. Each of these documents corresponds to a feed entry, and it may
20
+ have one or more "places":
21
+
22
+ results.first.places
23
+
24
+ Places are Placemaker::Place objects, and they contain information about the place that is discussed in this particular feed.
25
+
26
+ = TODO
27
+
28
+ This library is a rough first pass at using the Yahoo Placemaker API. It needs refinement in the parsing of the resultset
29
+ returned by Yahoo, as there is plenty of functionality still unexposed in this interface. It is also still relatively untested
30
+ and surely has bugs.
31
+
32
+ = Author
33
+
34
+ Justin S. Leitgeb, mailto:justin@phq.org
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jsl-placemaker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Justin Leitgeb
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-05-20 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: curb
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: nokogiri
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ description: Ruby interface for the Yahoo Placemaker API
36
+ email: justin@phq.org
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - README.rdoc
43
+ files:
44
+ - README.rdoc
45
+ has_rdoc: true
46
+ homepage: http://github.com/jsl/placemaker
47
+ post_install_message:
48
+ rdoc_options:
49
+ - --charset=UTF-8
50
+ - --title
51
+ - Placemaker
52
+ - --main
53
+ - README.rdoc
54
+ - --line-numbers
55
+ - --inline-source
56
+ require_paths:
57
+ - lib
58
+ required_ruby_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: "0"
63
+ version:
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: "0"
69
+ version:
70
+ requirements: []
71
+
72
+ rubyforge_project:
73
+ rubygems_version: 1.2.0
74
+ signing_key:
75
+ specification_version: 2
76
+ summary: Ruby interface over the Yahoo Placemaker API
77
+ test_files: []
78
+