sie 4.1.1 → 4.1.2

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: 26526531e52a08b42e851ecb48e7139284c0d123497e0690b96e034568d80260
4
- data.tar.gz: 66f9a81079464969de19e6fdd5a5b35c2eda75376ec6495b7afe31d3bf3e9b45
3
+ metadata.gz: 03fce1590113082c1f1dd3f7e678a1b0524d5fc6983515db89814d391fb316fe
4
+ data.tar.gz: 5eae064606c80b137a3b5cd5d6a571de20b1a6e2074d9e51975b752ffaba76dd
5
5
  SHA512:
6
- metadata.gz: 1a00336cae71fa202912e83f523fd3229600f6712f12531425e841cb328c2a45fd3f2203e009266b467ca9e544fcb3abbfceef8b5dc6254f324f88213957f217
7
- data.tar.gz: 3fa86473dd8b9ade5ba84fd227fca41be16bb7c6e4cfc15ae27cb9cb1a4d2a1d3a765b7bd6134b3d6765a2446b74e6a209d3e355756d62d2c2de165a21a54749
6
+ metadata.gz: 444307d156642b1fef67949d4a5632675f6fe9d65ce46b5d383c893333642a71c6eb1d44522ac69dddcbcdf975fb195acefa27c596a803a456cc55682fc096b0
7
+ data.tar.gz: 55abf86ae21e562f19da367fdf265d3107c0446b4744a0f3e0dbe1e73bad4276b8a8bf23f6ec63c1cb8aa8789ac6e4c39c5d50d188d9ec0ae2fc2ba555147154
data/lib/sie/document.rb CHANGED
@@ -25,6 +25,9 @@ module Sie
25
25
 
26
26
  private
27
27
 
28
+ delegate :add_line, :add_array,
29
+ to: :renderer
30
+
28
31
  delegate :program, :program_version, :generated_on, :company_name,
29
32
  :accounts, :balance_account_numbers, :closing_account_numbers,
30
33
  :balance_before, :each_voucher, :dimensions,
@@ -131,8 +134,6 @@ module Sie
131
134
  end
132
135
  end
133
136
 
134
- delegate :add_line, :add_array, to: :renderer
135
-
136
137
  def renderer
137
138
  @renderer ||= Renderer.new
138
139
  end
@@ -88,7 +88,7 @@ module Sie
88
88
  end
89
89
 
90
90
  def find_unquoted_string
91
- scanner.scan(/\S+/)
91
+ scanner.scan(/[^}\s]+/)
92
92
  end
93
93
 
94
94
  def remove_unnecessary_escapes(match)
data/lib/sie/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Sie
2
2
  # For versioning see: http://semver.org/
3
- VERSION = "4.1.1"
3
+ VERSION = "4.1.2"
4
4
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sie
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barsoom AB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: attr_extras
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: activesupport
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -39,41 +25,13 @@ dependencies:
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '1.3'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '1.3'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
28
+ name: attr_extras
71
29
  requirement: !ruby/object:Gem::Requirement
72
30
  requirements:
73
31
  - - ">="
74
32
  - !ruby/object:Gem::Version
75
33
  version: '0'
76
- type: :development
34
+ type: :runtime
77
35
  prerelease: false
78
36
  version_requirements: !ruby/object:Gem::Requirement
79
37
  requirements:
@@ -121,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
79
  - !ruby/object:Gem::Version
122
80
  version: '0'
123
81
  requirements: []
124
- rubygems_version: 3.2.31
82
+ rubygems_version: 3.3.11
125
83
  signing_key:
126
84
  specification_version: 4
127
- summary: Parses and generates SIE files (http://sie.se/)
85
+ summary: Parses and generates SIE files (https://sie.se/)
128
86
  test_files: []