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 +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/data/segments/txi.segment.yml +4 -4
- data/lib/definitions/segments/generated/txi.rb +24 -24
- data/lib/eddy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d3995d8d9df765975441691c229cf9d627178b8778682d6380892a4e8faad6a
|
4
|
+
data.tar.gz: 2b6b6966807e89efcfa9f573aac6711e7d265b493f3a884cb8e1b7690caf9b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50ff6ca4371ff745dde2576bd5a1063fcf6fc81f54091f320db4d93feb5bb1680a3d4bdd1254870d18aa37aa05ba7e0a529199b93b7aa692c826c04f184cc6d9
|
7
|
+
data.tar.gz: 424bc054c7ae7a123c390773e25d895ffba111ad37ed8445f6f4754b5b4b400e9a32bc3ccc12aed93582635418337444fdbc543a6840425ba8c2b614f0adeb62
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
data/Gemfile.lock
CHANGED
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.
|
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:
|
7
|
-
- { ref:
|
8
|
-
- { ref:
|
9
|
-
- { ref:
|
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
|
-
@
|
16
|
-
@
|
17
|
-
@
|
18
|
-
@
|
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
|
-
@
|
22
|
-
@
|
23
|
-
@
|
24
|
-
@
|
21
|
+
@txi01,
|
22
|
+
@txi02,
|
23
|
+
@txi03,
|
24
|
+
@txi09,
|
25
25
|
)
|
26
26
|
end
|
27
27
|
|
28
|
-
# ###
|
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
|
39
|
-
@
|
38
|
+
def TXI01=(arg)
|
39
|
+
@txi01.value = arg
|
40
40
|
end
|
41
|
-
alias TaxTypeCode=
|
41
|
+
alias TaxTypeCode= TXI01=
|
42
42
|
|
43
|
-
# ###
|
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
|
54
|
-
@
|
53
|
+
def TXI02=(arg)
|
54
|
+
@txi02.value = arg
|
55
55
|
end
|
56
|
-
alias MonetaryAmount=
|
56
|
+
alias MonetaryAmount= TXI02=
|
57
57
|
|
58
|
-
# ###
|
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
|
69
|
-
@
|
68
|
+
def TXI03=(arg)
|
69
|
+
@txi03.value = arg
|
70
70
|
end
|
71
|
-
alias Percent=
|
71
|
+
alias Percent= TXI03=
|
72
72
|
|
73
|
-
# ###
|
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
|
84
|
-
@
|
83
|
+
def TXI09=(arg)
|
84
|
+
@txi09.value = arg
|
85
85
|
end
|
86
|
-
alias TaxIdentificationNumber=
|
86
|
+
alias TaxIdentificationNumber= TXI09=
|
87
87
|
|
88
88
|
end
|
89
89
|
end
|
data/lib/eddy/version.rb
CHANGED
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.
|
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-
|
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.
|
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: []
|