resol 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
  SHA256:
3
- metadata.gz: 243b5c0d3e3a14a705dd6c8237603d161e55e10120df472d84287f6096e35b0c
4
- data.tar.gz: 45f4d69cb14396375d667d1ec9842fefe546c0c518c8beb233fb5feeeacd4376
3
+ metadata.gz: ace6271ca99729b99ebf4828dd8915078834d010d883ee14e71f98ac28534602
4
+ data.tar.gz: c3c864c2622e681e0dba5bae64020083a7754604ed0f67623779cc73fc324a9a
5
5
  SHA512:
6
- metadata.gz: f5901ddb1f9f04dce2129944e1a83fac1477dd883b1ffa56aa1c083afba425e73976439ac5da81e9dc3f323cc3180283b449d94381ea9595cb5e33ab2460bf9c
7
- data.tar.gz: 423785b253f1d54678aa45cff5b99eb2c627f080f74b437c75468c5914dbe87529af4bd564caeab90b9beea240fb9678c596c8c0716ad6c6bbee969ef54c6f2b
6
+ metadata.gz: dcbbc7fc8aed320aae8dbc8134ba1bf04b9226bb0555d49889777ba72f113b215a31986168a6248ab1d3001619ac3ba0f5c82f63aaed8db143f7f9f4aced4930
7
+ data.tar.gz: 01ff693499b76bad144bdd215e1709db905b0ceedb6d805ebc4796538dcc96c0e1213623e0dec0b337da649d4b409a703a2dde01d2df5b6c8a877d402dfd0968
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ *.gem
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- resol (0.2.0)
4
+ resol (0.2.1)
5
5
  smart_initializer (~> 0.5)
6
6
  uber (~> 0.1)
7
7
 
data/lib/resol/builder.rb CHANGED
@@ -8,11 +8,11 @@ module Resol
8
8
  end
9
9
 
10
10
  module ClassMethods
11
- def build_klass(*args, **kwargs)
11
+ def build_klass(*args)
12
12
  klass = self
13
13
 
14
14
  loop do
15
- new_klass = klass.build!(klass, *args, **kwargs)
15
+ new_klass = klass.build!(klass, *args)
16
16
  break if new_klass == klass
17
17
 
18
18
  klass = new_klass
data/lib/resol/service.rb CHANGED
@@ -49,8 +49,8 @@ module Resol
49
49
  super
50
50
  end
51
51
 
52
- def call(*args, **options, &block)
53
- command = build(*args, **options)
52
+ def call(*args, &block)
53
+ command = build(*args)
54
54
  command.call(&block)
55
55
 
56
56
  error_message = "No success! or fail! called in the #call method in #{command.class}"
data/lib/resol/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Resol
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resol
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
  - Aleksei Bespalov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-12 00:00:00.000000000 Z
11
+ date: 2021-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: smart_initializer