overrider 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 54ce106b063d03de98208f4640f2d736b7f667c7b6b81e4eb64adf7456ae38b8
4
- data.tar.gz: c218b9f243af271752064e0f42c4fbe179988bf7a4212a2f8b35a06a9823b902
3
+ metadata.gz: cfc96db5c2b0821331d448087dbb5737a480a94dfec4512b4713a3ab44375deb
4
+ data.tar.gz: 190c64c0e997937c2442864d134ab8ceaf6558e1b41acb8429aca47719cbde83
5
5
  SHA512:
6
- metadata.gz: 0b0b6be378f119d82cc7130f94be95b330ebeeef261e12b95505639b25358ef08707ecf2cf295a8e95422e564ec99938f8c8cb3719fccf2837df6c6dd12b9bb5
7
- data.tar.gz: cac2068a46553296b39a0335882a17df8a90936e0d1020fa71650f032224c9ac7b5cb17c156fffa8e4ca0ab3f6f0d306cbd8b70f0fc94ddd455b1857284d61e2
6
+ metadata.gz: 00fcfb5131bcc6f7160f15a447ccfd98fb988b9aa91d1238550bbe0dae580ad53defb338bddfa095a93f3ad388ab0116311d68549fb279b478f9e78e92db8ff4
7
+ data.tar.gz: 4d643fd6a432df8006670dd588205df282867501b715f9707f1835e0522c2f175e26e6e16f9500b7a9074de65aa73e31adc69dc63eea638c0ee5ff14813fedeb
data/.gitignore CHANGED
@@ -7,5 +7,7 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
 
10
+ Gemfile.lock
11
+
10
12
  # rspec failure tracking
11
13
  .rspec_status
@@ -28,6 +28,8 @@ module Overrider
28
28
  @ensure_overrides.each do |n|
29
29
  meth = klass.instance_method(n)
30
30
  unless meth.super_method
31
+ @__overrider_trace_point.disable
32
+ @__overrider_trace_point = nil
31
33
  raise NoSuperMethodError.new(klass, meth)
32
34
  end
33
35
  end
@@ -54,6 +56,8 @@ module Overrider
54
56
  @ensure_overrides.each do |n|
55
57
  meth = klass.singleton_class.instance_method(n)
56
58
  unless meth.super_method
59
+ @__overrider_singleton_trace_point.disable
60
+ @__overrider_singleton_trace_point = nil
57
61
  raise NoSuperMethodError.new(klass, meth)
58
62
  end
59
63
  end
@@ -1,3 +1,3 @@
1
1
  module Overrider
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overrider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-24 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -63,7 +63,6 @@ files:
63
63
  - ".rspec"
64
64
  - ".travis.yml"
65
65
  - Gemfile
66
- - Gemfile.lock
67
66
  - LICENSE.txt
68
67
  - README.md
69
68
  - Rakefile
@@ -1,35 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- overrider (0.1.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- diff-lcs (1.3)
10
- rake (10.5.0)
11
- rspec (3.7.0)
12
- rspec-core (~> 3.7.0)
13
- rspec-expectations (~> 3.7.0)
14
- rspec-mocks (~> 3.7.0)
15
- rspec-core (3.7.1)
16
- rspec-support (~> 3.7.0)
17
- rspec-expectations (3.7.0)
18
- diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.7.0)
20
- rspec-mocks (3.7.0)
21
- diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.7.0)
23
- rspec-support (3.7.0)
24
-
25
- PLATFORMS
26
- ruby
27
-
28
- DEPENDENCIES
29
- bundler (~> 1.16)
30
- overrider!
31
- rake (~> 10.0)
32
- rspec (~> 3.0)
33
-
34
- BUNDLED WITH
35
- 1.16.1