safettp 0.2.0 → 0.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: adc752b44ac151fa6a93702094861e00cce98442
4
- data.tar.gz: de254e78e0e26ab118cb72ead678d7e059fa596d
3
+ metadata.gz: 79b911d2389ff05c9d950304fda9e891d95c93f7
4
+ data.tar.gz: df6ed7d52265889ee084eac7e418afd5e262c1ff
5
5
  SHA512:
6
- metadata.gz: ab4ed01599f49747b74a900a1940bf9c5c6b2b2b5a41546f2fb6500ca3b4e1d3da494cefd42e9376ac58949f4436bdb5cab0f7348ea98208b5b016dbd7f91570
7
- data.tar.gz: 42d11540ef5530da04f22a67d23007d04da1875d2a8ae481e8b5633538d15eaa08709849ac9ed1e870ff4571ec6391da0714778c06ad80618463f217b011df06
6
+ metadata.gz: 32e69bb00b3cdaa33f58dcdd54a67de19419b9dbec5999e034266932e5808192a1f9ae445f5ac9dcec17de2c9e5bc7c6037d2684e08406e3f450b30bbf02e927
7
+ data.tar.gz: daf81fba6cd444576cd37441ae92cabc26a5050bb7e3121009a0533560cc7671eca6143faa53a4266a522da1d9b7e016f434c88e09f21706c3428b85699eedb6
@@ -46,7 +46,7 @@ module Safettp::Client
46
46
  base.extend(ClassMethods)
47
47
 
48
48
  %i[get post put patch delete].each do |method|
49
- define_method(method) do |uri_suffix, options, &block|
49
+ define_method(method) do |uri_suffix, options = {}, &block|
50
50
  perform(method, uri_suffix, options, &block)
51
51
  end
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module Safettp
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safettp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emric