state_machine 0.5.1 → 0.5.2

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.
@@ -66,7 +66,7 @@ class StateTest < Test::Unit::TestCase
66
66
  end
67
67
 
68
68
  def test_should_use_pretty_inspect
69
- assert_equal '#<StateMachine::State name=:parked value="parked" initial=false>', @state.inspect
69
+ assert_equal '#<StateMachine::State name=:parked value="parked" initial=false context=[]>', @state.inspect
70
70
  end
71
71
  end
72
72
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Pfeifer
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-11 00:00:00 -05:00
12
+ date: 2009-02-17 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -50,6 +50,7 @@ files:
50
50
  - lib/state_machine/state.rb
51
51
  - lib/state_machine/state_collection.rb
52
52
  - lib/state_machine/assertions.rb
53
+ - lib/state_machine/matcher.rb
53
54
  - lib/state_machine/machine.rb
54
55
  - lib/state_machine.rb
55
56
  - test/sequel.log
@@ -61,6 +62,7 @@ files:
61
62
  - test/classes/switch.rb
62
63
  - test/unit
63
64
  - test/unit/node_collection_test.rb
65
+ - test/unit/matcher_test.rb
64
66
  - test/unit/integrations
65
67
  - test/unit/integrations/data_mapper_test.rb
66
68
  - test/unit/integrations/active_record_test.rb
@@ -111,6 +113,7 @@ summary: Adds support for creating state machines for attributes on any Ruby cla
111
113
  test_files:
112
114
  - test/functional/state_machine_test.rb
113
115
  - test/unit/node_collection_test.rb
116
+ - test/unit/matcher_test.rb
114
117
  - test/unit/integrations/data_mapper_test.rb
115
118
  - test/unit/integrations/active_record_test.rb
116
119
  - test/unit/integrations/sequel_test.rb