exvo-auth 0.7.10 → 0.7.11

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.10
1
+ 0.7.11
data/exvo-auth.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{exvo-auth}
8
- s.version = "0.7.10"
8
+ s.version = "0.7.11"
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"]
12
- s.date = %q{2010-08-09}
12
+ s.date = %q{2010-08-10}
13
13
  s.description = %q{Sign in with Exvo account}
14
14
  s.email = %q{jacek.becela@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -3,12 +3,7 @@ class ExvoAuth::Autonomous::Base
3
3
  @@cache = ExvoAuth::Autonomous::Cache.new
4
4
 
5
5
  def initialize(params = {})
6
- params[:site] ||= ExvoAuth::Config.host
7
- params[:client_id] ||= ExvoAuth::Config.client_id
8
- params[:client_secret] ||= ExvoAuth::Config.client_secret
9
6
  @params = params
10
-
11
- validate_params!(:site, :client_id, :client_secret)
12
7
  end
13
8
 
14
9
  protected
@@ -11,7 +11,7 @@ class ExvoAuth::Autonomous::Consumer < ExvoAuth::Autonomous::Base
11
11
  end
12
12
 
13
13
  def username
14
- params[:client_id]
14
+ ExvoAuth::Config.client_id
15
15
  end
16
16
 
17
17
  def password
@@ -13,5 +13,4 @@ class TestIntegration < Test::Unit::TestCase
13
13
  assert_true authorization["access_token"].size > 0
14
14
  assert_equal "https://bar/api", authorization["url"]
15
15
  end
16
-
17
16
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 10
9
- version: 0.7.10
8
+ - 11
9
+ version: 0.7.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jacek Becela
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-09 00:00:00 +02:00
17
+ date: 2010-08-10 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency