exlibris-primo 1.1.8 → 1.1.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
  SHA1:
3
- metadata.gz: 383d9d5a1174931dcde9355d42f812e7e3c23f67
4
- data.tar.gz: 33e41cf747481252b1fc83d7f056ad0eab075d32
3
+ metadata.gz: 01f76416ae24ba5c3d237cc1cebfe8c4192e17f7
4
+ data.tar.gz: 497c57e36349a2bb3d7f88a27eaa10a3ff3b55b8
5
5
  SHA512:
6
- metadata.gz: cc3c5601eb54af405f968271d990e20b676f6d03e0b731e30eba9d90e0c27d4d661135da5416b6ee234a13b9706c26e635c598865e6703426721ace7908cfe53
7
- data.tar.gz: 0529660783047898614081bcf8ffe9d25dfe7eac01ef1e268b650fa5bea4dfda835cb198b84782f5febd30f2f2afd23683bbddf102440abfd36c3fb1764b8694
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.load_file(file)
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
@@ -1,5 +1,5 @@
1
1
  module Exlibris
2
2
  module Primo
3
- VERSION = '1.1.8'
3
+ VERSION = '1.1.9'
4
4
  end
5
5
  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.8
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-20 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: require_all