casino 4.0.0.pre.1 → 4.0.0.pre.2

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
  SHA1:
3
- metadata.gz: 71cfd75e5672f90469a0c6d4fdd0f2d3a8aa8c33
4
- data.tar.gz: f21e697ce6f06d1b2212e503e34dd096f6128f3c
3
+ metadata.gz: cff1dc935c7025b688e522670e88365067743fe9
4
+ data.tar.gz: c71e6328c03e6b292a1ca53c638b9bda81506ea0
5
5
  SHA512:
6
- metadata.gz: a9208fbd8c620d512e0ee8ef82ec7bdec667003ba6f7eaff1833fe69b1fc85f16a353201636d385b1eb98140996d0e4f337a9d89ab8219fc88c3510b7b8d5b32
7
- data.tar.gz: e24bc5645aadd311e410fd6da88996672faa77014ef4981ed5c03d80a12d9a6fcaeec5af700edd68511378c2647a5c42ccc4617912ca7f7856ef6d0dd12ecf61
6
+ metadata.gz: 1009bfa6723df53a565108180bb64d626c946337b757a9171e94643b9fab01953cd796d6e8e9d0fe23baaf01efb04a114c566cc884f6f2f52893eab06b3b15c0
7
+ data.tar.gz: 891046eea81564fcef89956a4d9ee423ef6816f91cf4ac99432db5189040a304a2113d103535b6b52e9e2b634dc7b36bb8ac50ad178bf08a45386fcf31700de1
@@ -27,7 +27,7 @@ module CASino::AuthenticationProcessor
27
27
 
28
28
  def authenticators
29
29
  @authenticators ||= {}.tap do |authenticators|
30
- CASino.config.authenticators.each do |name, auth|
30
+ CASino.config[:authenticators].each do |name, auth|
31
31
  next unless auth.is_a?(Hash)
32
32
 
33
33
  authenticator = if auth[:class]
@@ -4,7 +4,7 @@ namespace :casino do
4
4
  namespace :authentication do
5
5
  desc 'Test authentication.'
6
6
  task test: :environment do |task, args|
7
- include CASino::ProcessorConcern::Authentication
7
+ include CASino::AuthenticationProcessor
8
8
  print "Username: "
9
9
  username = STDIN.gets.chomp
10
10
  print "Password (won't be shown): "
@@ -5,7 +5,7 @@ namespace :casino do
5
5
 
6
6
  desc 'Add a service rule (prefix the url parameter with "regex:" to add a regular expression)'
7
7
  task :add, [:name, :url] => :environment do |task, args|
8
- include CASino::ProcessorConcern::ServiceTickets
8
+ include CASino::ServiceTicketProcessor
9
9
  service_rule = CASino::ServiceRule.new name: args[:name]
10
10
  match = /^regex:(.*)/.match(args[:url])
11
11
  if match.nil?
@@ -1,3 +1,3 @@
1
1
  module CASino
2
- VERSION = '4.0.0.pre.1'
2
+ VERSION = '4.0.0.pre.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casino
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre.1
4
+ version: 4.0.0.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nils Caspar
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-02-09 00:00:00.000000000 Z
13
+ date: 2015-04-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capybara