hyper-router 1.0.alpha1.4 → 1.0.alpha1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hyperstack/router/helpers.rb +6 -18
- data/lib/hyperstack/router/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ea9c2324b2513fc2c1e52621e49f5e78cebaa1d42cc5bec7f4b1acc82793b0f
|
4
|
+
data.tar.gz: 04dab8146079a46ce5f3d9b9912f960f06de8ee07f77933375f9287f1b91f18f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03272c353f3f21cd38c437aa130b0c0bd4ecd1f750868c3643ff4851323895c4bb1657e20bcb40a5e4ca9e8d38c27afa2e379660740994d2e62d5bd4b673b2ff
|
7
|
+
data.tar.gz: 545c37f9186f8d24400d70edd0e8fb36878ecdd5707645f13f231d9f3576ff9e7299afb4521d3e5a2efad141132539a6b2725439f53124a9850d409a074d6038
|
@@ -2,36 +2,24 @@ module Hyperstack
|
|
2
2
|
module Router
|
3
3
|
module Helpers
|
4
4
|
def match
|
5
|
-
|
6
|
-
params.match
|
7
|
-
else
|
8
|
-
@Match
|
9
|
-
end
|
5
|
+
@_match_param
|
10
6
|
end
|
11
7
|
|
12
8
|
def location
|
13
|
-
|
14
|
-
params.location
|
15
|
-
else
|
16
|
-
@Location
|
17
|
-
end
|
9
|
+
@_location_param
|
18
10
|
end
|
19
11
|
|
20
12
|
def history
|
21
|
-
|
22
|
-
params.history
|
23
|
-
else
|
24
|
-
@History
|
25
|
-
end
|
13
|
+
@_history_param
|
26
14
|
end
|
27
15
|
|
28
16
|
def self.included(base)
|
29
17
|
base.include(Hyperstack::Internal::Router::Helpers)
|
30
18
|
|
31
19
|
base.class_eval do
|
32
|
-
param :match,
|
33
|
-
param :location, default: nil
|
34
|
-
param :history,
|
20
|
+
param :match, default: nil, alias: :_match_param
|
21
|
+
param :location, default: nil, alias: :_location_param
|
22
|
+
param :history, default: nil, alias: :_history_param
|
35
23
|
end
|
36
24
|
end
|
37
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyper-router
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.alpha1.
|
4
|
+
version: 1.0.alpha1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam George
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-06-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hyper-component
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.0.alpha1.
|
20
|
+
version: 1.0.alpha1.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
|
-
version: 1.0.alpha1.
|
27
|
+
version: 1.0.alpha1.5
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: hyper-state
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.0.alpha1.
|
34
|
+
version: 1.0.alpha1.5
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.0.alpha1.
|
41
|
+
version: 1.0.alpha1.5
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: opal-browser
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,28 +121,28 @@ dependencies:
|
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.0.alpha1.
|
124
|
+
version: 1.0.alpha1.5
|
125
125
|
type: :development
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.0.alpha1.
|
131
|
+
version: 1.0.alpha1.5
|
132
132
|
- !ruby/object:Gem::Dependency
|
133
133
|
name: hyper-store
|
134
134
|
requirement: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.0.alpha1.
|
138
|
+
version: 1.0.alpha1.5
|
139
139
|
type: :development
|
140
140
|
prerelease: false
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.0.alpha1.
|
145
|
+
version: 1.0.alpha1.5
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: listen
|
148
148
|
requirement: !ruby/object:Gem::Requirement
|
@@ -497,7 +497,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
497
497
|
- !ruby/object:Gem::Version
|
498
498
|
version: 1.3.1
|
499
499
|
requirements: []
|
500
|
-
rubygems_version: 3.0.
|
500
|
+
rubygems_version: 3.0.4
|
501
501
|
signing_key:
|
502
502
|
specification_version: 4
|
503
503
|
summary: hyper-router for Opal, part of the hyperstack framework
|