kynetx_am_api 0.1.24 → 0.1.25
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.
- data/lib/kynetx_am_api.rb +2 -2
- data/lib/kynetx_am_api/application.rb +1 -1
- metadata +6 -6
data/lib/kynetx_am_api.rb
CHANGED
|
@@ -209,7 +209,7 @@ module KynetxAmApi
|
|
|
209
209
|
|
|
210
210
|
def set_krl(krl)
|
|
211
211
|
# ensure that the ruleset_id is correct.
|
|
212
|
-
krl.gsub!(
|
|
212
|
+
krl.gsub!(/^ruleset.*?\{/m, "ruleset #{@application_id} {")
|
|
213
213
|
puts "NEW KRL: #{krl}" if $DEBUG
|
|
214
214
|
response = @api.post_app_source(@application_id, krl, "krl")
|
|
215
215
|
response = JSON.parse(response)
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 25
|
|
9
|
+
version: 0.1.25
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Michael Farmer, Cid Dennis
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-05-
|
|
17
|
+
date: 2010-05-19 00:00:00 -06:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -65,8 +65,8 @@ dependencies:
|
|
|
65
65
|
version: "0"
|
|
66
66
|
type: :development
|
|
67
67
|
version_requirements: *id004
|
|
68
|
-
description: " Using this gem you can access the Kynetx Application API. This api allows developers a way\n to create,update, delete rulesets.
|
|
69
|
-
email:
|
|
68
|
+
description: " Using this gem you can access the Kynetx Application API. This api allows developers a way\n to create, update, delete rulesets. This gem also helps with the required OAuth communcations with\n the api server.\n"
|
|
69
|
+
email: oss@kynetx.com
|
|
70
70
|
executables: []
|
|
71
71
|
|
|
72
72
|
extensions: []
|
|
@@ -84,7 +84,7 @@ files:
|
|
|
84
84
|
- Rakefile
|
|
85
85
|
- LICENSE
|
|
86
86
|
has_rdoc: true
|
|
87
|
-
homepage: http://
|
|
87
|
+
homepage: http://github.com/kynetx/Kynetx-Application-Manager-API
|
|
88
88
|
licenses: []
|
|
89
89
|
|
|
90
90
|
post_install_message:
|