soar_sc_routing 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/lib/soar_sc_routing/router_meta.rb +1 -1
- data/lib/soar_sc_routing/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 625b3db2a791b89f49690ecc554bf01e0ee414c2
|
4
|
+
data.tar.gz: 117d9772fc191978902cbe6ef0316ceeba0e4103
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0b572275d04e11129208f3dfa94712c0abca2e54d23d86ae4f6b599e3a8f7391f91a3ee97ad8d0a099436d2a559e3961886558dceaa7fee4cdb46da8994297d
|
7
|
+
data.tar.gz: e670b0e759bf7254e736febdd33027c323f6abac9ee791279c3016f78569f72a3c07ad4044c4ec7f4159567ad7b5ee95df7a78e35d9bb5dab2d90b801ae0b211
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
soar_sc_routing
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.3
|
@@ -39,7 +39,7 @@ module SoarScRouting
|
|
39
39
|
resource = SoarScRouting::Resource.new(detail['description'], "#{detail['service_name']}", detail['method'].upcase, detail['params'])
|
40
40
|
add_resource_route(detail['path'], resource, interpret_secured(detail), interpret_authorized(detail)) do |request|
|
41
41
|
if detail['controller']
|
42
|
-
|
42
|
+
delegate_to_controller_and_renderer(detail, startup_flow_id, request)
|
43
43
|
elsif detail['action']
|
44
44
|
http_code, headers, body = detail['action'].call(request)
|
45
45
|
[http_code, headers, [body]]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_sc_routing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernst Van Graan
|
@@ -145,6 +145,8 @@ extra_rdoc_files: []
|
|
145
145
|
files:
|
146
146
|
- ".gitignore"
|
147
147
|
- ".rspec"
|
148
|
+
- ".ruby-gemset"
|
149
|
+
- ".ruby-version"
|
148
150
|
- ".travis.yml"
|
149
151
|
- Gemfile
|
150
152
|
- LICENSE.txt
|