journey 1.0.0.rc4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/journey.gemspec +12 -13
- data/lib/journey/router.rb +1 -1
- metadata +63 -104
data/journey.gemspec
CHANGED
@@ -1,46 +1,45 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "1.0.0.
|
4
|
+
s.name = "journey"
|
5
|
+
s.version = "1.0.0.20120112111444"
|
6
6
|
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Aaron Patterson"]
|
9
|
-
s.date =
|
10
|
-
s.description =
|
9
|
+
s.date = "2012-01-12"
|
10
|
+
s.description = "Journey is a router. It routes requests."
|
11
11
|
s.email = ["aaron@tenderlovemaking.com"]
|
12
12
|
s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.rdoc", "README.rdoc"]
|
13
13
|
s.files = [".autotest", ".gemtest", ".travis.yml", "CHANGELOG.rdoc", "Gemfile", "Manifest.txt", "README.rdoc", "Rakefile", "journey.gemspec", "lib/journey.rb", "lib/journey/backwards.rb", "lib/journey/core-ext/hash.rb", "lib/journey/formatter.rb", "lib/journey/gtg/builder.rb", "lib/journey/gtg/simulator.rb", "lib/journey/gtg/transition_table.rb", "lib/journey/nfa/builder.rb", "lib/journey/nfa/dot.rb", "lib/journey/nfa/simulator.rb", "lib/journey/nfa/transition_table.rb", "lib/journey/nodes/node.rb", "lib/journey/parser.rb", "lib/journey/parser.y", "lib/journey/parser_extras.rb", "lib/journey/path/pattern.rb", "lib/journey/route.rb", "lib/journey/router.rb", "lib/journey/router/strexp.rb", "lib/journey/router/utils.rb", "lib/journey/routes.rb", "lib/journey/scanner.rb", "lib/journey/visitors.rb", "lib/journey/visualizer/d3.min.js", "lib/journey/visualizer/fsm.css", "lib/journey/visualizer/fsm.js", "lib/journey/visualizer/index.html.erb", "lib/journey/visualizer/reset.css", "test/gtg/test_builder.rb", "test/gtg/test_transition_table.rb", "test/helper.rb", "test/nfa/test_simulator.rb", "test/nfa/test_transition_table.rb", "test/nodes/test_symbol.rb", "test/path/test_pattern.rb", "test/route/definition/test_parser.rb", "test/route/definition/test_scanner.rb", "test/router/test_strexp.rb", "test/router/test_utils.rb", "test/test_route.rb", "test/test_router.rb", "test/test_routes.rb"]
|
14
|
-
s.homepage =
|
14
|
+
s.homepage = "http://github.com/tenderlove/journey"
|
15
15
|
s.rdoc_options = ["--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
17
|
-
s.rubyforge_project =
|
18
|
-
s.rubygems_version =
|
19
|
-
s.summary =
|
17
|
+
s.rubyforge_project = "journey"
|
18
|
+
s.rubygems_version = "1.8.11"
|
19
|
+
s.summary = "Journey is a router"
|
20
20
|
s.test_files = ["test/gtg/test_builder.rb", "test/gtg/test_transition_table.rb", "test/nfa/test_simulator.rb", "test/nfa/test_transition_table.rb", "test/nodes/test_symbol.rb", "test/path/test_pattern.rb", "test/route/definition/test_parser.rb", "test/route/definition/test_scanner.rb", "test/router/test_strexp.rb", "test/router/test_utils.rb", "test/test_route.rb", "test/test_router.rb", "test/test_routes.rb"]
|
21
21
|
|
22
22
|
if s.respond_to? :specification_version then
|
23
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
24
23
|
s.specification_version = 3
|
25
24
|
|
26
25
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
|
-
s.add_development_dependency(%q<minitest>, ["~> 2.3"])
|
28
26
|
s.add_development_dependency(%q<racc>, [">= 1.4.6"])
|
29
27
|
s.add_development_dependency(%q<rdoc>, ["~> 3.11"])
|
30
28
|
s.add_development_dependency(%q<json>, [">= 0"])
|
31
29
|
s.add_development_dependency(%q<hoe>, ["~> 2.12"])
|
30
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
|
32
31
|
else
|
33
|
-
s.add_dependency(%q<minitest>, ["~> 2.3"])
|
34
32
|
s.add_dependency(%q<racc>, [">= 1.4.6"])
|
35
33
|
s.add_dependency(%q<rdoc>, ["~> 3.11"])
|
36
34
|
s.add_dependency(%q<json>, [">= 0"])
|
37
35
|
s.add_dependency(%q<hoe>, ["~> 2.12"])
|
36
|
+
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
38
37
|
end
|
39
38
|
else
|
40
|
-
s.add_dependency(%q<minitest>, ["~> 2.3"])
|
41
39
|
s.add_dependency(%q<racc>, [">= 1.4.6"])
|
42
40
|
s.add_dependency(%q<rdoc>, ["~> 3.11"])
|
43
41
|
s.add_dependency(%q<json>, [">= 0"])
|
44
42
|
s.add_dependency(%q<hoe>, ["~> 2.12"])
|
43
|
+
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
45
44
|
end
|
46
45
|
end
|
data/lib/journey/router.rb
CHANGED
metadata
CHANGED
@@ -1,111 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: journey
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
- rc4
|
11
|
-
version: 1.0.0.rc4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
12
6
|
platform: ruby
|
13
|
-
authors:
|
7
|
+
authors:
|
14
8
|
- Aaron Patterson
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
23
|
-
name: minitest
|
24
|
-
prerelease: false
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
|
-
requirements:
|
28
|
-
- - ~>
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
hash: 5
|
31
|
-
segments:
|
32
|
-
- 2
|
33
|
-
- 3
|
34
|
-
version: "2.3"
|
35
|
-
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
38
15
|
name: racc
|
39
|
-
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70268988140640 !ruby/object:Gem::Requirement
|
41
17
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 11
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 4
|
49
|
-
- 6
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
50
21
|
version: 1.4.6
|
51
22
|
type: :development
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: rdoc
|
55
23
|
prerelease: false
|
56
|
-
|
24
|
+
version_requirements: *70268988140640
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rdoc
|
27
|
+
requirement: &70268988140040 !ruby/object:Gem::Requirement
|
57
28
|
none: false
|
58
|
-
requirements:
|
29
|
+
requirements:
|
59
30
|
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 3
|
64
|
-
- 11
|
65
|
-
version: "3.11"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.11'
|
66
33
|
type: :development
|
67
|
-
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: json
|
70
34
|
prerelease: false
|
71
|
-
|
35
|
+
version_requirements: *70268988140040
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: json
|
38
|
+
requirement: &70268988139560 !ruby/object:Gem::Requirement
|
72
39
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
segments:
|
78
|
-
- 0
|
79
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
80
44
|
type: :development
|
81
|
-
|
82
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70268988139560
|
47
|
+
- !ruby/object:Gem::Dependency
|
83
48
|
name: hoe
|
49
|
+
requirement: &70268988138820 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.12'
|
55
|
+
type: :development
|
84
56
|
prerelease: false
|
85
|
-
|
57
|
+
version_requirements: *70268988138820
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: rdoc
|
60
|
+
requirement: &70268988435100 !ruby/object:Gem::Requirement
|
86
61
|
none: false
|
87
|
-
requirements:
|
62
|
+
requirements:
|
88
63
|
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 2
|
93
|
-
- 12
|
94
|
-
version: "2.12"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '3.10'
|
95
66
|
type: :development
|
96
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70268988435100
|
97
69
|
description: Journey is a router. It routes requests.
|
98
|
-
email:
|
70
|
+
email:
|
99
71
|
- aaron@tenderlovemaking.com
|
100
72
|
executables: []
|
101
|
-
|
102
73
|
extensions: []
|
103
|
-
|
104
|
-
extra_rdoc_files:
|
74
|
+
extra_rdoc_files:
|
105
75
|
- Manifest.txt
|
106
76
|
- CHANGELOG.rdoc
|
107
77
|
- README.rdoc
|
108
|
-
files:
|
78
|
+
files:
|
109
79
|
- .autotest
|
110
80
|
- .gemtest
|
111
81
|
- .travis.yml
|
@@ -157,44 +127,33 @@ files:
|
|
157
127
|
- test/test_route.rb
|
158
128
|
- test/test_router.rb
|
159
129
|
- test/test_routes.rb
|
160
|
-
has_rdoc: true
|
161
130
|
homepage: http://github.com/tenderlove/journey
|
162
131
|
licenses: []
|
163
|
-
|
164
132
|
post_install_message:
|
165
|
-
rdoc_options:
|
133
|
+
rdoc_options:
|
166
134
|
- --main
|
167
135
|
- README.rdoc
|
168
|
-
require_paths:
|
136
|
+
require_paths:
|
169
137
|
- lib
|
170
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
139
|
none: false
|
172
|
-
requirements:
|
173
|
-
- -
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
|
176
|
-
|
177
|
-
- 0
|
178
|
-
version: "0"
|
179
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
145
|
none: false
|
181
|
-
requirements:
|
182
|
-
- -
|
183
|
-
- !ruby/object:Gem::Version
|
184
|
-
|
185
|
-
segments:
|
186
|
-
- 1
|
187
|
-
- 3
|
188
|
-
- 1
|
189
|
-
version: 1.3.1
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
190
150
|
requirements: []
|
191
|
-
|
192
151
|
rubyforge_project: journey
|
193
|
-
rubygems_version: 1.
|
152
|
+
rubygems_version: 1.8.11
|
194
153
|
signing_key:
|
195
154
|
specification_version: 3
|
196
155
|
summary: Journey is a router
|
197
|
-
test_files:
|
156
|
+
test_files:
|
198
157
|
- test/gtg/test_builder.rb
|
199
158
|
- test/gtg/test_transition_table.rb
|
200
159
|
- test/nfa/test_simulator.rb
|