power_assert 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +3 -0
- data/lib/power_assert.rb +1 -1
- data/lib/power_assert/colorize.rb +1 -1
- data/lib/power_assert/version.rb +1 -1
- data/power_assert.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 684759080498a0613ab5fb1ef612779f8febc158
|
4
|
+
data.tar.gz: 13c829bcc4741384b7563b8ede818ae2a21880fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 320a144a00e75cb536f4ec4725c8f36e3e143a4899a27878a7d0f5bc46403aab46cf824c7f956b19a108fa10c1e8c7f2f49a5cb8aef3b1566110d47a433181ed
|
7
|
+
data.tar.gz: bafb11bdf504694f8bc79d3ba6664d1797d2c92d1e0458ab220a92b624709f291039f9ae91f2e738de7779e0c1f130934d49e9616b3e12c2670af05531955633
|
data/README.rdoc
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
== About
|
3
3
|
Power Assert for Ruby.
|
4
4
|
|
5
|
+
Power Assert shows each value of variables and method calls in the expression.
|
6
|
+
It is useful for testing, providing which value wasn't correct when the condition is not satisfied.
|
7
|
+
|
5
8
|
== Related Projects
|
6
9
|
* {test-unit}[https://github.com/test-unit/test-unit](>= 3.0.0)
|
7
10
|
* {test-unit-power_assert}[https://github.com/k-tsj/test-unit-power_assert]
|
data/lib/power_assert.rb
CHANGED
@@ -57,7 +57,7 @@ module PowerAssert
|
|
57
57
|
private
|
58
58
|
|
59
59
|
def ignored_file?(file)
|
60
|
-
IGNORED_LIB_DIRS[Byebug] = lib_dir(Byebug, :
|
60
|
+
IGNORED_LIB_DIRS[Byebug] = lib_dir(Byebug, :attach, 2) if defined?(Byebug) and ! IGNORED_LIB_DIRS[Byebug]
|
61
61
|
IGNORED_LIB_DIRS[PryByebug] = lib_dir(Pry, :start_with_pry_byebug, 2) if defined?(PryByebug) and ! IGNORED_LIB_DIRS[PryByebug]
|
62
62
|
IGNORED_LIB_DIRS.find do |_, dir|
|
63
63
|
file.start_with?(dir)
|
data/lib/power_assert/version.rb
CHANGED
data/power_assert.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ['Kazuki Tsujimoto']
|
10
10
|
s.email = ['kazuki@callcc.net']
|
11
11
|
s.homepage = 'https://github.com/k-tsj/power_assert'
|
12
|
-
s.summary =
|
13
|
-
s.description =
|
12
|
+
s.summary = "Power Assert for Ruby"
|
13
|
+
s.description = "Power Assert for Ruby. Power Assert shows each value of variables and method calls in the expression. It is useful for testing, providing which value wasn't correct when the condition is not satisfied."
|
14
14
|
|
15
15
|
s.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
16
|
f.match(%r{^(test|spec|features|benchmarks)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: power_assert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuki Tsujimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|