state_objects 0.0.6 → 0.0.7

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.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
+ ## 0.0.7
2
+ Fixed typos
3
+
1
4
  ## 0.0.6
2
5
  * adding scope with _occurs. For example:
3
- scope :red, where(WalkLight.color_state_red_occurs ) # => "(status_option ='R')"
6
+ scope :red, where(WalkLight.color_state_red_occurs ) # => "(color_state ='R')"
4
7
 
5
8
  ## v0.0.5
6
9
  * (Yanked)
data/README.md CHANGED
@@ -120,9 +120,8 @@ adds the following INSTANCE METHODS to WalkLight
120
120
 
121
121
  ### Example #4: adding scope with _occurs
122
122
  It's now easy to add scopes with using _occurs, which will generate your where statement for you.
123
-
124
- scope :red, where(WalkLight.color_state_red_occurs ) # => "(status_option ='R')"
125
- scope :green, where(WalkLight.color_state_green_occurs ) # => "(status_option ='G')"
123
+ scope :red, where(WalkLight.color_state_red_occurs ) # => "(color_state ='R')"
124
+ scope :green, where(WalkLight.color_state_green_occurs ) # => "(color_state ='G')"
126
125
 
127
126
  ## Contributing
128
127
 
@@ -1,3 +1,3 @@
1
1
  module StateObjects
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: state_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: