xml-smart 0.3.0.4 → 0.3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -6
- data/xml-smart.gemspec +2 -2
- metadata +11 -32
data/README.rdoc
CHANGED
@@ -2,11 +2,9 @@
|
|
2
2
|
|
3
3
|
Copyright (C) 2004-2012 Jürgen Mangler <juergen.mangler@univie.ac.at>
|
4
4
|
|
5
|
-
Ruby/XML/Smart is freely distributable according to the terms of the
|
6
|
-
GNU Lesser General Public License (see the file 'COPYING').
|
5
|
+
Ruby/XML/Smart is freely distributable according to the terms of the GNU Lesser General Public License (see the file 'COPYING').
|
7
6
|
|
8
|
-
This program is distributed without any warranty. See the file
|
9
|
-
'COPYING' for details.
|
7
|
+
This program is distributed without any warranty. See the file 'COPYING' for details.
|
10
8
|
|
11
9
|
== Installation
|
12
10
|
|
@@ -43,7 +41,6 @@ sorry, no css selectors, html, ... go to Nokogiri if you look for these
|
|
43
41
|
doc.find('string(aaa:test)')
|
44
42
|
doc.close
|
45
43
|
|
46
|
-
|
47
44
|
=== NFS safe file locking while editing / reading from an XML file
|
48
45
|
|
49
46
|
XML::Smart.modify("EXAMPLE.xml","<test><names/></test>") { |doc|
|
@@ -61,4 +58,3 @@ sorry, no css selectors, html, ... go to Nokogiri if you look for these
|
|
61
58
|
== Documentation
|
62
59
|
|
63
60
|
Sorry, no inline code documentation yet. We have an extensive test suite, look for examples there for now.
|
64
|
-
|
data/xml-smart.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "xml-smart"
|
3
|
-
s.version = "0.3.0.
|
3
|
+
s.version = "0.3.0.5"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.summary = "An xml library that doesn't suck - since 2004."
|
6
6
|
|
7
|
-
s.description =
|
7
|
+
s.description = "For more info check out the <a href='http://rubydoc.info/gems/xml-smart/0.3.0.5/frames'>Documentation</a> link below."
|
8
8
|
|
9
9
|
s.files = Dir['{lib/**/*,example/**/*}'] + %w(COPYING Rakefile xml-smart.gemspec README.rdoc AUTHORS)
|
10
10
|
s.require_path = 'lib'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml-smart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.
|
4
|
+
version: 0.3.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-12-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement: &
|
16
|
+
requirement: &82686650 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *82686650
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: lockfile
|
27
|
-
requirement: &
|
27
|
+
requirement: &82685620 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *82685620
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: term-ansicolor
|
38
|
-
requirement: &
|
38
|
+
requirement: &82684520 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *82684520
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: minitest
|
49
|
-
requirement: &
|
49
|
+
requirement: &82494600 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,30 +54,9 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
58
|
-
description:
|
59
|
-
|
60
|
-
freely distributable according to the terms of the\nGNU Lesser General Public License
|
61
|
-
(see the file 'COPYING').\n\nThis program is distributed without any warranty. See
|
62
|
-
the file\n'COPYING' for details.\n\n== Installation\n\n- Based on Nokogiri 1.5.5\n-
|
63
|
-
Thus works for MRI ruby 1.8.7, 1.9.x, JRuby (basically everything that is Nokogiri
|
64
|
-
ready)\n- Works on Linux, OSX, Windows \n\n== Features\n\n=== Principle of least
|
65
|
-
surprise\n\n- Nokogiri is messy - violence always is\n- libxml smells like old-school
|
66
|
-
C-Binding ;-)\n- rex is ... strange\n\n=== Inherits Nokogiris GREAT compatibility
|
67
|
-
for platforms and Ruby interpreters\n\n=== XML only\n\nsorry, no css selectors,
|
68
|
-
html, ... go to Nokogiri if you look for these \n\n=== Great and convenient namespace
|
69
|
-
support, compared to everything else out there\n\n- use namespaces in xpaths without
|
70
|
-
any additional work\n\n doc = XML::Smart.string('<test xmlns:aaa=\"uri:aaa\"><aaa:test/></test>')\n
|
71
|
-
\ doc.find('string(aaa:test)')\n doc.close\n\n- register your own shortcusts to
|
72
|
-
be available in all XPaths \n\n doc = XML::Smart.string('<test xmlns:aaa=\"uri:aaa\"><aaa:test/></test>')\n
|
73
|
-
\ doc.register_namespace :a, 'uri:aaa'\n doc.find('string(aaa:test)')\n doc.close\n\n\n===
|
74
|
-
NFS safe file locking while editing / reading from an XML file\n\n XML::Smart.modify(\"EXAMPLE.xml\",\"<test><names/></test>\")
|
75
|
-
{ |doc|\n doc.root.add(\"test_node\")\n } \n\n== Changes since 0.2.x (see Changelog)\n\n-
|
76
|
-
qname instead of name\n- #register_namespace instead of #namespaces= to register
|
77
|
-
shortcuts\n- no more namespaces for #find necessary, all namespaces in document
|
78
|
-
are automatically available.\n- signals removed\n- pull parser removed\n\n== Documentation\n\nSorry,
|
79
|
-
no inline code documentation yet. We have an extensive test suite, look for examples
|
80
|
-
there for now.\n\n"
|
57
|
+
version_requirements: *82494600
|
58
|
+
description: For more info check out the <a href='http://rubydoc.info/gems/xml-smart/0.3.0.5/frames'>Documentation</a>
|
59
|
+
link below.
|
81
60
|
email: juergen.mangler@gmail.com
|
82
61
|
executables: []
|
83
62
|
extensions: []
|