echi-converter 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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-TBD
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.
@@ -12,7 +12,7 @@ class CreateEchiRecords < ActiveRecord::Migration
12
12
  t.column field["name"], :datetime
13
13
  when 'bool'
14
14
  t.column field["name"], :string, :limit => 1
15
- when 'bool_int'
15
+ when 'boolint'
16
16
  t.column field["name"], :string, :limit => 1
17
17
  end
18
18
  end
@@ -12,7 +12,7 @@ class CreateEchiAgents < ActiveRecord::Migration
12
12
  t.column field["name"], :datetime
13
13
  when 'bool'
14
14
  t.column field["name"], :string, :limit => 1
15
- when 'bool_int'
15
+ when 'boolint'
16
16
  t.column field["name"], :string, :limit => 1
17
17
  end
18
18
  end
@@ -12,7 +12,7 @@ class CreateEchiAuxReasons < ActiveRecord::Migration
12
12
  t.column field["name"], :datetime
13
13
  when 'bool'
14
14
  t.column field["name"], :string, :limit => 1
15
- when 'bool_int'
15
+ when 'boolint'
16
16
  t.column field["name"], :string, :limit => 1
17
17
  end
18
18
  end
@@ -12,7 +12,7 @@ class CreateEchiCwcs < ActiveRecord::Migration
12
12
  t.column field["name"], :datetime
13
13
  when 'bool'
14
14
  t.column field["name"], :string, :limit => 1
15
- when 'bool_int'
15
+ when 'boolint'
16
16
  t.column field["name"], :string, :limit => 1
17
17
  end
18
18
  end
@@ -12,7 +12,7 @@ class CreateEchiVdns < ActiveRecord::Migration
12
12
  t.column field["name"], :datetime
13
13
  when 'bool'
14
14
  t.column field["name"], :string, :limit => 1
15
- when 'bool_int'
15
+ when 'boolint'
16
16
  t.column field["name"], :string, :limit => 1
17
17
  end
18
18
  end
@@ -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"] == "bool_int"
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
@@ -2,7 +2,7 @@ module EchiConverter #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -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.4</a>
36
+ <a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.3.5</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;echi-converter&#8217;</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.4
7
- date: 2007-11-25 00:00:00 -08:00
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