omniauth-wepay 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG ADDED
@@ -0,0 +1,8 @@
1
+ == 0.0.2 2012-08-12
2
+
3
+ * added ritual gem to make gem release easier.
4
+
5
+
6
+ == 0.0.1 2012-08-12
7
+
8
+ * Hi.
data/Gemfile CHANGED
@@ -1,4 +1,2 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in omniauth-wepay.gemspec
1
+ source :rubygems
4
2
  gemspec
@@ -6,7 +6,7 @@ WePay OAuth2 Strategy for OmniAuth 1.0.
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'omniauth-wepay'
9
+ gem 'omniauth-wepay', github: "tenaciousflea/omniauth-wepay"
10
10
 
11
11
  And then execute:
12
12
 
data/Rakefile CHANGED
@@ -1,2 +1,3 @@
1
1
  #!/usr/bin/env rake
2
+ # require "ritual"
2
3
  require "bundler/gem_tasks"
@@ -8,7 +8,7 @@ module OmniAuth
8
8
 
9
9
  option :fields, [:user_id, :name, :email]
10
10
  option :uid_field, :user_id
11
-
11
+ option :scope, DEFAULT_PERMISSIONS
12
12
  option :client_options, {
13
13
  :authorize_url => "https://stage.wepay.com/v2/oauth2/authorize",
14
14
  :token_url => "https://stage.wepayapi.com/v2/oauth2/token",
@@ -1,5 +1,13 @@
1
1
  module Omniauth
2
- module Wepay
3
- VERSION = "0.0.1"
4
- end
2
+ module Wepay
3
+ VERSION = [0, 0, 3]
4
+
5
+ class << VERSION
6
+ include Comparable
7
+
8
+ def to_s
9
+ join('.')
10
+ end
11
+ end
12
+ end
5
13
  end
data/lib/wepay.rb CHANGED
@@ -1,3 +1,7 @@
1
- require "omniauth/version"
2
1
  require "omniauth/strategies/wepay"
3
2
 
3
+ module Omniauth
4
+ module Wepay
5
+ autoload :VERSION, 'omniauth/version'
6
+ end
7
+ end
@@ -1,18 +1,21 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/omniauth/version', __FILE__)
2
+ $:.unshift File.expand_path('lib', File.dirname(__FILE__))
3
+ require 'omniauth/version'
3
4
 
4
5
  Gem::Specification.new do |gem|
5
- gem.authors = ["Volkan Unsal"]
6
- gem.email = ["spocksplanet@gmail.com"]
6
+ gem.name = 'omniauth-wepay'
7
+ gem.version = Omniauth::Wepay::VERSION
8
+ gem.authors = ['Volkan Unsal']
9
+ gem.email = ['spocksplanet@gmail.com']
7
10
  gem.summary = %q{Omniauth strategy for WePay}
8
11
  gem.homepage = %q{https://github.com/tenaciousflea/omniauth-wepay}
9
12
  gem.description = %q{Provides an easy way to build OAuth using WePay for Omniauth}
10
-
11
-
12
- gem.files = `git ls-files`.split($\)
13
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
14
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
13
  gem.name = "omniauth-wepay"
16
14
  gem.require_paths = ["lib"]
17
- gem.version = Omniauth::Wepay::VERSION
15
+
16
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ gem.files = `git ls-files`.split("\n")
18
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+
20
+ gem.add_development_dependency 'ritual', '~> 0.4.1'
18
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-wepay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,23 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-08-12 00:00:00.000000000 Z
13
- dependencies: []
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ritual
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.4.1
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.4.1
14
30
  description: Provides an easy way to build OAuth using WePay for Omniauth
15
31
  email:
16
32
  - spocksplanet@gmail.com
@@ -19,9 +35,10 @@ extensions: []
19
35
  extra_rdoc_files: []
20
36
  files:
21
37
  - .gitignore
38
+ - CHANGELOG
22
39
  - Gemfile
23
40
  - LICENSE
24
- - README.md
41
+ - README.markdown
25
42
  - Rakefile
26
43
  - lib/omniauth/strategies/wepay.rb
27
44
  - lib/omniauth/version.rb