ratom 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/History.txt +7 -0
  2. data/License.txt +20 -0
  3. data/Manifest.txt +52 -0
  4. data/README.txt +123 -0
  5. data/Rakefile +4 -0
  6. data/config/hoe.rb +72 -0
  7. data/config/requirements.rb +17 -0
  8. data/lib/atom.rb +566 -0
  9. data/lib/atom/pub.rb +185 -0
  10. data/lib/atom/version.rb +9 -0
  11. data/lib/atom/xml/parser.rb +223 -0
  12. data/setup.rb +1585 -0
  13. data/spec/app/member_entry.atom +31 -0
  14. data/spec/app/service.xml +36 -0
  15. data/spec/atom/pub_spec.rb +289 -0
  16. data/spec/atom_spec.rb +1012 -0
  17. data/spec/conformance/baseuri.atom +19 -0
  18. data/spec/conformance/divtest.atom +32 -0
  19. data/spec/conformance/linktests.xml +93 -0
  20. data/spec/conformance/nondefaultnamespace-baseline.atom +25 -0
  21. data/spec/conformance/nondefaultnamespace-xhtml.atom +25 -0
  22. data/spec/conformance/nondefaultnamespace.atom +25 -0
  23. data/spec/conformance/ordertest.xml +112 -0
  24. data/spec/conformance/title/html-cdata.atom +22 -0
  25. data/spec/conformance/title/html-entity.atom +22 -0
  26. data/spec/conformance/title/html-ncr.atom +22 -0
  27. data/spec/conformance/title/text-cdata.atom +22 -0
  28. data/spec/conformance/title/text-entity.atom +21 -0
  29. data/spec/conformance/title/text-ncr.atom +21 -0
  30. data/spec/conformance/title/xhtml-entity.atom +21 -0
  31. data/spec/conformance/title/xhtml-ncr.atom +21 -0
  32. data/spec/conformance/unknown-namespace.atom +25 -0
  33. data/spec/conformance/xmlbase.atom +133 -0
  34. data/spec/fixtures/complex_single_entry.atom +45 -0
  35. data/spec/fixtures/created_entry.atom +31 -0
  36. data/spec/fixtures/entry.atom +30 -0
  37. data/spec/fixtures/multiple_entry.atom +0 -0
  38. data/spec/fixtures/simple_single_entry.atom +21 -0
  39. data/spec/paging/first_paged_feed.atom +21 -0
  40. data/spec/paging/last_paged_feed.atom +21 -0
  41. data/spec/paging/middle_paged_feed.atom +22 -0
  42. data/spec/spec.opts +2 -0
  43. data/spec/spec_helper.rb +24 -0
  44. data/tasks/deployment.rake +34 -0
  45. data/tasks/environment.rake +7 -0
  46. data/tasks/rspec.rake +15 -0
  47. data/tasks/website.rake +17 -0
  48. data/website/index.html +11 -0
  49. data/website/index.txt +39 -0
  50. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  51. data/website/stylesheets/screen.css +138 -0
  52. data/website/template.rhtml +48 -0
  53. metadata +126 -0
@@ -0,0 +1,48 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ <p>Get Version</p>
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="info@peerworks.org">Peerworks</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
+ </p>
43
+ </div>
44
+
45
+ <!-- insert site tracking codes here, like Google Urchin -->
46
+
47
+ </body>
48
+ </html>
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ratom
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
+ platform: ""
6
+ authors:
7
+ - Peerworks
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-03-04 00:00:00 +10:30
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.0.1
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: libxml-ruby
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - "="
30
+ - !ruby/object:Gem::Version
31
+ version: 0.5.2.0
32
+ version:
33
+ description: Atom Syndication and Publication API
34
+ email: info@peerworks.org
35
+ executables: []
36
+
37
+ extensions: []
38
+
39
+ extra_rdoc_files:
40
+ - History.txt
41
+ - License.txt
42
+ - Manifest.txt
43
+ - README.txt
44
+ - website/index.txt
45
+ files:
46
+ - History.txt
47
+ - License.txt
48
+ - Manifest.txt
49
+ - README.txt
50
+ - Rakefile
51
+ - config/hoe.rb
52
+ - config/requirements.rb
53
+ - lib/atom.rb
54
+ - lib/atom/pub.rb
55
+ - lib/atom/version.rb
56
+ - lib/atom/xml/parser.rb
57
+ - setup.rb
58
+ - spec/app/member_entry.atom
59
+ - spec/app/service.xml
60
+ - spec/atom/pub_spec.rb
61
+ - spec/atom_spec.rb
62
+ - spec/conformance/baseuri.atom
63
+ - spec/conformance/divtest.atom
64
+ - spec/conformance/linktests.xml
65
+ - spec/conformance/nondefaultnamespace-baseline.atom
66
+ - spec/conformance/nondefaultnamespace-xhtml.atom
67
+ - spec/conformance/nondefaultnamespace.atom
68
+ - spec/conformance/ordertest.xml
69
+ - spec/conformance/title/html-cdata.atom
70
+ - spec/conformance/title/html-entity.atom
71
+ - spec/conformance/title/html-ncr.atom
72
+ - spec/conformance/title/text-cdata.atom
73
+ - spec/conformance/title/text-entity.atom
74
+ - spec/conformance/title/text-ncr.atom
75
+ - spec/conformance/title/xhtml-entity.atom
76
+ - spec/conformance/title/xhtml-ncr.atom
77
+ - spec/conformance/unknown-namespace.atom
78
+ - spec/conformance/xmlbase.atom
79
+ - spec/fixtures/complex_single_entry.atom
80
+ - spec/fixtures/created_entry.atom
81
+ - spec/fixtures/entry.atom
82
+ - spec/fixtures/multiple_entry.atom
83
+ - spec/fixtures/simple_single_entry.atom
84
+ - spec/paging/first_paged_feed.atom
85
+ - spec/paging/last_paged_feed.atom
86
+ - spec/paging/middle_paged_feed.atom
87
+ - spec/spec.opts
88
+ - spec/spec_helper.rb
89
+ - tasks/deployment.rake
90
+ - tasks/environment.rake
91
+ - tasks/rspec.rake
92
+ - tasks/website.rake
93
+ - website/index.html
94
+ - website/index.txt
95
+ - website/javascripts/rounded_corners_lite.inc.js
96
+ - website/stylesheets/screen.css
97
+ - website/template.rhtml
98
+ has_rdoc: true
99
+ homepage: http://ratom.rubyforge.org
100
+ post_install_message:
101
+ rdoc_options:
102
+ - --main
103
+ - README.txt
104
+ require_paths:
105
+ - lib
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: "0"
111
+ version:
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: "0"
117
+ version:
118
+ requirements: []
119
+
120
+ rubyforge_project: ratom
121
+ rubygems_version: 0.9.5
122
+ signing_key:
123
+ specification_version: 2
124
+ summary: Atom Syndication and Publication API
125
+ test_files: []
126
+