dm-is-state_machine 1.1.0 → 1.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +8 -8
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/dm-is-state_machine.gemspec +22 -44
- metadata +65 -49
data/Gemfile
CHANGED
@@ -5,26 +5,26 @@ source 'http://rubygems.org'
|
|
5
5
|
SOURCE = ENV.fetch('SOURCE', :git).to_sym
|
6
6
|
REPO_POSTFIX = SOURCE == :path ? '' : '.git'
|
7
7
|
DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
|
8
|
-
DM_VERSION = '~> 1.
|
9
|
-
DO_VERSION = '~> 0.10.
|
8
|
+
DM_VERSION = '~> 1.2.0.rc1'
|
9
|
+
DO_VERSION = '~> 0.10.6'
|
10
10
|
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
|
11
11
|
|
12
12
|
gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
|
13
13
|
|
14
14
|
group :development do
|
15
15
|
|
16
|
-
gem 'jeweler', '~> 1.
|
17
|
-
gem 'rake', '~> 0.
|
18
|
-
gem 'rspec', '~> 1.3.
|
16
|
+
gem 'jeweler', '~> 1.6.4'
|
17
|
+
gem 'rake', '~> 0.9.2'
|
18
|
+
gem 'rspec', '~> 1.3.2'
|
19
19
|
|
20
20
|
end
|
21
21
|
|
22
22
|
platforms :mri_18 do
|
23
23
|
group :quality do
|
24
24
|
|
25
|
-
gem 'rcov', '~> 0.9.
|
26
|
-
gem 'yard', '~> 0.
|
27
|
-
gem 'yardstick', '~> 0.
|
25
|
+
gem 'rcov', '~> 0.9.10'
|
26
|
+
gem 'yard', '~> 0.7.2'
|
27
|
+
gem 'yardstick', '~> 0.4'
|
28
28
|
|
29
29
|
end
|
30
30
|
end
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0.rc1
|
data/dm-is-state_machine.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "1.
|
7
|
+
s.name = "dm-is-state_machine"
|
8
|
+
s.version = "1.2.0.rc1"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David James"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2011-09-09"
|
13
|
+
s.description = "DataMapper plugin for creating state machines"
|
14
|
+
s.email = "djwonk [a] collectiveinsight [d] net"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.rdoc"
|
@@ -56,53 +56,31 @@ Gem::Specification.new do |s|
|
|
56
56
|
"tasks/yard.rake",
|
57
57
|
"tasks/yardstick.rake"
|
58
58
|
]
|
59
|
-
s.homepage =
|
59
|
+
s.homepage = "http://github.com/datamapper/dm-is-state_machine"
|
60
60
|
s.require_paths = ["lib"]
|
61
|
-
s.rubyforge_project =
|
62
|
-
s.rubygems_version =
|
63
|
-
s.summary =
|
64
|
-
s.test_files = [
|
65
|
-
"spec/examples/invalid_events.rb",
|
66
|
-
"spec/examples/invalid_states.rb",
|
67
|
-
"spec/examples/invalid_transitions_1.rb",
|
68
|
-
"spec/examples/invalid_transitions_2.rb",
|
69
|
-
"spec/examples/light_switch.rb",
|
70
|
-
"spec/examples/slot_machine.rb",
|
71
|
-
"spec/examples/traffic_light.rb",
|
72
|
-
"spec/integration/inheritance_spec.rb",
|
73
|
-
"spec/integration/invalid_events_spec.rb",
|
74
|
-
"spec/integration/invalid_states_spec.rb",
|
75
|
-
"spec/integration/invalid_transitions_spec.rb",
|
76
|
-
"spec/integration/slot_machine_spec.rb",
|
77
|
-
"spec/integration/traffic_light_spec.rb",
|
78
|
-
"spec/spec_helper.rb",
|
79
|
-
"spec/unit/data/event_spec.rb",
|
80
|
-
"spec/unit/data/machine_spec.rb",
|
81
|
-
"spec/unit/data/state_spec.rb",
|
82
|
-
"spec/unit/dsl/event_dsl_spec.rb",
|
83
|
-
"spec/unit/dsl/state_dsl_spec.rb",
|
84
|
-
"spec/unit/state_machine_spec.rb"
|
85
|
-
]
|
61
|
+
s.rubyforge_project = "datamapper"
|
62
|
+
s.rubygems_version = "1.8.10"
|
63
|
+
s.summary = "DataMapper plugin for creating state machines"
|
86
64
|
|
87
65
|
if s.respond_to? :specification_version then
|
88
66
|
s.specification_version = 3
|
89
67
|
|
90
68
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
91
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.
|
92
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.
|
93
|
-
s.add_development_dependency(%q<rake>, ["~> 0.
|
94
|
-
s.add_development_dependency(%q<rspec>, ["~> 1.3.
|
69
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
|
70
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
71
|
+
s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
|
72
|
+
s.add_development_dependency(%q<rspec>, ["~> 1.3.2"])
|
95
73
|
else
|
96
|
-
s.add_dependency(%q<dm-core>, ["~> 1.
|
97
|
-
s.add_dependency(%q<jeweler>, ["~> 1.
|
98
|
-
s.add_dependency(%q<rake>, ["~> 0.
|
99
|
-
s.add_dependency(%q<rspec>, ["~> 1.3.
|
74
|
+
s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
|
75
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
76
|
+
s.add_dependency(%q<rake>, ["~> 0.9.2"])
|
77
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.2"])
|
100
78
|
end
|
101
79
|
else
|
102
|
-
s.add_dependency(%q<dm-core>, ["~> 1.
|
103
|
-
s.add_dependency(%q<jeweler>, ["~> 1.
|
104
|
-
s.add_dependency(%q<rake>, ["~> 0.
|
105
|
-
s.add_dependency(%q<rspec>, ["~> 1.3.
|
80
|
+
s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
|
81
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
82
|
+
s.add_dependency(%q<rake>, ["~> 0.9.2"])
|
83
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.2"])
|
106
84
|
end
|
107
85
|
end
|
108
86
|
|
metadata
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-is-state_machine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 15424023
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 1.2.0.rc1
|
6
13
|
platform: ruby
|
7
14
|
authors:
|
8
15
|
- David James
|
@@ -10,53 +17,74 @@ autorequire:
|
|
10
17
|
bindir: bin
|
11
18
|
cert_chain: []
|
12
19
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
20
|
+
date: 2011-09-09 00:00:00 Z
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
|
-
|
18
|
-
|
23
|
+
type: :runtime
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
19
25
|
none: false
|
20
26
|
requirements:
|
21
27
|
- - ~>
|
22
28
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
29
|
+
hash: 15424023
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 2
|
33
|
+
- 0
|
34
|
+
- rc
|
35
|
+
- 1
|
36
|
+
version: 1.2.0.rc1
|
25
37
|
prerelease: false
|
26
|
-
|
38
|
+
requirement: *id001
|
39
|
+
name: dm-core
|
27
40
|
- !ruby/object:Gem::Dependency
|
28
|
-
|
29
|
-
|
41
|
+
type: :development
|
42
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
30
43
|
none: false
|
31
44
|
requirements:
|
32
45
|
- - ~>
|
33
46
|
- !ruby/object:Gem::Version
|
34
|
-
|
35
|
-
|
47
|
+
hash: 7
|
48
|
+
segments:
|
49
|
+
- 1
|
50
|
+
- 6
|
51
|
+
- 4
|
52
|
+
version: 1.6.4
|
36
53
|
prerelease: false
|
37
|
-
|
54
|
+
requirement: *id002
|
55
|
+
name: jeweler
|
38
56
|
- !ruby/object:Gem::Dependency
|
39
|
-
|
40
|
-
|
57
|
+
type: :development
|
58
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
41
59
|
none: false
|
42
60
|
requirements:
|
43
61
|
- - ~>
|
44
62
|
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
63
|
+
hash: 63
|
64
|
+
segments:
|
65
|
+
- 0
|
66
|
+
- 9
|
67
|
+
- 2
|
68
|
+
version: 0.9.2
|
47
69
|
prerelease: false
|
48
|
-
|
70
|
+
requirement: *id003
|
71
|
+
name: rake
|
49
72
|
- !ruby/object:Gem::Dependency
|
50
|
-
|
51
|
-
|
73
|
+
type: :development
|
74
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
52
75
|
none: false
|
53
76
|
requirements:
|
54
77
|
- - ~>
|
55
78
|
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
79
|
+
hash: 31
|
80
|
+
segments:
|
81
|
+
- 1
|
82
|
+
- 3
|
83
|
+
- 2
|
84
|
+
version: 1.3.2
|
58
85
|
prerelease: false
|
59
|
-
|
86
|
+
requirement: *id004
|
87
|
+
name: rspec
|
60
88
|
description: DataMapper plugin for creating state machines
|
61
89
|
email: djwonk [a] collectiveinsight [d] net
|
62
90
|
executables: []
|
@@ -105,7 +133,6 @@ files:
|
|
105
133
|
- tasks/spec.rake
|
106
134
|
- tasks/yard.rake
|
107
135
|
- tasks/yardstick.rake
|
108
|
-
has_rdoc: true
|
109
136
|
homepage: http://github.com/datamapper/dm-is-state_machine
|
110
137
|
licenses: []
|
111
138
|
|
@@ -119,38 +146,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
146
|
requirements:
|
120
147
|
- - ">="
|
121
148
|
- !ruby/object:Gem::Version
|
149
|
+
hash: 3
|
150
|
+
segments:
|
151
|
+
- 0
|
122
152
|
version: "0"
|
123
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
154
|
none: false
|
125
155
|
requirements:
|
126
|
-
- - "
|
156
|
+
- - ">"
|
127
157
|
- !ruby/object:Gem::Version
|
128
|
-
|
158
|
+
hash: 25
|
159
|
+
segments:
|
160
|
+
- 1
|
161
|
+
- 3
|
162
|
+
- 1
|
163
|
+
version: 1.3.1
|
129
164
|
requirements: []
|
130
165
|
|
131
166
|
rubyforge_project: datamapper
|
132
|
-
rubygems_version: 1.
|
167
|
+
rubygems_version: 1.8.10
|
133
168
|
signing_key:
|
134
169
|
specification_version: 3
|
135
170
|
summary: DataMapper plugin for creating state machines
|
136
|
-
test_files:
|
137
|
-
|
138
|
-
- spec/examples/invalid_states.rb
|
139
|
-
- spec/examples/invalid_transitions_1.rb
|
140
|
-
- spec/examples/invalid_transitions_2.rb
|
141
|
-
- spec/examples/light_switch.rb
|
142
|
-
- spec/examples/slot_machine.rb
|
143
|
-
- spec/examples/traffic_light.rb
|
144
|
-
- spec/integration/inheritance_spec.rb
|
145
|
-
- spec/integration/invalid_events_spec.rb
|
146
|
-
- spec/integration/invalid_states_spec.rb
|
147
|
-
- spec/integration/invalid_transitions_spec.rb
|
148
|
-
- spec/integration/slot_machine_spec.rb
|
149
|
-
- spec/integration/traffic_light_spec.rb
|
150
|
-
- spec/spec_helper.rb
|
151
|
-
- spec/unit/data/event_spec.rb
|
152
|
-
- spec/unit/data/machine_spec.rb
|
153
|
-
- spec/unit/data/state_spec.rb
|
154
|
-
- spec/unit/dsl/event_dsl_spec.rb
|
155
|
-
- spec/unit/dsl/state_dsl_spec.rb
|
156
|
-
- spec/unit/state_machine_spec.rb
|
171
|
+
test_files: []
|
172
|
+
|