ruby-xml-smart 0.1.12-i486-linux → 0.1.12.1-i486-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Changelog +7 -4
- data/Rakefile +10 -4
- data/rbxs.h +1 -1
- data/rbxs_qname.c +1 -1
- metadata +9 -3
- data/.gitignore +0 -0
data/Changelog
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
+
0.1.12.1 "I'm working on a RIDDL"
|
2
|
+
* XML::SMART::QNAME#namespace returns value for default namespace
|
3
|
+
|
1
4
|
0.1.12 "Oh my dear, a wall is missing in my flat and it's getting cold"
|
2
|
-
* XML::SMART::DOM
|
3
|
-
* XML::SMART::DOM
|
4
|
-
* XML::SMART::DOM::ELEMENT
|
5
|
-
* XML::SMART::DOM
|
5
|
+
* XML::SMART::DOM#save_unformated => defaults to false
|
6
|
+
* XML::SMART::DOM#xinclude!
|
7
|
+
* XML::SMART::DOM::ELEMENT#xinclude!
|
8
|
+
* XML::SMART::DOM#validate_against(XML::SMART.open("some_file.rng"))
|
6
9
|
-> will validate against XML Schema if ever libxml supports it :-)
|
7
10
|
|
8
11
|
0.1.11 "name has to be selected"
|
data/Rakefile
CHANGED
@@ -5,8 +5,14 @@ require 'rake/testtask'
|
|
5
5
|
require 'rake/gempackagetask'
|
6
6
|
require 'rdoc/rdoc'
|
7
7
|
|
8
|
+
temp = `git ls-files`.split(/\r?\n/).collect{ |i| i unless i=~/^\.git/ }.compact
|
9
|
+
temp.each do |f|
|
10
|
+
t = File.dirname(f)
|
11
|
+
temp << t unless t == '.'
|
12
|
+
end
|
13
|
+
|
8
14
|
PKG_FILE = 'ruby-xml-smart'
|
9
|
-
PKG_FILES =
|
15
|
+
PKG_FILES = temp
|
10
16
|
PKG_VERSION = File.read('rbxs.h').to_s.match(/RBXS_VERSION\s+"([^"]+)"/)[1]
|
11
17
|
PKG_CURRENT = PKG_FILE + "-" + PKG_VERSION
|
12
18
|
|
@@ -33,8 +39,8 @@ end
|
|
33
39
|
desc "Clean directory"
|
34
40
|
task :clean do
|
35
41
|
if File.exists?(".git")
|
36
|
-
Dir.glob("**/*").collect{ |i| i unless i
|
37
|
-
if !PKG_FILES.include?(i)
|
42
|
+
Dir.glob("**/*").collect{ |i| i unless i=~/^\.git/ || i=~/^rdoc/ || i=~/^extconf/ || i=~/^Makefile/ }.compact.each do |i|
|
43
|
+
if !PKG_FILES.include?(i)
|
38
44
|
rm_r i if File.exists?(i)
|
39
45
|
end
|
40
46
|
end
|
@@ -45,7 +51,7 @@ end
|
|
45
51
|
task :distclean do
|
46
52
|
if File.exists?(".git")
|
47
53
|
Dir.glob("**/*").collect{ |i| i unless i=~/^\.git/ }.compact.each do |i|
|
48
|
-
if !PKG_FILES.include?(i)
|
54
|
+
if !PKG_FILES.include?(i)
|
49
55
|
rm_r i if File.exists?(i)
|
50
56
|
end
|
51
57
|
end
|
data/rbxs.h
CHANGED
data/rbxs_qname.c
CHANGED
@@ -213,7 +213,7 @@ VALUE rbxs_qname_namespace(VALUE self)
|
|
213
213
|
switch (prbxs_qname->type) {
|
214
214
|
case RBXS_PARSER_TYPE_DOM:
|
215
215
|
Data_Get_Struct(prbxs_qname->obj, rbxs_domelement, prbxs_domelement);
|
216
|
-
if (prbxs_domelement->node->ns != NULL && prbxs_domelement->node->ns->
|
216
|
+
if (prbxs_domelement->node->ns != NULL && prbxs_domelement->node->ns->href != NULL)
|
217
217
|
return(rb_str_new2((char *)prbxs_domelement->node->ns->href));
|
218
218
|
else
|
219
219
|
return(Qnil);
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruby-xml-smart
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.12
|
7
|
-
date: 2009-03-
|
6
|
+
version: 0.1.12.1
|
7
|
+
date: 2009-03-15 00:00:00 +01:00
|
8
8
|
summary: easy to use and stable libxml2 binding
|
9
9
|
require_paths:
|
10
10
|
- .
|
@@ -28,7 +28,6 @@ cert_chain:
|
|
28
28
|
authors:
|
29
29
|
- "J\xC3\xBCrgen Mangler"
|
30
30
|
files:
|
31
|
-
- .gitignore
|
32
31
|
- AUTHORS
|
33
32
|
- COPYING
|
34
33
|
- Changelog
|
@@ -106,6 +105,13 @@ files:
|
|
106
105
|
- rbxs_qname.h
|
107
106
|
- rbxs_utils.h
|
108
107
|
- test/namespace_test.rb
|
108
|
+
- examples
|
109
|
+
- examples/Visualise
|
110
|
+
- examples/Visualise/term-ansicolor-0.0.4
|
111
|
+
- examples/Visualise/term-ansicolor-0.0.4/examples
|
112
|
+
- examples/Visualise/term-ansicolor-0.0.4/lib/term
|
113
|
+
- test
|
114
|
+
- examples/Visualise/term-ansicolor-0.0.4/lib
|
109
115
|
test_files:
|
110
116
|
- test/namespace_test.rb
|
111
117
|
rdoc_options:
|
data/.gitignore
DELETED
File without changes
|