smart_proxy_dynflow 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of smart_proxy_dynflow might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmQxZGMzNThkY2I0MmE5YWIyNjk5MjIzY2MyNjMzZDlhMWYzOTVjYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWJiMzIwODcyNzE2NjU3YjllZjMxZGVhZjM5ZmVmMTJjNGEzMzQ0Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTMyOWQ0YjZmMTAxZmMxZWVmYjA0OThlZDRiMjk3YmIwM2RkOGRkNGNmZDc2
|
10
|
+
MDVmNTdiMjA0N2ZhMzYwZjZmYTk2MWRjMzM2ZDFjYjMyY2QzMTg0NjAzYmMy
|
11
|
+
ZTBiODZiMDk5NTFiM2VlYTk4MWZhZmRlYjRiZDljYTRkNDI5NTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTUwMTA4Y2VlZWFlZGE4ZjJhMzE1YTQ5MDQxMzZmNjMxYTU5NWZlNWU0N2Y3
|
14
|
+
MTM5ZGU1Zjk1Yzk3NTE0Y2E0ZWQwOGNmY2U4YjU3YzdjYzkzMjQxMTdhMjNh
|
15
|
+
NGE3Mjc1NWJhMDFiYWM0NGFmMGVmMzI3OTIyYWVlOGEwY2NjMTE=
|
@@ -4,13 +4,16 @@ module Proxy
|
|
4
4
|
helpers ::Proxy::Helpers
|
5
5
|
helpers ::Proxy::Dynflow::Helpers
|
6
6
|
|
7
|
+
authorize_with_trusted_hosts
|
8
|
+
authorize_with_ssl_client
|
9
|
+
|
7
10
|
before do
|
8
11
|
content_type :json
|
9
12
|
end
|
10
13
|
|
11
14
|
post "/tasks/?" do
|
12
15
|
params = parse_json_body
|
13
|
-
trigger_task(params['action_name']
|
16
|
+
trigger_task(::Dynflow::Utils.constantize(params['action_name']), params['action_input']).to_json
|
14
17
|
end
|
15
18
|
|
16
19
|
post "/tasks/:task_id/cancel" do |task_id|
|
data/lib/smart_proxy_dynflow.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_dynflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.8.
|
117
|
+
version: 0.8.4
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.8.
|
124
|
+
version: 0.8.4
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: sequel
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|