usable 3.7.0 → 3.7.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: 85a5d98a29cbcaf36c27e6d3a6589eaf70634d70
4
- data.tar.gz: 7870c49de78b222deef406fb651fab8699b31af3
3
+ metadata.gz: 0a5a38c4e6b7ce12dc8babbb63d9c8ebfca63619
4
+ data.tar.gz: 3657c1890f435d920a0e08429956f728fec8b330
5
5
  SHA512:
6
- metadata.gz: a08a319b8131e5c14aca95d31c35694ff7092723954151a7c459659c49ae3b1968446ba36842e5291c90c4ae9379c5592d3ebae8c099a87f10dbca431f5485c9
7
- data.tar.gz: f509d164aa06ee5cc710be5ce6f3a5b15234a80bd3377be0b9b7f1e3c8844c980e088c380e9d7d9c3ca8fb5a745a137189e4751e6dc3a384894e065bc5862dac
6
+ metadata.gz: 9581e053956c78d748cb59431395d569d059b52f5682834a2834ac53d136ca1b55561852bebf6626e1bcddc6dfd697c8890209df11d17a5040e4a6766cf8c9ec
7
+ data.tar.gz: b8b305ed5e491828febd8f68b0767bbed70425636b5196609700578a04c275103d7945ea0630730d04eb8d5b3cec97ae6a58adcdf705ae47f9868f53248ff6cd
@@ -1,3 +1,3 @@
1
1
  module Usable
2
- VERSION = "3.7.0".freeze
2
+ VERSION = "3.7.1".freeze
3
3
  end
data/lib/usable.rb CHANGED
@@ -76,6 +76,7 @@ module Usable
76
76
  end
77
77
 
78
78
  def extended(base)
79
+ return if base === self
79
80
  base.extend(Usable) unless base.respond_to?(:usables)
80
81
  Usable.copy_usables(self, base)
81
82
  super
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usable
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Buckley
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-31 00:00:00.000000000 Z
11
+ date: 2017-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler