zoominfo-ruby 0.0.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 +15 -0
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +97 -0
- data/Guardfile +5 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +27 -0
- data/Rakefile +49 -0
- data/VERSION +1 -0
- data/lib/zoominfo-ruby.rb +5 -0
- data/lib/zoominfo-ruby/client.rb +20 -0
- data/lib/zoominfo-ruby/company.rb +17 -0
- data/lib/zoominfo-ruby/key_generation.rb +20 -0
- data/lib/zoominfo-ruby/person.rb +13 -0
- data/spec/key_generation_spec.rb +35 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/zoominfo-ruby_spec.rb +7 -0
- data/zoominfo-ruby.gemspec +79 -0
- metadata +175 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YTdlZGMwYjlmM2Y0Yjg1MTc2ZWIwZjAyYzFkNTRjYzU1NTc3NDNiOA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YWFjOWYyZGVjM2Q2ZWEzOTVhNjFlNDQ4MWU3ZWJkMGNlMGU2MjIwMg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZjM0NGRjZWRhZGIwNzFiMGJiMDE4NzljYThmY2IwMTE0NmNkMDM3MWYyYjdm
|
10
|
+
YzNmZTFlYWNhYTIzZjg0MmMzYmEwY2Y3MDk1ODEyMDA3YzRiZDk4MzNjNjJl
|
11
|
+
MzE5ZDdjNzkyYzk2NWMxNjBhYWJiOTA3YWZjNTBjYzI5ZmZjNzU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NzBjMzA1NDFmYTQ0MjgyYWI5YzBmZDliOTI0YWZjNzE3NWJhMzMwYWNlYjY4
|
14
|
+
MjgyZjYwNTdiMzAwNGM3MTc5M2M2MDE3NDBkNDY4ZmI2NWI4ZTA1ODQwY2M0
|
15
|
+
ZGUxOWVhOGFjYTdmZWY3ZWI5ZjRiOTlkYzA1MDZlODg5YjRjZDA=
|
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
addressable (2.3.6)
|
5
|
+
builder (3.2.2)
|
6
|
+
celluloid (0.15.2)
|
7
|
+
timers (~> 1.1.0)
|
8
|
+
coderay (1.1.0)
|
9
|
+
diff-lcs (1.1.3)
|
10
|
+
faraday (0.8.9)
|
11
|
+
multipart-post (~> 1.2.0)
|
12
|
+
ffi (1.9.3)
|
13
|
+
formatador (0.2.5)
|
14
|
+
git (1.2.6)
|
15
|
+
github_api (0.10.1)
|
16
|
+
addressable
|
17
|
+
faraday (~> 0.8.1)
|
18
|
+
hashie (>= 1.2)
|
19
|
+
multi_json (~> 1.4)
|
20
|
+
nokogiri (~> 1.5.2)
|
21
|
+
oauth2
|
22
|
+
guard (2.6.1)
|
23
|
+
formatador (>= 0.2.4)
|
24
|
+
listen (~> 2.7)
|
25
|
+
lumberjack (~> 1.0)
|
26
|
+
pry (>= 0.9.12)
|
27
|
+
thor (>= 0.18.1)
|
28
|
+
guard-rspec (1.2.1)
|
29
|
+
guard (>= 1.1)
|
30
|
+
hashie (2.1.1)
|
31
|
+
highline (1.6.21)
|
32
|
+
httparty (0.13.1)
|
33
|
+
json (~> 1.8)
|
34
|
+
multi_xml (>= 0.5.2)
|
35
|
+
jeweler (1.8.8)
|
36
|
+
builder
|
37
|
+
bundler (~> 1.0)
|
38
|
+
git (>= 1.2.5)
|
39
|
+
github_api (= 0.10.1)
|
40
|
+
highline (>= 1.6.15)
|
41
|
+
nokogiri (= 1.5.10)
|
42
|
+
rake
|
43
|
+
rdoc
|
44
|
+
json (1.8.1)
|
45
|
+
jwt (1.0.0)
|
46
|
+
listen (2.7.5)
|
47
|
+
celluloid (>= 0.15.2)
|
48
|
+
rb-fsevent (>= 0.9.3)
|
49
|
+
rb-inotify (>= 0.9)
|
50
|
+
lumberjack (1.0.5)
|
51
|
+
method_source (0.8.2)
|
52
|
+
multi_json (1.10.1)
|
53
|
+
multi_xml (0.5.5)
|
54
|
+
multipart-post (1.2.0)
|
55
|
+
nokogiri (1.5.10)
|
56
|
+
oauth2 (0.9.4)
|
57
|
+
faraday (>= 0.8, < 0.10)
|
58
|
+
jwt (~> 1.0)
|
59
|
+
multi_json (~> 1.3)
|
60
|
+
multi_xml (~> 0.5)
|
61
|
+
rack (~> 1.2)
|
62
|
+
pry (0.9.12.6)
|
63
|
+
coderay (~> 1.0)
|
64
|
+
method_source (~> 0.8)
|
65
|
+
slop (~> 3.4)
|
66
|
+
rack (1.5.2)
|
67
|
+
rake (10.3.2)
|
68
|
+
rb-fsevent (0.9.4)
|
69
|
+
rb-inotify (0.9.4)
|
70
|
+
ffi (>= 0.5.0)
|
71
|
+
rdoc (3.12.2)
|
72
|
+
json (~> 1.4)
|
73
|
+
rspec (2.8.0)
|
74
|
+
rspec-core (~> 2.8.0)
|
75
|
+
rspec-expectations (~> 2.8.0)
|
76
|
+
rspec-mocks (~> 2.8.0)
|
77
|
+
rspec-core (2.8.0)
|
78
|
+
rspec-expectations (2.8.0)
|
79
|
+
diff-lcs (~> 1.1.2)
|
80
|
+
rspec-mocks (2.8.0)
|
81
|
+
slop (3.5.0)
|
82
|
+
thor (0.19.1)
|
83
|
+
timecop (0.7.1)
|
84
|
+
timers (1.1.0)
|
85
|
+
|
86
|
+
PLATFORMS
|
87
|
+
ruby
|
88
|
+
|
89
|
+
DEPENDENCIES
|
90
|
+
bundler
|
91
|
+
guard
|
92
|
+
guard-rspec
|
93
|
+
httparty
|
94
|
+
jeweler (~> 1.8.3)
|
95
|
+
rdoc (~> 3.12)
|
96
|
+
rspec (~> 2.8.0)
|
97
|
+
timecop
|
data/Guardfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2014 Ian Morgan
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
= zoominfo-ruby
|
2
|
+
|
3
|
+
API client to Zoominfo's 'new API'.
|
4
|
+
|
5
|
+
http://www.zoominfo.com/business/zoominfo-new-api-documentation
|
6
|
+
|
7
|
+
== Usage
|
8
|
+
|
9
|
+
client = ZoomInfo::Company.new('Example.client','password323')
|
10
|
+
|
11
|
+
client.search_by_company_name('exitround')
|
12
|
+
=> {"CompanyRecord"=>{"CompanyID"=>"356754607", "ZoomCompanyUrl"=>"http://www.zoominfo.com/#!search/profile/company?companyId=356754607&targetid=profile", "CompanyDetailXmlUrl"=>"http://partnerapi.zoominfo.com/partnerapi/company/detail?query_type=company_detail&CompanyID=356754607&pc=Exitround.client&key=4f75abc1fbd1a5e8f2206c77c4932e4e", "CompanyName"=>"Exitround Inc", "CompanyTicker"=>nil, "Website"=>"www.exitround.com", "CompanyAddress"=>{"Street"=>"1625 Post Street", "City"=>"San Francisco", "State"=>"California", "Zip"=>"94115", "CountryCode"=>"United States"}, "CompanyDescription"=>"Exitround is a tool for you, the corporate development buyer, to find the highest quality teams that fit your strategic requirements. Other strategic roles that may be active on the marketplace may be CEOs, product leads, or recruiters. \n\nWhether you are looking for a top mobile design and UX team, or an expert team at scaling unstructured Cassandra data stores, and everything in between â€\" Exitround is the place. \n\nAll companies listed on Exitround have been stringently vetted and curated to ensure only the highest quality. You will see teams with the following qualifications:\n\n\nProfessionally angel/seed or venture backed, or have been through a top incubator. Teams of the highest caliber who are practiced at working together and have deep domain expertise. Individuals with real industry work experience at top-25 web companies who know how to build for massive scale. \n\nWhile the team’s anonymity is protected until the founder/CEO agrees to connect with you, meeting with a team is as simple as requesting an introduction. \n\nExitround earns a nominal fee, paid by you, the buyer, upon the successful completion of an M&A transaction or talent-acquisition. ", "Revenue"=>"$1.4 Million", "Employees"=>"7", "Industry"=>["Search Engines & Internet Portals", "Media & Internet"]}}
|
13
|
+
|
14
|
+
== Contributing to zoominfo-ruby
|
15
|
+
|
16
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
17
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
18
|
+
* Fork the project.
|
19
|
+
* Start a feature/bugfix branch.
|
20
|
+
* Commit and push until you are happy with your contribution.
|
21
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
22
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
23
|
+
|
24
|
+
== Copyright
|
25
|
+
|
26
|
+
Copyright (c) 2014 Ian Morgan. See LICENSE.txt for
|
27
|
+
further details.
|
data/Rakefile
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
+
gem.name = "zoominfo-ruby"
|
18
|
+
gem.homepage = "http://github.com/exitround/zoominfo-ruby"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{API client to ZoomInfo}
|
21
|
+
gem.description = %Q{API client to ZoomInfo's 'new API'}
|
22
|
+
gem.email = "ianm280@gmail.com"
|
23
|
+
gem.authors = ["Ian Morgan"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rspec/core'
|
29
|
+
require 'rspec/core/rake_task'
|
30
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
32
|
+
end
|
33
|
+
|
34
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
35
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
36
|
+
spec.rcov = true
|
37
|
+
end
|
38
|
+
|
39
|
+
task :default => :spec
|
40
|
+
|
41
|
+
require 'rdoc/task'
|
42
|
+
Rake::RDocTask.new do |rdoc|
|
43
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
|
+
|
45
|
+
rdoc.rdoc_dir = 'rdoc'
|
46
|
+
rdoc.title = "zoominfo-ruby #{version}"
|
47
|
+
rdoc.rdoc_files.include('README*')
|
48
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module ZoomInfo
|
2
|
+
class Base
|
3
|
+
include KeyGeneration
|
4
|
+
include HTTParty
|
5
|
+
base_uri 'partnerapi.zoominfo.com/partnerapi/'
|
6
|
+
format :xml
|
7
|
+
attr_accessor :api_key
|
8
|
+
|
9
|
+
def initialize(partner_name = nil, api_key = nil)
|
10
|
+
@api_key = api_key
|
11
|
+
self.class.default_params({pc: partner_name, outputType: 'xml'})
|
12
|
+
end
|
13
|
+
|
14
|
+
def prepare_request(query)
|
15
|
+
key = generate_key(query.values, @api_key)
|
16
|
+
query.merge!(key: key)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module ZoomInfo
|
2
|
+
class Company < ZoomInfo::Base
|
3
|
+
def search(query = {})
|
4
|
+
query = prepare_request(query)
|
5
|
+
self.class.get("/company/search", query: query).parsed_response['CompanySearchRequest']['CompanySearchResults']
|
6
|
+
end
|
7
|
+
|
8
|
+
def detail(query = {})
|
9
|
+
query = prepare_request(query)
|
10
|
+
self.class.get("/company/detail", query: query).parsed_response
|
11
|
+
end
|
12
|
+
|
13
|
+
def search_by_company_name(company_name)
|
14
|
+
search('CompanyName' => company_name)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# As noted in the people_search_query input parameters table, the key is made up of a string consisting of 5 parameters concatenated together, and then encrypted with MD5. Parameters are:
|
2
|
+
#
|
3
|
+
# The first 2 characters of each search term with a "yes" in the "Key" column, in the order listed in the input parameters table for the given query (below). If the value for a search term has only 1 character, then the key generation should use that single character.
|
4
|
+
# Your partner password
|
5
|
+
# Today's day of the month (not padded with zero)
|
6
|
+
# Today's month (not padded with zero)
|
7
|
+
# Today's year (4 digit)
|
8
|
+
module ZoomInfo
|
9
|
+
module KeyGeneration
|
10
|
+
def generate_key(search_terms, password)
|
11
|
+
search_term_prefaces = ""
|
12
|
+
date_formatted = Time.now.strftime("%-d%-m%-Y")
|
13
|
+
search_terms.each do |search_term|
|
14
|
+
search_term_prefaces << search_term[0..1]
|
15
|
+
end
|
16
|
+
|
17
|
+
return Digest::MD5.hexdigest(search_term_prefaces + password + date_formatted)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module ZoomInfo
|
2
|
+
class Person < ZoomInfo::Base
|
3
|
+
def search(query = {})
|
4
|
+
query = prepare_request(query)
|
5
|
+
self.class.get("/person/search", query: query).parsed_response
|
6
|
+
end
|
7
|
+
|
8
|
+
def detail(query = {})
|
9
|
+
query = prepare_request(query)
|
10
|
+
self.class.get("/person/detail", query: query).parsed_response
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
# As noted in the people_search_query input parameters table, the key is made up of a string consisting of 5 parameters concatenated together, and then encrypted with MD5. Parameters are:
|
4
|
+
#
|
5
|
+
# The first 2 characters of each search term with a "yes" in the "Key" column, in the order listed in the input parameters table for the given query (below). If the value for a search term has only 1 character, then the key generation should use that single character.
|
6
|
+
# Your partner password
|
7
|
+
# Today's day of the month (not padded with zero)
|
8
|
+
# Today's month (not padded with zero)
|
9
|
+
# Today's year (4 digit)
|
10
|
+
|
11
|
+
include ZoomInfo::KeyGeneration
|
12
|
+
|
13
|
+
describe "API key generation" do
|
14
|
+
before do
|
15
|
+
Timecop.freeze(Time.local(2012, 5, 15))
|
16
|
+
end
|
17
|
+
|
18
|
+
after do
|
19
|
+
Timecop.return
|
20
|
+
end
|
21
|
+
|
22
|
+
# Using the People Search Query to search the following criteria:
|
23
|
+
# "Vice President" for PersonTitle
|
24
|
+
# "200714" for IndustryClassification
|
25
|
+
# "California" for State
|
26
|
+
# The query is run on May 15th, 2012
|
27
|
+
# Your assigned partner code is "example"
|
28
|
+
# Your assigned password is "testtest"
|
29
|
+
|
30
|
+
it "generates the correct MD5 key" do
|
31
|
+
puts Time.now.inspect
|
32
|
+
generate_key(['Vice President', '200714', 'California'], "testtest").should eq "60dee80b3c634c2709dbe102c6fe60ea"
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
require 'rspec'
|
4
|
+
require 'zoominfo-ruby'
|
5
|
+
require 'timecop'
|
6
|
+
|
7
|
+
# Requires supporting files with custom matchers and macros, etc,
|
8
|
+
# in ./support/ and its subdirectories.
|
9
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
|
13
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: zoominfo-ruby 0.0.1 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "zoominfo-ruby"
|
9
|
+
s.version = "0.0.1"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.authors = ["Ian Morgan"]
|
13
|
+
s.date = "2014-05-29"
|
14
|
+
s.description = "API client to ZoomInfo's 'new API'"
|
15
|
+
s.email = "ianm280@gmail.com"
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.txt",
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".document",
|
22
|
+
".rspec",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"Guardfile",
|
26
|
+
"LICENSE.txt",
|
27
|
+
"README.rdoc",
|
28
|
+
"Rakefile",
|
29
|
+
"VERSION",
|
30
|
+
"lib/zoominfo-ruby.rb",
|
31
|
+
"lib/zoominfo-ruby/client.rb",
|
32
|
+
"lib/zoominfo-ruby/company.rb",
|
33
|
+
"lib/zoominfo-ruby/key_generation.rb",
|
34
|
+
"lib/zoominfo-ruby/person.rb",
|
35
|
+
"spec/key_generation_spec.rb",
|
36
|
+
"spec/spec_helper.rb",
|
37
|
+
"spec/zoominfo-ruby_spec.rb",
|
38
|
+
"zoominfo-ruby.gemspec"
|
39
|
+
]
|
40
|
+
s.homepage = "http://github.com/exitround/zoominfo-ruby"
|
41
|
+
s.licenses = ["MIT"]
|
42
|
+
s.require_paths = ["lib"]
|
43
|
+
s.rubygems_version = "2.1.11"
|
44
|
+
s.summary = "API client to ZoomInfo"
|
45
|
+
|
46
|
+
if s.respond_to? :specification_version then
|
47
|
+
s.specification_version = 4
|
48
|
+
|
49
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
50
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
51
|
+
s.add_runtime_dependency(%q<guard-rspec>, [">= 0"])
|
52
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
|
53
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
54
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
55
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
56
|
+
s.add_development_dependency(%q<guard>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<timecop>, [">= 0"])
|
58
|
+
else
|
59
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
60
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
61
|
+
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
62
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
63
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
64
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
65
|
+
s.add_dependency(%q<guard>, [">= 0"])
|
66
|
+
s.add_dependency(%q<timecop>, [">= 0"])
|
67
|
+
end
|
68
|
+
else
|
69
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
70
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
71
|
+
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
72
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
73
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
74
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
75
|
+
s.add_dependency(%q<guard>, [">= 0"])
|
76
|
+
s.add_dependency(%q<timecop>, [">= 0"])
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
metadata
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zoominfo-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ian Morgan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httparty
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: guard-rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.8.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.8.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rdoc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.12'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.12'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: jeweler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.8.3
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.8.3
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: timecop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: API client to ZoomInfo's 'new API'
|
126
|
+
email: ianm280@gmail.com
|
127
|
+
executables: []
|
128
|
+
extensions: []
|
129
|
+
extra_rdoc_files:
|
130
|
+
- LICENSE.txt
|
131
|
+
- README.rdoc
|
132
|
+
files:
|
133
|
+
- .document
|
134
|
+
- .rspec
|
135
|
+
- Gemfile
|
136
|
+
- Gemfile.lock
|
137
|
+
- Guardfile
|
138
|
+
- LICENSE.txt
|
139
|
+
- README.rdoc
|
140
|
+
- Rakefile
|
141
|
+
- VERSION
|
142
|
+
- lib/zoominfo-ruby.rb
|
143
|
+
- lib/zoominfo-ruby/client.rb
|
144
|
+
- lib/zoominfo-ruby/company.rb
|
145
|
+
- lib/zoominfo-ruby/key_generation.rb
|
146
|
+
- lib/zoominfo-ruby/person.rb
|
147
|
+
- spec/key_generation_spec.rb
|
148
|
+
- spec/spec_helper.rb
|
149
|
+
- spec/zoominfo-ruby_spec.rb
|
150
|
+
- zoominfo-ruby.gemspec
|
151
|
+
homepage: http://github.com/exitround/zoominfo-ruby
|
152
|
+
licenses:
|
153
|
+
- MIT
|
154
|
+
metadata: {}
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options: []
|
157
|
+
require_paths:
|
158
|
+
- lib
|
159
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ! '>='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ! '>='
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
requirements: []
|
170
|
+
rubyforge_project:
|
171
|
+
rubygems_version: 2.1.11
|
172
|
+
signing_key:
|
173
|
+
specification_version: 4
|
174
|
+
summary: API client to ZoomInfo
|
175
|
+
test_files: []
|