xml_to_json 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +6 -6
- data/Gemfile.lock +8 -8
- data/Rakefile +0 -11
- data/VERSION +1 -1
- data/xml_to_json.gemspec +22 -47
- metadata +50 -173
data/Gemfile
CHANGED
@@ -3,12 +3,12 @@ source "http://rubygems.org"
|
|
3
3
|
gem 'nokogiri'
|
4
4
|
|
5
5
|
group :development do
|
6
|
-
gem 'yajl-ruby'
|
7
|
-
gem 'activesupport', "3.0.
|
8
|
-
gem 'builder'
|
6
|
+
gem 'yajl-ruby', "~> 0.7.8"
|
7
|
+
gem 'activesupport', "~> 3.0.5"
|
8
|
+
gem 'builder', "~> 2.1.2"
|
9
9
|
|
10
|
-
gem "rspec", "2.1.0"
|
10
|
+
gem "rspec", "~> 2.1.0"
|
11
11
|
gem "bundler", "~> 1.0.0"
|
12
|
-
gem "jeweler", "~> 1.5.
|
13
|
-
gem "rcov", "
|
12
|
+
gem "jeweler", "~> 1.5.2"
|
13
|
+
gem "rcov", "~> 0.9.9"
|
14
14
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (3.0.
|
4
|
+
activesupport (3.0.5)
|
5
5
|
builder (2.1.2)
|
6
6
|
diff-lcs (1.1.2)
|
7
7
|
git (1.2.5)
|
8
|
-
jeweler (1.5.
|
8
|
+
jeweler (1.5.2)
|
9
9
|
bundler (~> 1.0.0)
|
10
10
|
git (>= 1.2.5)
|
11
11
|
rake
|
@@ -26,11 +26,11 @@ PLATFORMS
|
|
26
26
|
ruby
|
27
27
|
|
28
28
|
DEPENDENCIES
|
29
|
-
activesupport (
|
30
|
-
builder
|
29
|
+
activesupport (~> 3.0.5)
|
30
|
+
builder (~> 2.1.2)
|
31
31
|
bundler (~> 1.0.0)
|
32
|
-
jeweler (~> 1.5.
|
32
|
+
jeweler (~> 1.5.2)
|
33
33
|
nokogiri
|
34
|
-
rcov
|
35
|
-
rspec (
|
36
|
-
yajl-ruby
|
34
|
+
rcov (~> 0.9.9)
|
35
|
+
rspec (~> 2.1.0)
|
36
|
+
yajl-ruby (~> 0.7.8)
|
data/Rakefile
CHANGED
@@ -19,17 +19,6 @@ Jeweler::Tasks.new do |gem|
|
|
19
19
|
gem.description = %Q{Transforms a string of XML into a string of JSON}
|
20
20
|
gem.email = "chiology@gmail.com"
|
21
21
|
gem.authors = ["Matt Todd"]
|
22
|
-
|
23
|
-
gem.add_runtime_dependency 'nokogiri', '1.4.3.1'
|
24
|
-
|
25
|
-
gem.add_development_dependency 'yajl-ruby', '0.7.8'
|
26
|
-
gem.add_development_dependency 'activesupport', '3.0.1'
|
27
|
-
gem.add_development_dependency 'builder', '2.1.2'
|
28
|
-
|
29
|
-
gem.add_development_dependency 'rspec', '2.1.0'
|
30
|
-
gem.add_development_dependency 'bundler', '~> 1.0.0'
|
31
|
-
gem.add_development_dependency 'jeweler', '~> 1.5.0.pre6'
|
32
|
-
gem.add_development_dependency 'rcov', '>= 0'
|
33
22
|
end
|
34
23
|
Jeweler::RubygemsDotOrgTasks.new
|
35
24
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/xml_to_json.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{xml_to_json}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Todd"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-03-09}
|
13
13
|
s.description = %q{Transforms a string of XML into a string of JSON}
|
14
14
|
s.email = %q{chiology@gmail.com}
|
15
15
|
s.files = [
|
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
|
|
37
37
|
s.homepage = %q{http://github.com/mtodd/xml_to_json}
|
38
38
|
s.licenses = ["MIT"]
|
39
39
|
s.require_paths = ["lib"]
|
40
|
-
s.rubygems_version = %q{1.
|
40
|
+
s.rubygems_version = %q{1.4.2}
|
41
41
|
s.summary = %q{Transforms XML to JSON}
|
42
42
|
s.test_files = [
|
43
43
|
"spec/spec_helper.rb",
|
@@ -46,61 +46,36 @@ Gem::Specification.new do |s|
|
|
46
46
|
]
|
47
47
|
|
48
48
|
if s.respond_to? :specification_version then
|
49
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
50
49
|
s.specification_version = 3
|
51
50
|
|
52
51
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
52
|
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
54
|
-
s.add_development_dependency(%q<yajl-ruby>, ["
|
55
|
-
s.add_development_dependency(%q<activesupport>, ["
|
56
|
-
s.add_development_dependency(%q<builder>, ["
|
57
|
-
s.add_development_dependency(%q<rspec>, ["
|
53
|
+
s.add_development_dependency(%q<yajl-ruby>, ["~> 0.7.8"])
|
54
|
+
s.add_development_dependency(%q<activesupport>, ["~> 3.0.5"])
|
55
|
+
s.add_development_dependency(%q<builder>, ["~> 2.1.2"])
|
56
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
|
58
57
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
59
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.
|
60
|
-
s.add_development_dependency(%q<rcov>, ["
|
61
|
-
s.add_runtime_dependency(%q<nokogiri>, ["= 1.4.3.1"])
|
62
|
-
s.add_development_dependency(%q<yajl-ruby>, ["= 0.7.8"])
|
63
|
-
s.add_development_dependency(%q<activesupport>, ["= 3.0.1"])
|
64
|
-
s.add_development_dependency(%q<builder>, ["= 2.1.2"])
|
65
|
-
s.add_development_dependency(%q<rspec>, ["= 2.1.0"])
|
66
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
67
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.0.pre6"])
|
68
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
58
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
59
|
+
s.add_development_dependency(%q<rcov>, ["~> 0.9.9"])
|
69
60
|
else
|
70
61
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
71
|
-
s.add_dependency(%q<yajl-ruby>, ["
|
72
|
-
s.add_dependency(%q<activesupport>, ["
|
73
|
-
s.add_dependency(%q<builder>, ["
|
74
|
-
s.add_dependency(%q<rspec>, ["
|
75
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
76
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre6"])
|
77
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
78
|
-
s.add_dependency(%q<nokogiri>, ["= 1.4.3.1"])
|
79
|
-
s.add_dependency(%q<yajl-ruby>, ["= 0.7.8"])
|
80
|
-
s.add_dependency(%q<activesupport>, ["= 3.0.1"])
|
81
|
-
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
82
|
-
s.add_dependency(%q<rspec>, ["= 2.1.0"])
|
62
|
+
s.add_dependency(%q<yajl-ruby>, ["~> 0.7.8"])
|
63
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.5"])
|
64
|
+
s.add_dependency(%q<builder>, ["~> 2.1.2"])
|
65
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
83
66
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
84
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.
|
85
|
-
s.add_dependency(%q<rcov>, ["
|
67
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
68
|
+
s.add_dependency(%q<rcov>, ["~> 0.9.9"])
|
86
69
|
end
|
87
70
|
else
|
88
71
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
89
|
-
s.add_dependency(%q<yajl-ruby>, ["
|
90
|
-
s.add_dependency(%q<activesupport>, ["
|
91
|
-
s.add_dependency(%q<builder>, ["
|
92
|
-
s.add_dependency(%q<rspec>, ["
|
93
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
94
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre6"])
|
95
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
96
|
-
s.add_dependency(%q<nokogiri>, ["= 1.4.3.1"])
|
97
|
-
s.add_dependency(%q<yajl-ruby>, ["= 0.7.8"])
|
98
|
-
s.add_dependency(%q<activesupport>, ["= 3.0.1"])
|
99
|
-
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
100
|
-
s.add_dependency(%q<rspec>, ["= 2.1.0"])
|
72
|
+
s.add_dependency(%q<yajl-ruby>, ["~> 0.7.8"])
|
73
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.5"])
|
74
|
+
s.add_dependency(%q<builder>, ["~> 2.1.2"])
|
75
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
101
76
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
102
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.
|
103
|
-
s.add_dependency(%q<rcov>, ["
|
77
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
78
|
+
s.add_dependency(%q<rcov>, ["~> 0.9.9"])
|
104
79
|
end
|
105
80
|
end
|
106
81
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml_to_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Todd
|
@@ -15,57 +15,14 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-03-09 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
name: nokogiri
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
23
|
+
name: nokogiri
|
33
24
|
type: :runtime
|
34
|
-
version_requirements:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: yajl-ruby
|
37
|
-
prerelease: false
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 3
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
version: "0"
|
47
|
-
type: :development
|
48
|
-
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: activesupport
|
51
|
-
prerelease: false
|
52
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
|
-
requirements:
|
55
|
-
- - "="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 5
|
58
|
-
segments:
|
59
|
-
- 3
|
60
|
-
- 0
|
61
|
-
- 1
|
62
|
-
version: 3.0.1
|
63
|
-
type: :development
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: builder
|
67
|
-
prerelease: false
|
68
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
69
26
|
none: false
|
70
27
|
requirements:
|
71
28
|
- - ">="
|
@@ -74,95 +31,15 @@ dependencies:
|
|
74
31
|
segments:
|
75
32
|
- 0
|
76
33
|
version: "0"
|
77
|
-
|
78
|
-
version_requirements: *id004
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
name: rspec
|
81
|
-
prerelease: false
|
82
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
|
-
requirements:
|
85
|
-
- - "="
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
hash: 11
|
88
|
-
segments:
|
89
|
-
- 2
|
90
|
-
- 1
|
91
|
-
- 0
|
92
|
-
version: 2.1.0
|
93
|
-
type: :development
|
94
|
-
version_requirements: *id005
|
34
|
+
requirement: *id001
|
95
35
|
- !ruby/object:Gem::Dependency
|
96
|
-
name: bundler
|
97
36
|
prerelease: false
|
98
|
-
|
99
|
-
none: false
|
100
|
-
requirements:
|
101
|
-
- - ~>
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
hash: 23
|
104
|
-
segments:
|
105
|
-
- 1
|
106
|
-
- 0
|
107
|
-
- 0
|
108
|
-
version: 1.0.0
|
37
|
+
name: yajl-ruby
|
109
38
|
type: :development
|
110
|
-
version_requirements:
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: jeweler
|
113
|
-
prerelease: false
|
114
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
115
40
|
none: false
|
116
41
|
requirements:
|
117
42
|
- - ~>
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
hash: -1876988219
|
120
|
-
segments:
|
121
|
-
- 1
|
122
|
-
- 5
|
123
|
-
- 0
|
124
|
-
- pre6
|
125
|
-
version: 1.5.0.pre6
|
126
|
-
type: :development
|
127
|
-
version_requirements: *id007
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
name: rcov
|
130
|
-
prerelease: false
|
131
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
|
-
requirements:
|
134
|
-
- - ">="
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
hash: 3
|
137
|
-
segments:
|
138
|
-
- 0
|
139
|
-
version: "0"
|
140
|
-
type: :development
|
141
|
-
version_requirements: *id008
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: nokogiri
|
144
|
-
prerelease: false
|
145
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
|
-
requirements:
|
148
|
-
- - "="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
hash: 113
|
151
|
-
segments:
|
152
|
-
- 1
|
153
|
-
- 4
|
154
|
-
- 3
|
155
|
-
- 1
|
156
|
-
version: 1.4.3.1
|
157
|
-
type: :runtime
|
158
|
-
version_requirements: *id009
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: yajl-ruby
|
161
|
-
prerelease: false
|
162
|
-
requirement: &id010 !ruby/object:Gem::Requirement
|
163
|
-
none: false
|
164
|
-
requirements:
|
165
|
-
- - "="
|
166
43
|
- !ruby/object:Gem::Version
|
167
44
|
hash: 19
|
168
45
|
segments:
|
@@ -170,31 +47,31 @@ dependencies:
|
|
170
47
|
- 7
|
171
48
|
- 8
|
172
49
|
version: 0.7.8
|
173
|
-
|
174
|
-
version_requirements: *id010
|
50
|
+
requirement: *id002
|
175
51
|
- !ruby/object:Gem::Dependency
|
176
|
-
name: activesupport
|
177
52
|
prerelease: false
|
178
|
-
|
53
|
+
name: activesupport
|
54
|
+
type: :development
|
55
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
179
56
|
none: false
|
180
57
|
requirements:
|
181
|
-
- -
|
58
|
+
- - ~>
|
182
59
|
- !ruby/object:Gem::Version
|
183
|
-
hash:
|
60
|
+
hash: 13
|
184
61
|
segments:
|
185
62
|
- 3
|
186
63
|
- 0
|
187
|
-
-
|
188
|
-
version: 3.0.
|
189
|
-
|
190
|
-
version_requirements: *id011
|
64
|
+
- 5
|
65
|
+
version: 3.0.5
|
66
|
+
requirement: *id003
|
191
67
|
- !ruby/object:Gem::Dependency
|
192
|
-
name: builder
|
193
68
|
prerelease: false
|
194
|
-
|
69
|
+
name: builder
|
70
|
+
type: :development
|
71
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
195
72
|
none: false
|
196
73
|
requirements:
|
197
|
-
- -
|
74
|
+
- - ~>
|
198
75
|
- !ruby/object:Gem::Version
|
199
76
|
hash: 15
|
200
77
|
segments:
|
@@ -202,15 +79,15 @@ dependencies:
|
|
202
79
|
- 1
|
203
80
|
- 2
|
204
81
|
version: 2.1.2
|
205
|
-
|
206
|
-
version_requirements: *id012
|
82
|
+
requirement: *id004
|
207
83
|
- !ruby/object:Gem::Dependency
|
208
|
-
name: rspec
|
209
84
|
prerelease: false
|
210
|
-
|
85
|
+
name: rspec
|
86
|
+
type: :development
|
87
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
211
88
|
none: false
|
212
89
|
requirements:
|
213
|
-
- -
|
90
|
+
- - ~>
|
214
91
|
- !ruby/object:Gem::Version
|
215
92
|
hash: 11
|
216
93
|
segments:
|
@@ -218,12 +95,12 @@ dependencies:
|
|
218
95
|
- 1
|
219
96
|
- 0
|
220
97
|
version: 2.1.0
|
221
|
-
|
222
|
-
version_requirements: *id013
|
98
|
+
requirement: *id005
|
223
99
|
- !ruby/object:Gem::Dependency
|
224
|
-
name: bundler
|
225
100
|
prerelease: false
|
226
|
-
|
101
|
+
name: bundler
|
102
|
+
type: :development
|
103
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
227
104
|
none: false
|
228
105
|
requirements:
|
229
106
|
- - ~>
|
@@ -234,39 +111,39 @@ dependencies:
|
|
234
111
|
- 0
|
235
112
|
- 0
|
236
113
|
version: 1.0.0
|
237
|
-
|
238
|
-
version_requirements: *id014
|
114
|
+
requirement: *id006
|
239
115
|
- !ruby/object:Gem::Dependency
|
240
|
-
name: jeweler
|
241
116
|
prerelease: false
|
242
|
-
|
117
|
+
name: jeweler
|
118
|
+
type: :development
|
119
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
243
120
|
none: false
|
244
121
|
requirements:
|
245
122
|
- - ~>
|
246
123
|
- !ruby/object:Gem::Version
|
247
|
-
hash:
|
124
|
+
hash: 7
|
248
125
|
segments:
|
249
126
|
- 1
|
250
127
|
- 5
|
251
|
-
-
|
252
|
-
|
253
|
-
|
254
|
-
type: :development
|
255
|
-
version_requirements: *id015
|
128
|
+
- 2
|
129
|
+
version: 1.5.2
|
130
|
+
requirement: *id007
|
256
131
|
- !ruby/object:Gem::Dependency
|
257
|
-
name: rcov
|
258
132
|
prerelease: false
|
259
|
-
|
133
|
+
name: rcov
|
134
|
+
type: :development
|
135
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
260
136
|
none: false
|
261
137
|
requirements:
|
262
|
-
- -
|
138
|
+
- - ~>
|
263
139
|
- !ruby/object:Gem::Version
|
264
|
-
hash:
|
140
|
+
hash: 41
|
265
141
|
segments:
|
266
142
|
- 0
|
267
|
-
|
268
|
-
|
269
|
-
|
143
|
+
- 9
|
144
|
+
- 9
|
145
|
+
version: 0.9.9
|
146
|
+
requirement: *id008
|
270
147
|
description: Transforms a string of XML into a string of JSON
|
271
148
|
email: chiology@gmail.com
|
272
149
|
executables: []
|
@@ -326,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
203
|
requirements: []
|
327
204
|
|
328
205
|
rubyforge_project:
|
329
|
-
rubygems_version: 1.
|
206
|
+
rubygems_version: 1.4.2
|
330
207
|
signing_key:
|
331
208
|
specification_version: 3
|
332
209
|
summary: Transforms XML to JSON
|