webtranslateit-hpricot 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/CHANGELOG +122 -0
  4. data/COPYING +18 -0
  5. data/README.md +295 -0
  6. data/Rakefile +237 -0
  7. data/ext/fast_xs/FastXsService.java +1123 -0
  8. data/ext/fast_xs/extconf.rb +4 -0
  9. data/ext/fast_xs/fast_xs.c +210 -0
  10. data/ext/hpricot_scan/HpricotCss.java +850 -0
  11. data/ext/hpricot_scan/HpricotScanService.java +2085 -0
  12. data/ext/hpricot_scan/MANIFEST +0 -0
  13. data/ext/hpricot_scan/extconf.rb +9 -0
  14. data/ext/hpricot_scan/hpricot_common.rl +76 -0
  15. data/ext/hpricot_scan/hpricot_css.c +3511 -0
  16. data/ext/hpricot_scan/hpricot_css.java.rl +155 -0
  17. data/ext/hpricot_scan/hpricot_css.rl +120 -0
  18. data/ext/hpricot_scan/hpricot_scan.c +6848 -0
  19. data/ext/hpricot_scan/hpricot_scan.h +79 -0
  20. data/ext/hpricot_scan/hpricot_scan.java.rl +1173 -0
  21. data/ext/hpricot_scan/hpricot_scan.rl +911 -0
  22. data/extras/hpricot.png +0 -0
  23. data/hpricot.gemspec +18 -0
  24. data/lib/hpricot/blankslate.rb +63 -0
  25. data/lib/hpricot/builder.rb +217 -0
  26. data/lib/hpricot/elements.rb +514 -0
  27. data/lib/hpricot/htmlinfo.rb +691 -0
  28. data/lib/hpricot/inspect.rb +103 -0
  29. data/lib/hpricot/modules.rb +40 -0
  30. data/lib/hpricot/parse.rb +38 -0
  31. data/lib/hpricot/tag.rb +219 -0
  32. data/lib/hpricot/tags.rb +164 -0
  33. data/lib/hpricot/traverse.rb +839 -0
  34. data/lib/hpricot/xchar.rb +95 -0
  35. data/lib/hpricot.rb +26 -0
  36. data/setup.rb +1585 -0
  37. data/test/files/basic.xhtml +17 -0
  38. data/test/files/boingboing.html +2266 -0
  39. data/test/files/cy0.html +3653 -0
  40. data/test/files/immob.html +400 -0
  41. data/test/files/pace_application.html +1320 -0
  42. data/test/files/tenderlove.html +16 -0
  43. data/test/files/uswebgen.html +220 -0
  44. data/test/files/utf8.html +1054 -0
  45. data/test/files/week9.html +1723 -0
  46. data/test/files/why.xml +19 -0
  47. data/test/load_files.rb +7 -0
  48. data/test/nokogiri-bench.rb +64 -0
  49. data/test/test_alter.rb +96 -0
  50. data/test/test_builder.rb +37 -0
  51. data/test/test_parser.rb +496 -0
  52. data/test/test_paths.rb +25 -0
  53. data/test/test_preserved.rb +88 -0
  54. data/test/test_xml.rb +28 -0
  55. metadata +106 -0
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: webtranslateit-hpricot
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0
5
+ platform: ruby
6
+ authors:
7
+ - why the lucky stiff
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2012-01-17 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: a swift, liberal HTML parser with a fantastic library
14
+ email: why@ruby-lang.org
15
+ executables: []
16
+ extensions:
17
+ - ext/fast_xs/extconf.rb
18
+ - ext/hpricot_scan/extconf.rb
19
+ extra_rdoc_files:
20
+ - README.md
21
+ - CHANGELOG
22
+ - COPYING
23
+ files:
24
+ - ".gitignore"
25
+ - CHANGELOG
26
+ - COPYING
27
+ - README.md
28
+ - Rakefile
29
+ - ext/fast_xs/FastXsService.java
30
+ - ext/fast_xs/extconf.rb
31
+ - ext/fast_xs/fast_xs.c
32
+ - ext/hpricot_scan/HpricotCss.java
33
+ - ext/hpricot_scan/HpricotScanService.java
34
+ - ext/hpricot_scan/MANIFEST
35
+ - ext/hpricot_scan/extconf.rb
36
+ - ext/hpricot_scan/hpricot_common.rl
37
+ - ext/hpricot_scan/hpricot_css.c
38
+ - ext/hpricot_scan/hpricot_css.java.rl
39
+ - ext/hpricot_scan/hpricot_css.rl
40
+ - ext/hpricot_scan/hpricot_scan.c
41
+ - ext/hpricot_scan/hpricot_scan.h
42
+ - ext/hpricot_scan/hpricot_scan.java.rl
43
+ - ext/hpricot_scan/hpricot_scan.rl
44
+ - extras/hpricot.png
45
+ - hpricot.gemspec
46
+ - lib/hpricot.rb
47
+ - lib/hpricot/blankslate.rb
48
+ - lib/hpricot/builder.rb
49
+ - lib/hpricot/elements.rb
50
+ - lib/hpricot/htmlinfo.rb
51
+ - lib/hpricot/inspect.rb
52
+ - lib/hpricot/modules.rb
53
+ - lib/hpricot/parse.rb
54
+ - lib/hpricot/tag.rb
55
+ - lib/hpricot/tags.rb
56
+ - lib/hpricot/traverse.rb
57
+ - lib/hpricot/xchar.rb
58
+ - setup.rb
59
+ - test/files/basic.xhtml
60
+ - test/files/boingboing.html
61
+ - test/files/cy0.html
62
+ - test/files/immob.html
63
+ - test/files/pace_application.html
64
+ - test/files/tenderlove.html
65
+ - test/files/uswebgen.html
66
+ - test/files/utf8.html
67
+ - test/files/week9.html
68
+ - test/files/why.xml
69
+ - test/load_files.rb
70
+ - test/nokogiri-bench.rb
71
+ - test/test_alter.rb
72
+ - test/test_builder.rb
73
+ - test/test_parser.rb
74
+ - test/test_paths.rb
75
+ - test/test_preserved.rb
76
+ - test/test_xml.rb
77
+ homepage: http://wiki.github.com/hpricot/hpricot
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options:
83
+ - "--quiet"
84
+ - "--title"
85
+ - The Hpricot Reference
86
+ - "--main"
87
+ - README
88
+ - "--inline-source"
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ requirements: []
102
+ rubygems_version: 3.5.4
103
+ signing_key:
104
+ specification_version: 4
105
+ summary: a swift, liberal HTML parser with a fantastic library
106
+ test_files: []