echi-converter 0.3.4 → 0.3.5
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/History.txt +9 -2
- data/db/migrate/001_create_echi_records.rb +1 -1
- data/db/migrate/003_create_echi_agents.rb +1 -1
- data/db/migrate/006_create_echi_aux_reasons.rb +1 -1
- data/db/migrate/007_create_echi_cwcs.rb +1 -1
- data/db/migrate/008_create_echi_vdns.rb +1 -1
- data/lib/echi-converter.rb +5 -1
- data/lib/echi-converter/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -135,7 +135,7 @@
|
|
135
135
|
* Fixed a bug where the utility was not properly deleting the files from the ftp server
|
136
136
|
* Fixed a bug for the pco schema usage changing the echi_log column processed_at to processedat via the 005_change_log_processedat_name migration
|
137
137
|
|
138
|
-
== 0.3.4 2007-11-
|
138
|
+
== 0.3.4 2007-11-26
|
139
139
|
|
140
140
|
* Major enhancement(s):
|
141
141
|
* Minor enhancement(s):
|
@@ -154,4 +154,11 @@
|
|
154
154
|
* Refactored FTP management into a new class
|
155
155
|
* FTP now supports setting an alternative port by setting 'echi_port' in the application.yml file
|
156
156
|
* Added option in config/application.yml, 'max_ftp_sessions', to allow for multiple ftp sessions to be used to increase ftp interaction performance
|
157
|
-
* Bug fix(es):
|
157
|
+
* Bug fix(es):
|
158
|
+
|
159
|
+
== 0.3.5 2007-12-TBD
|
160
|
+
|
161
|
+
* Major enhancement(s):
|
162
|
+
* Minor enhancement(s):
|
163
|
+
* Bug fix(es):
|
164
|
+
* Fixed a bug with the ASCII processing that left out the agent_released field in the table and data, causing a misalignment.
|
data/lib/echi-converter.rb
CHANGED
@@ -291,12 +291,16 @@ module EchiConverter
|
|
291
291
|
echi_record = EchiRecord.new
|
292
292
|
cnt = 0
|
293
293
|
@echi_schema["echi_records"].each do | field |
|
294
|
-
if field["type"] == "bool" || field["type"] == "
|
294
|
+
if field["type"] == "bool" || field["type"] == "boolint"
|
295
295
|
case row[cnt]
|
296
296
|
when "0"
|
297
297
|
echi_record[field["name"]] = "N"
|
298
298
|
when "1"
|
299
299
|
echi_record[field["name"]] = "Y"
|
300
|
+
when nil
|
301
|
+
echi_record[field["name"]] = "N"
|
302
|
+
else
|
303
|
+
echi_record[field["name"]] = "Y"
|
300
304
|
end
|
301
305
|
@log.debug field["name"] + ' == ' + row[cnt]
|
302
306
|
else
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>ECHI Converter</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/echi-converter"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.3.
|
36
|
+
<a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.3.5</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘echi-converter’</h1>
|
39
39
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: echi-converter
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.3.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.3.5
|
7
|
+
date: 2007-12-04 00:00:00 -08:00
|
8
8
|
summary: ECHI Conversion Utility - Provides a utility to fetch Avaya CMS / ECHI binary files, convert them and insert into a database table via ActiveRecord
|
9
9
|
require_paths:
|
10
10
|
- lib
|