foreign_office 0.5.0 → 0.5.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: 612064b876d728a15430046d4f247a756862135c
4
- data.tar.gz: 34eb73938ba695edbd8d4551ca51de5591d83bf5
3
+ metadata.gz: 4e2b52052bca73113da226bf02596a9b4015937f
4
+ data.tar.gz: e074abc062d6143a158bb4a2e924cc624da75880
5
5
  SHA512:
6
- metadata.gz: 89f21b878d416a1bc283b9b7e343f8979f5f604a08ff0a691569ebe3db19b613fee57b0fd9d828b76113f113d6f6234d6b350895fe5de021971f03283523160b
7
- data.tar.gz: 5c8660a7b65ff6e35564965f68d03298ed6ad6b177fa0a1231f12d8ec8b86e2198e825a8da1b0e5d12d8bb2e9aed68cedb3dbd4747dcdd1116f5ff5ad8e0a371
6
+ metadata.gz: 1d8737c1e7b9799b0abc8a57a1e4eb83195f9bba8746c3dfd0db7e4202f05e766c3eea7f6f31ff1a132764d575f380c4b0313be6d91fb3b971d23b495022b268
7
+ data.tar.gz: 8c701305f244b8d4d3901d4c96138c74dd485a22f83b3025a14903be62f6b551926dd0adabef401468e38fbf943e41f6e5b99266d8a45f519a5249052595dad8
@@ -11,12 +11,11 @@ module ForeignOffice
11
11
  data_attrs += " data-sub-type=#{subtype}" if subtype
12
12
  data_attrs
13
13
  end
14
- end
15
14
 
16
- def listener_hash(resource, key, reveal_hide: false)
17
- hash = {listener: true, channel: resource.class.name + resource.id.to_s, key: key}
18
- hash[:reveal_hide] = true if reveal_hide
19
- hash
15
+ def listener_hash(resource, key, reveal_hide: false)
16
+ hash = {listener: true, channel: resource.class.name + resource.id.to_s, key: key}
17
+ hash[:reveal_hide] = true if reveal_hide
18
+ hash
19
+ end
20
20
  end
21
-
22
21
  end
@@ -1,3 +1,3 @@
1
1
  module ForeignOffice
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreign_office
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut