test_xml 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,7 +1,11 @@
1
- ## 0.1.4
1
+ # 0.1.5
2
+
3
+ * Make minitest-5 compatible.
4
+
5
+ # 0.1.4
2
6
 
3
7
  * Require bug fix.
4
8
 
5
- ## 0.1.3
9
+ # 0.1.3
6
10
 
7
11
  * Adding support for `MiniTest::Spec` matchers.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
@@ -1,13 +1,13 @@
1
1
  require "test_xml"
2
2
  require "test_xml/test_unit"
3
3
 
4
- MiniTest::Unit::TestCase.class_eval do
5
- include TestXml::TestUnit::Assertions
6
- end
7
-
8
4
  # TODO: should we remove test_xml/spec?
9
5
  MiniTest::Expectations.class_eval do
10
6
  TestXml::ASSERTIONS.each do |cfg|
11
7
  infect_an_assertion(cfg.assert_name, cfg.expectation)
12
8
  end
13
- end
9
+ end
10
+
11
+ class MiniTest::Test
12
+ include TestXml::TestUnit::Assertions
13
+ end
@@ -1,3 +1,3 @@
1
1
  module TestXml
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-22 00:00:00.000000000 Z
13
+ date: 2013-05-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri