auther 10.0.0 → 10.1.0

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
  SHA256:
3
- metadata.gz: 517d9c2532965d028dd653eb76d49249dbeceffc0794ea4e237cd48cad2c17a5
4
- data.tar.gz: a133ec9811e4ae061e5bd9e90425e6e0dc277a07b00768a6024548a254dcda47
3
+ metadata.gz: dcf05d193198fb024c7136dba4b84990630e7494f7e3098263f7683555a6f4c1
4
+ data.tar.gz: a57213782bf6ce3e6a0aeae108cae247bd1970a323be0c7fbed61a9fc988cb30
5
5
  SHA512:
6
- metadata.gz: 8c8303d5ffe33dc8ff3da1ad1d8ba908854e22cbb859e5a4b0b90778ba026d3877fe346313a11b943027d7af57494937da7ba2219a83dd858e4e8e4d5b021e8b
7
- data.tar.gz: ae524cebff4de933964dd8be792b6793a70c1b17f9da29de102c480634fa6841705e59634f4c9ec2b4e7a6f84bab2c389766325a927e817b1a8c37a18828cc5a
6
+ metadata.gz: 133061fcfbac119e81caaf8511e90ebc7eea9253c6e4003a287457211dcabe83101ab79d5ed941d4db4b66db4bad81a7048f22c64d9421f2a23ae73ff804d256
7
+ data.tar.gz: 890452a7bc0bf9c495233cfcacd2bbb82de19689e4a3a6e7156bebc982cc0360820120cec44558f9aa655e73d8153193a9fd2c8f0b5df4750697fab9b5c66e59
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -26,7 +26,7 @@ module Auther
26
26
  private
27
27
 
28
28
  def paths_type
29
- errors.add(:paths, "must be an array") unless paths.is_a?(Array)
29
+ errors.add :paths, "must be an array" unless paths.is_a? Array
30
30
  end
31
31
  end
32
32
  end
@@ -23,7 +23,7 @@ module Auther
23
23
  end
24
24
 
25
25
  def error_message key
26
- return "" unless error?(key)
26
+ return "" unless error? key
27
27
 
28
28
  "#{key.capitalize} #{errors.messages[key].first}"
29
29
  end
@@ -16,7 +16,7 @@ module Auther
16
16
  def call environment
17
17
  @environment = environment
18
18
 
19
- if authorized?(request.path)
19
+ if authorized? request.path
20
20
  application.call environment
21
21
  else
22
22
  session[Auther::Keymaster.redirect_url_key] = request.path
@@ -12,7 +12,7 @@ module Auther
12
12
  end
13
13
 
14
14
  def self.version
15
- "10.0.0"
15
+ "10.1.0"
16
16
  end
17
17
 
18
18
  def self.version_label
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auther
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.0
4
+ version: 10.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,26 +10,25 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDQDCCAiigAwIBAgIBATANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0xODAyMTQxNTA4NDVaFw0xOTAyMTQx
15
- NTA4NDVaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
13
+ MIIC/jCCAeagAwIBAgIBAjANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0xOTAyMTcxNjAxMTFaFw0yMDAyMTcx
15
+ NjAxMTFaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
16
  IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
17
  xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
18
  brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
19
  9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaft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zCL+nbbXqeoqiHgZaUvcyyQrGj5sQRxMTzuMXzzQxtHnuTuKrcz16HMTX/O
28
+ dKvURM+1PwDCzC5tvRwjhUJIizau6+MtkFCvJHmaAj1aZL3odcPejHj5Hxt/0CUW
29
+ y84=
31
30
  -----END CERTIFICATE-----
32
- date: 2019-01-01 00:00:00.000000000 Z
31
+ date: 2019-04-01 00:00:00.000000000 Z
33
32
  dependencies:
34
33
  - !ruby/object:Gem::Dependency
35
34
  name: rails
@@ -275,14 +274,14 @@ dependencies:
275
274
  requirements:
276
275
  - - "~>"
277
276
  - !ruby/object:Gem::Version
278
- version: '0.62'
277
+ version: '0.63'
279
278
  type: :development
280
279
  prerelease: false
281
280
  version_requirements: !ruby/object:Gem::Requirement
282
281
  requirements:
283
282
  - - "~>"
284
283
  - !ruby/object:Gem::Version
285
- version: '0.62'
284
+ version: '0.63'
286
285
  - !ruby/object:Gem::Dependency
287
286
  name: rubocop-rspec
288
287
  requirement: !ruby/object:Gem::Requirement
@@ -379,7 +378,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
379
378
  - !ruby/object:Gem::Version
380
379
  version: '0'
381
380
  requirements: []
382
- rubygems_version: 3.0.2
381
+ rubygems_version: 3.0.3
383
382
  signing_key:
384
383
  specification_version: 4
385
384
  summary: Enhances Rails with multi-account, form-based, database-less, application-wide
metadata.gz.sig CHANGED
Binary file