mixml 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/mixml +2 -2
- data/demo/application_invocation.md +7 -3
- data/lib/mixml/version.rb +1 -1
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGY3Yzg4NTM3ODBjNjFkOTU1YWVkMjk4MTU5MzNlNGFkMzk3NGY5Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTdhODEyZTUxMmQ4YTc5ZmUyMDUyNWM3OGU1NmI4YjI3NDBmM2RhMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGUzMDI1ZGNiNWY1MjNmNTQwMWFlZDk2ZjI5NzUwYzRhZTZiNGE1YmYyMmQ2
|
10
|
+
OTRmMGNiMmRjODU3OTRiZmEwMzRjMGI0Y2U1MWM3ZjA5NmViZTE3YWRmOWVj
|
11
|
+
YzA2YWJkNWZhZDUwZmM0Y2JjNjM4NjI4MGYxZjU4YzBjOWNmOTA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Njc1ZGJlNzc1OGYyYjNjODA2YjYxMGEzZTkxNDQ3ZDIxODU3Y2U3NDUyYjI1
|
14
|
+
NjM1ZTk5ZGE0ZDZlNTZiNjkxYWJlM2U5ZDYzMzM0YWNlOGNmY2ViZjdjOGI0
|
15
|
+
YzIwZjAwNjMwODViZTNmMzZiMzI1ZDViMzE4ZTZhOTI4YWI5NWU=
|
data/bin/mixml
CHANGED
@@ -93,9 +93,13 @@ Just create a tool object, and let it execute a mixml script.
|
|
93
93
|
tool = Mixml::Tool.new
|
94
94
|
tool.pretty = true
|
95
95
|
|
96
|
-
|
97
|
-
|
98
|
-
|
96
|
+
# Redirect stdout
|
97
|
+
redirect do
|
98
|
+
# Here comes the actual example
|
99
|
+
tool.work('test.xml') do
|
100
|
+
xpath '//philosopher[@name="Hobbes"]' do
|
101
|
+
rename 'tiger'
|
102
|
+
end
|
99
103
|
end
|
100
104
|
end
|
101
105
|
|
data/lib/mixml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jochen Seeber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.7'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.7'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,7 +210,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
210
|
requirements:
|
211
211
|
- - ! '>='
|
212
212
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
213
|
+
version: 1.9.3
|
214
214
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
215
|
requirements:
|
216
216
|
- - ! '>='
|
@@ -222,5 +222,12 @@ rubygems_version: 2.2.2
|
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: Easily manipulate multiple XML files at once
|
225
|
-
test_files:
|
225
|
+
test_files:
|
226
|
+
- demo/application_checks.md
|
227
|
+
- demo/application_commands.md
|
228
|
+
- demo/application_invocation.md
|
229
|
+
- demo/application_output.md
|
230
|
+
- demo/application_selection.md
|
231
|
+
- demo/application_values.md
|
232
|
+
- demo/applique/test.rb
|
226
233
|
has_rdoc:
|