simplestate 0.1.4 → 0.1.5

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: dc65445caaa1cac7f1bd911084c8e37f488ec29f
4
- data.tar.gz: a41b3380697b0a2ede4571e914a1f5d42e0ab5fc
3
+ metadata.gz: d112b16da786eec56a258dba6031c78e370c59d8
4
+ data.tar.gz: f4717d6e3243a83347a9dc2010dd23f072feb724
5
5
  SHA512:
6
- metadata.gz: b2f89ec0b6bc96f99f6d1948eec4b21e39d44928b52ac2b622d13b05d86b2ae665fc92a38724516a74102833159a9c2c5b85c1cdb4bf3bc0042700c748874926
7
- data.tar.gz: 01c95d3b96244ca3f7a0b335733500ac6caa85a656d82df741ca378a8304db65c3fd4f4cc39cabb233574d23143b87f1655172452337b2d7dfd7eb853794da60
6
+ metadata.gz: dc2f8770808bd5760dd651d25a2ade1821f3c4218e6a983bceb686180e9e173597c16686b2d5d5e35dcc45d76e37ee789c5b2b610cca8115eec1d79d8dde1838
7
+ data.tar.gz: 7b385cd353bc7f6ce4b47ebebc3284aa54f044e1aca52ef3b06eb1a6ba38fda43d27d1b476139d985c8c22a6612d40ca521391318a0891c55570ecdf30986663
data/README.md CHANGED
@@ -38,7 +38,7 @@ class Button < StateHolder
38
38
  # button methods here
39
39
  end
40
40
  ```
41
- If you want to set additional attributes at creation of a new button, new is called with an opts hash. Set the attribute from the opts hash in initialize. You !must! call super if you provide an initialize method in your holder class.
41
+ If you want to set additional attributes at creation of a new button, new is called with an opts hash. Set the attribute from the opts hash in initialize. You *must* call super if you provide an initialize method in your holder class.
42
42
 
43
43
  Inherit from State to create a class to provide specific state behaviors:
44
44
 
@@ -63,14 +63,14 @@ private
63
63
  end
64
64
  end
65
65
  ```
66
- The subclassed state may provide !private! enter and exit methods. Any other state methods intended to be available via a call to that method on the state holder must be public. #enter and #exit will always be called appropriately during state transitions.
66
+ The subclassed state may provide *private* enter and exit methods. Any other state methods intended to be available via a call to that method on the state holder must be public. #enter and #exit will always be called appropriately during state transitions.
67
67
 
68
68
  A state has access to methods on the state holder via #holder:
69
69
 
70
70
  ```ruby
71
71
  holder.a_special_holder_method
72
72
  ```
73
- Creation of a holder instance !must! specify the initial state class:
73
+ Creation of a holder instance *must* specify the initial state class:
74
74
 
75
75
  ```ruby
76
76
  button = Button.new(initial_state_class: Off)
@@ -1,3 +1,3 @@
1
1
  module Simplestate
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplestate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitchell C Kuppinger