vast_api 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/vast_api.rb +1 -1
- data/lib/vast_api/listings/entry.rb +16 -11
- data/test/fixtures/vcr_cassettes/get_required_fields.yml +65 -25
- data/test/fixtures/vcr_cassettes/post_lead.yml +90 -22
- data/vast_api.gemspec +11 -11
- metadata +182 -127
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/lib/vast_api.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
class VastApi
|
2
2
|
class Listings
|
3
3
|
class Entry
|
4
|
-
attr_reader :doc, :vast
|
4
|
+
attr_reader :doc, :vast, :_post_response
|
5
5
|
def initialize(vast, doc)
|
6
6
|
@doc = doc
|
7
7
|
@attributes = {}
|
@@ -67,7 +67,8 @@ class VastApi
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def req_fields
|
70
|
-
res =
|
70
|
+
res = Typhoeus::Request.get("http://leads.vast.com/leads/schema/#{self.id}/-/#{@vast.category}?apikey=#{@vast.api_key}&apihost=common.cars.data.vast.com")
|
71
|
+
|
71
72
|
req = {'name_first' => true, 'name_last' => true, 'email' => true}
|
72
73
|
doc = Nokogiri::XML(res.body)
|
73
74
|
%W{street city regioncode postalcode}.each do |a|
|
@@ -81,7 +82,6 @@ class VastApi
|
|
81
82
|
end
|
82
83
|
|
83
84
|
def post_leads(params)
|
84
|
-
url = "http://leads.vast.com/leads/-/#{@vast.category}?apikey=#{@vast.api_key}"
|
85
85
|
entry = {
|
86
86
|
"record_id" => "#{@vast.api_url}listings/#{self.id}/-/#{@vast.category}?apikey=#{@vast.api_key}",
|
87
87
|
"adf" =>
|
@@ -105,16 +105,21 @@ class VastApi
|
|
105
105
|
}
|
106
106
|
}
|
107
107
|
}
|
108
|
-
|
109
|
-
|
110
|
-
request.body = entry.to_xml(:root => 'entry', :dasherize => false)
|
111
|
-
uri = URI.parse(url)
|
112
|
-
http = Net::HTTP.new(uri.host, uri.port)
|
113
|
-
response = http.request(request)
|
114
|
-
doc = Nokogiri::XML(response.body)
|
115
|
-
{:status => doc.at_css("status")["code"], :message => doc.at_css('message').text}
|
108
|
+
@_post_response = Typhoeus::Request.post("http://leads.vast.com/leads/-/#{@vast.category}?apikey=#{@vast.api_key}&apihost=common.cars.data.vast.com", :headers => {'Content-Type' => "application/atom+xml"}, :body => entry.to_xml(:root => 'entry', :dasherize => false))
|
109
|
+
post_response
|
116
110
|
end
|
117
111
|
|
112
|
+
def post_response
|
113
|
+
doc = Nokogiri::XML(@_post_response.body)
|
114
|
+
impressions = doc.at_css('impressions')
|
115
|
+
similar = doc.at_css('similar')
|
116
|
+
{
|
117
|
+
:status => doc.at_css("status")["code"],
|
118
|
+
:message => doc.at_css('message').text,
|
119
|
+
:similar => (similar) ? similar.text : '',
|
120
|
+
:impressions => ((impressions) ? impressions.text : "")
|
121
|
+
}
|
122
|
+
end
|
118
123
|
private
|
119
124
|
|
120
125
|
def get_var(var_name)
|
@@ -1,41 +1,81 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
5
|
uri: http://leads.vast.com:80/leads/schema/555288039954342885/-/item_vehicle/bike?apikey=
|
6
6
|
body: !!null
|
7
|
+
str: ""
|
8
|
+
"@taguri": x-private:null
|
7
9
|
headers: !!null
|
8
|
-
|
9
|
-
|
10
|
+
str: ""
|
11
|
+
"@taguri": x-private:null
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
14
|
code: 401
|
11
15
|
message: Unauthorized
|
12
|
-
headers:
|
13
|
-
content-type:
|
16
|
+
headers:
|
17
|
+
content-type:
|
14
18
|
- text/xml; charset=iso-8859-1
|
15
|
-
|
16
|
-
- '145'
|
17
|
-
server:
|
19
|
+
server:
|
18
20
|
- Jetty(6.1.3)
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
-
|
23
|
-
|
21
|
+
content-length:
|
22
|
+
- "145"
|
23
|
+
body: |+
|
24
|
+
<?xml version="1.0" encoding="utf-8"?>
|
25
|
+
<status code="401" type="authorization">
|
26
|
+
<message>Unauthorized Access - Bad API Key</message>
|
27
|
+
</status>
|
28
|
+
|
29
|
+
http_version: "1.1"
|
30
|
+
- !ruby/struct:VCR::HTTPInteraction
|
31
|
+
request: !ruby/struct:VCR::Request
|
24
32
|
method: :get
|
25
33
|
uri: http://leads.vast.com:80/leads/schema/6268881899028898162/-/item_vehicle/bike?apikey=
|
26
34
|
body: !!null
|
35
|
+
str: ""
|
36
|
+
"@taguri": x-private:null
|
27
37
|
headers: !!null
|
28
|
-
|
29
|
-
|
38
|
+
str: ""
|
39
|
+
"@taguri": x-private:null
|
40
|
+
response: !ruby/struct:VCR::Response
|
41
|
+
status: !ruby/struct:VCR::ResponseStatus
|
30
42
|
code: 401
|
31
43
|
message: Unauthorized
|
32
|
-
headers:
|
33
|
-
content-type:
|
44
|
+
headers:
|
45
|
+
content-type:
|
34
46
|
- text/xml; charset=iso-8859-1
|
35
|
-
|
36
|
-
- '145'
|
37
|
-
server:
|
47
|
+
server:
|
38
48
|
- Jetty(6.1.3)
|
39
|
-
|
40
|
-
|
41
|
-
|
49
|
+
content-length:
|
50
|
+
- "145"
|
51
|
+
body: |+
|
52
|
+
<?xml version="1.0" encoding="utf-8"?>
|
53
|
+
<status code="401" type="authorization">
|
54
|
+
<message>Unauthorized Access - Bad API Key</message>
|
55
|
+
</status>
|
56
|
+
|
57
|
+
http_version: "1.1"
|
58
|
+
- !ruby/struct:VCR::HTTPInteraction
|
59
|
+
request: !ruby/struct:VCR::Request
|
60
|
+
method: :get
|
61
|
+
uri: http://leads.vast.com:80/leads/schema/555288039954342885/-/item_vehicle/bike?apihost=common.cars.data.vast.com&apikey=
|
62
|
+
body:
|
63
|
+
headers:
|
64
|
+
response: !ruby/struct:VCR::Response
|
65
|
+
status: !ruby/struct:VCR::ResponseStatus
|
66
|
+
code: 401
|
67
|
+
message: Unauthorized
|
68
|
+
headers:
|
69
|
+
content-type:
|
70
|
+
- text/xml; charset=iso-8859-1
|
71
|
+
server:
|
72
|
+
- Jetty(6.1.3)
|
73
|
+
content-length:
|
74
|
+
- "145"
|
75
|
+
body: |+
|
76
|
+
<?xml version="1.0" encoding="utf-8"?>
|
77
|
+
<status code="401" type="authorization">
|
78
|
+
<message>Unauthorized Access - Bad API Key</message>
|
79
|
+
</status>
|
80
|
+
|
81
|
+
http_version: "1.1"
|
@@ -1,29 +1,97 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
5
|
uri: http://leads.vast.com:80/leads/-/item_vehicle/bike?apikey=
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
6
|
+
body: |
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
+
<entry>
|
9
|
+
<record_id>http://data.vast.com/listings/555288039954342885/-/item_vehicle/bike?apikey=</record_id>
|
10
|
+
\ <adf>
|
11
|
+
<customer>
|
12
|
+
<comments>No comments</comments>
|
13
|
+
<contact>
|
14
|
+
\ <phone>123123323</phone>
|
15
|
+
<address>
|
16
|
+
<street_1>134 W 29 ST</street_1>
|
17
|
+
<regioncode>NY</regioncode>
|
18
|
+
<postalcode>10001</postalcode>
|
19
|
+
\ <city>New York</city>
|
20
|
+
</address>
|
21
|
+
<email>one@gmail.com</email>
|
22
|
+
\ <name_last>test</name_last>
|
23
|
+
<name_first>test</name_first>
|
24
|
+
\ </contact>
|
25
|
+
</customer>
|
26
|
+
</adf>
|
27
|
+
</entry>
|
28
|
+
|
29
|
+
headers:
|
30
|
+
content-type:
|
15
31
|
- application/atom+xml
|
16
|
-
response: !ruby/struct:VCR::Response
|
17
|
-
status: !ruby/struct:VCR::ResponseStatus
|
32
|
+
response: !ruby/struct:VCR::Response
|
33
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
34
|
code: 401
|
19
35
|
message: Unauthorized
|
20
|
-
headers:
|
21
|
-
content-
|
22
|
-
-
|
23
|
-
server:
|
36
|
+
headers:
|
37
|
+
content-type:
|
38
|
+
- text/xml; charset=iso-8859-1
|
39
|
+
server:
|
24
40
|
- Jetty(6.1.3)
|
25
|
-
content-
|
41
|
+
content-length:
|
42
|
+
- "145"
|
43
|
+
body: |+
|
44
|
+
<?xml version="1.0" encoding="utf-8"?>
|
45
|
+
<status code="401" type="authorization">
|
46
|
+
<message>Unauthorized Access - Bad API Key</message>
|
47
|
+
</status>
|
48
|
+
|
49
|
+
http_version: "1.1"
|
50
|
+
- !ruby/struct:VCR::HTTPInteraction
|
51
|
+
request: !ruby/struct:VCR::Request
|
52
|
+
method: :post
|
53
|
+
uri: http://leads.vast.com:80/leads/-/item_vehicle/bike?apihost=common.cars.data.vast.com&apikey=
|
54
|
+
body: |
|
55
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
56
|
+
<entry>
|
57
|
+
<record_id>http://data.vast.com/listings/555288039954342885/-/item_vehicle/bike?apikey=</record_id>
|
58
|
+
<adf>
|
59
|
+
<customer>
|
60
|
+
<comments></comments>
|
61
|
+
<contact>
|
62
|
+
<address>
|
63
|
+
<city nil="true"></city>
|
64
|
+
<street_1></street_1>
|
65
|
+
<regioncode></regioncode>
|
66
|
+
<postalcode></postalcode>
|
67
|
+
</address>
|
68
|
+
<name_last></name_last>
|
69
|
+
<phone></phone>
|
70
|
+
<name_first></name_first>
|
71
|
+
<email></email>
|
72
|
+
</contact>
|
73
|
+
</customer>
|
74
|
+
</adf>
|
75
|
+
</entry>
|
76
|
+
|
77
|
+
headers:
|
78
|
+
content-type:
|
79
|
+
- application/atom+xml
|
80
|
+
response: !ruby/struct:VCR::Response
|
81
|
+
status: !ruby/struct:VCR::ResponseStatus
|
82
|
+
code: 401
|
83
|
+
message: Unauthorized
|
84
|
+
headers:
|
85
|
+
content-type:
|
26
86
|
- text/xml; charset=iso-8859-1
|
27
|
-
|
28
|
-
|
29
|
-
|
87
|
+
server:
|
88
|
+
- Jetty(6.1.3)
|
89
|
+
content-length:
|
90
|
+
- "145"
|
91
|
+
body: |+
|
92
|
+
<?xml version="1.0" encoding="utf-8"?>
|
93
|
+
<status code="401" type="authorization">
|
94
|
+
<message>Unauthorized Access - Bad API Key</message>
|
95
|
+
</status>
|
96
|
+
|
97
|
+
http_version: "1.1"
|
data/vast_api.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.2.
|
7
|
+
s.name = "vast_api"
|
8
|
+
s.version = "0.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
11
|
+
s.authors = ["Ryan Ong", "Mikhail Knyazev"]
|
12
|
+
s.date = "2012-01-24"
|
13
|
+
s.description = "A ruby wrapper for the http://www.vast.com/ api"
|
14
|
+
s.email = "ryanong@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
@@ -40,11 +40,11 @@ Gem::Specification.new do |s|
|
|
40
40
|
"test/test_vast_api.rb",
|
41
41
|
"vast_api.gemspec"
|
42
42
|
]
|
43
|
-
s.homepage =
|
44
|
-
s.licenses = [
|
45
|
-
s.require_paths = [
|
46
|
-
s.rubygems_version =
|
47
|
-
s.summary =
|
43
|
+
s.homepage = "http://github.com/carzen/vast_api"
|
44
|
+
s.licenses = ["MIT"]
|
45
|
+
s.require_paths = ["lib"]
|
46
|
+
s.rubygems_version = "1.8.10"
|
47
|
+
s.summary = "A ruby wrapper for the http://www.vast.com/ api"
|
48
48
|
s.test_files = [
|
49
49
|
"test/helper.rb",
|
50
50
|
"test/test_vast_api.rb"
|
metadata
CHANGED
@@ -1,157 +1,207 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: vast_api
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Ryan Ong
|
9
14
|
- Mikhail Knyazev
|
10
15
|
autorequire:
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
requirement: &
|
18
|
+
|
19
|
+
date: 2012-01-24 00:00:00 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
23
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
hash: 9
|
28
|
+
segments:
|
29
|
+
- 2
|
30
|
+
- 3
|
31
|
+
- 5
|
22
32
|
version: 2.3.5
|
23
|
-
|
33
|
+
version_requirements: *id001
|
34
|
+
name: activesupport
|
24
35
|
prerelease: false
|
25
|
-
version_requirements: *2159120620
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: nokogiri
|
28
|
-
requirement: &2159120140 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ! '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
36
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: typhoeus
|
39
|
-
requirement: &2159119660 !ruby/object:Gem::Requirement
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
version_requirements: *id002
|
48
|
+
name: nokogiri
|
49
|
+
prerelease: false
|
45
50
|
type: :runtime
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
version_requirements: *id003
|
62
|
+
name: typhoeus
|
46
63
|
prerelease: false
|
47
|
-
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
|
50
|
-
requirement: &2159119180 !ruby/object:Gem::Requirement
|
64
|
+
type: :runtime
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
67
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
version_requirements: *id004
|
76
|
+
name: minitest
|
57
77
|
prerelease: false
|
58
|
-
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
|
61
|
-
requirement: &2159118700 !ruby/object:Gem::Requirement
|
78
|
+
type: :development
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
62
81
|
none: false
|
63
|
-
requirements:
|
82
|
+
requirements:
|
64
83
|
- - ~>
|
65
|
-
- !ruby/object:Gem::Version
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
hash: 7
|
86
|
+
segments:
|
87
|
+
- 0
|
88
|
+
- 6
|
89
|
+
- 0
|
66
90
|
version: 0.6.0
|
67
|
-
|
91
|
+
version_requirements: *id005
|
92
|
+
name: yard
|
68
93
|
prerelease: false
|
69
|
-
version_requirements: *2159118700
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: bundler
|
72
|
-
requirement: &2159118220 !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
94
|
type: :development
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 3
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
version: "0"
|
105
|
+
version_requirements: *id006
|
106
|
+
name: bundler
|
79
107
|
prerelease: false
|
80
|
-
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
|
83
|
-
requirement: &2159134100 !ruby/object:Gem::Requirement
|
108
|
+
type: :development
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
84
111
|
none: false
|
85
|
-
requirements:
|
112
|
+
requirements:
|
86
113
|
- - ~>
|
87
|
-
- !ruby/object:Gem::Version
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 7
|
116
|
+
segments:
|
117
|
+
- 1
|
118
|
+
- 5
|
119
|
+
- 2
|
88
120
|
version: 1.5.2
|
89
|
-
|
121
|
+
version_requirements: *id007
|
122
|
+
name: jeweler
|
90
123
|
prerelease: false
|
91
|
-
version_requirements: *2159134100
|
92
|
-
- !ruby/object:Gem::Dependency
|
93
|
-
name: rcov
|
94
|
-
requirement: &2159133620 !ruby/object:Gem::Requirement
|
95
|
-
none: false
|
96
|
-
requirements:
|
97
|
-
- - ! '>='
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '0'
|
100
124
|
type: :development
|
101
|
-
|
102
|
-
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: webmock
|
105
|
-
requirement: &2159133140 !ruby/object:Gem::Requirement
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
106
127
|
none: false
|
107
|
-
requirements:
|
108
|
-
- -
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
|
111
|
-
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
hash: 3
|
132
|
+
segments:
|
133
|
+
- 0
|
134
|
+
version: "0"
|
135
|
+
version_requirements: *id008
|
136
|
+
name: rcov
|
112
137
|
prerelease: false
|
113
|
-
version_requirements: *2159133140
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: vcr
|
116
|
-
requirement: &2159132660 !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
|
-
requirements:
|
119
|
-
- - ! '>='
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: '0'
|
122
138
|
type: :development
|
123
|
-
|
124
|
-
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: i18n
|
127
|
-
requirement: &2159132180 !ruby/object:Gem::Requirement
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
128
141
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
hash: 3
|
146
|
+
segments:
|
147
|
+
- 0
|
148
|
+
version: "0"
|
149
|
+
version_requirements: *id009
|
150
|
+
name: webmock
|
151
|
+
prerelease: false
|
133
152
|
type: :development
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
hash: 3
|
160
|
+
segments:
|
161
|
+
- 0
|
162
|
+
version: "0"
|
163
|
+
version_requirements: *id010
|
164
|
+
name: vcr
|
134
165
|
prerelease: false
|
135
|
-
|
136
|
-
- !ruby/object:Gem::Dependency
|
137
|
-
|
138
|
-
requirement: &2159131700 !ruby/object:Gem::Requirement
|
166
|
+
type: :development
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
139
169
|
none: false
|
140
|
-
requirements:
|
141
|
-
- -
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
hash: 3
|
174
|
+
segments:
|
175
|
+
- 0
|
176
|
+
version: "0"
|
177
|
+
version_requirements: *id011
|
178
|
+
name: i18n
|
179
|
+
prerelease: false
|
144
180
|
type: :development
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
hash: 3
|
188
|
+
segments:
|
189
|
+
- 0
|
190
|
+
version: "0"
|
191
|
+
version_requirements: *id012
|
192
|
+
name: builder
|
145
193
|
prerelease: false
|
146
|
-
|
194
|
+
type: :development
|
147
195
|
description: A ruby wrapper for the http://www.vast.com/ api
|
148
196
|
email: ryanong@gmail.com
|
149
197
|
executables: []
|
198
|
+
|
150
199
|
extensions: []
|
151
|
-
|
200
|
+
|
201
|
+
extra_rdoc_files:
|
152
202
|
- LICENSE.txt
|
153
203
|
- README.rdoc
|
154
|
-
files:
|
204
|
+
files:
|
155
205
|
- .document
|
156
206
|
- Gemfile
|
157
207
|
- LICENSE.txt
|
@@ -175,33 +225,38 @@ files:
|
|
175
225
|
- test/test_vast_api.rb
|
176
226
|
- vast_api.gemspec
|
177
227
|
homepage: http://github.com/carzen/vast_api
|
178
|
-
licenses:
|
228
|
+
licenses:
|
179
229
|
- MIT
|
180
230
|
post_install_message:
|
181
231
|
rdoc_options: []
|
182
|
-
|
232
|
+
|
233
|
+
require_paths:
|
183
234
|
- lib
|
184
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
235
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
236
|
none: false
|
186
|
-
requirements:
|
187
|
-
- -
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
|
190
|
-
segments:
|
237
|
+
requirements:
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
hash: 3
|
241
|
+
segments:
|
191
242
|
- 0
|
192
|
-
|
193
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
|
+
version: "0"
|
244
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
245
|
none: false
|
195
|
-
requirements:
|
196
|
-
- -
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
|
246
|
+
requirements:
|
247
|
+
- - ">="
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
hash: 3
|
250
|
+
segments:
|
251
|
+
- 0
|
252
|
+
version: "0"
|
199
253
|
requirements: []
|
254
|
+
|
200
255
|
rubyforge_project:
|
201
|
-
rubygems_version: 1.8.
|
256
|
+
rubygems_version: 1.8.10
|
202
257
|
signing_key:
|
203
258
|
specification_version: 3
|
204
259
|
summary: A ruby wrapper for the http://www.vast.com/ api
|
205
|
-
test_files:
|
260
|
+
test_files:
|
206
261
|
- test/helper.rb
|
207
262
|
- test/test_vast_api.rb
|