echi-converter 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -212,10 +212,18 @@
212
212
  * #21295 - Migrations for Oracle and automated table generation not working
213
213
  * Known issue(s):
214
214
 
215
- == 0.4.1 2009-01-09
215
+ == 0.4.1 2009-01-10
216
216
 
217
217
  * Major enhancement(s):
218
218
  * Minor enhancement(s):
219
219
  * #23293 Strip special characters from strings before inserting to the database
220
220
  * Bug fix(es):
221
+ * Known issue(s):
222
+
223
+ == 0.4.2 2009-02-02
224
+
225
+ * Major enhancement(s):
226
+ * Minor enhancement(s):
227
+ * Added an option 'echi_use_utc' in application.yml to record all data times in UTC for binary files, true by default
228
+ * Bug fix(es):
221
229
  * Known issue(s):
@@ -14,6 +14,7 @@ echi_format: BINARY #valid settings are ASCII or BINARY
14
14
  echi_process_log: Y #valid is Y/N to turn it on or off
15
15
  echi_read_extra_byte: Y #May toggle this to Y, 'yes', or N, 'no', as to whether to read an extra byte for binary files at the end of each record
16
16
  echi_process_dat_files: N #Insert additional tables with data from the '.dat' files, and update regularly (not available when 'pco_process' set to 'Y')
17
+ echi_use_utc: true
17
18
  #Filenames of the dat files
18
19
  echi_acd_dat: acd.dat
19
20
  echi_agent_dat: agname.dat
@@ -201,7 +201,11 @@ module EchiConverter
201
201
  case length
202
202
  when 4
203
203
  value = @binary_file.read(length).unpack("l").first.to_i
204
- value = Time.at(value)
204
+ if $config["echi_use_utc"] == true
205
+ value = Time.at(value).utc
206
+ else
207
+ value = Time.at(value)
208
+ end
205
209
  end
206
210
  #Process strings
207
211
  when 'str'
@@ -2,7 +2,7 @@ module EchiConverter #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 1
5
+ TINY = 2
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.4.1</a>
36
+ <a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.4.2</a>
37
37
  </div>
38
38
  <h1>&#8216;echi-converter&#8217;</h1>
39
39
  <h2>The <span class="caps">ECHI</span> (External Call History Interface) Converter</h2>
@@ -188,7 +188,7 @@ h2. Requirements</p>
188
188
  <li><a href="http://www.adhearsion.com">Adhearsion</a>, the open-source, unconventional voice framework that ties technologies together neatly.</li>
189
189
  </ol>
190
190
  <p class="coda">
191
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 7th January 2009<br>
191
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 20th February 2009<br>
192
192
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
193
193
  </p>
194
194
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echi-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Goecke
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-09 00:00:00 -08:00
12
+ date: 2009-02-20 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency