rvista 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v0.6.6 (18th January 2010)
2
+ - RVista::PO: small tweak to interpretation of backorder field
3
+
1
4
  v0.6.5 (16th January 2010)
2
5
  - RVista::POA: handle invalid looking numbers sanely
3
6
 
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/testtask'
5
5
  require "rake/gempackagetask"
6
6
  require "rubygems"
7
7
 
8
- PKG_VERSION = "0.6.5"
8
+ PKG_VERSION = "0.6.6"
9
9
  PKG_NAME = "rvista"
10
10
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
11
11
 
@@ -30,7 +30,7 @@ module RVista
30
30
  item.retail_unit_price = BigDecimal.new(data[8]) unless data[8].nil?
31
31
  item.was_unit_price = BigDecimal.new(data[9]) unless data[9].nil?
32
32
  item.discount = data[10].to_i unless data[10].nil?
33
- item.backorder = data[11] == "Y" ? true : false
33
+ item.backorder = data[11] == "N" ? false : true
34
34
  item.additional_discount = data[12]
35
35
  item.firm_sale = data[13]
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvista
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Healy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-16 00:00:00 +11:00
12
+ date: 2010-01-18 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency