flexmock 2.2.0 → 2.2.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: 02acabaf029650f80ab19aed17459f6007aac4d8
4
- data.tar.gz: 2efb9677abaeb434ec840ce5ad2d174101d333c1
3
+ metadata.gz: ac25b7c70e3a49d1404279263c5ad6e5cfb19128
4
+ data.tar.gz: 41c3cc477ad1623060a73eacd7dea095226ad6c3
5
5
  SHA512:
6
- metadata.gz: 210118eb5a0f18106cb0c3d9ba35b2db3792cbd694a7db7ded0aecebef98607cb5fe763f2e3a2607551b604960c10e820c6d5e3c94308e33430db0ca075bb453
7
- data.tar.gz: 2abbd364c49ab6f5b392fbff175b15ee5ccb07602ce337530f68886e157940e0349a87ffc696affa2877fd821985bbdd522a406b5c0e2239b34958a4ad5c5457
6
+ metadata.gz: 486419f39b00d0f8545671d597b7e7832a804545ee40d78bec76a6e46edc68632f16465a7745d0eb4b5bf94fc4612b753134c2c756bdf27ed1c477b71622d827
7
+ data.tar.gz: 0bc257bddd171c211d20c1424626a67487387094a43e0e57dd8a7bf49b3923caf4f4947c73ce44e33c98ae7b6443879aba603b44749439d39b8caa38ac9d31f9
@@ -1,10 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.8
5
- - 2.2.4
6
- - 2.3.0
7
- - jruby-9.0.5.0
3
+ - '2.0'
4
+ - '2.1'
5
+ - '2.2'
6
+ - 2.3.1
7
+ - jruby-9.1.2.0
8
8
 
9
9
  script:
10
10
  - rake test
@@ -194,7 +194,8 @@ class FlexMock
194
194
  super(*args, &block)
195
195
  end
196
196
  end
197
- @obj.prepend @initialize_override
197
+ override = @initialize_override
198
+ @obj.class_eval { prepend override }
198
199
  end
199
200
  if expectations_block
200
201
  @initialize_expectation_blocks << expectations_block
@@ -1,3 +1,3 @@
1
1
  class FlexMock
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexmock
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich