exvo-auth 0.7.16 → 0.8.0

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.16
1
+ 0.8.0
data/exvo-auth.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{exvo-auth}
8
- s.version = "0.7.16"
8
+ s.version = "0.8.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jacek Becela"]
@@ -1,4 +1,5 @@
1
1
  class ExvoAuth::Autonomous::Auth
2
+ include Singleton
2
3
  include ExvoAuth::Autonomous::Http
3
4
 
4
5
  def base_uri
@@ -15,6 +15,6 @@ class ExvoAuth::Autonomous::Base
15
15
 
16
16
  # Makes testing easy
17
17
  def auth
18
- ExvoAuth::Autonomous::Auth.new
18
+ ExvoAuth::Autonomous::Auth.instance
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exvo-auth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 35
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 7
9
- - 16
10
- version: 0.7.16
8
+ - 8
9
+ - 0
10
+ version: 0.8.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jacek Becela