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
- M2YyMTYxZWE4ODQyYTFkMTk0MmVlNTFmMTJkY2NmYzI4MzNiNjEzNw==
4
+ NmQxZGMzNThkY2I0MmE5YWIyNjk5MjIzY2MyNjMzZDlhMWYzOTVjYQ==
5
5
  data.tar.gz: !binary |-
6
- YzcxZDhiNWU0NGFiNDAxMzE3Y2Q3NzZjZDg2ZDE2MmM5MTMzNmExYg==
6
+ NWJiMzIwODcyNzE2NjU3YjllZjMxZGVhZjM5ZmVmMTJjNGEzMzQ0Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGUxNzk1YzAyZjlhMTJhY2FmZDBlNGIzNjkzYjE1YzkyN2IyMTFjNmNjN2Nj
10
- NTczMDQwMDlkMjU1NDgxYzllMzQyOWE0OWY1MWMwNjRlMjkxODVlMzEwOWI5
11
- ODVhZGE1M2ViMTU0NmQyOWQ3ZTE0NGY1NzBlYTI1MmQwZTI1MzU=
9
+ ZTMyOWQ0YjZmMTAxZmMxZWVmYjA0OThlZDRiMjk3YmIwM2RkOGRkNGNmZDc2
10
+ MDVmNTdiMjA0N2ZhMzYwZjZmYTk2MWRjMzM2ZDFjYjMyY2QzMTg0NjAzYmMy
11
+ ZTBiODZiMDk5NTFiM2VlYTk4MWZhZmRlYjRiZDljYTRkNDI5NTY=
12
12
  data.tar.gz: !binary |-
13
- YzQ3ZjdkNWMyNjhlNWMwYWU4ZWVkMDI4MzgwYzcyNjJhYTI0YmM4ZmNkOTUw
14
- NDc4YmMwZDA3YTZkNjUzYTA5N2Y4ODM5ZTE1NmYyY2IyYjE2OTdjMzFhMzk0
15
- ZThmOTE2MWU5N2M3NmQ1OTAwZmRkYzU4YzA0NzA3ZmM2NjI5NjA=
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'].constantize, params['action_input']).to_json
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|
@@ -1,3 +1,5 @@
1
+ require 'smart_proxy_dynflow/api'
2
+
1
3
  map "/dynflow" do
2
4
  map '/console' do
3
5
  run Proxy::Dynflow.instance.web_console
@@ -1,5 +1,5 @@
1
1
  module Proxy
2
2
  class Dynflow
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
@@ -4,7 +4,6 @@ require 'smart_proxy_dynflow/version'
4
4
  require 'smart_proxy_dynflow/plugin'
5
5
  require 'smart_proxy_dynflow/callback'
6
6
  require 'smart_proxy_dynflow/helpers'
7
- require 'smart_proxy_dynflow/api'
8
7
 
9
8
  class Proxy::Dynflow
10
9
  attr_accessor :world
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.1
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-13 00:00:00.000000000 Z
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.3
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.3
124
+ version: 0.8.4
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: sequel
127
127
  requirement: !ruby/object:Gem::Requirement