hubspot 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +149 -0
- data/Rakefile +38 -0
- data/app/helpers/hubspot_helper.rb +17 -0
- data/app/models/hubspot/base.rb +40 -0
- data/app/models/hubspot/blog.rb +35 -0
- data/app/models/hubspot/blogs/blog_association.rb +35 -0
- data/app/models/hubspot/blogs/comment.rb +5 -0
- data/app/models/hubspot/blogs/post.rb +12 -0
- data/app/models/hubspot/blogs/posts/comment.rb +23 -0
- data/app/models/hubspot/connection.rb +35 -0
- data/app/models/hubspot/event.rb +39 -0
- data/app/models/hubspot/keyword.rb +49 -0
- data/app/models/hubspot/lead.rb +26 -0
- data/app/models/hubspot/performable/event.rb +67 -0
- data/lib/hubspot.rb +8 -0
- data/lib/hubspot/action_controller_extensions.rb +15 -0
- data/lib/hubspot/engine.rb +30 -0
- data/lib/hubspot/version.rb +3 -0
- data/lib/tasks/hubspot_tasks.rake +4 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +56 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2056 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/fixtures/vcr_cassettes/blog-comments.yml +74 -0
- data/test/fixtures/vcr_cassettes/blog-find.yml +36 -0
- data/test/fixtures/vcr_cassettes/blog-posts.yml +75 -0
- data/test/fixtures/vcr_cassettes/blogs-list.yml +39 -0
- data/test/fixtures/vcr_cassettes/event-create.yml +36 -0
- data/test/fixtures/vcr_cassettes/event-record.yml +47 -0
- data/test/fixtures/vcr_cassettes/events-list.yml +41 -0
- data/test/fixtures/vcr_cassettes/keyword-create.yml +36 -0
- data/test/fixtures/vcr_cassettes/keywords-list.yml +385 -0
- data/test/fixtures/vcr_cassettes/lead-find.yml +103 -0
- data/test/fixtures/vcr_cassettes/lead-update.yml +239 -0
- data/test/fixtures/vcr_cassettes/leads-list.yml +190 -0
- data/test/fixtures/vcr_cassettes/post-comments.yml +72 -0
- data/test/fixtures/vcr_cassettes/post-find.yml +39 -0
- data/test/hubspot_test.rb +5 -0
- data/test/test_helper.rb +22 -0
- data/test/unit/blog_test.rb +37 -0
- data/test/unit/event_test.rb +21 -0
- data/test/unit/keyword_test.rb +22 -0
- data/test/unit/lead_test.rb +31 -0
- data/test/unit/performable_event_test.rb +22 -0
- data/test/unit/post_test.rb +20 -0
- metadata +207 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.hubapi.com/blog/v1/posts/6ca6fdc5-a81f-44db-a63b-f56ab2636c69.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&portalId=62515
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Wed, 04 Apr 2012 23:39:14 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Apache-Coyote/1.1
|
31
|
+
body:
|
32
|
+
encoding: US-ASCII
|
33
|
+
string: ! '{"authorDisplayName":"testapi@hubspot.com","authorEmail":"testapi@hubspot.com","blogGuid":"0d61e4ca-e395-4c1c-8766-afaa48bf68db","body":"<b>This
|
34
|
+
is the content of the blog post<\/b>","createTimestamp":1333483438000,"draft":true,"guid":"6ca6fdc5-a81f-44db-a63b-f56ab2636c69","jsonUrl":"https://api.hubapi.com/blog/v1/posts/6ca6fdc5-a81f-44db-a63b-f56ab2636c69.json","lastUpdateTimestamp":1333483438000,"metaDescription":"test
|
35
|
+
metaDescription!","metaKeywords":"these are totally test keywords.","portalId":62515,"postAnalytics":null,"publishTimestamp":1333483438000,"sendNotifications":true,"summary":"This
|
36
|
+
is a test summary","tags":["tag2","tag1"],"title":"I am a test post","url":"http://demo.hubapi.com/blog-for-testing/bid/103902/"}'
|
37
|
+
http_version:
|
38
|
+
recorded_at: Wed, 04 Apr 2012 23:39:14 GMT
|
39
|
+
recorded_with: VCR 2.0.1
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
require 'vcr'
|
7
|
+
|
8
|
+
Rails.backtrace_cleaner.remove_silencers!
|
9
|
+
|
10
|
+
# Load support files
|
11
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
12
|
+
|
13
|
+
# Load fixtures from the engine
|
14
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
15
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
16
|
+
end
|
17
|
+
|
18
|
+
VCR.configure do |c|
|
19
|
+
c.cassette_library_dir = File.expand_path("../fixtures/vcr_cassettes", __FILE__)
|
20
|
+
c.allow_http_connections_when_no_cassette = true
|
21
|
+
c.hook_into :webmock
|
22
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require File.expand_path('../../test_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
class BlogTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
def test_should_return_blogs
|
6
|
+
VCR.use_cassette('blogs-list') do
|
7
|
+
blogs = Hubspot::Blog.find(:all, :params => { :max => 5 })
|
8
|
+
assert_equal 5, blogs.size
|
9
|
+
|
10
|
+
blog = blogs.first
|
11
|
+
assert_equal ["0d61e4ca-e395-4c1c-8766-afaa48bf68db", "Test Blog (content from customers.hubspot.com)", "demo.hubapi.com/CMS/UI/Modules/BizBlogger/rss.aspx?moduleId=584130&tabId=300291", "https://api.hubapi.com/blog/v1/0d61e4ca-e395-4c1c-8766-afaa48bf68db.json", "demo.hubapi.com/blog-for-testing"], Hubspot::Blog.known_attributes.map{|attribute| blog.send(attribute)}
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_should_find_blog_by_guid
|
16
|
+
VCR.use_cassette('blog-find') do
|
17
|
+
blog = Hubspot::Blog.find("0d61e4ca-e395-4c1c-8766-afaa48bf68db")
|
18
|
+
assert_not_nil blog
|
19
|
+
assert_equal ["0d61e4ca-e395-4c1c-8766-afaa48bf68db", "Test Blog (content from customers.hubspot.com)", "demo.hubapi.com/CMS/UI/Modules/BizBlogger/rss.aspx?moduleId=584130&tabId=300291", "https://api.hubapi.com/blog/v1/0d61e4ca-e395-4c1c-8766-afaa48bf68db.json", "demo.hubapi.com/blog-for-testing"], Hubspot::Blog.known_attributes.map{|attribute| blog.send(attribute)}
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_should_return_blog_posts
|
24
|
+
VCR.use_cassette('blog-posts') do
|
25
|
+
blog = Hubspot::Blog.find("0d61e4ca-e395-4c1c-8766-afaa48bf68db")
|
26
|
+
assert blog.posts(:max => 2).any?
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_should_return_blog_comments
|
31
|
+
VCR.use_cassette('blog-comments') do
|
32
|
+
blog = Hubspot::Blog.find("0d61e4ca-e395-4c1c-8766-afaa48bf68db")
|
33
|
+
assert blog.comments(:max => 2).any?
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require File.expand_path('../../test_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
class EventTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
def test_should_return_events
|
6
|
+
VCR.use_cassette('events-list') do
|
7
|
+
events = Hubspot::Event.find(:all, :params => { :max => 5 })
|
8
|
+
assert_equal 5, events.size
|
9
|
+
|
10
|
+
event = events.first
|
11
|
+
assert_equal ["Atom Updated Atom-Powered Robots Run Amok", "iReach Distribution", "", 1333085425000], Hubspot::Event.known_attributes.map{|attribute| event.send(attribute)}
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_should_create_events
|
16
|
+
VCR.use_cassette('event-create') do
|
17
|
+
assert_equal 201, Hubspot::Event.create(:eventType => 'new event', :description => 'test', :url => 'http://dev.hubspot.com', :createDate => '1323272544000')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require File.expand_path('../../test_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
class KeywordTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
def test_should_return_keywords
|
6
|
+
VCR.use_cassette('keywords-list') do
|
7
|
+
keywords = Hubspot::Keyword.find(:all, :params => { :max => 5 })
|
8
|
+
assert keywords.any?
|
9
|
+
|
10
|
+
keyword = keywords.first
|
11
|
+
assert_equal ["hapipy_test_keyword838"], Hubspot::Keyword.known_attributes.map{|attribute| keyword.send(attribute)}
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_should_create_keywords
|
16
|
+
VCR.use_cassette('keyword-create') do
|
17
|
+
assert keyword = Hubspot::Keyword.create({ :keyword => { :keyword => 'sleutel' }})
|
18
|
+
assert_equal "1a33db71-3371-45c3-9e43-42ee24288d15", keyword.id
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require File.expand_path('../../test_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
class LeadTest < ActiveSupport::TestCase
|
4
|
+
def test_should_return_leads
|
5
|
+
VCR.use_cassette('leads-list') do
|
6
|
+
leads = Hubspot::Lead.find(:all, :params => { :max => 10 })
|
7
|
+
assert_equal 10, leads.size
|
8
|
+
|
9
|
+
lead = leads.first
|
10
|
+
assert_equal ["8a41f2f22906b93a012906b9438f0008", "", "rein", "Kanaki", "adrian@hubspot.com", "http://hubspot.com", "Proquest", "", "Maharashtra", "<a href=\"http://boston.com\">Boston</a>", "12", "etas unis", "321-123-3211", "1231231234", "123", "", "Devloper", "adrianmott", "123.321.123.321", 90.6981], Hubspot::Lead.known_attributes.map{|attribute| lead.send(attribute)}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_should_find_lead_by_guid
|
15
|
+
VCR.use_cassette('lead-find') do
|
16
|
+
lead = Hubspot::Lead.find("8a41f2f22906b93a012906b9438f0008")
|
17
|
+
assert_not_nil lead
|
18
|
+
assert_equal ["8a41f2f22906b93a012906b9438f0008", "", "rein", "Kanaki", "adrian@hubspot.com", "http://hubspot.com", "Proquest", "", "Maharashtra", "<a href=\"http://boston.com\">Boston</a>", "12", "etas unis", "321-123-3211", "1231231234", "123", "", "Devloper", "adrianmott", "123.321.123.321", 90.6981], Hubspot::Lead.known_attributes.map{|attribute| lead.send(attribute)}
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_should_update_lead
|
23
|
+
VCR.use_cassette('lead-update') do
|
24
|
+
lead = Hubspot::Lead.find("8a41f2f22906b93a012906b9438f0008")
|
25
|
+
assert lead.update_attributes(:firstName => 'John')
|
26
|
+
|
27
|
+
lead.reload
|
28
|
+
assert_equal ["8a41f2f22906b93a012906b9438f0008", "", "John", "Kanaki", "adrian@hubspot.com", "http://hubspot.com", "Proquest", "", "Maharashtra", "<a href=\"http://boston.com\">Boston</a>", "12", "etas unis", "321-123-3211", "1231231234", "123", "", "Devloper", "adrianmott", "123.321.123.321", 90.6981], Hubspot::Lead.known_attributes.map{|attribute| lead.send(attribute)}
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require File.expand_path('../../test_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
class PerformableEventTest < ActiveSupport::TestCase
|
4
|
+
setup do
|
5
|
+
@event = Hubspot::Performable::Event.new('event-12345', Date.civil(2012), nil, 'http://example.com')
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_should_create_query_string
|
9
|
+
assert_equal "_a=demo&_l=http%3A%2F%2Fexample.com&_n=event-12345&_t=2012-01-01", @event.to_param
|
10
|
+
|
11
|
+
@event.custom_parameters = { :email => 'test@example.com' }
|
12
|
+
assert_equal "_a=demo&_l=http%3A%2F%2Fexample.com&_n=event-12345&_t=2012-01-01&email=test%40example.com", @event.to_param
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_should_record_events
|
16
|
+
VCR.use_cassette('event-record') do
|
17
|
+
@event.custom_parameters = { :email => 'test@example.com' }
|
18
|
+
assert_equal 200, @event.record
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require File.expand_path('../../test_helper.rb', __FILE__)
|
2
|
+
|
3
|
+
class PostTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
def test_should_find_post_by_guid
|
6
|
+
VCR.use_cassette('post-find') do
|
7
|
+
post = Hubspot::Blogs::Post.find "6ca6fdc5-a81f-44db-a63b-f56ab2636c69", :params => { :blog_guid => "0d61e4ca-e395-4c1c-8766-afaa48bf68db" }
|
8
|
+
assert_not_nil post
|
9
|
+
assert_equal 'This is a test summary', post.summary
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_should_return_post_comments
|
14
|
+
VCR.use_cassette('post-comments') do
|
15
|
+
post = Hubspot::Blogs::Post.find "6ca6fdc5-a81f-44db-a63b-f56ab2636c69", :params => { :blog_guid => "0d61e4ca-e395-4c1c-8766-afaa48bf68db" }
|
16
|
+
assert post.comments(:max => 2).empty?
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,207 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hubspot
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Reinier de Lange
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-04-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sqlite3
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: Integration with the Hubspot API
|
47
|
+
email:
|
48
|
+
- r.j.delange@nedforce.nl
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- app/helpers/hubspot_helper.rb
|
54
|
+
- app/models/hubspot/base.rb
|
55
|
+
- app/models/hubspot/blog.rb
|
56
|
+
- app/models/hubspot/blogs/blog_association.rb
|
57
|
+
- app/models/hubspot/blogs/comment.rb
|
58
|
+
- app/models/hubspot/blogs/post.rb
|
59
|
+
- app/models/hubspot/blogs/posts/comment.rb
|
60
|
+
- app/models/hubspot/connection.rb
|
61
|
+
- app/models/hubspot/event.rb
|
62
|
+
- app/models/hubspot/keyword.rb
|
63
|
+
- app/models/hubspot/lead.rb
|
64
|
+
- app/models/hubspot/performable/event.rb
|
65
|
+
- lib/hubspot/action_controller_extensions.rb
|
66
|
+
- lib/hubspot/engine.rb
|
67
|
+
- lib/hubspot/version.rb
|
68
|
+
- lib/hubspot.rb
|
69
|
+
- lib/tasks/hubspot_tasks.rake
|
70
|
+
- MIT-LICENSE
|
71
|
+
- Rakefile
|
72
|
+
- README.rdoc
|
73
|
+
- test/dummy/app/assets/javascripts/application.js
|
74
|
+
- test/dummy/app/assets/stylesheets/application.css
|
75
|
+
- test/dummy/app/controllers/application_controller.rb
|
76
|
+
- test/dummy/app/helpers/application_helper.rb
|
77
|
+
- test/dummy/app/views/layouts/application.html.erb
|
78
|
+
- test/dummy/config/application.rb
|
79
|
+
- test/dummy/config/boot.rb
|
80
|
+
- test/dummy/config/database.yml
|
81
|
+
- test/dummy/config/environment.rb
|
82
|
+
- test/dummy/config/environments/development.rb
|
83
|
+
- test/dummy/config/environments/production.rb
|
84
|
+
- test/dummy/config/environments/test.rb
|
85
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
86
|
+
- test/dummy/config/initializers/inflections.rb
|
87
|
+
- test/dummy/config/initializers/mime_types.rb
|
88
|
+
- test/dummy/config/initializers/secret_token.rb
|
89
|
+
- test/dummy/config/initializers/session_store.rb
|
90
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
91
|
+
- test/dummy/config/locales/en.yml
|
92
|
+
- test/dummy/config/routes.rb
|
93
|
+
- test/dummy/config.ru
|
94
|
+
- test/dummy/db/test.sqlite3
|
95
|
+
- test/dummy/log/test.log
|
96
|
+
- test/dummy/public/404.html
|
97
|
+
- test/dummy/public/422.html
|
98
|
+
- test/dummy/public/500.html
|
99
|
+
- test/dummy/public/favicon.ico
|
100
|
+
- test/dummy/Rakefile
|
101
|
+
- test/dummy/README.rdoc
|
102
|
+
- test/dummy/script/rails
|
103
|
+
- test/fixtures/vcr_cassettes/blog-comments.yml
|
104
|
+
- test/fixtures/vcr_cassettes/blog-find.yml
|
105
|
+
- test/fixtures/vcr_cassettes/blog-posts.yml
|
106
|
+
- test/fixtures/vcr_cassettes/blogs-list.yml
|
107
|
+
- test/fixtures/vcr_cassettes/event-create.yml
|
108
|
+
- test/fixtures/vcr_cassettes/event-record.yml
|
109
|
+
- test/fixtures/vcr_cassettes/events-list.yml
|
110
|
+
- test/fixtures/vcr_cassettes/keyword-create.yml
|
111
|
+
- test/fixtures/vcr_cassettes/keywords-list.yml
|
112
|
+
- test/fixtures/vcr_cassettes/lead-find.yml
|
113
|
+
- test/fixtures/vcr_cassettes/lead-update.yml
|
114
|
+
- test/fixtures/vcr_cassettes/leads-list.yml
|
115
|
+
- test/fixtures/vcr_cassettes/post-comments.yml
|
116
|
+
- test/fixtures/vcr_cassettes/post-find.yml
|
117
|
+
- test/hubspot_test.rb
|
118
|
+
- test/test_helper.rb
|
119
|
+
- test/unit/blog_test.rb
|
120
|
+
- test/unit/event_test.rb
|
121
|
+
- test/unit/keyword_test.rb
|
122
|
+
- test/unit/lead_test.rb
|
123
|
+
- test/unit/performable_event_test.rb
|
124
|
+
- test/unit/post_test.rb
|
125
|
+
homepage: http://www.nedforce.nl
|
126
|
+
licenses: []
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ! '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
segments:
|
138
|
+
- 0
|
139
|
+
hash: 3121774139926307825
|
140
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
segments:
|
147
|
+
- 0
|
148
|
+
hash: 3121774139926307825
|
149
|
+
requirements: []
|
150
|
+
rubyforge_project:
|
151
|
+
rubygems_version: 1.8.21
|
152
|
+
signing_key:
|
153
|
+
specification_version: 3
|
154
|
+
summary: Integration with the Hubspot API
|
155
|
+
test_files:
|
156
|
+
- test/dummy/app/assets/javascripts/application.js
|
157
|
+
- test/dummy/app/assets/stylesheets/application.css
|
158
|
+
- test/dummy/app/controllers/application_controller.rb
|
159
|
+
- test/dummy/app/helpers/application_helper.rb
|
160
|
+
- test/dummy/app/views/layouts/application.html.erb
|
161
|
+
- test/dummy/config/application.rb
|
162
|
+
- test/dummy/config/boot.rb
|
163
|
+
- test/dummy/config/database.yml
|
164
|
+
- test/dummy/config/environment.rb
|
165
|
+
- test/dummy/config/environments/development.rb
|
166
|
+
- test/dummy/config/environments/production.rb
|
167
|
+
- test/dummy/config/environments/test.rb
|
168
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
169
|
+
- test/dummy/config/initializers/inflections.rb
|
170
|
+
- test/dummy/config/initializers/mime_types.rb
|
171
|
+
- test/dummy/config/initializers/secret_token.rb
|
172
|
+
- test/dummy/config/initializers/session_store.rb
|
173
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
174
|
+
- test/dummy/config/locales/en.yml
|
175
|
+
- test/dummy/config/routes.rb
|
176
|
+
- test/dummy/config.ru
|
177
|
+
- test/dummy/db/test.sqlite3
|
178
|
+
- test/dummy/log/test.log
|
179
|
+
- test/dummy/public/404.html
|
180
|
+
- test/dummy/public/422.html
|
181
|
+
- test/dummy/public/500.html
|
182
|
+
- test/dummy/public/favicon.ico
|
183
|
+
- test/dummy/Rakefile
|
184
|
+
- test/dummy/README.rdoc
|
185
|
+
- test/dummy/script/rails
|
186
|
+
- test/fixtures/vcr_cassettes/blog-comments.yml
|
187
|
+
- test/fixtures/vcr_cassettes/blog-find.yml
|
188
|
+
- test/fixtures/vcr_cassettes/blog-posts.yml
|
189
|
+
- test/fixtures/vcr_cassettes/blogs-list.yml
|
190
|
+
- test/fixtures/vcr_cassettes/event-create.yml
|
191
|
+
- test/fixtures/vcr_cassettes/event-record.yml
|
192
|
+
- test/fixtures/vcr_cassettes/events-list.yml
|
193
|
+
- test/fixtures/vcr_cassettes/keyword-create.yml
|
194
|
+
- test/fixtures/vcr_cassettes/keywords-list.yml
|
195
|
+
- test/fixtures/vcr_cassettes/lead-find.yml
|
196
|
+
- test/fixtures/vcr_cassettes/lead-update.yml
|
197
|
+
- test/fixtures/vcr_cassettes/leads-list.yml
|
198
|
+
- test/fixtures/vcr_cassettes/post-comments.yml
|
199
|
+
- test/fixtures/vcr_cassettes/post-find.yml
|
200
|
+
- test/hubspot_test.rb
|
201
|
+
- test/test_helper.rb
|
202
|
+
- test/unit/blog_test.rb
|
203
|
+
- test/unit/event_test.rb
|
204
|
+
- test/unit/keyword_test.rb
|
205
|
+
- test/unit/lead_test.rb
|
206
|
+
- test/unit/performable_event_test.rb
|
207
|
+
- test/unit/post_test.rb
|