oauth-ok 0.0.1 → 0.0.2

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/.gitignore CHANGED
@@ -1 +1,2 @@
1
- pkg/*
1
+ pkg/*
2
+ gem/*
data/lib/oauth/ok.rb CHANGED
@@ -6,6 +6,7 @@ module Oauth
6
6
  # Class for OAuth 2.0 on http://odnoklassniki.ru/
7
7
  #
8
8
  class OkAuth
9
+ require 'net/http'
9
10
 
10
11
  @options # array aplication options
11
12
  @@auth_url_options = {
@@ -25,9 +26,8 @@ module Oauth
25
26
  # return string
26
27
  #
27
28
  def initialize(auth_options)
28
- urlOptions = OkAuth.getUrlOptions
29
- @options = auth_options
30
- @options = @options.merge(urlOptions)
29
+ @options = OkAuth.getUrlOptions
30
+ @options = @options.merge(auth_options)
31
31
  end
32
32
 
33
33
 
@@ -1,5 +1,5 @@
1
1
  module Oauth
2
2
  module Ok
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth-ok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: