exlibris-primo 1.1.8 → 1.1.9
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 +4 -4
- data/lib/exlibris/primo/config.rb +5 -4
- data/lib/exlibris/primo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01f76416ae24ba5c3d237cc1cebfe8c4192e17f7
|
4
|
+
data.tar.gz: 497c57e36349a2bb3d7f88a27eaa10a3ff3b55b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 865d284666936374dc228aeba4696fe7d398757d895499f761400075001ed6d8bc0b783280213eb8f081740a435d020d9a1b5fb94947e7b1c8d95476651a86a1
|
7
|
+
data.tar.gz: 9a31bba9503106e7de56d3d85dfe9348e6e6ba04d576c3dda08b33ed2b29db19c555eac4db8b42bdb4391e98a6fbd35136a6a6250df22b2be9a770eb3decd8b1
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'erb'
|
1
2
|
module Exlibris
|
2
3
|
module Primo
|
3
4
|
#
|
@@ -6,17 +7,17 @@ module Exlibris
|
|
6
7
|
module Config
|
7
8
|
class << self
|
8
9
|
include WriteAttributes
|
9
|
-
attr_accessor :base_url, :institution, :institutions, :libraries, :availability_statuses, :sources,
|
10
|
+
attr_accessor :base_url, :institution, :institutions, :libraries, :availability_statuses, :sources,
|
10
11
|
:facet_labels, :facet_top_level, :facet_collections, :facet_resource_types, :load_time
|
11
12
|
|
12
13
|
def load_yaml file
|
13
|
-
write_attributes YAML.
|
14
|
+
write_attributes YAML.load(ERB.new(File.read(file)).result)
|
14
15
|
self.load_time = Time.now
|
15
16
|
end
|
16
17
|
end
|
17
18
|
|
18
19
|
#
|
19
|
-
# These attributes default to the global config settings if not
|
20
|
+
# These attributes default to the global config settings if not
|
20
21
|
# specified locally.
|
21
22
|
#
|
22
23
|
module Attributes
|
@@ -66,4 +67,4 @@ module Exlibris
|
|
66
67
|
end
|
67
68
|
end
|
68
69
|
end
|
69
|
-
end
|
70
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exlibris-primo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scot Dalton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: require_all
|