eddy 0.9.0 → 0.9.1

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
  SHA256:
3
- metadata.gz: 8bc43221c915e9c746ad1adef91ee612a9a86e37529622960274bc052333fad1
4
- data.tar.gz: 7520602c3ef65f24b40a3fd7ea007f41c568cb07a304e038bab4f9617cc7bc41
3
+ metadata.gz: 3d3995d8d9df765975441691c229cf9d627178b8778682d6380892a4e8faad6a
4
+ data.tar.gz: 2b6b6966807e89efcfa9f573aac6711e7d265b493f3a884cb8e1b7690caf9b93
5
5
  SHA512:
6
- metadata.gz: 38311350797183f796764ee49f24c75212c45a88711833b445e110c40eb1206c46ffcd5594acd60051166930bab08eba726ed95ba7cfc9f9a68d9c7ea254e34a
7
- data.tar.gz: 0d7d474a09a527c424e4db1fe3809593413648c869b9d1328cfe5d10f018b92bfdb49a839d5a446fb41fa6d4c2e753fe4ee3455db4f6d31eca191bb16ee21925
6
+ metadata.gz: 50ff6ca4371ff745dde2576bd5a1063fcf6fc81f54091f320db4d93feb5bb1680a3d4bdd1254870d18aa37aa05ba7e0a529199b93b7aa692c826c04f184cc6d9
7
+ data.tar.gz: 424bc054c7ae7a123c390773e25d895ffba111ad37ed8445f6f4754b5b4b400e9a32bc3ccc12aed93582635418337444fdbc543a6840425ba8c2b614f0adeb62
@@ -11,7 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
  >
12
12
  > While the API is still changing, enough code exists that EDI documents can currently be written with Eddy (though I wouldn't recommend use in production environments yet).
13
13
 
14
- ## master (unreleased)
14
+ <!-- ## master (unreleased) -->
15
+
16
+ ## 0.9.1 (2020-07-23)
17
+
18
+ ### Fixed
19
+
20
+ - Fix incorrect element names in `TXI` segment.
21
+
15
22
 
16
23
  ## 0.9.0 (2020-07-03)
17
24
 
@@ -26,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
33
  - QTY
27
34
  - SCH
28
35
  - SDQ
36
+ - TXI
29
37
 
30
38
  ### Fixed
31
39
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eddy (0.9.0)
4
+ eddy (0.9.1)
5
5
  ginny (~> 0.6.3)
6
6
  json_schemer (~> 0.2.8)
7
7
  thor (~> 1.0.1)
data/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  [travis-ci]: https://travis-ci.org/tcd/eddy
11
11
  [coveralls]: https://coveralls.io/github/tcd/eddy?branch=master
12
12
  [license]: https://github.com/tcd/eddy/blob/master/LICENSE.txt
13
- [docs]: https://www.rubydoc.info/gems/eddy/0.9.0
13
+ [docs]: https://www.rubydoc.info/gems/eddy/0.9.1
14
14
 
15
15
  ## Installation
16
16
 
@@ -3,7 +3,7 @@ id: TXI
3
3
  name: Tax Information
4
4
  purpose: To specify tax information.
5
5
  elements:
6
- - { ref: ACK01, id: '963', req: M }
7
- - { ref: ACK02, id: '782', req: X }
8
- - { ref: ACK03, id: '954', req: X }
9
- - { ref: ACK09, id: '325', req: O }
6
+ - { ref: TXI01, id: '963', req: M }
7
+ - { ref: TXI02, id: '782', req: X }
8
+ - { ref: TXI03, id: '954', req: X }
9
+ - { ref: TXI09, id: '325', req: O }
@@ -12,20 +12,20 @@ module Eddy
12
12
  def initialize(store)
13
13
  @id = "TXI"
14
14
  @name = "Tax Information"
15
- @ack01 = Eddy::Elements::E963.new(ref: "ACK01", req: "M")
16
- @ack02 = Eddy::Elements::E782.new(ref: "ACK02", req: "X")
17
- @ack03 = Eddy::Elements::E954.new(ref: "ACK03", req: "X")
18
- @ack09 = Eddy::Elements::E325.new(ref: "ACK09", req: "O")
15
+ @txi01 = Eddy::Elements::E963.new(ref: "TXI01", req: "M")
16
+ @txi02 = Eddy::Elements::E782.new(ref: "TXI02", req: "X")
17
+ @txi03 = Eddy::Elements::E954.new(ref: "TXI03", req: "X")
18
+ @txi09 = Eddy::Elements::E325.new(ref: "TXI09", req: "O")
19
19
  super(
20
20
  store,
21
- @ack01,
22
- @ack02,
23
- @ack03,
24
- @ack09,
21
+ @txi01,
22
+ @txi02,
23
+ @txi03,
24
+ @txi09,
25
25
  )
26
26
  end
27
27
 
28
- # ### ACK01
28
+ # ### TXI01
29
29
  #
30
30
  # - Id: 963
31
31
  # - Name: Tax Type Code
@@ -35,12 +35,12 @@ module Eddy
35
35
  #
36
36
  # @param arg [String]
37
37
  # @return [void]
38
- def ACK01=(arg)
39
- @ack01.value = arg
38
+ def TXI01=(arg)
39
+ @txi01.value = arg
40
40
  end
41
- alias TaxTypeCode= ACK01=
41
+ alias TaxTypeCode= TXI01=
42
42
 
43
- # ### ACK02
43
+ # ### TXI02
44
44
  #
45
45
  # - Id: 782
46
46
  # - Name: Monetary Amount
@@ -50,12 +50,12 @@ module Eddy
50
50
  #
51
51
  # @param arg [Float]
52
52
  # @return [void]
53
- def ACK02=(arg)
54
- @ack02.value = arg
53
+ def TXI02=(arg)
54
+ @txi02.value = arg
55
55
  end
56
- alias MonetaryAmount= ACK02=
56
+ alias MonetaryAmount= TXI02=
57
57
 
58
- # ### ACK03
58
+ # ### TXI03
59
59
  #
60
60
  # - Id: 954
61
61
  # - Name: Percent
@@ -65,12 +65,12 @@ module Eddy
65
65
  #
66
66
  # @param arg [Float]
67
67
  # @return [void]
68
- def ACK03=(arg)
69
- @ack03.value = arg
68
+ def TXI03=(arg)
69
+ @txi03.value = arg
70
70
  end
71
- alias Percent= ACK03=
71
+ alias Percent= TXI03=
72
72
 
73
- # ### ACK09
73
+ # ### TXI09
74
74
  #
75
75
  # - Id: 325
76
76
  # - Name: Tax Identification Number
@@ -80,10 +80,10 @@ module Eddy
80
80
  #
81
81
  # @param arg [String]
82
82
  # @return [void]
83
- def ACK09=(arg)
84
- @ack09.value = arg
83
+ def TXI09=(arg)
84
+ @txi09.value = arg
85
85
  end
86
- alias TaxIdentificationNumber= ACK09=
86
+ alias TaxIdentificationNumber= TXI09=
87
87
 
88
88
  end
89
89
  end
@@ -1,3 +1,3 @@
1
1
  module Eddy
2
- VERSION = "0.9.0".freeze()
2
+ VERSION = "0.9.1".freeze()
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clay Dunston
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-17 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -1642,7 +1642,7 @@ metadata:
1642
1642
  homepage_uri: https://github.com/tcd/eddy
1643
1643
  source_code_uri: https://github.com/tcd/eddy
1644
1644
  changelog_uri: https://github.com/tcd/eddy/blob/master/CHANGELOG.md
1645
- documentation_uri: https://www.rubydoc.info/gems/eddy/0.9.0
1645
+ documentation_uri: https://www.rubydoc.info/gems/eddy/0.9.1
1646
1646
  yard.run: yri
1647
1647
  post_install_message:
1648
1648
  rdoc_options: []