multi_xml 0.5.0 → 0.5.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.
@@ -3,7 +3,6 @@ matrix:
3
3
  allow_failures:
4
4
  - rvm: ruby-head
5
5
  rvm:
6
- - jruby-18mode
7
6
  - 1.8.7
8
7
  - 1.9.2
9
8
  - 1.9.3
data/README.md CHANGED
@@ -100,9 +100,6 @@ implementations:
100
100
  * Ruby 1.8.7
101
101
  * Ruby 1.9.2
102
102
  * Ruby 1.9.3
103
- * [JRuby][]
104
-
105
- [jruby]: http://www.jruby.org/
106
103
 
107
104
  If something doesn't work on one of these interpreters, it should be considered
108
105
  a bug.
@@ -57,7 +57,7 @@ module MultiXml
57
57
  class << self
58
58
  # Get the current parser class.
59
59
  def parser
60
- return @@parser unless @@parser.nil?
60
+ return @@parser if defined?(@@parser)
61
61
  self.parser = self.default_parser
62
62
  @@parser
63
63
  end
@@ -1,3 +1,3 @@
1
1
  module MultiXml
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -5,10 +5,6 @@ class MockDecoder; end
5
5
 
6
6
  describe "MultiXml" do
7
7
  context "Parsers" do
8
- before do
9
- MultiXml.send :class_variable_set, :@@parser, nil
10
- end
11
-
12
8
  it "should pick a default parser" do
13
9
  MultiXml.parser.should be_kind_of(Module)
14
10
  MultiXml.parser.should respond_to(:parse)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.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: 2012-05-08 00:00:00.000000000 Z
12
+ date: 2012-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: maruku