IOWA 1.0.0 → 1.0.2
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 +5 -5
- data/Gemfile +8 -0
- data/Gemfile.lock +19 -0
- data/LICENSE.txt +21 -0
- data/components/Content/example/iowa/Content.html +1 -1
- data/components/Content/example/iowa/Content.iwa +1 -1
- data/src/iowa/Application.rb +1 -1
- data/src/iowa/DynamicElements.rb +7 -1
- data/src/iowa/version.rb +1 -1
- data/test/TC_IOWAFunctions/doc/Ajax1.html +1 -1
- data/test/TC_IOWAFunctions/doc/Ajax1.iwa +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 4dfdb93365ca33a4dfe94d2959def585aced31f0ccc0fac2b6fe05c546fbe381
|
|
4
|
+
data.tar.gz: 0d767fb76519ef78f3a9878570e2bb9818546bca09484333deb52936c301f508
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c91c9f21d776cdb9d9b96d35809e6f07f1b71edd10ba5d73d35dd6cc14de2271b6ad146e91e50e5b6e27401f3bec8d2ffd58d1df00f9dfaabb9257662801428
|
|
7
|
+
data.tar.gz: 92a70a1d8d4f82d1f3bfbd01b818764f799e675fc98b5d125db49daceac1e8f8e9ea0555af94fb520092c3b315a10b8485411db75f213bdde942760c8c01ef3b
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: https://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
mail (2.7.0)
|
|
5
|
+
mini_mime (>= 0.1.1)
|
|
6
|
+
mime-types (3.2.2)
|
|
7
|
+
mime-types-data (~> 3.2015)
|
|
8
|
+
mime-types-data (3.2018.0812)
|
|
9
|
+
mini_mime (1.0.1)
|
|
10
|
+
|
|
11
|
+
PLATFORMS
|
|
12
|
+
ruby
|
|
13
|
+
|
|
14
|
+
DEPENDENCIES
|
|
15
|
+
mail
|
|
16
|
+
mime-types
|
|
17
|
+
|
|
18
|
+
BUNDLED WITH
|
|
19
|
+
1.16.6
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2002 - 2017 Kirk Haines
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
components/Content/example/iowa/../../Content.html
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
components/Content/example/iowa/../../Content.iwa
|
data/src/iowa/Application.rb
CHANGED
|
@@ -424,7 +424,7 @@ module Iowa
|
|
|
424
424
|
@model_mtimes = {}
|
|
425
425
|
begin
|
|
426
426
|
if doloop
|
|
427
|
-
sleep_time Iowa.config[Capplication][Cmodel][Cinterval] + rand(Iowa.config[Capplication][Cmodel][Cvariation].to_i)
|
|
427
|
+
sleep_time = Iowa.config[Capplication][Cmodel][Cinterval] + rand(Iowa.config[Capplication][Cmodel][Cvariation].to_i)
|
|
428
428
|
Logger[Ciowa_log].info "model monitor sleeping for #{sleep_time} seconds"
|
|
429
429
|
sleep(sleep_time)
|
|
430
430
|
end
|
data/src/iowa/DynamicElements.rb
CHANGED
|
@@ -444,7 +444,13 @@ module Iowa
|
|
|
444
444
|
|
|
445
445
|
class TextElement < String
|
|
446
446
|
def handleRequest(context); end
|
|
447
|
-
def handleResponse(context)
|
|
447
|
+
def handleResponse(context)
|
|
448
|
+
if self.length == 1
|
|
449
|
+
context.response << self.chomp
|
|
450
|
+
else
|
|
451
|
+
context.response << self
|
|
452
|
+
end
|
|
453
|
+
end
|
|
448
454
|
end
|
|
449
455
|
|
|
450
456
|
class BodyContent < Element
|
data/src/iowa/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
test/TC_IOWAFunctions/doc/../iowa/Ajax1.html
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
test/TC_IOWAFunctions/doc/../iowa/Ajax1.iwa
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: IOWA
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kirk Haines
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-10-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: ''
|
|
14
14
|
email: wyhaines@gmail.com
|
|
@@ -20,6 +20,9 @@ extra_rdoc_files:
|
|
|
20
20
|
- README.md
|
|
21
21
|
files:
|
|
22
22
|
- CONTRIBUTORS
|
|
23
|
+
- Gemfile
|
|
24
|
+
- Gemfile.lock
|
|
25
|
+
- LICENSE.txt
|
|
23
26
|
- README.md
|
|
24
27
|
- RELEASE_NOTES
|
|
25
28
|
- ToDo
|
|
@@ -543,7 +546,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
543
546
|
version: '0'
|
|
544
547
|
requirements: []
|
|
545
548
|
rubyforge_project: iowa
|
|
546
|
-
rubygems_version: 2.6
|
|
549
|
+
rubygems_version: 2.7.6
|
|
547
550
|
signing_key:
|
|
548
551
|
specification_version: 4
|
|
549
552
|
summary: Internet Objects for Web Applications - A unique and capable framework for
|