echi-converter 0.0.4 → 0.0.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 CHANGED
@@ -39,4 +39,12 @@
39
39
  * Added the ability to set specific table names when using a specific PCO application
40
40
  * Added the ability to upgrade the files when a new gem is installed
41
41
  * Bug fix(es):
42
- * Bug #13062 - Corrected log table population
42
+ * Bug #13062 - Corrected log table population
43
+
44
+ == 0.0.5 2007-08-17
45
+
46
+ * Major enhancement(s):
47
+ * Minor enhancement(s):
48
+ * Removed all underscores ('_') from field names in config/schemas for version 12 & 13
49
+ * Bug fix(es):
50
+ * Bug #13165 - Corrected post processing file move
@@ -61,52 +61,52 @@ fields:
61
61
  - name: trunkgroup
62
62
  type: int
63
63
  length: 2
64
- - name: tk_locid
64
+ - name: tklocid
65
65
  type: int
66
66
  length: 2
67
- - name: orig_locid
67
+ - name: origlocid
68
68
  type: int
69
69
  length: 2
70
- - name: answer_locid
70
+ - name: answerlocid
71
71
  type: int
72
72
  length: 2
73
- - name: obs_locid
73
+ - name: obslocid
74
74
  type: int
75
75
  length: 2
76
- - name: uui_len
76
+ - name: uuilen
77
77
  type: int
78
78
  length: 2
79
79
  - name: assist
80
80
  type: bool
81
81
  length: 1
82
- - name: audio_difficulty
82
+ - name: audiodifficulty
83
83
  type: bool
84
84
  length: 1
85
85
  - name: conference
86
86
  type: bool
87
87
  length: 1
88
- - name: da_queued
88
+ - name: daqueued
89
89
  type: bool
90
90
  length: 1
91
- - name: hold_abn
91
+ - name: holdabn
92
92
  type: bool
93
93
  length: 1
94
94
  - name: malicious
95
95
  type: bool
96
96
  length: 1
97
- - name: observing_call
97
+ - name: observingcall
98
98
  type: bool
99
99
  length: 1
100
100
  - name: transferred
101
101
  type: bool
102
102
  length: 1
103
- - name: agent_released
103
+ - name: agentreleased
104
104
  type: bool_int
105
105
  length: 1
106
106
  - name: acdnum
107
107
  type: int
108
108
  length: 1
109
- - name: call_disp
109
+ - name: calldisp
110
110
  type: int
111
111
  length: 1
112
112
  - name: disppriority
@@ -166,28 +166,28 @@ fields:
166
166
  - name: firstvdn
167
167
  type: str
168
168
  length: 8
169
- - name: orig_logid
169
+ - name: origlogid
170
170
  type: str
171
171
  length: 10
172
- - name: ans_logid
172
+ - name: anslogid
173
173
  type: str
174
174
  length: 10
175
- - name: last_observer
175
+ - name: lastobserver
176
176
  type: str
177
177
  length: 10
178
- - name: dialed_number
178
+ - name: dialednumber
179
179
  type: str
180
180
  length: 25
181
- - name: calling_party
181
+ - name: callingparty
182
182
  type: str
183
183
  length: 13
184
- - name: collect_digits
184
+ - name: collectdigits
185
185
  type: str
186
186
  length: 17
187
- - name: cwc_digits
187
+ - name: cwcdigits
188
188
  type: str
189
189
  length: 17
190
- - name: calling_II
190
+ - name: callingII
191
191
  type: str
192
192
  length: 3
193
193
  - name: cwcs0
@@ -61,52 +61,52 @@ fields:
61
61
  - name: trunkgroup
62
62
  type: int
63
63
  length: 2
64
- - name: tk_locid
64
+ - name: tklocid
65
65
  type: int
66
66
  length: 2
67
- - name: orig_locid
67
+ - name: origlocid
68
68
  type: int
69
69
  length: 2
70
- - name: answer_locid
70
+ - name: answerlocid
71
71
  type: int
72
72
  length: 2
73
- - name: obs_locid
73
+ - name: obslocid
74
74
  type: int
75
75
  length: 2
76
- - name: uui_len
76
+ - name: uuilen
77
77
  type: int
78
78
  length: 2
79
79
  - name: assist
80
80
  type: bool
81
81
  length: 1
82
- - name: audio_difficulty
82
+ - name: audiodifficulty
83
83
  type: bool
84
84
  length: 1
85
85
  - name: conference
86
86
  type: bool
87
87
  length: 1
88
- - name: da_queued
88
+ - name: daqueued
89
89
  type: bool
90
90
  length: 1
91
- - name: hold_abn
91
+ - name: holdabn
92
92
  type: bool
93
93
  length: 1
94
94
  - name: malicious
95
95
  type: bool
96
96
  length: 1
97
- - name: observing_call
97
+ - name: observingcall
98
98
  type: bool
99
99
  length: 1
100
100
  - name: transferred
101
101
  type: bool
102
102
  length: 1
103
- - name: agent_released
103
+ - name: agentreleased
104
104
  type: bool_int
105
105
  length: 1
106
106
  - name: acdnum
107
107
  type: int
108
108
  length: 1
109
- - name: call_disp
109
+ - name: calldisp
110
110
  type: int
111
111
  length: 1
112
112
  - name: disppriority
@@ -166,28 +166,28 @@ fields:
166
166
  - name: firstvdn
167
167
  type: str
168
168
  length: 8
169
- - name: orig_logid
169
+ - name: origlogid
170
170
  type: str
171
171
  length: 10
172
- - name: ans_logid
172
+ - name: anslogid
173
173
  type: str
174
174
  length: 10
175
- - name: last_observer
175
+ - name: lastobserver
176
176
  type: str
177
177
  length: 10
178
- - name: dialed_number
178
+ - name: dialednumber
179
179
  type: str
180
180
  length: 25
181
- - name: calling_party
181
+ - name: callingparty
182
182
  type: str
183
183
  length: 13
184
- - name: collect_digits
184
+ - name: collectdigits
185
185
  type: str
186
186
  length: 17
187
- - name: cwc_digits
187
+ - name: cwcdigits
188
188
  type: str
189
189
  length: 17
190
- - name: calling_II
190
+ - name: callingII
191
191
  type: str
192
192
  length: 3
193
193
  - name: cwcs0
@@ -155,7 +155,7 @@ module EchiConverter
155
155
  @binary_file.close
156
156
 
157
157
  #Move the file to the processed directory
158
- destination_directory = @workingdirectory + '/../files/processed/'
158
+ destination_directory = @workingdirectory + '/../files/processed/' + filename
159
159
  FileUtils.mv(echi_file, destination_directory)
160
160
 
161
161
  if @config["echi_process_log"] == "Y"
@@ -273,6 +273,10 @@ def process_ascii filename
273
273
  end
274
274
  end
275
275
 
276
+ #Move the file to the processed directory
277
+ destination_directory = @workingdirectory + '/../files/processed/' + filename
278
+ FileUtils.mv(echi_file, destination_directory)
279
+
276
280
  if @config["echi_process_log"] == "Y"
277
281
  #Finish logging the details on the file
278
282
  echi_log.records = record_cnt
@@ -2,7 +2,7 @@ module EchiConverter #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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.0.4</a>
36
+ <a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.0.5</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;echi-converter&#8217;</h1>
39
39
 
@@ -196,7 +196,7 @@
196
196
 
197
197
  <p>Comments are welcome. Send an email to <a href="mailto:jason@goecke.net">jason [at] goecke.net</a>.</p>
198
198
  <p class="coda">
199
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 16th August 2007<br>
199
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 17th August 2007<br>
200
200
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
201
201
  </p>
202
202
  </div>
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.0.4
7
- date: 2007-08-16 00:00:00 -07:00
6
+ version: 0.0.5
7
+ date: 2007-08-17 00:00:00 -07: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