km-psych 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. data/README.rdoc +129 -0
  2. data/ext/psych/emitter.c +488 -0
  3. data/ext/psych/emitter.h +8 -0
  4. data/ext/psych/extconf.rb +22 -0
  5. data/ext/psych/parser.c +349 -0
  6. data/ext/psych/parser.h +6 -0
  7. data/ext/psych/psych.c +34 -0
  8. data/ext/psych/psych.h +20 -0
  9. data/ext/psych/to_ruby.c +41 -0
  10. data/ext/psych/to_ruby.h +8 -0
  11. data/ext/psych/yaml_tree.c +24 -0
  12. data/ext/psych/yaml_tree.h +8 -0
  13. data/lib/km-psych.rb +244 -0
  14. data/lib/psych/coder.rb +86 -0
  15. data/lib/psych/core_ext.rb +38 -0
  16. data/lib/psych/deprecated.rb +82 -0
  17. data/lib/psych/handler.rb +221 -0
  18. data/lib/psych/json.rb +6 -0
  19. data/lib/psych/json/stream.rb +32 -0
  20. data/lib/psych/json/tree_builder.rb +32 -0
  21. data/lib/psych/nodes.rb +77 -0
  22. data/lib/psych/nodes/alias.rb +18 -0
  23. data/lib/psych/nodes/document.rb +60 -0
  24. data/lib/psych/nodes/mapping.rb +56 -0
  25. data/lib/psych/nodes/node.rb +42 -0
  26. data/lib/psych/nodes/scalar.rb +67 -0
  27. data/lib/psych/nodes/sequence.rb +81 -0
  28. data/lib/psych/nodes/stream.rb +37 -0
  29. data/lib/psych/omap.rb +4 -0
  30. data/lib/psych/parser.rb +44 -0
  31. data/lib/psych/scalar_scanner.rb +105 -0
  32. data/lib/psych/set.rb +4 -0
  33. data/lib/psych/stream.rb +53 -0
  34. data/lib/psych/tree_builder.rb +94 -0
  35. data/lib/psych/visitors.rb +5 -0
  36. data/lib/psych/visitors/emitter.rb +41 -0
  37. data/lib/psych/visitors/json_tree.rb +14 -0
  38. data/lib/psych/visitors/to_ruby.rb +263 -0
  39. data/lib/psych/visitors/visitor.rb +27 -0
  40. data/lib/psych/visitors/yaml_tree.rb +342 -0
  41. data/test/psych/helper.rb +63 -0
  42. data/test/psych/json/test_stream.rb +75 -0
  43. data/test/psych/test_alias_and_anchor.rb +26 -0
  44. data/test/psych/test_array.rb +19 -0
  45. data/test/psych/test_boolean.rb +36 -0
  46. data/test/psych/test_class.rb +17 -0
  47. data/test/psych/test_coder.rb +169 -0
  48. data/test/psych/test_date_time.rb +17 -0
  49. data/test/psych/test_deprecated.rb +210 -0
  50. data/test/psych/test_document.rb +46 -0
  51. data/test/psych/test_emitter.rb +88 -0
  52. data/test/psych/test_encoding.rb +179 -0
  53. data/test/psych/test_engine_manager.rb +57 -0
  54. data/test/psych/test_exception.rb +39 -0
  55. data/test/psych/test_hash.rb +30 -0
  56. data/test/psych/test_json_tree.rb +43 -0
  57. data/test/psych/test_null.rb +19 -0
  58. data/test/psych/test_object.rb +27 -0
  59. data/test/psych/test_omap.rb +68 -0
  60. data/test/psych/test_parser.rb +216 -0
  61. data/test/psych/test_psych.rb +133 -0
  62. data/test/psych/test_scalar.rb +11 -0
  63. data/test/psych/test_scalar_scanner.rb +70 -0
  64. data/test/psych/test_serialize_subclasses.rb +38 -0
  65. data/test/psych/test_set.rb +49 -0
  66. data/test/psych/test_stream.rb +49 -0
  67. data/test/psych/test_string.rb +49 -0
  68. data/test/psych/test_struct.rb +51 -0
  69. data/test/psych/test_symbol.rb +17 -0
  70. data/test/psych/test_to_yaml_properties.rb +63 -0
  71. data/test/psych/test_tree_builder.rb +79 -0
  72. data/test/psych/test_yaml.rb +1251 -0
  73. data/test/psych/visitors/test_emitter.rb +124 -0
  74. data/test/psych/visitors/test_to_ruby.rb +325 -0
  75. data/test/psych/visitors/test_yaml_tree.rb +149 -0
  76. metadata +187 -0
metadata ADDED
@@ -0,0 +1,187 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: km-psych
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Aaron Patterson
13
+ - John Barnette
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-11-29 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: test-unit
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ segments:
30
+ - 2
31
+ - 0
32
+ - 1
33
+ version: 2.0.1
34
+ type: :development
35
+ version_requirements: *id001
36
+ description: Psych is a YAML parser and emitter
37
+ email: aaronp@rubyforge.org, jbarnette@rubyforge.org
38
+ executables: []
39
+
40
+ extensions:
41
+ - ext/psych/extconf.rb
42
+ extra_rdoc_files:
43
+ - README.rdoc
44
+ files:
45
+ - ext/psych/emitter.c
46
+ - ext/psych/emitter.h
47
+ - ext/psych/extconf.rb
48
+ - ext/psych/parser.c
49
+ - ext/psych/parser.h
50
+ - ext/psych/psych.c
51
+ - ext/psych/psych.h
52
+ - ext/psych/to_ruby.c
53
+ - ext/psych/to_ruby.h
54
+ - ext/psych/yaml_tree.c
55
+ - ext/psych/yaml_tree.h
56
+ - lib/km-psych.rb
57
+ - lib/psych/coder.rb
58
+ - lib/psych/core_ext.rb
59
+ - lib/psych/deprecated.rb
60
+ - lib/psych/handler.rb
61
+ - lib/psych/json.rb
62
+ - lib/psych/json/stream.rb
63
+ - lib/psych/json/tree_builder.rb
64
+ - lib/psych/nodes.rb
65
+ - lib/psych/nodes/alias.rb
66
+ - lib/psych/nodes/document.rb
67
+ - lib/psych/nodes/mapping.rb
68
+ - lib/psych/nodes/node.rb
69
+ - lib/psych/nodes/scalar.rb
70
+ - lib/psych/nodes/sequence.rb
71
+ - lib/psych/nodes/stream.rb
72
+ - lib/psych/omap.rb
73
+ - lib/psych/parser.rb
74
+ - lib/psych/scalar_scanner.rb
75
+ - lib/psych/set.rb
76
+ - lib/psych/stream.rb
77
+ - lib/psych/tree_builder.rb
78
+ - lib/psych/visitors.rb
79
+ - lib/psych/visitors/emitter.rb
80
+ - lib/psych/visitors/json_tree.rb
81
+ - lib/psych/visitors/to_ruby.rb
82
+ - lib/psych/visitors/visitor.rb
83
+ - lib/psych/visitors/yaml_tree.rb
84
+ - README.rdoc
85
+ - test/psych/helper.rb
86
+ - test/psych/json/test_stream.rb
87
+ - test/psych/test_alias_and_anchor.rb
88
+ - test/psych/test_array.rb
89
+ - test/psych/test_boolean.rb
90
+ - test/psych/test_class.rb
91
+ - test/psych/test_coder.rb
92
+ - test/psych/test_date_time.rb
93
+ - test/psych/test_deprecated.rb
94
+ - test/psych/test_document.rb
95
+ - test/psych/test_emitter.rb
96
+ - test/psych/test_encoding.rb
97
+ - test/psych/test_engine_manager.rb
98
+ - test/psych/test_exception.rb
99
+ - test/psych/test_hash.rb
100
+ - test/psych/test_json_tree.rb
101
+ - test/psych/test_null.rb
102
+ - test/psych/test_object.rb
103
+ - test/psych/test_omap.rb
104
+ - test/psych/test_parser.rb
105
+ - test/psych/test_psych.rb
106
+ - test/psych/test_scalar.rb
107
+ - test/psych/test_scalar_scanner.rb
108
+ - test/psych/test_serialize_subclasses.rb
109
+ - test/psych/test_set.rb
110
+ - test/psych/test_stream.rb
111
+ - test/psych/test_string.rb
112
+ - test/psych/test_struct.rb
113
+ - test/psych/test_symbol.rb
114
+ - test/psych/test_to_yaml_properties.rb
115
+ - test/psych/test_tree_builder.rb
116
+ - test/psych/test_yaml.rb
117
+ - test/psych/visitors/test_emitter.rb
118
+ - test/psych/visitors/test_to_ruby.rb
119
+ - test/psych/visitors/test_yaml_tree.rb
120
+ has_rdoc: true
121
+ homepage: http://github.com/tenderlove/psych
122
+ licenses: []
123
+
124
+ post_install_message:
125
+ rdoc_options: []
126
+
127
+ require_paths:
128
+ - lib
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ segments:
135
+ - 0
136
+ version: "0"
137
+ required_rubygems_version: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ segments:
143
+ - 0
144
+ version: "0"
145
+ requirements: []
146
+
147
+ rubyforge_project:
148
+ rubygems_version: 1.3.7
149
+ signing_key:
150
+ specification_version: 3
151
+ summary: Port of Psych to use Jeweler as gem release manager
152
+ test_files:
153
+ - test/psych/helper.rb
154
+ - test/psych/json/test_stream.rb
155
+ - test/psych/test_alias_and_anchor.rb
156
+ - test/psych/test_array.rb
157
+ - test/psych/test_boolean.rb
158
+ - test/psych/test_class.rb
159
+ - test/psych/test_coder.rb
160
+ - test/psych/test_date_time.rb
161
+ - test/psych/test_deprecated.rb
162
+ - test/psych/test_document.rb
163
+ - test/psych/test_emitter.rb
164
+ - test/psych/test_encoding.rb
165
+ - test/psych/test_engine_manager.rb
166
+ - test/psych/test_exception.rb
167
+ - test/psych/test_hash.rb
168
+ - test/psych/test_json_tree.rb
169
+ - test/psych/test_null.rb
170
+ - test/psych/test_object.rb
171
+ - test/psych/test_omap.rb
172
+ - test/psych/test_parser.rb
173
+ - test/psych/test_psych.rb
174
+ - test/psych/test_scalar.rb
175
+ - test/psych/test_scalar_scanner.rb
176
+ - test/psych/test_serialize_subclasses.rb
177
+ - test/psych/test_set.rb
178
+ - test/psych/test_stream.rb
179
+ - test/psych/test_string.rb
180
+ - test/psych/test_struct.rb
181
+ - test/psych/test_symbol.rb
182
+ - test/psych/test_to_yaml_properties.rb
183
+ - test/psych/test_tree_builder.rb
184
+ - test/psych/test_yaml.rb
185
+ - test/psych/visitors/test_emitter.rb
186
+ - test/psych/visitors/test_to_ruby.rb
187
+ - test/psych/visitors/test_yaml_tree.rb