pretends_like_state_machine 0.0.4 → 0.0.5

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: ea74912e1e769da6a1fc6f6909f0a512560f1093
4
- data.tar.gz: de569507a2fe63fd628070a02e62cb8053d01246
3
+ metadata.gz: df7e55a0872b6d433426eba644e39dbffb02b5cb
4
+ data.tar.gz: 352c3e6847e20a94d3c01091f42f65876d8c8287
5
5
  SHA512:
6
- metadata.gz: 9a965740cd39f01cc0c4c3a4d31bce4f7e4d089f179beabc32fb915cb5f8871207e48dcc52c4329307b3959cdb0c425f8756fe2e740eb7979b62b9bc006af4ef
7
- data.tar.gz: d72b0dfa974bd64f7ce6cd3a3ba9868c45e065eafdfde0dc1238ca70f39c0e001b43860aa8fee079b65b06163d13230916db326e90a6887da5bd3a68d847e0e2
6
+ metadata.gz: af91d6e921ef943c278c5b85bbb44ddd166c27d9523bcf2ecd82621eb79b45effa07a6d688dd7b72e507e5217918ae4068f4c3a912ae04ec9f680192ec499adf
7
+ data.tar.gz: 44f6a61a3b40dfb914cf811c77f9db780ad0e87c7cf1b3460cd07ff88667b2b90a64f69f0b9b2fa323bf7e7c92bcfe37a863a1afca25ca694b99bfeaeede5ae3
@@ -8,7 +8,7 @@ module PretendsLikeStateMachine
8
8
 
9
9
  options[:states].each do |state|
10
10
  define_method("#{state}!") do
11
- set(:state, state)
11
+ set(state: state)
12
12
  end
13
13
 
14
14
  define_method("#{state}?") do
@@ -1,3 +1,3 @@
1
1
  module PretendsLikeStateMachine
2
- VERSION = "0.0.4"
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretends_like_state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Torrecilla