bixby-auth 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bixby-auth.gemspec +3 -3
- data/lib/api_auth/request_drivers/net_http.rb +13 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cdefeac50c16c4452fb76733a8027087ff33f8e
|
4
|
+
data.tar.gz: 5786556d8ae8491681166ffdd1d7add8103b61ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 265a48db19afb8091b43269ea8a4688feecda74b6ef3aa398acdd3e9620347446c0494775b5b7eadba616f833e4935b1f63f4256f44ed5c89e3d8c046d09c938
|
7
|
+
data.tar.gz: f864a27b2d5168fb5a8c51a37a6c52965395962d57d5cc09c8660b1e14bf2ae556624f626c8df2230d289434f0d8c3355ef4ae9064e7def5526e94add19eac65
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/bixby-auth.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: bixby-auth 0.1.
|
5
|
+
# stub: bixby-auth 0.1.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bixby-auth"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Chetan Sarva"]
|
14
|
-
s.date = "2014-11-
|
14
|
+
s.date = "2014-11-21"
|
15
15
|
s.description = "Bixby API Auth library for both clients and servers"
|
16
16
|
s.email = "chetan@pixelcop.net"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -86,11 +86,19 @@ module ApiAuth
|
|
86
86
|
drivers["Net::HTTP::Put::Multipart"] = NetHttpRequest
|
87
87
|
drivers["Net::HTTP::Post::Multipart"] = NetHttpRequest
|
88
88
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
89
|
+
# the following is used to generate the list of request classes below
|
90
|
+
#
|
91
|
+
# Net::HTTP.constants.each do |cc|
|
92
|
+
# cc = Net::HTTP.const_get(cc)
|
93
|
+
# if cc.kind_of?(Class) && cc.ancestors.include?(Net::HTTPRequest) then
|
94
|
+
# puts cc.to_s
|
95
|
+
# end
|
96
|
+
# end
|
97
|
+
|
98
|
+
%w{Get Head Post Put Delete Options Trace Patch
|
99
|
+
Propfind Proppatch Mkcol Copy Move Lock Unlock}.each do |m|
|
100
|
+
|
101
|
+
drivers["Net::HTTP::#{m}"] = NetHttpRequest
|
94
102
|
end
|
95
103
|
|
96
104
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bixby-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chetan Sarva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|