xsys 0.27.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36c204ccabd7cfbad015e42d2841d1f1df90ac2e
4
- data.tar.gz: 64063b94e2fd87990e2a8c796b627c2750242e05
3
+ metadata.gz: f4514da3a1f24212cfdb10c6728740eb603fe4b2
4
+ data.tar.gz: 8a3e804ad105185ec663100f35608023aa511d4d
5
5
  SHA512:
6
- metadata.gz: c936185d077c34f28b33e0cb97cde71a0e69fcf832e2e46a3b1c4035309e587df5882f92cde37d4f3c3a76c26a3eca7136596f4fc39674210c9a42378a25b831
7
- data.tar.gz: b0ce2359d6a5d9b9af5b1c485596ab820a8668fd8cfef8ae618b9aca3be349aafc9b5b10b05e28223e3c21c3684654ced6c3bbfb583a49e812e2d03e653bdba0
6
+ metadata.gz: a9f8ce70f1e0e5093aaa730373a819b4408faa22573cb934455ee9e5414e591ef9d55040e8ce14ee2140b6ab2aa4fa0e32f12eb5041b73c93cec7c928285be07
7
+ data.tar.gz: 899502f0706882edaf6c995108de322b8c33d89a3df2102cb483f48f98e1d1cba53f70634406f4b037f08973bcbfd1af0e8affe9ef62d8fc10542df1223aedce
data/CHANGELOG.md CHANGED
@@ -409,3 +409,7 @@
409
409
  ## v0.27.0
410
410
 
411
411
  * Added stockable attribute to products
412
+
413
+ ## v0.28.0
414
+
415
+ * Added attribute to corporation tax
@@ -2,13 +2,14 @@ module Xsys
2
2
  module Model
3
3
  class CorporationTax
4
4
  def self.attr_list
5
- [:tax_kind_code, :quotient, :amount, :use_default_value]
5
+ [:tax_kind_code, :tax_kind_name, :quotient, :amount, :use_default_value]
6
6
  end
7
7
 
8
8
  attr_reader *attr_list
9
9
 
10
10
  def initialize(attributes={})
11
11
  self.tax_kind_code = attributes['tax_kind_code']
12
+ self.tax_kind_name = attributes['tax_kind_name']
12
13
  self.quotient = BigDecimal.new(attributes['quotient'])
13
14
  self.amount = BigDecimal.new(attributes['amount'])
14
15
  self.use_default_value = attributes['use_default_value']
data/lib/xsys/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xsys
2
- VERSION = "0.27.0"
2
+ VERSION = "0.28.0"
3
3
  end
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.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-23 00:00:00.000000000 Z
11
+ date: 2017-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler