openhab-scripting 3.6.3 → 3.6.4

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: b658ce46fd8c6b42e10fa6b84401a94e30edfd8b80604a7d61bb2e951841e090
4
- data.tar.gz: 81b519605e1d6681e3857a513e8bb6a3a9029c14d2800a6418dc766632dce4c8
3
+ metadata.gz: 781c6dc088d4de8ff0220c44e5f1985b6dce89d8579cbfc268dc6e2a750340b5
4
+ data.tar.gz: 92474c9a60e792b1c271f2452276cbdf9a5c7279e8a2913e6f88ca80b6aa7a1f
5
5
  SHA512:
6
- metadata.gz: 660e0548fa2f81c2e0f9975a1ce75fc39b48d8918ce64c93b79f9b5f6cbb738e11f9a227021f582b08d59c940882b25e429e3fca32f68272a97a41561fac257e
7
- data.tar.gz: 38e028af8fe9abffb589ad0e022f56d58090064c212257df6de50e66ede18e3d14d7d48880570c1f4860259319d4944d8d093f7caccea0db1b229a108a0f853c
6
+ metadata.gz: 9fc179dd14e9639c7734f7e91e44fdcb0a9fbbc7526f7a18897b9b7849624f55557369a7fd7f30b79c8581967dc76c3c0c7affde66ee1e702df4fabe0861a364
7
+ data.tar.gz: cb8a8e31a9ef8ced5f0c1a0c2e51c0f5c308b6789137fd079951f7874829910c73e8ebe913179690a9c8e8fba28340921472f390abeea1eee4c9a6b42a4f8138
@@ -42,6 +42,8 @@ module OpenHAB
42
42
  def_delegator item, method
43
43
  end
44
44
  define_method(:oh_item) { instance_variable_get(item) }
45
+ define_method(:hash) { oh_item.hash_code }
46
+ define_method(:eql?) { |other| hash == other.hash }
45
47
  end
46
48
 
47
49
  #
@@ -5,5 +5,5 @@
5
5
  #
6
6
  module OpenHAB
7
7
  # @return [String] Version of OpenHAB helper libraries
8
- VERSION = '3.6.3'
8
+ VERSION = '3.6.4'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openhab-scripting
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.3
4
+ version: 3.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian O'Connell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-03 00:00:00.000000000 Z
11
+ date: 2021-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler