shapeable 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6bf89f4b033d1bad264640bad6be1eea9177632
4
- data.tar.gz: d937e75bd1809bd54fd5cebc50a369dd5742dbb7
3
+ metadata.gz: 3165aabd763d034c800bb2e6517191209a3ad056
4
+ data.tar.gz: 11d8d116d10377c6935c2c64cb76db1836b119c9
5
5
  SHA512:
6
- metadata.gz: 6277596c7f1b4d7e14a2657090e5294545f4b84d219f77b2b5f74bc1cdb0c370d3ed504393c84aeb20cf600f128ec7aba924bb2aae05aef68359301d95c831f2
7
- data.tar.gz: 9399faab9a860b95bc83cf8b048a11590db088630630a35dfed0d4287c827d85fccacf4a9833e6610566b6678b515dbe119c7f1e845badf57ddfe40cdb68f575
6
+ metadata.gz: d51ffba78aa80a3d694a51c00ee2beb8c8ef8e79b2dd69da214514a2eec8685490ab53d2fe6ac6f27db21abebc60aab4607c4feba42230c92496508b9f6776cb
7
+ data.tar.gz: b3165394b678285a40d6eda49f11b9575ae88d86ee2a4942459242f6653106b3b7d358026d524026a142171e3dc44b67d3a2bc933db4522684d4530059fb1b79
data/lib/shapeable.rb CHANGED
@@ -4,7 +4,7 @@ module Shapeable
4
4
 
5
5
  def acts_as_shapeable(**opts)
6
6
 
7
- normalize_options(opts)
7
+ normalize_shapeable_options(opts)
8
8
  acts_as_shapeable_opts = opts || {}
9
9
 
10
10
  define_method(:shape) do |opts|
@@ -32,7 +32,7 @@ module Shapeable
32
32
 
33
33
  private
34
34
 
35
- def normalize_options(opts)
35
+ def normalize_shapeable_options(opts)
36
36
  opts.keep_if do |k, _v|
37
37
  [:path, :default_shape, :default_version].include?(k)
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Shapeable
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shapeable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn O'Mara