steppy 1.0.7 → 1.0.8

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: 4e7195b7e0aef988445eaf85617e4d41233b3f82ceed0c9cd70f8a8c2a3b8258
4
- data.tar.gz: d150f42ed8b1e17b33aa61a878b9d872d1b3fcbf6591d2462ab330c12f678ae6
3
+ metadata.gz: 82aa52eb21593cafecc31ad8711e256e0ba8fa4f5c493100d3dea1e0752b257b
4
+ data.tar.gz: 066530ceb4b03b042496336f57053e56ee862e1fc865e64a060fa05380be0518
5
5
  SHA512:
6
- metadata.gz: a044b9529113dec27df97aba30aedd60fcd1aef7c8e2b8fd095106db0dc215e6858edbbbe089267f82e712979ff7300721c72506e296439fd5b04890b497f89f
7
- data.tar.gz: 3cda8da5ead04d0abe50ca74b3c42a9e722fb5cc77c0f84ff60c2fb28b57ba8992f55430ee7cdf394cfd0287a3f8aa5839602f83c1a2eb70013df6947989fd20
6
+ metadata.gz: df6ad212c6d68005bc97e763936b27ba34e35f1053e3b54ea02ede1674150d85757912c5da34bf2445b93f5c6c0c59236a20f3987b26907c8143165315d95fbf
7
+ data.tar.gz: e7274207d78f6bb53adc0ed990a6cb00e935f7b1167b623c642245a788d0989357e83dc64488c1d83e992bc80145324fc294737d9c457a39c63a0cdf7ebfd1d1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- steppy (1.0.7)
4
+ steppy (1.0.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -167,7 +167,7 @@ module Steppy
167
167
  def steppy_run_method(method_name, attributes)
168
168
  method = "#{steppy_cache[:prefix]}_#{method_name}"
169
169
 
170
- if method(method).arity > 0
170
+ if public_method(method).arity != 0
171
171
  public_send(method, attributes)
172
172
  else
173
173
  public_send(method)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Steppy
4
- VERSION = '1.0.7'
4
+ VERSION = '1.0.8'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steppy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj