solidstate 0.4.0 → 0.4.1

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: 1c6122af4d0c25f9d7f471e01e1218bbc3412736
4
- data.tar.gz: 3a839b2b68a1fc5b7e722f47ca140bdf3f5046df
3
+ metadata.gz: 177f13added0c1e49799aaa760f19cb3413d5bfd
4
+ data.tar.gz: ea4af1520e043f61ec8db56da88e7ee8fe4770a1
5
5
  SHA512:
6
- metadata.gz: fc5fd9a1496f46095faca46dbf7fb314c309a9dc27b43d326c9b72dc12452493462f215194f3c62866f292b532385517936c02f978c1109328e260eaf19bcba1
7
- data.tar.gz: d2c6724403fd42662823d1a99e6bf0b01b51f1c4902decdf39f0e07d60884e08a3492610e614e5c0644d1e6f0787ea5941056cde5312bbfb9e3f350630951521
6
+ metadata.gz: a175bbbf921917ee2b46b48c871fb4e3ec85117ac5457935fb3c19de15abde6f05459f9621e2e5ae3b66fcbd0430c2d62ce15bc61f1fc5cc97a9677ba6dd0841
7
+ data.tar.gz: 48e76aa6f70927bd3c85e617474efb82a2f1c0a470ea9f4857798ca171c178cec913eab93cd1c85005d2eed2dada8068d55a66d39a0274179282ed3ba842ab3d
data/lib/solidstate.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'active_support/concern'
2
- require 'active_support/core_ext/module'
3
2
 
4
3
  module SolidState
5
4
  extend ActiveSupport::Concern
@@ -8,10 +7,9 @@ module SolidState
8
7
 
9
8
  STATE_ATTRIBUTE = :state.freeze
10
9
 
11
- mattr_accessor :possible_states
12
- mattr_accessor :state_transitions
13
-
14
10
  module ClassMethods
11
+ attr_accessor :possible_states
12
+ attr_accessor :state_transitions
15
13
 
16
14
  def states(*list, &block)
17
15
  list = list.collect(&:to_s)
data/solidstate.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "solidstate"
5
- s.version = '0.4.0'
5
+ s.version = '0.4.1'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ['Tomás Pollak']
8
8
  s.email = ['tomas@forkhq.com']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidstate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak