kynetx_am_api 0.1.27 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kynetx_am_api.rb +4 -4
- data/lib/kynetx_am_api/application.rb +10 -10
- metadata +3 -3
data/lib/kynetx_am_api.rb
CHANGED
@@ -11,7 +11,7 @@ DEFAULT_META = <<-KRL
|
|
11
11
|
<<DESCRIPTION>>
|
12
12
|
>>
|
13
13
|
author ""
|
14
|
-
// Uncomment this line to require
|
14
|
+
// Uncomment this line to require Marketplace purchase to use this app.
|
15
15
|
// authz require user
|
16
16
|
logging off
|
17
17
|
}
|
@@ -26,16 +26,16 @@ KRL
|
|
26
26
|
DEFAULT_DISPATCH = <<-KRL
|
27
27
|
dispatch {
|
28
28
|
// Some example dispatch domains
|
29
|
-
// domain "
|
29
|
+
// domain "example.com"
|
30
30
|
// domain "other.example.com"
|
31
31
|
}
|
32
32
|
KRL
|
33
33
|
|
34
34
|
DEFAULT_RULE = <<-KRL
|
35
35
|
rule <<NAME>> is active {
|
36
|
-
select when pageview "" setting ()
|
36
|
+
select when pageview ".*" setting ()
|
37
37
|
// pre { }
|
38
38
|
// notify("Hello World", "This is a sample rule.");
|
39
39
|
noop();
|
40
40
|
}
|
41
|
-
KRL
|
41
|
+
KRL
|
@@ -180,16 +180,16 @@ module KynetxAmApi
|
|
180
180
|
# opts is a Hash of options that has the following keys:
|
181
181
|
# (see Kynetx App Management API documentation on "generate" for more information)
|
182
182
|
#
|
183
|
-
# :extname (endpoint name - defaults to app name.)
|
184
|
-
# :extauthor (endpoint author - defaults to user generating the endpoint.)
|
185
|
-
# :extdesc (endpoint description - defaults to empty.)
|
186
|
-
# :force_build ('Y' or 'N' force a regeneration of the endpoint - defaults to 'N'.)
|
187
|
-
# :contents ( 'compiled' or 'src' specifies whether you want the endpoint or the source code of the endpoint - defaults to 'compiled'.)
|
188
|
-
# :format ('url' or 'json' specifies how the endpoint is returned - default is 'json' which returns a Base64 encoded data string.)
|
189
|
-
# :datasets (used for infocards - defaults to empty)
|
190
|
-
# :env ('dev' or 'prod' specifies whether to run the development or production version of the app - defaults to 'prod'.)
|
191
|
-
# :image_url (a fully qualified url to the image that will be used for the infocard. It must be a 240x160 jpg - defaults to a cropped version of the app image in appBuilder.)
|
192
|
-
# :runtime (specific runtime to be used. This only works with bookmarklets - defaults to init.kobj.net/js/shared/kobj-static.js )
|
183
|
+
# - :extname (endpoint name - defaults to app name.)
|
184
|
+
# - :extauthor (endpoint author - defaults to user generating the endpoint.)
|
185
|
+
# - :extdesc (endpoint description - defaults to empty.)
|
186
|
+
# - :force_build ('Y' or 'N' force a regeneration of the endpoint - defaults to 'N'.)
|
187
|
+
# - :contents ( 'compiled' or 'src' specifies whether you want the endpoint or the source code of the endpoint - defaults to 'compiled'.)
|
188
|
+
# - :format ('url' or 'json' specifies how the endpoint is returned - default is 'json' which returns a Base64 encoded data string.)
|
189
|
+
# - :datasets (used for infocards - defaults to empty)
|
190
|
+
# - :env ('dev' or 'prod' specifies whether to run the development or production version of the app - defaults to 'prod'.)
|
191
|
+
# - :image_url (a fully qualified url to the image that will be used for the infocard. It must be a 240x160 jpg - defaults to a cropped version of the app image in appBuilder.)
|
192
|
+
# - :runtime (specific runtime to be used. This only works with bookmarklets - defaults to init.kobj.net/js/shared/kobj-static.js )
|
193
193
|
#
|
194
194
|
# Returns a hash formatted as follows:
|
195
195
|
# {:data => "endpoint as specified in the :format option",
|
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
|
+
- 28
|
9
|
+
version: 0.1.28
|
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-
|
17
|
+
date: 2010-08-02 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|