mock5 1.0.1 → 1.0.2

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: 5cc09164060a34461288bd4e5613a57179adfbd9
4
- data.tar.gz: 65a3f5617db8ee8a94529e1017025a182bc2b631
3
+ metadata.gz: da624cffc46d03de23ffd9e33419c6dbe501d44c
4
+ data.tar.gz: 5b492f7e62385283c2bd3f81ba215ea648c321f9
5
5
  SHA512:
6
- metadata.gz: e8823f3731b6c641e1cc9d4b6a773bf02f6bb44c974146bba2139e4823b0d74b3b3c4c6cde579ae1b5ad3bacdc97f7f51e7ea090f9c3f128911f38ef680817b0
7
- data.tar.gz: c6bddb69871f5d54b5d35cd3ad6dc2ec2b04408b4546f31bfaad900cd396ee34dd8cfccae4f0386101d021dc74a14139c2c10eab13079bf1999e0ddbf2aa1457
6
+ metadata.gz: b901a32c3b8272e1fd29380a7efa3bb24dbebde8370047d7b6434e826db92c8534124e8d06c0cb4a9b16cf4dd3c453d59aa658a838a60ee12b0aa52d1f5d5619
7
+ data.tar.gz: b04f2a98b53adaf67262eb5e079c5e61fa247376388e29dc16c731770f14d78f2d43664628a76f0f51c204b7a8a6608d0e6afc9d17b71552be04699a670c0406
@@ -26,7 +26,7 @@ module Mock5
26
26
  when Regexp
27
27
  endpoint
28
28
  else
29
- raise ArgumentError, "Endpoint should hbe string or regexp"
29
+ raise ArgumentError, "Endpoint should be string or regexp"
30
30
  end
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
  module Mock5
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.0.2".freeze
3
3
  end
@@ -30,7 +30,7 @@ describe Mock5::Api do
30
30
  it "can not be specified by anything else" do
31
31
  [false, :foo, 123].each do |invalid_endpoint|
32
32
  expect{ described_class.new(invalid_endpoint) }
33
- .to raise_error(ArgumentError)
33
+ .to raise_error(ArgumentError, "Endpoint should be string or regexp")
34
34
  end
35
35
  end
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mock5
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Pravosud