corn_starch 1.9.35 → 1.9.36

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfb7bc76d9c5bd6b6245e39782c39c772b2e884e
4
- data.tar.gz: 5c8ea870877ea544157ceb1a91462258255920d1
3
+ metadata.gz: 8d96654e29272c7705c0521d7285d22b821ba5f3
4
+ data.tar.gz: 8786ca341a3b1aa1653f59e24910edf146a97200
5
5
  SHA512:
6
- metadata.gz: 0538eca55686973e83a5dca2251b83796763c15e7956be72ebc8d24bfdbf40577d7c58669e79452f61d7e1b06d13640c863598279e7b8dab4b9227fe3eabc08f
7
- data.tar.gz: 78dc0ede5c6084ef436bc3b23b57f911cf18f954a7af08f4364fbab3837a4eee374d87f104beb86650b7c8455d23809b6789eda3d24306decf4e800fadf9868d
6
+ metadata.gz: f0c23194d3a4e95e172e3ef98aa156e6e533291da579d56ccb9f1dab212fefbbcd7930926a95efdad582afaa751c6a9cc8cf047e60de1ea4d0506ccdb68409d5
7
+ data.tar.gz: 3f7ea8441f91f4fc8b049df35bdd06917dd355f3f99fbeeba670e79c4cd0b27eb6917ab7d59993b100473c396a9c287eef020c5588359f038ab62b04ed34a6fb
@@ -267,13 +267,13 @@ module CornStarch
267
267
  end
268
268
 
269
269
  # Build Notification
270
- def notify key, head_hash = nil, body_hash = nil
270
+ def notify key, body_hash = nil, head_hash = nil
271
271
  { head: t("#{key}.head", head_hash), body: t("#{key}.body", body_hash) }
272
272
  end
273
273
 
274
274
  # Build Pass / Fail Notification
275
- def notify_res key, res, head_hash = nil, body_hash = nil
276
- Hash[[:pass, :fail].map { |r| notify "#{key}.#{r}", head_hash, body_hash }][res]
275
+ def notify_res key, res, body_hash = nil, head_hash = nil
276
+ Hash[[:pass, :fail].map { |r| notify "#{key}.#{r}", body_hash, head_hash }][res]
277
277
  end
278
278
 
279
279
  # Build Access-Denied Notification
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.35'
2
+ VERSION = '1.9.36'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.35
4
+ version: 1.9.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse