razoul 0.0.3 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7176e0ac66cde306a464c3a85d562c0ac30d9101
4
- data.tar.gz: 74ba20304e325276d60a42539bbd73023709e434
3
+ metadata.gz: d97e0109469b91f137c671015e956ffb83eab271
4
+ data.tar.gz: fd6ce3cde94a7a4545f09ae358494a3cd64639a6
5
5
  SHA512:
6
- metadata.gz: cfa286cca1757e85a468b5dfd62ecd160f2d6148ef173eb2c79b641222ac8fad3fb471cbc90b381abdc10d1e251e74b752377503eea20055ad8f5f02c3c9db6d
7
- data.tar.gz: 8b9f0b76d531770e7ebf59670db0412b2b5281130d11cf8d4206db29fd5b611626e04c2a190d4d4ae5ba14453dc38d921462991f8cdc9b8be9f475e0769c2f01
6
+ metadata.gz: eab7a050c0573e23056555f068615b9a8f3cb38f8c59e71b53db104d077ee30edd25b9d0a9bd32e1e3f3a8254288bb9fad4ceb7845ad63cbba45e0b58b37de1a
7
+ data.tar.gz: 87bcaf56d6c0cb9acb027905bcb49222f4562b9c93d05687ae5a00cfad520c79fa755784e5824ac2a547e70a6524de476de27e922f9f6d8685dbc6b4ff9cd058
data/lib/razoul/token.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'pry'
2
1
  module Razoul
3
2
  class Token < Model
4
3
  attr_accessor :value, :created_at
@@ -1,4 +1,4 @@
1
1
  module Razoul
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
4
4
 
data/lib/razoul.rb CHANGED
@@ -13,24 +13,19 @@ require 'razoul/model'
13
13
  require 'razoul/token'
14
14
 
15
15
  module Razoul
16
- class << self
17
- attr_writer :configuration
18
- end
19
-
20
- def self.configuration
21
- @configuration ||= Configuration.new
22
- end
16
+ class << self
17
+ attr_writer :configuration
18
+ end
23
19
 
24
- def self.reset
25
- @configuration = Configuration.new
26
- end
20
+ def self.configuration
21
+ @configuration ||= Configuration.new
22
+ end
27
23
 
28
- begin
29
- require 'pry'
30
- rescue LoadError
31
- end
24
+ def self.reset
25
+ @configuration = Configuration.new
26
+ end
32
27
 
33
- def self.configure
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.3
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