bitcoin_testnet 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  require 'wait'
2
2
  require "bitcoin_testnet/version"
3
- require 'active_support/core_ext/module'
3
+ require 'active_support/core_ext'
4
4
 
5
5
  require 'bitcoin_testnet/detector'
6
6
  require 'bitcoin_testnet/executor'
@@ -20,7 +20,9 @@ module BitcoinTestnet
20
20
  private
21
21
 
22
22
  def should_perform?
23
- cassette_exists? || allow_unused_http_interactions?
23
+ return true if !cassette_exists? && allow_unused_http_interactions?
24
+ return true if !cassette_exists?
25
+ false
24
26
  end
25
27
 
26
28
  def cassette_exists?
@@ -1,3 +1,3 @@
1
1
  module BitcoinTestnet
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitcoin_testnet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: