test-unit-power_assert 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8e16b7c9e80dfc75395dea5f7458eea9686b888
4
- data.tar.gz: efe8b62dbc50c8c6ccb53253044bc07b20990a1f
3
+ metadata.gz: b2e72de2e492690c7cc169de65ff6ac185bf4c03
4
+ data.tar.gz: 39f532c70a39f029fc2e15a35577bce080969d58
5
5
  SHA512:
6
- metadata.gz: 3490cc805cfcfb4cdf700e3fec724d3d6601ce05fd37ad9ec5c58f5832ba8992137396d4665fb3f70de6b224c89eb98cf2bbf9b204b577fb3f0b32650cda3a86
7
- data.tar.gz: 63bc36c8c5299f2b19468d6d623abadcfc3f6cae446d1f493a96127db8475b582ec6a0afc13c4a401a7f6310d82d87d0a48e1c328d7194b51e57ad7c53934959
6
+ metadata.gz: 94563680009d7ff2475fa2a02f8d8dc7ba487d77d63e548ed67bc92ef9c67bf01e880874c06ace686fe1523e41cbb1fb09baa0077bda9a71b6e688fd2dda2b13
7
+ data.tar.gz: 26bac84e6e686a8d1d5fdf0d859481cab74f5ce5d8b2455bbf451f8fe15b2a6234bf67a6aed97e9bc8957ea3487139e5c92006443e97ae8cd9eb2a27c02d196b
@@ -1,5 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.2
3
+ - 2.0.0-p648
4
+ - 2.1.8
5
+ - 2.2.4
6
+ - 2.3.0
5
7
  - ruby-head
8
+ matrix:
9
+ allow_failures:
10
+ - rvm: ruby-head
11
+ before_install:
12
+ - gem update bundler
data/BSDL CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 2014 Kazuki Tsujimoto, All rights reserved.
1
+ Copyright (C) 2014-2016 Kazuki Tsujimoto, All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without
4
4
  modification, are permitted provided that the following conditions
data/COPYING CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 2014 Kazuki Tsujimoto, All rights reserved.
1
+ Copyright (C) 2014-2016 Kazuki Tsujimoto, All rights reserved.
2
2
 
3
3
  You can redistribute it and/or modify it under either the terms of the
4
4
  2-clause BSDL (see the file BSDL), or the conditions below:
@@ -2,6 +2,8 @@
2
2
  == About
3
3
  Power Assert for test-unit.
4
4
 
5
+ <b>As of test-unit 3.0.0, it has built-in support for Power Assert so test-unit-power_assert is no longer needed.</b>
6
+
5
7
  == Installation
6
8
  $ gem install test-unit-power_assert
7
9
 
@@ -30,8 +32,6 @@ Note: It is recommended to require test/unit/power_assert before _loading_ test
30
32
 
31
33
  === Result
32
34
  Failure:
33
-
34
- Failure:
35
35
  "0".class == "3".to_i.times.map {|i| i + 1 }.class
36
36
  | | | | | |
37
37
  | | | | | Array
@@ -1,12 +1,20 @@
1
1
  # power_assert.rb
2
2
  #
3
- # Copyright (C) 2014 Kazuki Tsujimoto, All rights reserved.
3
+ # Copyright (C) 2014-2016 Kazuki Tsujimoto, All rights reserved.
4
4
 
5
5
  require 'test/unit/power_assert/version'
6
6
 
7
7
  require 'test/unit'
8
8
  require 'power_assert'
9
9
 
10
+ begin
11
+ if Gem.loaded_specs['test-unit'].version >= Gem::Version.new('3')
12
+ warn "test-unit-power_assert: warning: You don't need to require test-unit-power_assert."
13
+ warn "test-unit-power_assert: warning: test-unit 3 or later has built-in support for power_assert."
14
+ end
15
+ rescue
16
+ end
17
+
10
18
  module Test::Unit::Assertions
11
19
  alias __assert_orig__ assert
12
20
 
@@ -1,7 +1,7 @@
1
1
  module Test
2
2
  module Unit
3
3
  module PowerAssert
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-unit-power_assert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuki Tsujimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-04 00:00:00.000000000 Z
11
+ date: 2016-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.2.2
96
+ rubygems_version: 2.6.4
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Power Assert for test-unit