gris-toko_ohno 0.1.2 → 0.1.3

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: 604c2be8f65fbfae979b22b61758f9a402870681
4
- data.tar.gz: 2c1144dc67a3524b044657fbb26e65a35f45fb3a
3
+ metadata.gz: caa714e3ad0ef511cc32988eda97378dbe29047b
4
+ data.tar.gz: 7a6d3a42b7d7a18d1cce6cc581ae1b3d1fd20514
5
5
  SHA512:
6
- metadata.gz: 9e38fc74ab9b6b21d2e868029645f158889328d604aac92c5070a2f9dc9b75e7eeca6a11e0a2326299f6a6cd4bae96512d30bcc167b530a4e5bf10a40b7038f6
7
- data.tar.gz: f63b14e0a9e60abdc06ab799d29ffe051c3b51cdcd509faa6382e95166890f07006123b79bdd4fc71d7f80e3063cb8a87558566aa290dde71d44dc6c7dbbdff1
6
+ metadata.gz: 0e9901c9271d0da54f59aebf520cf09b8153dd7b36ac3e1ef17e9d720831114a089a3163d742e24fe04d3a28009776b5d39143423a3d1c8f215308938174fea1
7
+ data.tar.gz: 17a69e5da794b4081f7ddc8e2e78b26407a72e54d23523c0a08235eb1cf89bc9229c9dbf9f75e83f2b59cde5bf2e8df024d8844170e6c0223edff8b1a8c5b480
@@ -4,7 +4,7 @@ module Gris
4
4
  # Header or params token auth for Gris apps.
5
5
  module TokoOhno
6
6
  def token_authentication!(key_sym = :permitted_tokens)
7
- error!('Forbidden', 401) unless permitted?(key_sym)
7
+ gris_error!('Forbidden', 401) unless permitted?(key_sym)
8
8
  end
9
9
 
10
10
  private
@@ -1,6 +1,6 @@
1
1
  module Gris
2
2
  # Header or params token auth for Gris apps.
3
3
  module TokoOhno
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gris-toko_ohno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Fareed
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-21 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gris
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.4.8
135
+ rubygems_version: 2.4.5.1
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: Header or params token auth for Gris apps.