jsender 0.1.1 → 0.1.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -0
  3. data/lib/jsender/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e13bd362c7cce69c241a3a1446528392474d7a80
4
- data.tar.gz: 504901bd1605a457aa7024450df95a90dd689d9d
3
+ metadata.gz: 682b13b42b3e8704bcc8b24c20f94c596c937219
4
+ data.tar.gz: 5e6270d09e74ec0aab05167814bc71fa06990bce
5
5
  SHA512:
6
- metadata.gz: 915f383ac9d8a6376d08593d62ef4c98fd8748bc9d20c0f4960691b74b2cdc134dbf42f9a8afeeec15a614946886ad4af1e92ae8f8030421f55cc107369d1a4a
7
- data.tar.gz: 076433744e0a3135623ea77ef34b9f9d6723b03ab8eb4e40204af74dcfdf39141dd8ca808a2b5988866f9b233a9cea98ea3e528ed85492f693ea612a58b4b88c
6
+ metadata.gz: cb82eb37911d290ff83e3d39bd3a9fa267eb1b88b1bacefadfee6d6eeef543da9c7efd5dbd9e1b8305040455f64187920bb5e631c60e0094d29211c768772a01
7
+ data.tar.gz: f4e81e85cbeef060b72732d0b0eedffd736557854a864e3daf28dd377a8e438284bfc129827a66918b1c89b622a12ec116a8d820367c30705a74137b52ffcb29
data/README.md CHANGED
@@ -67,6 +67,18 @@ Or install it yourself as:
67
67
 
68
68
  iut.action(0)
69
69
  => {"status"=>"fail", "data"=>{"result"=>nil, "notifications"=>["fail"]}}
70
+
71
+ iut.has_data?(result, 'a')
72
+ => true
73
+ iut.has_data?(result, 'z')
74
+ => false
75
+
76
+ result = iut.action(6)
77
+ iut.notifications_include?(result, "ail")
78
+ => true
79
+ iut.notifications_include?(result, "not")
80
+ => false
81
+
70
82
  ```
71
83
 
72
84
  ## Development
@@ -1,3 +1,3 @@
1
1
  module Jsender
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst van Graan