razoul 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/razoul/token.rb +0 -1
- data/lib/razoul/version.rb +1 -1
- data/lib/razoul.rb +10 -15
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d97e0109469b91f137c671015e956ffb83eab271
|
4
|
+
data.tar.gz: fd6ce3cde94a7a4545f09ae358494a3cd64639a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eab7a050c0573e23056555f068615b9a8f3cb38f8c59e71b53db104d077ee30edd25b9d0a9bd32e1e3f3a8254288bb9fad4ceb7845ad63cbba45e0b58b37de1a
|
7
|
+
data.tar.gz: 87bcaf56d6c0cb9acb027905bcb49222f4562b9c93d05687ae5a00cfad520c79fa755784e5824ac2a547e70a6524de476de27e922f9f6d8685dbc6b4ff9cd058
|
data/lib/razoul/token.rb
CHANGED
data/lib/razoul/version.rb
CHANGED
data/lib/razoul.rb
CHANGED
@@ -13,24 +13,19 @@ require 'razoul/model'
|
|
13
13
|
require 'razoul/token'
|
14
14
|
|
15
15
|
module Razoul
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
def self.configuration
|
21
|
-
@configuration ||= Configuration.new
|
22
|
-
end
|
16
|
+
class << self
|
17
|
+
attr_writer :configuration
|
18
|
+
end
|
23
19
|
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
def self.configuration
|
21
|
+
@configuration ||= Configuration.new
|
22
|
+
end
|
27
23
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
end
|
24
|
+
def self.reset
|
25
|
+
@configuration = Configuration.new
|
26
|
+
end
|
32
27
|
|
33
|
-
def self.
|
28
|
+
def self.cmonfigure
|
34
29
|
yield(configuration)
|
35
30
|
end
|
36
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: razoul
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Malaquias
|
@@ -260,13 +260,13 @@ signing_key:
|
|
260
260
|
specification_version: 4
|
261
261
|
summary: Gem for generate token to Auth
|
262
262
|
test_files:
|
263
|
-
- spec/lib/razoul/controllers/generator_controller_spec.rb
|
264
|
-
- spec/lib/razoul/controllers/authentication_controller_spec.rb
|
265
263
|
- spec/lib/razoul/controller_spec.rb
|
266
|
-
- spec/lib/razoul/token_spec.rb
|
267
|
-
- spec/lib/razoul/persistence/database_spec.rb
|
268
264
|
- spec/lib/razoul/persistence/redis_spec.rb
|
265
|
+
- spec/lib/razoul/persistence/database_spec.rb
|
269
266
|
- spec/lib/razoul/configuration_spec.rb
|
267
|
+
- spec/lib/razoul/controllers/authentication_controller_spec.rb
|
268
|
+
- spec/lib/razoul/controllers/generator_controller_spec.rb
|
269
|
+
- spec/lib/razoul/token_spec.rb
|
270
270
|
- spec/lib/razoul_spec.rb
|
271
|
-
- spec/fixtures/razoul.yml
|
272
271
|
- spec/spec_helper.rb
|
272
|
+
- spec/fixtures/razoul.yml
|