bolognese 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4eb2e4d5da338dbabff08512052ec0d9442279d8924b07ca0ce925fc46e59a0
4
- data.tar.gz: '0258b0e5068ee36fecb9b536272e42faece525db6aeed5c7bfa8b28c980d3f9e'
3
+ metadata.gz: 87e3780e4a08a0519b050e35b03aab0dea28606f43ca360a9e6376e3c6b08b03
4
+ data.tar.gz: fb2cdcf7bfb694247cf3862745e4993f75d4b690e57cb157460681d855182534
5
5
  SHA512:
6
- metadata.gz: 276a307518bf5bb8c284c0bfbc8fc89f2e31e9c5cd23cd0924d1ed4f80a015052541d2fd0e99ee886d62d3f139a181c5337e7632af837c3064ea6841a9cc1c7f
7
- data.tar.gz: 1ad177666f1977d1db8a27754e60ed93fdbbf7a5310c929ffb08980c43e9d1ad74858e2355963979949036232cc416b08f945cd0a1ba8b63f875c4fcb456c921
6
+ metadata.gz: 1ff4f19bd7b17d687daf41aea265ec67ea333b64adc4c9c91f36e8f43e608caa2e7c7f83b4fdf39dcbbb550a5c6fac04c9e916f2299de9f73b2014fef7f6ae03
7
+ data.tar.gz: 1b9ac57358ab023b9baee076cfdaceae0df9827a1271a5db0b10e7beee54ea9fc61dae8a42141a9182e3f068f2845dbe22bb9ea898a165b61891b8cff72e2bb6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (1.0.23)
4
+ bolognese (1.0.24)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (~> 4.1)
@@ -169,7 +169,7 @@ GEM
169
169
  temple (0.8.0)
170
170
  thor (0.20.3)
171
171
  thread_safe (0.3.6)
172
- tilt (2.0.8)
172
+ tilt (2.0.9)
173
173
  trollop (2.9.9)
174
174
  tzinfo (1.2.5)
175
175
  thread_safe (~> 0.1)
@@ -77,7 +77,6 @@ module Bolognese
77
77
 
78
78
  # set attributes directly
79
79
  read_options = options.slice(
80
- :sandbox,
81
80
  :creator,
82
81
  :contributor,
83
82
  :titles,
@@ -100,7 +99,7 @@ module Bolognese
100
99
  ).compact
101
100
 
102
101
  # generate name for method to call dynamically
103
- @meta = @from.present? ? send("read_" + @from, { string: string }.merge(read_options)) : {}
102
+ @meta = @from.present? ? send("read_" + @from, { string: string, sandbox: options[:sandbox] }.merge(read_options)) : {}
104
103
  @identifier = normalize_doi(options[:doi] || input, options) || @meta.fetch("id", nil) || @meta.fetch("identifier", nil)
105
104
  end
106
105
 
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "1.0.23"
2
+ VERSION = "1.0.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner