bixby-auth 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58232e00fb92f8ace02f941943e67a6cb8e64508
4
- data.tar.gz: 18a1d58a81c8ff2a4aa9baf6148db4d78ee2c11a
3
+ metadata.gz: 3cdefeac50c16c4452fb76733a8027087ff33f8e
4
+ data.tar.gz: 5786556d8ae8491681166ffdd1d7add8103b61ce
5
5
  SHA512:
6
- metadata.gz: f329d1953f45daa94c406cec32ba73c80040e7c69103bf63fa272529072300208626d2d139be476d204eae2980578e1c7aef39dd4701c5ce7b0ed96cde205510
7
- data.tar.gz: b63a762438d45f82872599510ce4013403e0946bcf2326a2d2ea0d4c8d548f3f71507c7bf67ec14138ab795f53df746f97bf03e2b5b3d621b78e3a6704fb22fc
6
+ metadata.gz: 265a48db19afb8091b43269ea8a4688feecda74b6ef3aa398acdd3e9620347446c0494775b5b7eadba616f833e4935b1f63f4256f44ed5c89e3d8c046d09c938
7
+ data.tar.gz: f864a27b2d5168fb5a8c51a37a6c52965395962d57d5cc09c8660b1e14bf2ae556624f626c8df2230d289434f0d8c3355ef4ae9064e7def5526e94add19eac65
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -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.0 ruby lib
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.0"
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-20"
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
- Net::HTTP.constants.each do |c|
90
- c = Net::HTTP.const_get(c)
91
- if c.kind_of?(Class) && c.ancestors.include?(Net::HTTPRequest) then
92
- drivers[c.to_s] = NetHttpRequest
93
- end
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.0
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-20 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake