swissmedic-diff 0.2.8 → 0.2.9

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: 4c9f7f364660ce0313e6261e73e127c73e6f737b236e95a19934a817ba7e2eed
4
- data.tar.gz: aa425b73fdfd27acc1f5a59c7b091c4655355f647e232fd91e781eef925a04e4
3
+ metadata.gz: 19f01fbc8c05af3fb278f60dfd6178e70b9f8a677ff133a1d0e0d13fc838ec58
4
+ data.tar.gz: 1f3db9c21bdff31bf23688d410947885af394ac449a477cf8514e6288b6c5c0e
5
5
  SHA512:
6
- metadata.gz: 002e643de90c8536d6e891420cf66960f1447636eca5bdd775a14f7469f337ad8cc98422427dc4ea8e9e9a76e046afa489667bebb705bacb983d27d7d2b6cb33
7
- data.tar.gz: 9eda362cca9621f6f6ad60d5fe476bde48d691f5dcd058b618f1cbe69176d4e26e098a5a78e7ceca8dc39d4a5444b992a03a9b3d077b325f334f6bcff7f6cddd
6
+ metadata.gz: 47ee5d408db72535624e955106475e1769ddd53bd1a7913e277478865ae0456b0ed7da0c2ae483821e8ec7e53f6098c5058d65bf32dd826a4cdab9940b14b895
7
+ data.tar.gz: bddc6043f86be354fa31727ed8b2fd6cf3f0069ddc6065b4431beae2993a6a77e7291a32935da674047d840c4816e016e0faa3665f11df54880571639b08bf3c
data/Gemfile.lock CHANGED
@@ -1,8 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swissmedic-diff (0.2.8)
4
+ swissmedic-diff (0.2.9)
5
+ logger
5
6
  nokogiri
7
+ ostruct
6
8
  rubyXL (>= 3.3.1)
7
9
  rubyzip
8
10
  spreadsheet
@@ -11,38 +13,42 @@ GEM
11
13
  remote: https://rubygems.org/
12
14
  specs:
13
15
  ansi (1.5.0)
14
- builder (3.2.4)
16
+ bigdecimal (3.1.9)
17
+ builder (3.3.0)
15
18
  byebug (11.1.3)
16
19
  coderay (1.1.3)
17
- method_source (1.0.0)
18
- minitest (5.20.0)
19
- minitest-reporters (1.6.1)
20
+ logger (1.6.4)
21
+ method_source (1.1.0)
22
+ minitest (5.25.4)
23
+ minitest-reporters (1.7.1)
20
24
  ansi
21
25
  builder
22
26
  minitest (>= 5.0)
23
27
  ruby-progressbar
24
- nokogiri (1.15.4-x86_64-linux)
28
+ nokogiri (1.18.1-x86_64-linux-gnu)
25
29
  racc (~> 1.4)
30
+ ostruct (0.6.1)
26
31
  pry (0.14.2)
27
32
  coderay (~> 1.1)
28
33
  method_source (~> 1.0)
29
34
  pry-byebug (3.10.1)
30
35
  byebug (~> 11.0)
31
36
  pry (>= 0.13, < 0.15)
32
- pry-doc (1.4.0)
37
+ pry-doc (1.5.0)
33
38
  pry (~> 0.11)
34
39
  yard (~> 0.9.11)
35
- racc (1.7.1)
36
- rake (13.0.6)
37
- ruby-ole (1.2.12.2)
40
+ racc (1.8.1)
41
+ rake (13.2.1)
42
+ ruby-ole (1.2.13.1)
38
43
  ruby-progressbar (1.13.0)
39
- rubyXL (3.4.25)
44
+ rubyXL (3.4.33)
40
45
  nokogiri (>= 1.10.8)
41
46
  rubyzip (>= 1.3.0)
42
- rubyzip (2.3.2)
43
- spreadsheet (1.3.0)
47
+ rubyzip (2.4.1)
48
+ spreadsheet (1.3.3)
49
+ bigdecimal
44
50
  ruby-ole
45
- yard (0.9.34)
51
+ yard (0.9.37)
46
52
 
47
53
  PLATFORMS
48
54
  x86_64-linux
@@ -56,4 +62,4 @@ DEPENDENCIES
56
62
  swissmedic-diff!
57
63
 
58
64
  BUNDLED WITH
59
- 2.4.10
65
+ 2.5.22
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ === 0.2.9 / 07.01.2025
2
+
3
+ * Eliminated warning because of frozen string under Ruby 3.4
4
+ * Added devenv environment for Ruby 3.4 (see https://devenv.sh/)
5
+
1
6
  === 0.2.8 / 04.10.2023
2
7
 
3
8
  * Fix problem when expiration_date is a string 'Unbegrenzt'
@@ -326,12 +326,12 @@ class SwissmedicDiff
326
326
  _sort_by(sort, iksnr, flags)
327
327
  }.collect { |iksnr, flags|
328
328
  if(flags.include? :new)
329
- "+ " << describe(@diff, iksnr)
329
+ "+ " + describe(@diff, iksnr)
330
330
  elsif(flags.include? :delete)
331
- "- " << describe(@diff, iksnr)
331
+ "- " + describe(@diff, iksnr)
332
332
  else
333
- "> " << describe(@diff, iksnr) << "; " \
334
- << flags.collect { |flag| describe_flag(@diff, iksnr, flag)
333
+ "> " + describe(@diff, iksnr) << "; " \
334
+ + flags.collect { |flag| describe_flag(@diff, iksnr, flag)
335
335
  }.compact.join(", ")
336
336
  end
337
337
  }.join("\n")
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class SwissmedicDiff
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.9'
3
3
  end
metadata CHANGED
@@ -1,11 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swissmedic-diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hannes Wyss, Masaomi Hatakeyama
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
10
  date: 1980-01-01 00:00:00.000000000 Z
@@ -66,6 +65,34 @@ dependencies:
66
65
  - - ">="
67
66
  - !ruby/object:Gem::Version
68
67
  version: '0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: logger
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ type: :runtime
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: ostruct
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
69
96
  - !ruby/object:Gem::Dependency
70
97
  name: rake
71
98
  requirement: !ruby/object:Gem::Requirement
@@ -132,8 +159,8 @@ files:
132
159
  - test/test_swissmedic-diff.rb
133
160
  homepage: https://github.com/zdavatz/swissmedic-diff
134
161
  licenses: []
135
- metadata: {}
136
- post_install_message:
162
+ metadata:
163
+ changelog_uri: https://github.com/zdavatz/swissmedic-diff/blob/master/History.md
137
164
  rdoc_options: []
138
165
  require_paths:
139
166
  - lib
@@ -148,8 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
175
  - !ruby/object:Gem::Version
149
176
  version: '0'
150
177
  requirements: []
151
- rubygems_version: 3.4.13
152
- signing_key:
178
+ rubygems_version: 3.6.2
153
179
  specification_version: 4
154
180
  summary: Find out what Products have changed on the swiss healthcare market
155
181
  test_files: