cooperator 0.2.2 → 0.2.3

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: 8f341b90eda31286aff66b4d4211f86046672463
4
- data.tar.gz: 7c3f956e40d77c7b976a815746f1230537fc9730
3
+ metadata.gz: cd639f42458a575db4b58329a67b20c989540f1f
4
+ data.tar.gz: bbdaebba6ac71a33832956b1d84c4044abe2c643
5
5
  SHA512:
6
- metadata.gz: daeb2d49595dc715886ddc67ce64fa6d2d93c2d05c2f07e5ac6ece45fecf1708cbf33f5e1716959c4219ebec01dcc2bb153d4841a69145bd186b4e38993cfc4e
7
- data.tar.gz: 0c5732021951f7483fadd2a3f488d4c082662867d0da41887a0ed5eb9ee238a1743c2f1f081b4843ef8f1147bcda416c65a65359f7ef21f437545555e2b61361
6
+ metadata.gz: 5d9e7ca38cfe217b3364ac460ffa61fb70905cfd108af51e7e45ed176f556e14f6c9057fd3283419fb52541716e74024dbc94e9978d35b849f8c2854b418118e
7
+ data.tar.gz: ad07830f21a26cee8ccdce29ea79ad478378e4164640ebc5e493d163f4f8eb28185d695c2fccf6675b13c8b9c825a7dab9c5cce600ecf8153e57efcc88c2195f
@@ -1,3 +1,3 @@
1
1
  module Cooperator
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
data/lib/cooperator.rb CHANGED
@@ -47,7 +47,7 @@ module Cooperator
47
47
 
48
48
  def perform(context = {})
49
49
  expected.each do |property|
50
- raise Exception, "missing expected property: #{expect}" unless context.include? expect
50
+ raise Exception, "missing expected property: #{property}" unless context.include? property
51
51
  end
52
52
 
53
53
  action = new context
@@ -57,7 +57,7 @@ module Cooperator
57
57
  end
58
58
 
59
59
  committed.each do |property|
60
- raise Exception, "missing committed property: #{expect}" unless context.include? expect
60
+ raise Exception, "missing committed property: #{property}" unless context.include? property
61
61
  end
62
62
 
63
63
  action.context
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cooperator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erol Fornoles