xsys 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/xsys/model/product.rb +2 -2
- data/lib/xsys/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c652a6f1d76042153c58efd8fd07b524b3d63ce
|
4
|
+
data.tar.gz: b3d852e9892d7a023ccff58fd6576ca94c2b47e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45f24e60c265c7ef1ee019083ca4fb603a172ead298c80fa9e1740c5ea74f22e8c5420165f20d75a635dee774c09b65a5dd041d267a65d21f2247568ef1643cc
|
7
|
+
data.tar.gz: f38241bb8a23617c3c1b10c23751b9e9111875d3dcf7a36af8d7c790db7e481e582587f1cf08ecc25978a464974b3072765d944ada390f6fee8097796743a46f
|
data/CHANGELOG.md
CHANGED
data/lib/xsys/model/product.rb
CHANGED
@@ -7,7 +7,7 @@ module Xsys
|
|
7
7
|
:pending_ordered_quantity, :stocks, :prices, :category, :provider,
|
8
8
|
:last_total_cost, :last_cost_updated_at, :price_updated_at, :online_stock,
|
9
9
|
:product_size_code, :weight, :length, :width, :height, :packages_quantity,
|
10
|
-
:ean, :packages, :regular_price, :reduced_price, :
|
10
|
+
:ean, :packages, :regular_price, :reduced_price, :credit_card_price, :brand, :model
|
11
11
|
]
|
12
12
|
end
|
13
13
|
|
@@ -16,7 +16,7 @@ module Xsys
|
|
16
16
|
def initialize(attributes={})
|
17
17
|
time_fields = ['cost_updated_at', 'last_cost_updated_at', 'price_updated_at']
|
18
18
|
decimal_fields = ['vat_rate', 'taxed_cost', 'vat_cost', 'total_cost', 'last_total_cost',
|
19
|
-
'regular_price', 'reduced_price', '
|
19
|
+
'regular_price', 'reduced_price', 'credit_card_price']
|
20
20
|
|
21
21
|
attributes.each do |k, v|
|
22
22
|
if k.to_s == 'category'
|
data/lib/xsys/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xsys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matias Hick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project:
|
101
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.4.5.1
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: Get data from xsys api
|