pakyow-core 0.8.rc4 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pakyow-core/CHANGES +4 -0
- data/pakyow-core/lib/core/app.rb +51 -50
- data/pakyow-core/lib/core/app_context.rb +10 -0
- data/pakyow-core/lib/core/base.rb +4 -1
- data/pakyow-core/lib/core/errors.rb +13 -0
- data/pakyow-core/lib/core/helpers.rb +6 -3
- data/pakyow-core/lib/core/loader.rb +5 -5
- data/pakyow-core/lib/core/middleware/static.rb +3 -2
- data/pakyow-core/lib/core/request.rb +8 -9
- data/pakyow-core/lib/core/response.rb +12 -0
- data/pakyow-core/lib/core/route_eval.rb +252 -159
- data/pakyow-core/lib/core/route_lookup.rb +4 -5
- data/pakyow-core/lib/core/route_merger.rb +76 -0
- data/pakyow-core/lib/core/route_module.rb +21 -0
- data/pakyow-core/lib/core/route_set.rb +15 -8
- data/pakyow-core/lib/core/route_template_defaults.rb +29 -31
- data/pakyow-core/lib/core/router.rb +15 -10
- data/pakyow-core/lib/utils/dir.rb +6 -3
- data/pakyow-core/lib/utils/hash.rb +32 -29
- data/pakyow-core/lib/utils/string.rb +30 -27
- metadata +15 -12
- data/pakyow-core/lib/core/exceptions.rb +0 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pakyow-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Powell
|
@@ -9,34 +9,34 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.5'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.5'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: minitest
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '5.0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '5.0'
|
42
42
|
description: Core functionality for Pakyow applications, including routing and middleware.
|
@@ -46,16 +46,17 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- pakyow-core/CHANGES
|
49
|
-
- pakyow-core/README
|
50
49
|
- pakyow-core/MIT-LICENSE
|
50
|
+
- pakyow-core/README
|
51
51
|
- pakyow-core/lib/core/app.rb
|
52
|
+
- pakyow-core/lib/core/app_context.rb
|
52
53
|
- pakyow-core/lib/core/base.rb
|
53
54
|
- pakyow-core/lib/core/config/app.rb
|
54
55
|
- pakyow-core/lib/core/config/base.rb
|
55
56
|
- pakyow-core/lib/core/config/cookies.rb
|
56
57
|
- pakyow-core/lib/core/config/logger.rb
|
57
58
|
- pakyow-core/lib/core/config/server.rb
|
58
|
-
- pakyow-core/lib/core/
|
59
|
+
- pakyow-core/lib/core/errors.rb
|
59
60
|
- pakyow-core/lib/core/helpers.rb
|
60
61
|
- pakyow-core/lib/core/loader.rb
|
61
62
|
- pakyow-core/lib/core/middleware/logger.rb
|
@@ -66,6 +67,8 @@ files:
|
|
66
67
|
- pakyow-core/lib/core/response.rb
|
67
68
|
- pakyow-core/lib/core/route_eval.rb
|
68
69
|
- pakyow-core/lib/core/route_lookup.rb
|
70
|
+
- pakyow-core/lib/core/route_merger.rb
|
71
|
+
- pakyow-core/lib/core/route_module.rb
|
69
72
|
- pakyow-core/lib/core/route_set.rb
|
70
73
|
- pakyow-core/lib/core/route_template_defaults.rb
|
71
74
|
- pakyow-core/lib/core/router.rb
|
@@ -85,17 +88,17 @@ require_paths:
|
|
85
88
|
- pakyow-core/lib
|
86
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
90
|
requirements:
|
88
|
-
- -
|
91
|
+
- - ">="
|
89
92
|
- !ruby/object:Gem::Version
|
90
93
|
version: 1.9.3
|
91
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
95
|
requirements:
|
93
|
-
- -
|
96
|
+
- - ">="
|
94
97
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
98
|
+
version: '0'
|
96
99
|
requirements: []
|
97
100
|
rubyforge_project: pakyow-core
|
98
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.2.0
|
99
102
|
signing_key:
|
100
103
|
specification_version: 4
|
101
104
|
summary: Core functionality for Pakyow applications.
|