power_assert 0.4.0 → 0.4.1

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: 5f750b892c57de72ef8565ce7b74f150d1cb58dd
4
- data.tar.gz: 9512911b0c2a348b58015eabfc72c1f2bfd91922
3
+ metadata.gz: d2eae14f4d92ca09fbbb32496eb627f1d1451c2d
4
+ data.tar.gz: 8d85402b050df02cb8965870edeadf02a76cbb7f
5
5
  SHA512:
6
- metadata.gz: d1e3d4320129a287703f80ffb480a42841adb66146a792f758d14539176b6c6694057efc3ecf24e420c7ed6dda1936806c36eb0a793ffad33761e510025c1de2
7
- data.tar.gz: e006193bdbb8abc8f991b35ada079083f3f242effbdef3df2905535b874ac758d93834960d319c87640c9c76d333a77a4d31fc9c02fd8728965dbad4c5298d78
6
+ metadata.gz: 3d7f505cd68804f219e1f352c52b1b30b2d08ca2ce04e14c327fc7ed48703a0c68cc9e9a2109172f5ec31a350d3ecb821dad77e02da1c636aa066f8949b3215f
7
+ data.tar.gz: 635290bfb734739a5c63a40b225e2cca422f142e132e92c208f248b940742fa7734bda5663a616415f9f3ac68c87c015b3d3db8342e052116dc5ce0289b9f4bd
@@ -12,7 +12,7 @@ module PowerAssert
12
12
  SUPPORT_ALIAS_METHOD = TracePoint.public_method_defined?(:callee_id)
13
13
  private_constant :SUPPORT_ALIAS_METHOD
14
14
 
15
- class Configuration < Struct.new(:lazy_inspection, :_trace_alias_method, :redefinition)
15
+ class Configuration < Struct.new(:lazy_inspection, :_trace_alias_method, :_redefinition)
16
16
  def _trace_alias_method=(bool)
17
17
  super
18
18
  if SUPPORT_ALIAS_METHOD
@@ -1,7 +1,7 @@
1
1
  require 'power_assert/configuration'
2
2
 
3
3
  if defined? RubyVM
4
- if PowerAssert.configuration.redefinition
4
+ if PowerAssert.configuration._redefinition
5
5
  verbose = $VERBOSE
6
6
  begin
7
7
  $VERBOSE = nil
@@ -1,3 +1,3 @@
1
1
  module PowerAssert
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power_assert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuki Tsujimoto