gds-sso 11.2.1 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,9 @@ module Signonotron2IntegrationHelpers
35
35
  end
36
36
 
37
37
  def load_signonotron_fixture(filename)
38
- db = YAML.load_file(signon_path + "/config/database.yml")['test']
38
+ require 'erb'
39
+ parsed = ERB.new(File.read(signon_path + "/config/database.yml")).result
40
+ db = YAML.load(parsed)['test']
39
41
 
40
42
  cmd = "mysql #{db['database']} -u#{db['username']} -p#{db['password']} < #{fixture_file(filename)}"
41
43
  system cmd or raise "Error loading signonotron fixture"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.2.1
4
+ version: 12.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Patterson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-08 00:00:00.000000000 Z
12
+ date: 2016-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
305
  version: '0'
306
306
  requirements: []
307
307
  rubyforge_project: gds-sso
308
- rubygems_version: 2.2.5
308
+ rubygems_version: 2.4.5.1
309
309
  signing_key:
310
310
  specification_version: 4
311
311
  summary: Client for GDS' OAuth 2-based SSO