casino_core 1.3.3 → 1.3.4

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.
data.tar.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- casino_core (1.3.3)
4
+ casino_core (1.3.4)
5
5
  activerecord (~> 3.2.9)
6
6
  addressable (~> 2.3)
7
7
  faraday (~> 0.8)
@@ -65,8 +65,11 @@ module CASinoCore
65
65
  begin
66
66
  require gemname
67
67
  CASinoCore::Authenticator.const_get(classname).new(options)
68
- rescue LoadError
69
- raise LoadError, "Authenticator '#{name}' not found. Please include \"gem '#{gemname}'\" in your Gemfile and try again."
68
+ rescue LoadError => error
69
+ puts "Failed to load authenticator '#{name}'. Maybe you have to include \"gem '#{gemname}'\" in your Gemfile?"
70
+ puts " Error: #{error.message}"
71
+ puts ''
72
+ raise error
70
73
  end
71
74
  end
72
75
  end
@@ -1,3 +1,3 @@
1
1
  module CASinoCore
2
- VERSION = '1.3.3'
2
+ VERSION = '1.3.4'
3
3
  end
@@ -57,6 +57,7 @@ describe CASinoCore::Settings do
57
57
  CASinoCore::Settings.stub(:require) do
58
58
  raise LoadError, 'cannot load such file'
59
59
  end
60
+ CASinoCore::Settings.stub(:puts)
60
61
  end
61
62
 
62
63
  it 'raises an error' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casino_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
metadata.gz.sig CHANGED
Binary file