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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6e1a4cbacdd91f5aa3423245bcc0c213083a6bc9
4
- data.tar.gz: 0c7123a789e8ef431dce5872dc6c1de328060c2c
2
+ SHA256:
3
+ metadata.gz: 4dfdb93365ca33a4dfe94d2959def585aced31f0ccc0fac2b6fe05c546fbe381
4
+ data.tar.gz: 0d767fb76519ef78f3a9878570e2bb9818546bca09484333deb52936c301f508
5
5
  SHA512:
6
- metadata.gz: a2b6f68212cb8f07e43edc3c8dab8298c5aab1ddc26b650b6f01b3949164cbc5c60a02a53c800b2d764af63e471ceaec302e97958150ba465acae82fd707f05b
7
- data.tar.gz: 1acfedee6923bcdaec33767afff53ef0dbc7e2fba85bf7565672a8bf6daa10db7d589a9995fcdecc0754c46f805a968c50b8dafa9425c2f3a06ec4e5a0dcf205
6
+ metadata.gz: 8c91c9f21d776cdb9d9b96d35809e6f07f1b71edd10ba5d73d35dd6cc14de2271b6ad146e91e50e5b6e27401f3bec8d2ffd58d1df00f9dfaabb9257662801428
7
+ data.tar.gz: 92a70a1d8d4f82d1f3bfbd01b818764f799e675fc98b5d125db49daceac1e8f8e9ea0555af94fb520092c3b315a10b8485411db75f213bdde942760c8c01ef3b
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) {|repo_name| 'http://github.com/wyhaines/#{repo_name}' }
6
+
7
+ gem 'mime-types'
8
+ gem 'mail'
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
- ../../Content.html
1
+ components/Content/example/iowa/../../Content.html
@@ -1 +1 @@
1
- ../../Content.iwa
1
+ components/Content/example/iowa/../../Content.iwa
@@ -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
@@ -444,7 +444,13 @@ module Iowa
444
444
 
445
445
  class TextElement < String
446
446
  def handleRequest(context); end
447
- def handleResponse(context); context.response << self; end
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,3 +1,3 @@
1
1
  module Iowa
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -1 +1 @@
1
- ../iowa/Ajax1.html
1
+ test/TC_IOWAFunctions/doc/../iowa/Ajax1.html
@@ -1 +1 @@
1
- ../iowa/Ajax1.iwa
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.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: 2017-04-04 00:00:00.000000000 Z
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.4
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