jashmenn-feedzirra 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/.rspec +1 -0
  2. data/README.rdoc +177 -0
  3. data/Rakefile +51 -0
  4. data/lib/feedzirra.rb +20 -0
  5. data/lib/feedzirra/core_ext.rb +3 -0
  6. data/lib/feedzirra/core_ext/date.rb +19 -0
  7. data/lib/feedzirra/core_ext/string.rb +9 -0
  8. data/lib/feedzirra/feed.rb +384 -0
  9. data/lib/feedzirra/feed_entry_utilities.rb +65 -0
  10. data/lib/feedzirra/feed_utilities.rb +61 -0
  11. data/lib/feedzirra/parser.rb +20 -0
  12. data/lib/feedzirra/parser/atom.rb +29 -0
  13. data/lib/feedzirra/parser/atom_entry.rb +30 -0
  14. data/lib/feedzirra/parser/atom_feed_burner.rb +21 -0
  15. data/lib/feedzirra/parser/atom_feed_burner_entry.rb +31 -0
  16. data/lib/feedzirra/parser/google_docs_atom.rb +28 -0
  17. data/lib/feedzirra/parser/google_docs_atom_entry.rb +29 -0
  18. data/lib/feedzirra/parser/itunes_rss.rb +50 -0
  19. data/lib/feedzirra/parser/itunes_rss_item.rb +32 -0
  20. data/lib/feedzirra/parser/itunes_rss_owner.rb +12 -0
  21. data/lib/feedzirra/parser/rss.rb +22 -0
  22. data/lib/feedzirra/parser/rss_entry.rb +34 -0
  23. data/lib/feedzirra/parser/rss_feed_burner.rb +22 -0
  24. data/lib/feedzirra/parser/rss_feed_burner_entry.rb +40 -0
  25. data/lib/feedzirra/version.rb +3 -0
  26. data/spec/benchmarks/feed_benchmarks.rb +98 -0
  27. data/spec/benchmarks/feedzirra_benchmarks.rb +40 -0
  28. data/spec/benchmarks/fetching_benchmarks.rb +28 -0
  29. data/spec/benchmarks/parsing_benchmark.rb +30 -0
  30. data/spec/benchmarks/updating_benchmarks.rb +33 -0
  31. data/spec/feedzirra/feed_entry_utilities_spec.rb +52 -0
  32. data/spec/feedzirra/feed_spec.rb +597 -0
  33. data/spec/feedzirra/feed_utilities_spec.rb +152 -0
  34. data/spec/feedzirra/parser/atom_entry_spec.rb +86 -0
  35. data/spec/feedzirra/parser/atom_feed_burner_entry_spec.rb +47 -0
  36. data/spec/feedzirra/parser/atom_feed_burner_spec.rb +47 -0
  37. data/spec/feedzirra/parser/atom_spec.rb +51 -0
  38. data/spec/feedzirra/parser/google_docs_atom_entry_spec.rb +22 -0
  39. data/spec/feedzirra/parser/google_docs_atom_spec.rb +31 -0
  40. data/spec/feedzirra/parser/itunes_rss_item_spec.rb +48 -0
  41. data/spec/feedzirra/parser/itunes_rss_owner_spec.rb +18 -0
  42. data/spec/feedzirra/parser/itunes_rss_spec.rb +54 -0
  43. data/spec/feedzirra/parser/rss_entry_spec.rb +85 -0
  44. data/spec/feedzirra/parser/rss_feed_burner_entry_spec.rb +85 -0
  45. data/spec/feedzirra/parser/rss_feed_burner_spec.rb +52 -0
  46. data/spec/feedzirra/parser/rss_spec.rb +49 -0
  47. data/spec/sample_feeds/run_against_sample.rb +20 -0
  48. data/spec/spec_helper.rb +78 -0
  49. metadata +228 -0
metadata ADDED
@@ -0,0 +1,228 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jashmenn-feedzirra
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Paul Dix
9
+ - Julien Kirch
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2011-09-30 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: nokogiri
17
+ requirement: &70094294467360 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 1.4.4
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *70094294467360
26
+ - !ruby/object:Gem::Dependency
27
+ name: sax-machine
28
+ requirement: &70094294464840 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 0.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: *70094294464840
37
+ - !ruby/object:Gem::Dependency
38
+ name: curb
39
+ requirement: &70094294462380 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: 0.7.15
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: *70094294462380
48
+ - !ruby/object:Gem::Dependency
49
+ name: builder
50
+ requirement: &70094294476360 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: 2.1.2
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: *70094294476360
59
+ - !ruby/object:Gem::Dependency
60
+ name: activesupport
61
+ requirement: &70094294474640 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: 3.2.0
67
+ type: :runtime
68
+ prerelease: false
69
+ version_requirements: *70094294474640
70
+ - !ruby/object:Gem::Dependency
71
+ name: loofah
72
+ requirement: &70094294472320 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.2.0
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: *70094294472320
81
+ - !ruby/object:Gem::Dependency
82
+ name: rdoc
83
+ requirement: &70094294471240 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ version: '3.8'
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: *70094294471240
92
+ - !ruby/object:Gem::Dependency
93
+ name: rake
94
+ requirement: &70094294469980 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: 0.8.7
100
+ type: :runtime
101
+ prerelease: false
102
+ version_requirements: *70094294469980
103
+ - !ruby/object:Gem::Dependency
104
+ name: i18n
105
+ requirement: &70094294469120 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.5.0
111
+ type: :runtime
112
+ prerelease: false
113
+ version_requirements: *70094294469120
114
+ - !ruby/object:Gem::Dependency
115
+ name: rspec
116
+ requirement: &70094294484760 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ~>
120
+ - !ruby/object:Gem::Version
121
+ version: 2.6.0
122
+ type: :development
123
+ prerelease: false
124
+ version_requirements: *70094294484760
125
+ description: ! 'A feed fetching and parsing library that treats the internet like
126
+ Godzilla treats Japan: it dominates and eats all.'
127
+ email: feedzirra@googlegroups.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - lib/feedzirra/core_ext/date.rb
133
+ - lib/feedzirra/core_ext/string.rb
134
+ - lib/feedzirra/core_ext.rb
135
+ - lib/feedzirra/feed.rb
136
+ - lib/feedzirra/feed_entry_utilities.rb
137
+ - lib/feedzirra/feed_utilities.rb
138
+ - lib/feedzirra/parser/atom.rb
139
+ - lib/feedzirra/parser/atom_entry.rb
140
+ - lib/feedzirra/parser/atom_feed_burner.rb
141
+ - lib/feedzirra/parser/atom_feed_burner_entry.rb
142
+ - lib/feedzirra/parser/google_docs_atom.rb
143
+ - lib/feedzirra/parser/google_docs_atom_entry.rb
144
+ - lib/feedzirra/parser/itunes_rss.rb
145
+ - lib/feedzirra/parser/itunes_rss_item.rb
146
+ - lib/feedzirra/parser/itunes_rss_owner.rb
147
+ - lib/feedzirra/parser/rss.rb
148
+ - lib/feedzirra/parser/rss_entry.rb
149
+ - lib/feedzirra/parser/rss_feed_burner.rb
150
+ - lib/feedzirra/parser/rss_feed_burner_entry.rb
151
+ - lib/feedzirra/parser.rb
152
+ - lib/feedzirra/version.rb
153
+ - lib/feedzirra.rb
154
+ - spec/benchmarks/feed_benchmarks.rb
155
+ - spec/benchmarks/feedzirra_benchmarks.rb
156
+ - spec/benchmarks/fetching_benchmarks.rb
157
+ - spec/benchmarks/parsing_benchmark.rb
158
+ - spec/benchmarks/updating_benchmarks.rb
159
+ - spec/feedzirra/feed_entry_utilities_spec.rb
160
+ - spec/feedzirra/feed_spec.rb
161
+ - spec/feedzirra/feed_utilities_spec.rb
162
+ - spec/feedzirra/parser/atom_entry_spec.rb
163
+ - spec/feedzirra/parser/atom_feed_burner_entry_spec.rb
164
+ - spec/feedzirra/parser/atom_feed_burner_spec.rb
165
+ - spec/feedzirra/parser/atom_spec.rb
166
+ - spec/feedzirra/parser/google_docs_atom_entry_spec.rb
167
+ - spec/feedzirra/parser/google_docs_atom_spec.rb
168
+ - spec/feedzirra/parser/itunes_rss_item_spec.rb
169
+ - spec/feedzirra/parser/itunes_rss_owner_spec.rb
170
+ - spec/feedzirra/parser/itunes_rss_spec.rb
171
+ - spec/feedzirra/parser/rss_entry_spec.rb
172
+ - spec/feedzirra/parser/rss_feed_burner_entry_spec.rb
173
+ - spec/feedzirra/parser/rss_feed_burner_spec.rb
174
+ - spec/feedzirra/parser/rss_spec.rb
175
+ - spec/sample_feeds/run_against_sample.rb
176
+ - spec/spec_helper.rb
177
+ - README.rdoc
178
+ - Rakefile
179
+ - .rspec
180
+ homepage: http://github.com/pauldix/feedzirra
181
+ licenses: []
182
+ post_install_message:
183
+ rdoc_options: []
184
+ require_paths:
185
+ - lib
186
+ required_ruby_version: !ruby/object:Gem::Requirement
187
+ none: false
188
+ requirements:
189
+ - - ! '>='
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ required_rubygems_version: !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 1.8.17
201
+ signing_key:
202
+ specification_version: 3
203
+ summary: A feed fetching and parsing library
204
+ test_files:
205
+ - spec/benchmarks/feed_benchmarks.rb
206
+ - spec/benchmarks/feedzirra_benchmarks.rb
207
+ - spec/benchmarks/fetching_benchmarks.rb
208
+ - spec/benchmarks/parsing_benchmark.rb
209
+ - spec/benchmarks/updating_benchmarks.rb
210
+ - spec/feedzirra/feed_entry_utilities_spec.rb
211
+ - spec/feedzirra/feed_spec.rb
212
+ - spec/feedzirra/feed_utilities_spec.rb
213
+ - spec/feedzirra/parser/atom_entry_spec.rb
214
+ - spec/feedzirra/parser/atom_feed_burner_entry_spec.rb
215
+ - spec/feedzirra/parser/atom_feed_burner_spec.rb
216
+ - spec/feedzirra/parser/atom_spec.rb
217
+ - spec/feedzirra/parser/google_docs_atom_entry_spec.rb
218
+ - spec/feedzirra/parser/google_docs_atom_spec.rb
219
+ - spec/feedzirra/parser/itunes_rss_item_spec.rb
220
+ - spec/feedzirra/parser/itunes_rss_owner_spec.rb
221
+ - spec/feedzirra/parser/itunes_rss_spec.rb
222
+ - spec/feedzirra/parser/rss_entry_spec.rb
223
+ - spec/feedzirra/parser/rss_feed_burner_entry_spec.rb
224
+ - spec/feedzirra/parser/rss_feed_burner_spec.rb
225
+ - spec/feedzirra/parser/rss_spec.rb
226
+ - spec/sample_feeds/run_against_sample.rb
227
+ - spec/spec_helper.rb
228
+ has_rdoc: