openwsman 2.4.0 → 2.4.1

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.
@@ -2414,19 +2414,7 @@ SWIGINTERN WsXmlNodeH __WsXmlNode_get__SWIG_0(struct __WsXmlNode *self,int i,cha
2414
2414
  return ws_xml_get_child(self, i, ns, name);
2415
2415
  }
2416
2416
  SWIGINTERN WsXmlNodeH __WsXmlNode_get__SWIG_1(struct __WsXmlNode *self,char const *name,char const *ns){
2417
-
2418
2417
  return ws_xml_get_child(self, 0, ns, name);
2419
-
2420
-
2421
-
2422
-
2423
-
2424
-
2425
-
2426
-
2427
-
2428
-
2429
-
2430
2418
  }
2431
2419
  SWIGINTERN WsXmlAttrH __WsXmlNode_attr(struct __WsXmlNode *self,VALUE index,VALUE namespace){
2432
2420
  if (NIL_P(index)) { /* nil */
@@ -13029,8 +13017,8 @@ SWIGEXPORT void Init_Openwsman(void) {
13029
13017
  SWIG_RubyInitializeTrackings();
13030
13018
  rb_define_const(mOpenwsman, "OPENWSMAN_MAJOR", SWIG_From_int((int)(2)));
13031
13019
  rb_define_const(mOpenwsman, "OPENWSMAN_MINOR", SWIG_From_int((int)(4)));
13032
- rb_define_const(mOpenwsman, "OPENWSMAN_PATCH", SWIG_From_int((int)(0)));
13033
- rb_define_const(mOpenwsman, "OPENWSMAN_VERSION", SWIG_FromCharPtr("2.4.0"));
13020
+ rb_define_const(mOpenwsman, "OPENWSMAN_PATCH", SWIG_From_int((int)(1)));
13021
+ rb_define_const(mOpenwsman, "OPENWSMAN_VERSION", SWIG_FromCharPtr("2.4.1"));
13034
13022
 
13035
13023
  SwigClassXmlNs.klass = rb_define_class_under(mOpenwsman, "XmlNs", rb_cObject);
13036
13024
  SWIG_TypeClientData(SWIGTYPE_p___WsXmlNs, (void *) &SwigClassXmlNs);
@@ -0,0 +1,10 @@
1
+ # openwsman/version.rb
2
+
3
+ module Openwsman
4
+ require 'rbconfig'
5
+ OPENWSMAN_RUBY_VERSION = "1.9"
6
+ SYSTEM_RUBY_VERSION = "#{RbConfig::CONFIG['MAJOR']}.#{RbConfig::CONFIG['MINOR']}"
7
+ if SYSTEM_RUBY_VERSION != OPENWSMAN_RUBY_VERSION
8
+ STDERR.puts "** Warning: Ruby version mismatch: Openwsman Ruby #{OPENWSMAN_RUBY_VERSION}, Runtime Ruby #{SYSTEM_RUBY_VERSION}"
9
+ end
10
+ end
@@ -3,7 +3,7 @@ module Openwsman
3
3
  #
4
4
  # Assume XmlDoc.foo means XmlDoc.body.foo
5
5
  #
6
- def method_missing method, *args
6
+ def method_missing method, *args # :nodoc:
7
7
  self.body.send method,*args
8
8
  end
9
9
  end
@@ -1,6 +1,6 @@
1
1
  module Openwsman
2
2
  class XmlNode
3
- def method_missing method, *args
3
+ def method_missing method, *args # :nodoc:
4
4
  find(nil, method.to_s)
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openwsman
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-05 00:00:00.000000000 Z
12
+ date: 2013-09-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -71,6 +71,7 @@ extra_rdoc_files: []
71
71
  files:
72
72
  - lib/openwsman.rb
73
73
  - lib/openwsman/openwsman.rb
74
+ - lib/openwsman/version.rb
74
75
  - lib/openwsman/xmlnode.rb
75
76
  - lib/openwsman/xmldoc.rb
76
77
  - ext/ruby/helpers.h