smart_proxy_dynflow 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e7c4b7a5345d0fea21625215d19a42ec7a541c5978d2291a2fb8e8cb7ecc378
4
- data.tar.gz: c7b4448023317d8c5e72afc6ea835ca2bf40bceec8a2ab30f426a2f7c990be7a
3
+ metadata.gz: 8a7cdbcdb7278d4915da1d29d0f23cb8f31a1f5be7d76dc2def3cf0a12554024
4
+ data.tar.gz: ea8e11e0af60f83760e05994a6270362ea0ecbd3c0d2bd4285b72c8d9acc8872
5
5
  SHA512:
6
- metadata.gz: 0e86febbe3ca408556048ec71330272836f04425ef3c45bc619bb0dd9f53403af23d6b653d3d0f6e84237e6068e7ddc9fe3231e33923ea77dff639d017aa7966
7
- data.tar.gz: c73d982c4ec17251509b5ec1aa967893597a391bc529b09f2aaec3d2736c213e69706d1f64a7bfc23e7faf4dfe72bf0a06ad1c833ca6d47ec9748b4e29e86d13
6
+ metadata.gz: b61851ddd7b0a4d22449dae1f940f14edb1af423ac091ed9ba4751ab34ac88db4f321097c24d61afaf0a7be4feb194fa642162d6b7fe7dc36747edecb3854504
7
+ data.tar.gz: c44d24f2b06a88f4799a1092bcdf414b909fb6c7a5b8ca6dcf880485d95426aae90478d4a3b97c527fe7da49580b4a8d7e684e7134dc1fd346695da04677dfbe
@@ -11,7 +11,7 @@ module Proxy
11
11
 
12
12
  before do
13
13
  content_type :json
14
- if request.env['HTTP_AUTHORIZATION'] && request.env['PATH_INFO'].end_with?('/done')
14
+ if request.env['HTTP_AUTHORIZATION'] && request.path_info =~ %r{/tasks/.*/(update|done)}
15
15
  # Halt running before callbacks if a token is provided and the request is notifying about task being done
16
16
  return
17
17
  else
@@ -1,5 +1,5 @@
1
1
  module Proxy
2
2
  class Dynflow
3
- VERSION = '0.2.3'.freeze
3
+ VERSION = '0.2.4'.freeze
4
4
  end
5
5
  end
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.2.3
4
+ version: 0.2.4
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: 2019-06-11 00:00:00.000000000 Z
11
+ date: 2019-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -132,8 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubyforge_project:
136
- rubygems_version: 2.7.6
135
+ rubygems_version: 3.0.3
137
136
  signing_key:
138
137
  specification_version: 4
139
138
  summary: Dynflow runtime for Foreman smart proxy