representable 0.0.1.alpha1 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +58 -153
- data/lib/representable.rb +18 -42
- data/lib/representable/bindings/json_bindings.rb +69 -0
- data/lib/representable/bindings/xml_bindings.rb +152 -0
- data/lib/representable/definition.rb +1 -12
- data/lib/representable/json.rb +66 -0
- data/lib/representable/version.rb +1 -1
- data/lib/representable/xml.rb +32 -38
- data/representable.gemspec +3 -2
- data/test/bindings_test.rb +110 -0
- data/test/json_test.rb +130 -0
- data/test/{roxml_test.rb → representable_test.rb} +28 -9
- data/test/test_helper.rb +2 -0
- data/test/xml_test.rb +192 -0
- metadata +32 -105
- data/History.txt +0 -354
- data/TODO +0 -37
- data/VERSION +0 -1
- data/examples/amazon.rb +0 -35
- data/examples/current_weather.rb +0 -27
- data/examples/dashed_elements.rb +0 -20
- data/examples/library.rb +0 -40
- data/examples/posts.rb +0 -27
- data/examples/rails.rb +0 -70
- data/examples/twitter.rb +0 -37
- data/examples/xml/active_record.xml +0 -70
- data/examples/xml/amazon.xml +0 -133
- data/examples/xml/current_weather.xml +0 -89
- data/examples/xml/dashed_elements.xml +0 -52
- data/examples/xml/posts.xml +0 -23
- data/examples/xml/twitter.xml +0 -422
- data/lib/representable/references.rb +0 -153
- data/spec/definition_spec.rb +0 -495
- data/spec/examples/active_record_spec.rb +0 -41
- data/spec/examples/amazon_spec.rb +0 -54
- data/spec/examples/current_weather_spec.rb +0 -37
- data/spec/examples/dashed_elements_spec.rb +0 -20
- data/spec/examples/library_spec.rb +0 -46
- data/spec/examples/post_spec.rb +0 -24
- data/spec/examples/twitter_spec.rb +0 -32
- data/spec/roxml_integration_test.rb +0 -289
- data/spec/roxml_spec.rb +0 -372
- data/spec/shared_specs.rb +0 -15
- data/spec/spec_helper.rb +0 -5
- data/spec/support/libxml.rb +0 -3
- data/spec/support/nokogiri.rb +0 -3
- data/spec/xml/array_spec.rb +0 -36
- data/spec/xml/attributes_spec.rb +0 -71
- data/spec/xml/encoding_spec.rb +0 -53
- data/spec/xml/namespace_spec.rb +0 -270
- data/spec/xml/namespaces_spec.rb +0 -67
- data/spec/xml/object_spec.rb +0 -82
- data/spec/xml/parser_spec.rb +0 -21
- data/spec/xml/text_spec.rb +0 -71
- data/test/fixtures/book_malformed.xml +0 -5
- data/test/fixtures/book_pair.xml +0 -8
- data/test/fixtures/book_text_with_attribute.xml +0 -5
- data/test/fixtures/book_valid.xml +0 -5
- data/test/fixtures/book_with_authors.xml +0 -7
- data/test/fixtures/book_with_contributions.xml +0 -9
- data/test/fixtures/book_with_contributors.xml +0 -7
- data/test/fixtures/book_with_contributors_attrs.xml +0 -7
- data/test/fixtures/book_with_default_namespace.xml +0 -9
- data/test/fixtures/book_with_depth.xml +0 -6
- data/test/fixtures/book_with_octal_pages.xml +0 -4
- data/test/fixtures/book_with_publisher.xml +0 -7
- data/test/fixtures/book_with_wrapped_attr.xml +0 -3
- data/test/fixtures/dictionary_of_attr_name_clashes.xml +0 -8
- data/test/fixtures/dictionary_of_attrs.xml +0 -6
- data/test/fixtures/dictionary_of_guarded_names.xml +0 -6
- data/test/fixtures/dictionary_of_mixeds.xml +0 -4
- data/test/fixtures/dictionary_of_name_clashes.xml +0 -10
- data/test/fixtures/dictionary_of_names.xml +0 -4
- data/test/fixtures/dictionary_of_texts.xml +0 -10
- data/test/fixtures/library.xml +0 -30
- data/test/fixtures/library_uppercase.xml +0 -30
- data/test/fixtures/muffins.xml +0 -3
- data/test/fixtures/nameless_ageless_youth.xml +0 -2
- data/test/fixtures/node_with_attr_name_conflicts.xml +0 -1
- data/test/fixtures/node_with_name_conflicts.xml +0 -4
- data/test/fixtures/numerology.xml +0 -4
- data/test/fixtures/person.xml +0 -1
- data/test/fixtures/person_with_guarded_mothers.xml +0 -13
- data/test/fixtures/person_with_mothers.xml +0 -10
- data/test/mocks/dictionaries.rb +0 -57
- data/test/mocks/mocks.rb +0 -279
- data/test/support/fixtures.rb +0 -11
- data/test/unit/definition_test.rb +0 -235
- data/test/unit/deprecations_test.rb +0 -24
- data/test/unit/to_xml_test.rb +0 -81
- data/test/unit/xml_attribute_test.rb +0 -39
- data/test/unit/xml_block_test.rb +0 -81
- data/test/unit/xml_bool_test.rb +0 -122
- data/test/unit/xml_convention_test.rb +0 -150
- data/test/unit/xml_hash_test.rb +0 -115
- data/test/unit/xml_initialize_test.rb +0 -49
- data/test/unit/xml_name_test.rb +0 -141
- data/test/unit/xml_namespace_test.rb +0 -31
- data/test/unit/xml_object_test.rb +0 -206
- data/test/unit/xml_required_test.rb +0 -94
- data/test/unit/xml_text_test.rb +0 -71
- data/website/index.html +0 -98
data/examples/dashed_elements.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require_relative './../spec/spec_helper'
|
3
|
-
|
4
|
-
module GitHub
|
5
|
-
class Commit
|
6
|
-
include ROXML
|
7
|
-
xml_convention :dasherize
|
8
|
-
|
9
|
-
xml_reader :url
|
10
|
-
xml_reader :tree
|
11
|
-
xml_reader :message
|
12
|
-
xml_reader :id
|
13
|
-
xml_reader :committed_date, :as => Date
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
unless defined?(Spec)
|
18
|
-
commit = GitHub::Commit.from_xml(xml_for('dashed_elements'))
|
19
|
-
puts commit.committed_date, commit.url, commit.id, ''
|
20
|
-
end
|
data/examples/library.rb
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
class Publisher
|
2
|
-
include ROXML
|
3
|
-
|
4
|
-
xml_accessor :name
|
5
|
-
|
6
|
-
def initialize(name = nil)
|
7
|
-
@name = name
|
8
|
-
end
|
9
|
-
|
10
|
-
def ==(other)
|
11
|
-
name == other.name
|
12
|
-
end
|
13
|
-
|
14
|
-
# other important functionality
|
15
|
-
end
|
16
|
-
|
17
|
-
class Novel
|
18
|
-
include ROXML
|
19
|
-
|
20
|
-
xml_accessor :isbn, :from => "@ISBN" # attribute with name 'ISBN'
|
21
|
-
xml_accessor :title
|
22
|
-
xml_accessor :description, :cdata => true # text node with cdata protection
|
23
|
-
xml_accessor :author
|
24
|
-
xml_accessor :publisher, :as => Publisher # singular object reference for illustrative purposes.
|
25
|
-
|
26
|
-
def ==(other)
|
27
|
-
self.class.roxml_attrs.map(&:accessor).all? {|attr| send(attr) == other.send(attr) }
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
class Library
|
32
|
-
include ROXML
|
33
|
-
|
34
|
-
xml_accessor :name, :from => "NAME", :cdata => true
|
35
|
-
xml_accessor :novels, :as => [Novel] # by default roxml searches for books for in <novel> children, then, if none are present, in ./novels/novel children
|
36
|
-
|
37
|
-
def ==(other)
|
38
|
-
name == other.name && novels == other.novels
|
39
|
-
end
|
40
|
-
end
|
data/examples/posts.rb
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require_relative './../spec/spec_helper'
|
3
|
-
|
4
|
-
class Post
|
5
|
-
include ROXML
|
6
|
-
|
7
|
-
xml_reader :href, :from => :attr
|
8
|
-
xml_reader :hash, :from => :attr
|
9
|
-
xml_reader :description, :from => :attr
|
10
|
-
xml_reader :tag, :from => :attr
|
11
|
-
xml_reader :created_at, :from => '@time'
|
12
|
-
xml_reader :others, :from => :attr, :as => Integer
|
13
|
-
xml_reader :extended, :from => :attr
|
14
|
-
end
|
15
|
-
|
16
|
-
class Posts
|
17
|
-
include ROXML
|
18
|
-
|
19
|
-
xml_reader :posts, :as => [Post]
|
20
|
-
end
|
21
|
-
|
22
|
-
unless defined?(Spec)
|
23
|
-
posts = Posts.from_xml(xml_for('posts'))
|
24
|
-
posts.posts.each do |post|
|
25
|
-
puts post.description, post.href, post.extended, ''
|
26
|
-
end
|
27
|
-
end
|
data/examples/rails.rb
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require_relative './../spec/spec_helper'
|
3
|
-
require 'sqlite3'
|
4
|
-
require 'active_record'
|
5
|
-
|
6
|
-
DB_PATH = 'spec/examples/rails.sqlite3'
|
7
|
-
ActiveRecord::Base.establish_connection(
|
8
|
-
:adapter => 'sqlite3',
|
9
|
-
:database => DB_PATH
|
10
|
-
)
|
11
|
-
|
12
|
-
class Waypoint < ActiveRecord::Base
|
13
|
-
include ROXML
|
14
|
-
|
15
|
-
belongs_to :route
|
16
|
-
|
17
|
-
xml_attr :isLeg
|
18
|
-
xml_attr :lonlatx
|
19
|
-
xml_attr :lonlaty
|
20
|
-
xml_attr :gridReference
|
21
|
-
xml_attr :ascent
|
22
|
-
xml_attr :descent
|
23
|
-
xml_attr :distance
|
24
|
-
xml_attr :bearing
|
25
|
-
xml_attr :timemins
|
26
|
-
end
|
27
|
-
|
28
|
-
class Route < ActiveRecord::Base
|
29
|
-
include ROXML
|
30
|
-
|
31
|
-
has_many :waypoints
|
32
|
-
|
33
|
-
xml_attr :title
|
34
|
-
xml_attr :totalDist
|
35
|
-
xml_attr :totalMins
|
36
|
-
xml_attr :totalHg
|
37
|
-
xml_attr :lonlatx
|
38
|
-
xml_attr :lonlaty
|
39
|
-
xml_attr :grcenter
|
40
|
-
|
41
|
-
xml_attr :waypoints, :as => [Waypoint], :in => "waypoints"
|
42
|
-
end
|
43
|
-
|
44
|
-
# do a quick pseudo migration. This should only get executed on the first run
|
45
|
-
if !Waypoint.table_exists?
|
46
|
-
ActiveRecord::Base.connection.create_table(:waypoints) do |t|
|
47
|
-
t.column :route_id, :integer
|
48
|
-
t.column :isLeg, :string
|
49
|
-
t.column :lonlatx, :string
|
50
|
-
t.column :lonlaty, :string
|
51
|
-
t.column :gridReference, :string
|
52
|
-
t.column :ascent, :string
|
53
|
-
t.column :descent, :string
|
54
|
-
t.column :distance, :string
|
55
|
-
t.column :bearing, :string
|
56
|
-
t.column :timeMins, :string
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
if !Route.table_exists?
|
61
|
-
ActiveRecord::Base.connection.create_table(:routes) do |t|
|
62
|
-
t.column :title, :string
|
63
|
-
t.column :totalDist, :string
|
64
|
-
t.column :totalMins, :string
|
65
|
-
t.column :totalHg, :string
|
66
|
-
t.column :lonlatx, :string
|
67
|
-
t.column :lonlaty, :string
|
68
|
-
t.column :grcenter, :string
|
69
|
-
end
|
70
|
-
end
|
data/examples/twitter.rb
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require_relative './../spec/spec_helper'
|
3
|
-
require 'time'
|
4
|
-
|
5
|
-
class User
|
6
|
-
include ROXML
|
7
|
-
|
8
|
-
xml_reader :id, :as => Integer
|
9
|
-
xml_reader :name
|
10
|
-
xml_reader :screen_name
|
11
|
-
xml_reader :location
|
12
|
-
xml_reader :description
|
13
|
-
xml_reader :profile_image_url
|
14
|
-
xml_reader :url
|
15
|
-
xml_reader :protected?
|
16
|
-
xml_reader :followers_count, :as => Integer
|
17
|
-
end
|
18
|
-
|
19
|
-
class Status
|
20
|
-
include ROXML
|
21
|
-
|
22
|
-
xml_reader :id, :as => Integer
|
23
|
-
xml_reader :text
|
24
|
-
xml_reader :created_at # This defaults to :as => DateTime, due to the '_at'
|
25
|
-
xml_reader :source
|
26
|
-
xml_reader :truncated?
|
27
|
-
xml_reader :in_reply_to_status_id, :as => Integer
|
28
|
-
xml_reader :in_reply_to_user_id, :as => Integer
|
29
|
-
xml_reader :favorited?
|
30
|
-
xml_reader :user, :as => User
|
31
|
-
end
|
32
|
-
|
33
|
-
class Statuses
|
34
|
-
include ROXML
|
35
|
-
|
36
|
-
xml_reader :statuses, :as => [Status]
|
37
|
-
end
|
@@ -1,70 +0,0 @@
|
|
1
|
-
<route>
|
2
|
-
<totalDist>11185.321521477119</totalDist>
|
3
|
-
<totalHg>640</totalHg>
|
4
|
-
<totalMins>235.75000000000003</totalMins>
|
5
|
-
<lonlatx>357865</lonlatx>
|
6
|
-
<lonlaty>271635</lonlaty>
|
7
|
-
<grcenter>SH 71635 57865</grcenter>
|
8
|
-
<waypoints>
|
9
|
-
<waypoint>
|
10
|
-
<isLeg>false</isLeg>
|
11
|
-
<lonlatx>357290</lonlatx>
|
12
|
-
<lonlaty>271650</lonlaty>
|
13
|
-
<gridReference>SH 71650 57290</gridReference>
|
14
|
-
<ascent>81</ascent>
|
15
|
-
<descent>220</descent>
|
16
|
-
<distance>0</distance>
|
17
|
-
<bearing>0</bearing>
|
18
|
-
</waypoint>
|
19
|
-
<waypoint>
|
20
|
-
<isLeg>false</isLeg>
|
21
|
-
<lonlatx>357260</lonlatx>
|
22
|
-
<lonlaty>274600</lonlaty>
|
23
|
-
<gridReference>SH 74600 57260</gridReference>
|
24
|
-
<ascent>275</ascent>
|
25
|
-
<descent>48</descent>
|
26
|
-
<distance>2950.152538429157</distance>
|
27
|
-
<bearing>91</bearing>
|
28
|
-
</waypoint>
|
29
|
-
<waypoint>
|
30
|
-
<isLeg>false</isLeg>
|
31
|
-
<lonlatx>359160</lonlatx>
|
32
|
-
<lonlaty>273330</lonlaty>
|
33
|
-
<gridReference>SH 73330 59160</gridReference>
|
34
|
-
<ascent>73</ascent>
|
35
|
-
<descent>170</descent>
|
36
|
-
<distance>2285.3664913969487</distance>
|
37
|
-
<bearing>326</bearing>
|
38
|
-
</waypoint>
|
39
|
-
<waypoint>
|
40
|
-
<isLeg>false</isLeg>
|
41
|
-
<lonlatx>359170</lonlatx>
|
42
|
-
<lonlaty>270050</lonlaty>
|
43
|
-
<gridReference>SH 70050 59170</gridReference>
|
44
|
-
<ascent>182</ascent>
|
45
|
-
<descent>172</descent>
|
46
|
-
<distance>3280.015243867016</distance>
|
47
|
-
<bearing>270</bearing>
|
48
|
-
</waypoint>
|
49
|
-
<waypoint>
|
50
|
-
<isLeg>false</isLeg>
|
51
|
-
<lonlatx>357470</lonlatx>
|
52
|
-
<lonlaty>269740</lonlaty>
|
53
|
-
<gridReference>SH 69740 57470</gridReference>
|
54
|
-
<ascent>29</ascent>
|
55
|
-
<descent>107</descent>
|
56
|
-
<distance>1728.0335644888382</distance>
|
57
|
-
<bearing>190</bearing>
|
58
|
-
</waypoint>
|
59
|
-
<waypoint>
|
60
|
-
<isLeg>false</isLeg>
|
61
|
-
<lonlatx>356840</lonlatx>
|
62
|
-
<lonlaty>270440</lonlaty>
|
63
|
-
<gridReference>SH 70440 56840</gridReference>
|
64
|
-
<ascent>640</ascent>
|
65
|
-
<descent>717</descent>
|
66
|
-
<distance>941.7536832951597</distance>
|
67
|
-
<bearing>132</bearing>
|
68
|
-
</waypoint>
|
69
|
-
</waypoints>
|
70
|
-
</route>
|
data/examples/xml/amazon.xml
DELETED
@@ -1,133 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2005-10-05" xmlns:georss="http://www.georss.org/georss">
|
3
|
-
<OperationRequest>
|
4
|
-
<HTTPHeaders>
|
5
|
-
<Header Name="UserAgent">
|
6
|
-
</Header>
|
7
|
-
</HTTPHeaders>
|
8
|
-
<RequestId>16WRJBVEM155Q026KCV1</RequestId>
|
9
|
-
<Arguments>
|
10
|
-
<Argument Name="SearchIndex" Value="Books"></Argument>
|
11
|
-
<Argument Name="Service" Value="AWSECommerceService"></Argument>
|
12
|
-
<Argument Name="Title" Value="Ruby on Rails"></Argument>
|
13
|
-
<Argument Name="Operation" Value="ItemSearch"></Argument>
|
14
|
-
<Argument Name="AWSAccessKeyId" Value="dontbeaswoosh"></Argument>
|
15
|
-
</Arguments>
|
16
|
-
<RequestProcessingTime>0.064924955368042</RequestProcessingTime>
|
17
|
-
</OperationRequest>
|
18
|
-
<Items>
|
19
|
-
<Request>
|
20
|
-
<IsValid>True</IsValid>
|
21
|
-
<ItemSearchRequest>
|
22
|
-
<SearchIndex>Books</SearchIndex>
|
23
|
-
<Title>Ruby on Rails</Title>
|
24
|
-
</ItemSearchRequest>
|
25
|
-
</Request>
|
26
|
-
<TotalResults>22</TotalResults>
|
27
|
-
<TotalPages>3</TotalPages>
|
28
|
-
<Item>
|
29
|
-
<ASIN>0321480791</ASIN>
|
30
|
-
<georss:point>38.5351715088 -121.7948684692</georss:point>
|
31
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=0321480791%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0321480791%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
32
|
-
<ItemAttributes>
|
33
|
-
<Author>Michael Hartl</Author>
|
34
|
-
<Author>Aurelius Prochazka</Author>
|
35
|
-
<Manufacturer>Addison-Wesley Professional</Manufacturer>
|
36
|
-
<ProductGroup>Book</ProductGroup>
|
37
|
-
<Title>RailsSpace: Building a Social Networking Website with Ruby on Rails (Addison-Wesley Professional Ruby Series)</Title>
|
38
|
-
</ItemAttributes>
|
39
|
-
</Item>
|
40
|
-
<Item>
|
41
|
-
<ASIN>047022388X</ASIN>
|
42
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=047022388X%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/047022388X%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
43
|
-
<ItemAttributes>
|
44
|
-
<Author>Noel Rappin</Author>
|
45
|
-
<Manufacturer>Wrox</Manufacturer>
|
46
|
-
<ProductGroup>Book</ProductGroup>
|
47
|
-
<Title>Professional Ruby on Rails</Title>
|
48
|
-
</ItemAttributes>
|
49
|
-
</Item>
|
50
|
-
<Item>
|
51
|
-
<ASIN>1590598814</ASIN>
|
52
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=1590598814%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/1590598814%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
53
|
-
<ItemAttributes>
|
54
|
-
<Author>Ola Bini</Author>
|
55
|
-
<Manufacturer>Apress</Manufacturer>
|
56
|
-
<ProductGroup>Book</ProductGroup>
|
57
|
-
<Title>Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java</Title>
|
58
|
-
</ItemAttributes>
|
59
|
-
</Item>
|
60
|
-
<Item>
|
61
|
-
<ASIN>0596101325</ASIN>
|
62
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=0596101325%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0596101325%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
63
|
-
<ItemAttributes>
|
64
|
-
<Author>Bruce Tate</Author>
|
65
|
-
<Author>Curt Hibbs</Author>
|
66
|
-
<Manufacturer>O'Reilly Media, Inc.</Manufacturer>
|
67
|
-
<ProductGroup>Book</ProductGroup>
|
68
|
-
<Title>Ruby on Rails: Up and Running</Title>
|
69
|
-
</ItemAttributes>
|
70
|
-
</Item>
|
71
|
-
<Item>
|
72
|
-
<ASIN>0470081201</ASIN>
|
73
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=0470081201%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0470081201%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
74
|
-
<ItemAttributes>
|
75
|
-
<Author>Barry Burd</Author>
|
76
|
-
<Manufacturer>For Dummies</Manufacturer>
|
77
|
-
<ProductGroup>Book</ProductGroup>
|
78
|
-
<Title>Ruby on Rails For Dummies (For Dummies (Computer/Tech))</Title>
|
79
|
-
</ItemAttributes>
|
80
|
-
</Item>
|
81
|
-
<Item>
|
82
|
-
<ASIN>0975841955</ASIN>
|
83
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=0975841955%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0975841955%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
84
|
-
<ItemAttributes>
|
85
|
-
<Author>Patrick Lenz</Author>
|
86
|
-
<Manufacturer>SitePoint</Manufacturer>
|
87
|
-
<ProductGroup>Book</ProductGroup>
|
88
|
-
<Title>Build Your Own Ruby on Rails Web Applications</Title>
|
89
|
-
</ItemAttributes>
|
90
|
-
</Item>
|
91
|
-
<Item>
|
92
|
-
<ASIN>0470069155</ASIN>
|
93
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=0470069155%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0470069155%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
94
|
-
<ItemAttributes>
|
95
|
-
<Author>Steve, Ph.D. Holzner</Author>
|
96
|
-
<Manufacturer>Wrox</Manufacturer>
|
97
|
-
<ProductGroup>Book</ProductGroup>
|
98
|
-
<Title>Beginning Ruby on Rails (Wrox Beginning Guides)</Title>
|
99
|
-
</ItemAttributes>
|
100
|
-
</Item>
|
101
|
-
<Item>
|
102
|
-
<ASIN>1590597362</ASIN>
|
103
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=1590597362%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/1590597362%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
104
|
-
<ItemAttributes>
|
105
|
-
<Author>Christian Hellsten</Author>
|
106
|
-
<Author>Jarkko Laine</Author>
|
107
|
-
<Manufacturer>Apress</Manufacturer>
|
108
|
-
<ProductGroup>Book</ProductGroup>
|
109
|
-
<Title>Beginning Ruby on Rails E-Commerce: From Novice to Professional (Rails)</Title>
|
110
|
-
</ItemAttributes>
|
111
|
-
</Item>
|
112
|
-
<Item>
|
113
|
-
<ASIN>1590597524</ASIN>
|
114
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=1590597524%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/1590597524%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
115
|
-
<ItemAttributes>
|
116
|
-
<Author>Justin Williams</Author>
|
117
|
-
<Manufacturer>friends of ED</Manufacturer>
|
118
|
-
<ProductGroup>Book</ProductGroup>
|
119
|
-
<Title>Rails Solutions: Ruby on Rails Made Easy (Solutions)</Title>
|
120
|
-
</ItemAttributes>
|
121
|
-
</Item>
|
122
|
-
<Item>
|
123
|
-
<ASIN>0321517067</ASIN>
|
124
|
-
<DetailPageURL>http://www.amazon.com/gp/redirect.html%3FASIN=0321517067%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0321517067%253FSubscriptionId=dontbeaswoosh</DetailPageURL>
|
125
|
-
<ItemAttributes>
|
126
|
-
<Author>Aurelius Prochazka</Author>
|
127
|
-
<Manufacturer>Addison-Wesley Professional</Manufacturer>
|
128
|
-
<ProductGroup>Book</ProductGroup>
|
129
|
-
<Title>RailsSpace Ruby on Rails Tutorial (Video Training) (LiveLessons)</Title>
|
130
|
-
</ItemAttributes>
|
131
|
-
</Item>
|
132
|
-
</Items>
|
133
|
-
</ItemSearchResponse>
|
@@ -1,89 +0,0 @@
|
|
1
|
-
<aws:weather xmlns:aws="http://www.aws.com/aws">
|
2
|
-
<aws:api version="2.0"/>
|
3
|
-
<aws:WebURL>http://weather.weatherbug.com/IN/Carmel-weather.html?ZCode=Z5546&Units=0&stat=MOCAR</aws:WebURL>
|
4
|
-
<aws:ob>
|
5
|
-
<aws:ob-date>
|
6
|
-
<aws:year number="2008"/>
|
7
|
-
<aws:month number="12" text="December" abbrv="Dec"/>
|
8
|
-
<aws:day number="30" text="Tuesday" abbrv="Tue"/>
|
9
|
-
<aws:hour number="4" hour-24="16"/>
|
10
|
-
<aws:minute number="18"/>
|
11
|
-
<aws:second number="01"/>
|
12
|
-
<aws:am-pm abbrv="PM"/>
|
13
|
-
<aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
|
14
|
-
</aws:ob-date>
|
15
|
-
<aws:requested-station-id>mocar</aws:requested-station-id>
|
16
|
-
<aws:station-id>MOCAR</aws:station-id>
|
17
|
-
<aws:station>Mohawk Trail ES</aws:station>
|
18
|
-
<aws:city-state zipcode="46033">Carmel, IN</aws:city-state>
|
19
|
-
<aws:country>USA</aws:country>
|
20
|
-
<aws:latitude>39.9711111111111</aws:latitude>
|
21
|
-
<aws:longitude>-86.0938888888889</aws:longitude>
|
22
|
-
<aws:site-url>http://www1.ccs.k12.in.us/mte/home</aws:site-url>
|
23
|
-
<aws:aux-temp units="&deg;F">74</aws:aux-temp>
|
24
|
-
<aws:aux-temp-rate units="&deg;F">+0.0</aws:aux-temp-rate>
|
25
|
-
<aws:current-condition icon="http://deskwx.weatherbug.com/images/Forecast/icons/cond007.gif">Sunny</aws:current-condition>
|
26
|
-
<aws:dew-point units="&deg;F">35</aws:dew-point>
|
27
|
-
<aws:elevation units="ft">817</aws:elevation>
|
28
|
-
<aws:feels-like units="&deg;F">51</aws:feels-like>
|
29
|
-
<aws:gust-time>
|
30
|
-
<aws:year number="0001"/>
|
31
|
-
<aws:month number="1" text="January" abbrv="Jan"/>
|
32
|
-
<aws:day number="1" text="Monday" abbrv="Mon"/>
|
33
|
-
<aws:hour number="12" hour-24="00"/>
|
34
|
-
<aws:minute number="00"/>
|
35
|
-
<aws:second number="00"/>
|
36
|
-
<aws:am-pm abbrv="AM"/>
|
37
|
-
<aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
|
38
|
-
</aws:gust-time>
|
39
|
-
<aws:gust-direction>W</aws:gust-direction>
|
40
|
-
<aws:gust-speed units="mph">25</aws:gust-speed>
|
41
|
-
<aws:humidity units="%">53</aws:humidity>
|
42
|
-
<aws:humidity-high units="%">100.0</aws:humidity-high>
|
43
|
-
<aws:humidity-low units="%">42.5</aws:humidity-low>
|
44
|
-
<aws:humidity-rate>-5.0</aws:humidity-rate>
|
45
|
-
<aws:indoor-temp units="&deg;F">75</aws:indoor-temp>
|
46
|
-
<aws:indoor-temp-rate units="&deg;F">+0.0</aws:indoor-temp-rate>
|
47
|
-
<aws:light>28</aws:light>
|
48
|
-
<aws:light-rate>-1.5</aws:light-rate>
|
49
|
-
<aws:moon-phase moon-phase-img="http://api.wxbug.net/images/moonphase/mphase02.gif">-10</aws:moon-phase>
|
50
|
-
<aws:pressure units=""">29.71</aws:pressure>
|
51
|
-
<aws:pressure-high units=""">30.18</aws:pressure-high>
|
52
|
-
<aws:pressure-low units=""">29.71</aws:pressure-low>
|
53
|
-
<aws:pressure-rate units=""/h">-0.04</aws:pressure-rate>
|
54
|
-
<aws:rain-month units=""">6.64</aws:rain-month>
|
55
|
-
<aws:rain-rate units=""/h">0.00</aws:rain-rate>
|
56
|
-
<aws:rain-rate-max units=""/h">0.00</aws:rain-rate-max>
|
57
|
-
<aws:rain-today units=""">0.00</aws:rain-today>
|
58
|
-
<aws:rain-year units=""">53.83</aws:rain-year>
|
59
|
-
<aws:temp units="&deg;F">51.8</aws:temp>
|
60
|
-
<aws:temp-high units="&deg;F">52</aws:temp-high>
|
61
|
-
<aws:temp-low units="&deg;F">29</aws:temp-low>
|
62
|
-
<aws:temp-rate units="&deg;F/h">+2.5</aws:temp-rate>
|
63
|
-
<aws:sunrise>
|
64
|
-
<aws:year number="2008"/>
|
65
|
-
<aws:month number="12" text="December" abbrv="Dec"/>
|
66
|
-
<aws:day number="30" text="Tuesday" abbrv="Tue"/>
|
67
|
-
<aws:hour number="8" hour-24="08"/>
|
68
|
-
<aws:minute number="06"/>
|
69
|
-
<aws:second number="02"/>
|
70
|
-
<aws:am-pm abbrv="AM"/>
|
71
|
-
<aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
|
72
|
-
</aws:sunrise>
|
73
|
-
<aws:sunset>
|
74
|
-
<aws:year number="2008"/>
|
75
|
-
<aws:month number="12" text="December" abbrv="Dec"/>
|
76
|
-
<aws:day number="30" text="Tuesday" abbrv="Tue"/>
|
77
|
-
<aws:hour number="5" hour-24="17"/>
|
78
|
-
<aws:minute number="28"/>
|
79
|
-
<aws:second number="53"/>
|
80
|
-
<aws:am-pm abbrv="PM"/>
|
81
|
-
<aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
|
82
|
-
</aws:sunset>
|
83
|
-
<aws:wet-bulb units="&deg;F">44.24</aws:wet-bulb>
|
84
|
-
<aws:wind-speed units="mph">4</aws:wind-speed>
|
85
|
-
<aws:wind-speed-avg units="mph">7</aws:wind-speed-avg>
|
86
|
-
<aws:wind-direction>SSW</aws:wind-direction>
|
87
|
-
<aws:wind-direction-avg>SW</aws:wind-direction-avg>
|
88
|
-
</aws:ob>
|
89
|
-
</aws:weather>
|