glue 0.41.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/History.txt +6 -0
  2. data/Manifest.txt +6 -0
  3. data/README.txt +130 -0
  4. data/Rakefile +16 -0
  5. data/lib/glue.rb +49 -72
  6. data/test/test_glue.rb +218 -0
  7. metadata +84 -100
  8. data/doc/AUTHORS +0 -13
  9. data/doc/CHANGELOG.1 +0 -354
  10. data/doc/LICENSE +0 -32
  11. data/doc/RELEASES +0 -207
  12. data/lib/glue/attribute.rb +0 -113
  13. data/lib/glue/attributeutils.rb +0 -117
  14. data/lib/glue/autoreload.rb +0 -60
  15. data/lib/glue/builder.rb +0 -57
  16. data/lib/glue/builder/xml.rb +0 -103
  17. data/lib/glue/cache.rb +0 -22
  18. data/lib/glue/cache/drb.rb +0 -51
  19. data/lib/glue/cache/file.rb +0 -78
  20. data/lib/glue/cache/memcached.rb +0 -68
  21. data/lib/glue/cache/memory.rb +0 -79
  22. data/lib/glue/cache/og.rb +0 -61
  23. data/lib/glue/configuration.rb +0 -305
  24. data/lib/glue/fixture.rb +0 -154
  25. data/lib/glue/html.rb +0 -12
  26. data/lib/glue/localization.rb +0 -129
  27. data/lib/glue/logger.rb +0 -208
  28. data/lib/glue/mail.rb +0 -160
  29. data/lib/glue/mailer.rb +0 -55
  30. data/lib/glue/mailer/incoming.rb +0 -41
  31. data/lib/glue/mailer/outgoing.rb +0 -119
  32. data/lib/glue/settings.rb +0 -3
  33. data/lib/glue/uri.rb +0 -190
  34. data/lib/glue/validation.rb +0 -447
  35. data/lib/html/document.rb +0 -63
  36. data/lib/html/node.rb +0 -480
  37. data/lib/html/tokenizer.rb +0 -103
  38. data/lib/html/version.rb +0 -11
  39. data/test/fixture/article.csv +0 -3
  40. data/test/fixture/article.yml +0 -13
  41. data/test/fixture/user.yml +0 -12
  42. data/test/glue/builder/tc_xml.rb +0 -57
  43. data/test/glue/tc_aspects.rb +0 -99
  44. data/test/glue/tc_attribute.rb +0 -112
  45. data/test/glue/tc_attribute_mixins.rb +0 -86
  46. data/test/glue/tc_builder.rb +0 -30
  47. data/test/glue/tc_configuration.rb +0 -135
  48. data/test/glue/tc_fixture.rb +0 -98
  49. data/test/glue/tc_localization.rb +0 -49
  50. data/test/glue/tc_logger.rb +0 -43
  51. data/test/glue/tc_mail.rb +0 -99
  52. data/test/glue/tc_stores.rb +0 -16
  53. data/test/glue/tc_uri.rb +0 -97
  54. data/test/glue/tc_validation.rb +0 -217
  55. data/test/public/dummy_mailer/registration.xhtml +0 -5
metadata CHANGED
@@ -1,112 +1,96 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
3
- specification_version: 1
4
2
  name: glue
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.41.0
7
- date: 2006-12-12 12:36:45 +02:00
8
- summary: Utility methods and classes for Nitro + Og
9
- require_paths:
10
- - lib
11
- email:
12
- homepage: http://www.nitroproject.org
13
- rubyforge_project:
14
- description: Utility methods and classes for Nitro + Og
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 1.0.0
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
- - George K. Moschovitis
31
- files:
32
- - lib/glue
33
- - lib/glue.rb
34
- - lib/html
35
- - lib/glue/attributeutils.rb
36
- - lib/glue/attribute.rb
37
- - lib/glue/autoreload.rb
38
- - lib/glue/builder
39
- - lib/glue/builder.rb
40
- - lib/glue/cache
41
- - lib/glue/cache.rb
42
- - lib/glue/configuration.rb
43
- - lib/glue/fixture.rb
44
- - lib/glue/html.rb
45
- - lib/glue/localization.rb
46
- - lib/glue/logger.rb
47
- - lib/glue/mail.rb
48
- - lib/glue/mailer
49
- - lib/glue/mailer.rb
50
- - lib/glue/settings.rb
51
- - lib/glue/uri.rb
52
- - lib/glue/validation.rb
53
- - lib/glue/builder/xml.rb
54
- - lib/glue/cache/drb.rb
55
- - lib/glue/cache/file.rb
56
- - lib/glue/cache/memcached.rb
57
- - lib/glue/cache/memory.rb
58
- - lib/glue/cache/og.rb
59
- - lib/glue/mailer/incoming.rb
60
- - lib/glue/mailer/outgoing.rb
61
- - lib/html/document.rb
62
- - lib/html/node.rb
63
- - lib/html/tokenizer.rb
64
- - lib/html/version.rb
65
- - test/fixture
66
- - test/glue
67
- - test/public
68
- - test/fixture/article.csv
69
- - test/fixture/article.yml
70
- - test/fixture/user.yml
71
- - test/glue/builder
72
- - test/glue/tc_aspects.rb
73
- - test/glue/tc_attribute_mixins.rb
74
- - test/glue/tc_attribute.rb
75
- - test/glue/tc_builder.rb
76
- - test/glue/tc_configuration.rb
77
- - test/glue/tc_fixture.rb
78
- - test/glue/tc_localization.rb
79
- - test/glue/tc_logger.rb
80
- - test/glue/tc_mail.rb
81
- - test/glue/tc_stores.rb
82
- - test/glue/tc_uri.rb
83
- - test/glue/tc_validation.rb
84
- - test/glue/builder/tc_xml.rb
85
- - test/public/dummy_mailer
86
- - test/public/dummy_mailer/registration.xhtml
87
- - doc/AUTHORS
88
- - doc/CHANGELOG.1
89
- - doc/LICENSE
90
- - doc/RELEASES
91
- test_files: []
92
-
93
- rdoc_options: []
94
-
95
- extra_rdoc_files: []
96
-
97
- executables: []
98
-
99
- extensions: []
100
-
101
- requirements: []
7
+ - Jordan Dobson
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
102
11
 
12
+ date: 2009-08-25 00:00:00 -07:00
13
+ default_executable:
103
14
  dependencies:
104
15
  - !ruby/object:Gem::Dependency
105
- name: facets
16
+ name: httparty
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: mocha
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: hoe
37
+ type: :development
106
38
  version_requirement:
107
- version_requirements: !ruby/object:Gem::Version::Requirement
39
+ version_requirements: !ruby/object:Gem::Requirement
108
40
  requirements:
109
- - - "="
41
+ - - ">="
110
42
  - !ruby/object:Gem::Version
111
- version: 1.4.5
43
+ version: 1.12.2
112
44
  version:
45
+ description: |-
46
+ The Glue gem enables posting to GlueNow.com API service using an account subdomain, username, password. In this version you can add a post by providing a title, body, optional author name and optional private settings. You can also access some basic info about a users account and check if their account info is valid.
47
+
48
+ You can also request public posts from an account using the same RSS that powers the many Glue feeds.
49
+ email:
50
+ - jordan.dobson@madebysquad.com
51
+ executables: []
52
+
53
+ extensions: []
54
+
55
+ extra_rdoc_files:
56
+ - History.txt
57
+ - Manifest.txt
58
+ - README.txt
59
+ files:
60
+ - History.txt
61
+ - Manifest.txt
62
+ - README.txt
63
+ - Rakefile
64
+ - lib/glue.rb
65
+ - test/test_glue.rb
66
+ has_rdoc: true
67
+ homepage: http://Glue.RubyForge.org
68
+ licenses: []
69
+
70
+ post_install_message:
71
+ rdoc_options:
72
+ - --main
73
+ - README.txt
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: "0"
81
+ version:
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: "0"
87
+ version:
88
+ requirements: []
89
+
90
+ rubyforge_project: glue
91
+ rubygems_version: 1.3.3
92
+ signing_key:
93
+ specification_version: 3
94
+ summary: The Glue gem enables posting to GlueNow.com API service using an account subdomain, username, password
95
+ test_files:
96
+ - test/test_glue.rb
data/doc/AUTHORS DELETED
@@ -1,13 +0,0 @@
1
- MAIN DEVELOPER:
2
-
3
- * George Moschovitis <george.moschovitis@gmail.com>
4
- Project leader, architecture and design, code,
5
- documentation, maintainer.
6
-
7
- IDEAS, ADDITIONAL CODING, SUPPORT:
8
-
9
- * Michael Neumann <mneumann@ntecs.de>
10
- Design, additional coding and bug reports.
11
-
12
- * Gavin Sinclair <gsinclair@soyabean.com.au>
13
- Logger#trace method.
data/doc/CHANGELOG.1 DELETED
@@ -1,354 +0,0 @@
1
- 07-08-2005 George Moschovitis <gm@navel.gr>
2
-
3
- * doc/RELEASES: updated.
4
-
5
- * lib/glue/mailer/incoming.rb: Added some comments about setting
6
- the MTA.
7
-
8
- * moved mail to mailer, rearanged.
9
-
10
- * lib/glue/mail/handler.rb: template_root setting.
11
-
12
- * lib/glue/mail/outgoing.rb (#initialize): handle template_root.
13
-
14
- 06-08-2005 George Moschovitis <gm@navel.gr>
15
-
16
- * test/glue/tc_mail.rb: passes.
17
-
18
- * lib/glue/mail/handler.rb: introduced,
19
- copied settings from nitro/main.
20
-
21
- * lib/glue/mail/outgoing.rb: introduced,
22
- copied stuff from nitro/mail.
23
-
24
- * lib/glue/mail/incoming.rb: introduced,
25
- (##receive): implemented,
26
- (#receive): implemented.
27
-
28
- * lib/glue/mail.rb: moved from nitro,
29
- (#parse_headers): implemented,
30
- (##new_from_encoded): implemented,
31
- better parsing in parse headers.
32
-
33
- 05-08-2005 George Moschovitis <gm@navel.gr>
34
-
35
- * lib/glue/template.rb: small fixes.
36
-
37
- * removed wee related stuff.
38
-
39
- 04-08-2005 George Moschovitis <gm@navel.gr>
40
-
41
- * lib/glue/template.rb: copied from nitro,
42
- renamed render_template to eval_template,
43
- (Template##render): added helper.
44
-
45
- * lib/glue/fixture.rb (Fixtures##[]=): added,
46
- 'test/fixture' the default root_dir,
47
- keep sorted objects
48
- (#parse_yaml): extra pass sorts objects,
49
- Added templating support in fixture files.
50
-
51
- 03-08-2005 George Moschovitis <gm@navel.gr>
52
-
53
- * test/glue/tc_fixture.rb: implemented,
54
- added tests for global mode.
55
-
56
- * lib/glue/fixture.rb: introduced,
57
- extend from Hash,
58
- (#instantiate): implemented,
59
- (#parse_yaml): implemented,
60
- (#parse_csv): implemented,
61
- dont store in @objects.
62
- (Fixtures): introduced as helpers,
63
- fixes to support csv.
64
-
65
- 01-08-2005 George Moschovitis <gm@navel.gr>
66
-
67
- * lig/glue/aspects.rb (#apply_advices): alias.
68
-
69
- 24-07-2005 George Moschovitis <gm@navel.gr>
70
-
71
- * Rakefile: updated.
72
-
73
- 22-07-2005 George Moschovitis <gm@navel.gr>
74
-
75
- * test/glue/builder/tc_localization.rb: added.
76
-
77
- * test/glue/builder/tc_xml.rb: added.
78
-
79
- * converted all code to use spaces instead of tab.
80
-
81
- 19-07-2005 George Moschovitis <gm@navel.gr>
82
-
83
- * lib/glue/snapshot.rb: merged valueholder.rb
84
-
85
- 19-07-2005 Michael Neumann <mneumann@ntecs.de>
86
-
87
- * lib/glue/literal_method.rb: added.
88
-
89
- * install.rb: fixes.
90
-
91
- * lib/glue/cache.rb: added.
92
-
93
- * lib/glue/snapshot.rb: added.
94
-
95
- * lib/glue/idgen*: added.
96
-
97
- 18-07-2005 George Moschovitis <gm@navel.gr>
98
-
99
- * lib/glue/markup.rb: moved here.
100
-
101
- * lib/glue/localization.rb: moved here.
102
-
103
- * lib/glue/builder.rb: return self.
104
-
105
- 17-07-2005 George Moschovitis <gm@navel.gr>
106
-
107
- * lib/glue/configuration.rb (#parse): make more fault tolerant,
108
- added some documentation.
109
-
110
- 16-07-2005 George Moschovitis <gm@navel.gr>
111
-
112
- * test/glue/tc_builder.rb: implemented.
113
-
114
- * lib/glue/builder.rb: introduced.
115
-
116
- * lib/facet: introduced, will add facet extensions here.
117
-
118
- 12-07-2005 George Moschovitis <gm@navel.gr>
119
-
120
- * --- VERSION 0.20.0 ---
121
-
122
- * lib/glue/helper.rb: moved here from nitro.
123
-
124
- 11-07-2005 George Moschovitis <gm@navel.gr>
125
-
126
- * doc/RELEASES: updated.
127
-
128
- 04-07-2005 George Moschovitis <gm@navel.gr>
129
-
130
- * test/glue/tc_configuration.rb: changes to work under rake.
131
-
132
- 25-06-2005 George Moschovitis <gm@navel.gr>
133
-
134
- * lib/glue/object.rb (#subclasses_of): small update in the
135
- code.
136
-
137
- 24-06-2005 George Moschovitis <gm@navel.gr>
138
-
139
- * lib/glue/configuration.rb (#parse): handle namespaces,
140
- fixed check for default param.
141
-
142
- 23-06-2005 George Moschovitis <gm@navel.gr>
143
-
144
- * test/glue/tc_configuration.rb: introduced.
145
-
146
- * lib/glue/configuration.rb: introduced,
147
- kinda works :),
148
- (Configuration#settings): per owner filter,
149
- use a hash to store settings.
150
- setting the owner updates the configuration metadata,
151
- reverse setting works too :-)
152
- (#parse, #load, #setup): implemented.
153
- the parsing support just ROCKS!
154
- (Settings): alias for configuration.
155
-
156
- * README: updated.
157
-
158
- * lib/glue/annotation.rb: introduced and adapted [ahellesoy],
159
- override Module.
160
-
161
- 17-06-2005 George Moschovitis <gm@navel.gr>
162
-
163
- * lib/glue/autoreload.rb: added.
164
-
165
- 16-06-2005 George Moschovitis <gm@navel.gr>
166
-
167
- * lib/glue/attribute.rb: only create singleton accessors.
168
-
169
- * lib/glue/logger.rb (#set): improved API, now accepts String.
170
-
171
- 07-06-2005 George Moschovitis <gm@navel.gr>
172
-
173
- * lib/glue/property.rb (##copy_features): implemented.
174
-
175
- * lib/glue/flexob.rb: implemented each.
176
-
177
- 04-06-2005 George Moschovitis <gm@navel.gr>
178
-
179
- * test/glue/flexob.rb: implemented.
180
-
181
- * lib/glue/flexob.rb: added [] accessors.
182
-
183
- * lib/glue/property.rb: metadata alias for __meta,
184
- made __meta a flexob for extra ..flexibility,
185
- added support for boolean metadata.
186
-
187
- 31-05-2005 George Moschovitis <gm@navel.gr>
188
-
189
- * --- VERSION 0.19.0 ---
190
-
191
- * test/*: fixes to pass again.
192
-
193
- 27-05-2005 George Moschovitis <gm@navel.gr>
194
-
195
- * lib/glue/sanitize.rb: added.
196
-
197
- 25-05-2005 George Moschovitis <gm@navel.gr>
198
-
199
- * Rakefile: added the dependency of facets here.
200
-
201
- 24-05-2005 George Moschovitis <gm@navel.gr>
202
-
203
- * lib/glue/inflector.rb: removed (now in facets).
204
-
205
- * lib/glue/dynamic_include.rb: removed (now in facets).
206
-
207
- * lib/glue/cache.rb: removed (now in facets)
208
-
209
- * vendor: removed.
210
-
211
- 22-05-2005 George Moschovitis <gm@navel.gr>
212
-
213
- * lib/glue.rb (pp_exception): added some cleanup code.
214
-
215
- 15-05-2005 George Moschovitis <gm@navel.gr>
216
-
217
- * doc/RELEASES: updated.
218
-
219
- 01-05-2005 George Moschovitis <gm@navel.gr>
220
-
221
- * lib/glue.rb: nil.blank?
222
-
223
- 25-04-2005 George Moschovitis <gm@navel.gr>
224
-
225
- * lib/glue/property.rb (Property): removed name.
226
-
227
- 23-04-2005 George Moschovitis <gm@navel.gr>
228
-
229
- * lib/glue/property.rb: properties helper.
230
-
231
- 22-04-2005 George Moschovitis <gm@navel.gr>
232
-
233
- * lib/glue/property.rb: include Og::EntityMixin if calling property.
234
-
235
- 15-04-2005 George Moschovitis <gm@navel.gr>
236
-
237
- * lib/glue/aspects.rb (#append_features): fixed stupid include bug!
238
- improved inherited code,
239
- fix: use __meta to keep the advices.
240
-
241
- * lib/glue/property.rb: include Aspects if calling property.
242
-
243
- 14-04-2005 George Moschovitis <gm@navel.gr>
244
-
245
- * lib/glue/aspects.rb: fixed proc aspect,
246
- handle Module inclusion.
247
-
248
- 13-04-2005 George Moschovitis <gm@navel.gr>
249
-
250
- * lib/glue/aspects.rb (#include_advice_modules): iplemented.
251
- cooler, added support for Aspects as modules,
252
- added some aliases.
253
-
254
- 12-04-2005 George Moschovitis <gm@navel.gr>
255
-
256
- * Rakefile: updated to support autoupload to Rubyforge. [flgr]
257
-
258
- 11-04-2005 George Moschovitis <gm@navel.gr>
259
-
260
- * test/glue/tc_aspects.rb: introduced and implemented tests.
261
-
262
- * lib/glue/aspects.rb: introduced,
263
- copied code from /lib/nitro/filters.rb
264
- (Aspect): introduced.
265
- (Advice): introduced,
266
- it works :)
267
- (#wrap): handle methods with any arity.
268
- use join instead of when.
269
- (##wrap): recoded implementation.
270
- allow for instance and class aspects,
271
- many small fixes.
272
-
273
- * created new public SVN repository, to allow for easier
274
- patching by the community.
275
-
276
- 09-04-2005 George Moschovitis <gm@navel.gr>
277
-
278
- * test/*: fixes to pass again.
279
-
280
- * lib/glue/flexob.rb (#update): added.
281
-
282
- 08-04-2005 George Moschovitis <gm@navel.gr>
283
-
284
- * Rakefile: removed flexob, extensions, ruby-breakpointer dependencies [james_b],
285
- bumped required Ruby version.
286
-
287
- * test/*: many small fixes.
288
-
289
- * Rakefile: fixed to run tests.
290
-
291
- * lib/glue.rb: include in TOPLEVEL binding for easy access.
292
-
293
- * lib/glue/dynamic_include.rb: added alias.
294
-
295
- * lib/glue/attribute.rb: removed call_xx method.
296
-
297
- * MAJOR: changed the namespace from N to Glue.
298
-
299
- 01-04-2005 George Moschovitis <gm@navel.gr>
300
-
301
- * --- VERSION 0.15.0 ---
302
-
303
- * doc/RELEASES: updated.
304
-
305
- * README: updated.
306
-
307
- 31-03-2005 George Moschovitis <gm@navel.gr>
308
-
309
- * lib/glue/dynamic_include.rb: check if append_dynamic exists.
310
-
311
- 30-03-2005 George Moschovitis <gm@navel.gr>
312
-
313
- * lib/glue/dynamic_include.rb: MEGACOOL, implemented.
314
-
315
- 24-03-2005 George Moschovitis <gm@navel.gr>
316
-
317
- * --- VERSION 0.14.0 ---
318
-
319
- * test/glue/tc_property.rb: added more tests.
320
-
321
- * lib/glue/property.rb (#enchant): moved inheritance code
322
- here,
323
- Totaly recoded __props/__meta inhertiance implementation,
324
- it works now!
325
-
326
- 20-03-2005 George Moschovitis <gm@navel.gr>
327
-
328
- * moved vendor directory here (to be removed soon).
329
-
330
- 19-03-2005 George Moschovitis <gm@navel.gr>
331
-
332
- * lib/glue/logger.rb (Logging): added.
333
-
334
- 17-03-2005 George Moschovitis <gm@navel.gr>
335
-
336
- * --- VERSION 0.13.0 ---
337
-
338
- * Rakefile: updated and fixed bugs.
339
-
340
- * test/*: changes to make the tests pass again.
341
-
342
- 12-03-2005 George Moschovitis <gm@navel.gr>
343
-
344
- * test/glue/tc_validation.rb: added more tests.
345
-
346
- * lib/glue/validation.rb (#validate_numeric): implemented,
347
-
348
- 10-03-2005 George Moschovitis <gm@navel.gr>
349
-
350
- * lib/glue.rb: added Version.
351
-
352
- * Rakefile: implemented.
353
-
354
- * split from nitro CHANGELOG.