Bizo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. metadata +27 -15
  2. data/lib/bizo/classify.rb +0 -19
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Bizo
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 1
9
- version: 0.0.1
4
+ prerelease:
5
+ version: 0.0.2
10
6
  platform: ruby
11
7
  authors:
12
8
  - Joshua Carver
@@ -14,10 +10,31 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-21 00:00:00 -08:00
13
+ date: 2011-02-22 00:00:00 -08:00
18
14
  default_executable:
19
- dependencies: []
20
-
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: oauth
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: "0"
36
+ type: :runtime
37
+ version_requirements: *id002
21
38
  description:
22
39
  email: josh@bizo.com
23
40
  executables: []
@@ -28,7 +45,6 @@ extra_rdoc_files: []
28
45
 
29
46
  files:
30
47
  - lib/bizo.rb
31
- - lib/bizo/classify.rb
32
48
  - lib/bizo/base.rb
33
49
  - lib/bizo/client.rb
34
50
  has_rdoc: false
@@ -45,21 +61,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
45
61
  requirements:
46
62
  - - ">="
47
63
  - !ruby/object:Gem::Version
48
- segments:
49
- - 0
50
64
  version: "0"
51
65
  required_rubygems_version: !ruby/object:Gem::Requirement
52
66
  none: false
53
67
  requirements:
54
68
  - - ">="
55
69
  - !ruby/object:Gem::Version
56
- segments:
57
- - 0
58
70
  version: "0"
59
71
  requirements: []
60
72
 
61
73
  rubyforge_project:
62
- rubygems_version: 1.3.7
74
+ rubygems_version: 1.5.2
63
75
  signing_key:
64
76
  specification_version: 3
65
77
  summary: A simple wrapper around the Bizo API
data/lib/bizo/classify.rb DELETED
@@ -1,19 +0,0 @@
1
- require 'rubygems'
2
- require 'digest/sha1'
3
- require 'json'
4
- module Bizo
5
- module Classify < Base
6
- def initialize(key,secret)
7
- super(key,secret)
8
- end
9
-
10
- def self.classify(params = {})
11
- email = params[:email]
12
- params[:email] = Digest::SHA1.hexdigest(email.downcase) unless email.nil?
13
- request :get, CLASSIFY_PATH, params
14
- end
15
-
16
- private
17
- CLASSIFY_PATH = "/v1/classify.json"
18
- end
19
- end