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.
Files changed (6) hide show
  1. data/Changelog +7 -4
  2. data/Rakefile +10 -4
  3. data/rbxs.h +1 -1
  4. data/rbxs_qname.c +1 -1
  5. metadata +9 -3
  6. 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::save_unformated => defaults to false
3
- * XML::SMART::DOM::#xinclude!
4
- * XML::SMART::DOM::ELEMENT::#xinclude!
5
- * XML::SMART::DOM::#validate_against(XML::SMART.open("some_file.rng"))
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 = `git ls-files`.split(/\r?\n/)
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=~/^i\.git/ || i=~/^rdoc/ || i=~/^extconf/ || i=~/^Makefile/ }.compact.each do |i|
37
- if !PKG_FILES.include?(i) && !File.directory?(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) && !File.directory?(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
@@ -43,7 +43,7 @@
43
43
  #include <libxml/xmlsave.h>
44
44
  #include <libxml/xinclude.h>
45
45
 
46
- #define RBXS_VERSION "0.1.12"
46
+ #define RBXS_VERSION "0.1.12.1"
47
47
 
48
48
  #define RBXS_PARSER_TYPE_DOM 0
49
49
  #define RBXS_PARSER_TYPE_READER 1
@@ -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->prefix != NULL)
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-14 00:00:00 +01:00
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