snfoil 0.5.4 → 0.5.5

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: 8691b33751a878d5963ff71517fc31a11e75d2be79fa5816155f62f13d490042
4
- data.tar.gz: c97c4b4f5e17ccb51ba00bfca92e17243c93e591ee1e7967021bedeb8db3d5ce
3
+ metadata.gz: 272fc63879df9b9d3e112dcc8e73638a85a1a75f2faab91530e20fb888cf6c80
4
+ data.tar.gz: 6e5994391f96c17b4016f55e2c52c1cb1fff935c6dfdb05d20572e0232bdbd6b
5
5
  SHA512:
6
- metadata.gz: d40b1751013aa15d36752126f8d0950c38b53c370ec6be45b62a7ebbcfd6744bd17803dd63b3e32dba5659e07c54b5b67e5c594adc07341bd2f156344cd545b3
7
- data.tar.gz: 8c17c0a10e1fa7507596ea19d34a4af9ca3c718e21b14bc200ef55c6f0afa18e2ecd5a999631caa67b0a67bf6eca269cab4671c9cc57252306b59366a1375cc7
6
+ metadata.gz: 90fc1492c594aabe7dc780fc341c3e3fb3d12a7c264b6e85fb08c3bfebd45a69d2cd87a0903e02c979e43c6909f7e5a9c32c39d8cc5f66edf2af541b2182dba6
7
+ data.tar.gz: 1f08ef48c2509a37f25016d9d5ca2e2e0b34bd828180d16e46f42715820690a0ee950e55c869079209f2fe604ab8f6671ddccb7fd1a8cc8592d330bbf0b33bda
@@ -26,6 +26,10 @@ module SnFoil
26
26
  def attributes=(attributes)
27
27
  __getobj__.attributes = attributes
28
28
  end
29
+
30
+ def is_a?(klass)
31
+ __getobj__.class.object_id == klass.object_id
32
+ end
29
33
  end
30
34
  end
31
35
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SnFoil
4
- VERSION = '0.5.4'
4
+ VERSION = '0.5.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snfoil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Howes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-07-01 00:00:00.000000000 Z
12
+ date: 2020-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport