picturepath_aui 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +159 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/picturepath_aui.rb +8 -0
- data/lib/picturepath_aui/client.rb +49 -0
- data/lib/picturepath_aui/request.rb +58 -0
- data/lib/picturepath_aui/response.rb +66 -0
- data/lib/picturepath_aui/version.rb +3 -0
- data/picturepath_aui.gemspec +30 -0
- metadata +159 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 873d479584d386dfbcaf62c0ec693bb76d102137
|
4
|
+
data.tar.gz: 0a8a3cf798434bea07623e01b42e7d0452d436ef
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 852dcb58fd446df4fb375eb452191d1621125b2e468ba49eacbceacc67f4f122ea2088b329eacd80d14ebe70b87738cd0489422731580089525d5110871d31ad
|
7
|
+
data.tar.gz: 05057c67894fe2dce7fd6957e5c79e0e0273383799a00be8021bf49a40e6f0add09d577a372caabd0fb047c1fd5dc2cbc5b70e8f2fdcea12aaa4c40b9851a55c
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Antonio Antillon
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
# PicturepathAUI
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/antillas21/picturepath_aui.svg?branch=master)](https://travis-ci.org/antillas21/picturepath_aui)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/antillas21/picturepath_aui/badges/gpa.svg)](https://codeclimate.com/github/antillas21/picturepath_aui)
|
5
|
+
|
6
|
+
A ruby wrapper around the PicturePath AUI API. PicturePath provides an API to post virtual tours to Realtor.com and other real estate websites.
|
7
|
+
|
8
|
+
This gem provides the same functionality than the
|
9
|
+
[picturepath](http://picturepath.rubyforge.org/) gem. Only with more
|
10
|
+
flexibility and an updated codebase.
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your application's Gemfile:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
gem 'picturepath_aui'
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install picturepath_aui
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
We want to keep a simple API to make requests to the PicturePath AUI API.
|
31
|
+
|
32
|
+
Here's an example on how to walk the easiest path:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
# First, configure your client connection
|
36
|
+
client = PicturepathAUI::Client.new(username: "username", password: "password")
|
37
|
+
|
38
|
+
# Next, build your request payload
|
39
|
+
payload = PicturepathAUI::Request.new({
|
40
|
+
site: 2845, order_number: 1234, product_line: "LINK",
|
41
|
+
street1: "742 Evergreen Terrace", street2: nil, city: "Springfield",
|
42
|
+
state: "IL", zip_code: 62701, mls_id: 5678,
|
43
|
+
tour_url: "http://www.realestateagent.com/tours?id=12345678"
|
44
|
+
})
|
45
|
+
|
46
|
+
# you can perform a check request (for validation or testing purposes)
|
47
|
+
response = client.check(payload)
|
48
|
+
|
49
|
+
# to actually send the tour data to Realtor.com, use the :submit method
|
50
|
+
response = client.submit(payload)
|
51
|
+
|
52
|
+
# either method will return a PicturepathAUI::Response object
|
53
|
+
```
|
54
|
+
|
55
|
+
### Requests
|
56
|
+
|
57
|
+
You don't need to instantiate a `PicturepathAUI::Request` object to perform a
|
58
|
+
`:check or :submit` request to the PicturePath AUI API, you can pass XML
|
59
|
+
straight to these methods. Example, the following are also valid requests:
|
60
|
+
|
61
|
+
```ruby
|
62
|
+
xml = File.open("path/to/xml_file.xml").read
|
63
|
+
client = PicturepathAUI::Client.new(username: "username", password: "password")
|
64
|
+
response = client.check(xml)
|
65
|
+
response = client.submit(xml)
|
66
|
+
|
67
|
+
str_xml = <<-XML
|
68
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
69
|
+
<AUI_SUBMISSION VERSION="5.1">
|
70
|
+
<TOUR>
|
71
|
+
<CUSTREFNUM/>
|
72
|
+
<ORDERNUM>1234</ORDERNUM>
|
73
|
+
<PRODUCT_LINE>LINK</PRODUCT_LINE>
|
74
|
+
<ADDRESS>
|
75
|
+
<STREET1>742 Evergreen Terrace</STREET1>
|
76
|
+
<STREET2/>
|
77
|
+
<CITY>Springfield</CITY>
|
78
|
+
<STATE>IL</STATE>
|
79
|
+
<COUNTRY CODE="USA"/>
|
80
|
+
<ZIP>62701</ZIP>
|
81
|
+
</ADDRESS>
|
82
|
+
<IDENTIFIERS>
|
83
|
+
<ID1 VALUE="1234569" TYPE="MLSID"/>
|
84
|
+
<ID2 VALUE="" TYPE="MLSID"/>
|
85
|
+
</IDENTIFIERS>
|
86
|
+
<DISTRIBUTION>
|
87
|
+
<SITE>2845</SITE>
|
88
|
+
</DISTRIBUTION>
|
89
|
+
<TOUR_URL>http://www.virtualtourco.com/tour.aspx?tourid=12345</TOUR_URL>
|
90
|
+
</TOUR>
|
91
|
+
</AUI_SUBMISSION>
|
92
|
+
XML
|
93
|
+
|
94
|
+
client = PicturepathAUI::Client.new(username: "username", password: "password")
|
95
|
+
response = client.check(str_xml)
|
96
|
+
response = client.submit(str_xml)
|
97
|
+
```
|
98
|
+
|
99
|
+
However, we thought having a helper class would greatly ease building the XML
|
100
|
+
document required by PicturePath :wink:
|
101
|
+
|
102
|
+
If building your request through a `PicturepathAUI::Request` object,
|
103
|
+
take in mind that:
|
104
|
+
|
105
|
+
* `site` key can accept a single value or an Array of values.
|
106
|
+
Though PicturePath documentation clearly states that you can provide multiple
|
107
|
+
values, they only support `2845`. I don't know what's the point in doing so,
|
108
|
+
but still, they "support it", then we allow you to do so.
|
109
|
+
* The `PicturepathAUI::Request` object will assing `nil` to any keys you omit in the Hash. Example: You don't pass in a `:street2` key and value, then,
|
110
|
+
`Request.street2` will return nil, and the corresponding XML tag will render
|
111
|
+
empty (`<STREET2/>`).
|
112
|
+
|
113
|
+
### Responses
|
114
|
+
|
115
|
+
You will get a `PicturepathAUI::Response` object from a `#check` or `#submit`
|
116
|
+
action.
|
117
|
+
|
118
|
+
The Response object responds to the following methods:
|
119
|
+
|
120
|
+
* `raw`: stores the raw XML response received from the PicturePath AUI API.
|
121
|
+
* `data`: stores a parsed version of raw XML in a Hash structure.
|
122
|
+
* `order_number`: stores ORDER_NUMBER value if a Submit request was performed.
|
123
|
+
* `status`: string value for the overall response status.
|
124
|
+
* `messages`: Array of strings with all messages returned in the response.
|
125
|
+
* `success?`: true if request was successful.
|
126
|
+
* `error?`: true if request response errored out.
|
127
|
+
* `warning?`: true if request response returned warning.
|
128
|
+
|
129
|
+
### API Version
|
130
|
+
|
131
|
+
By default, the `PicturepathAUI::Request` will use the PicturePath AUI API
|
132
|
+
version 5.1, however, you can change the API version to use when you
|
133
|
+
build out a request:
|
134
|
+
|
135
|
+
```ruby
|
136
|
+
request = PicturepathAUI::Request.new({
|
137
|
+
api_version: "5.0",
|
138
|
+
# ...other attributes...
|
139
|
+
})
|
140
|
+
```
|
141
|
+
|
142
|
+
Of course you will need to check the documentation as to the fields required
|
143
|
+
to populate your `PicturepathAUI::Request` object for the API version you choose.
|
144
|
+
|
145
|
+
## Development
|
146
|
+
|
147
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
148
|
+
|
149
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
150
|
+
|
151
|
+
## Contributing
|
152
|
+
|
153
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/antillas21/picturepath_aui. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
154
|
+
|
155
|
+
|
156
|
+
## License
|
157
|
+
|
158
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
159
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "picturepath_aui"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
require "pry"
|
11
|
+
Pry.start
|
12
|
+
|
13
|
+
# require "irb"
|
14
|
+
# IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'cgi'
|
2
|
+
require 'open-uri'
|
3
|
+
|
4
|
+
module PicturepathAUI
|
5
|
+
class Client
|
6
|
+
attr_reader :api_version, :username, :password
|
7
|
+
|
8
|
+
def initialize(attributes = {})
|
9
|
+
@username = attributes.fetch(:username)
|
10
|
+
@password = attributes.fetch(:password)
|
11
|
+
@api_version = attributes.fetch(:api_version, "5.1")
|
12
|
+
end
|
13
|
+
|
14
|
+
def check(payload)
|
15
|
+
post_request(:check, payload)
|
16
|
+
end
|
17
|
+
|
18
|
+
def submit(payload)
|
19
|
+
post_request(:submit, payload)
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def escape(attribute)
|
25
|
+
return CGI.escape(attribute)
|
26
|
+
end
|
27
|
+
|
28
|
+
def post_request(action, payload)
|
29
|
+
payload = payload.to_xml if payload.is_a?(Request)
|
30
|
+
url = (api_url + aui_default_params(action) + payload_params(payload)).to_s
|
31
|
+
xml = open(url).read
|
32
|
+
return Response.new(xml)
|
33
|
+
end
|
34
|
+
|
35
|
+
def api_url
|
36
|
+
"http://picturepath.homestore.com/picturepath/cgi-bin/receiver.pl"
|
37
|
+
end
|
38
|
+
|
39
|
+
def aui_default_params(action)
|
40
|
+
action_string = action.to_s.capitalize
|
41
|
+
"?username=#{escape(username)}&password=#{escape(password)}&client=AUI&" +
|
42
|
+
"version=#{api_version}&action=#{action_string}"
|
43
|
+
end
|
44
|
+
|
45
|
+
def payload_params(payload)
|
46
|
+
"&xml=#{escape(payload)}"
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'builder'
|
2
|
+
|
3
|
+
module PicturepathAUI
|
4
|
+
class Request
|
5
|
+
attr_accessor :customer_number, :order_number, :product_sku, :product_line,
|
6
|
+
:street1, :street2, :city, :state, :zip_code, :country, :mls_id, :tour_url,
|
7
|
+
:site, :api_version
|
8
|
+
|
9
|
+
def initialize(attrs = {})
|
10
|
+
[
|
11
|
+
:customer_number, :order_number, :product_sku, :product_line,
|
12
|
+
:street1, :street2, :city, :state, :zip_code, :country, :mls_id,
|
13
|
+
:tour_url, :site
|
14
|
+
].each do |key|
|
15
|
+
self.instance_variable_set("@#{key}", attrs.fetch(key, nil))
|
16
|
+
end
|
17
|
+
|
18
|
+
@api_version = attrs.fetch(:api_version, "5.1")
|
19
|
+
end
|
20
|
+
|
21
|
+
def to_xml
|
22
|
+
xml = build_xml_document
|
23
|
+
return xml
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
def build_xml_document
|
29
|
+
_xml = Builder::XmlMarkup.new(target: "", indent: 2)
|
30
|
+
_xml.instruct!
|
31
|
+
_xml.AUI_SUBMISSION(VERSION: api_version) {
|
32
|
+
_xml.TOUR {
|
33
|
+
_xml.CUSTREFNUM customer_number
|
34
|
+
_xml.ORDERNUM order_number
|
35
|
+
_xml.PRODUCT_LINE product_line
|
36
|
+
_xml.ADDRESS {
|
37
|
+
_xml.STREET1 street1
|
38
|
+
_xml.STREET2 street2
|
39
|
+
_xml.CITY city
|
40
|
+
_xml.STATE state
|
41
|
+
_xml.COUNTRY(CODE: (country || "USA"))
|
42
|
+
_xml.ZIP zip_code
|
43
|
+
}
|
44
|
+
_xml.IDENTIFIERS {
|
45
|
+
_xml.ID1(VALUE: mls_id, TYPE: "MLSID")
|
46
|
+
_xml.ID2(VALUE: "", TYPE: "MLSID")
|
47
|
+
}
|
48
|
+
_xml.DISTRIBUTION {
|
49
|
+
[site].flatten.each do |s|
|
50
|
+
_xml.SITE s
|
51
|
+
end
|
52
|
+
}
|
53
|
+
_xml.TOUR_URL tour_url
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'nori'
|
2
|
+
require 'nokogiri'
|
3
|
+
|
4
|
+
module PicturepathAUI
|
5
|
+
class Response
|
6
|
+
attr_reader :raw, :data, :status, :messages, :order_number
|
7
|
+
|
8
|
+
def initialize(xml)
|
9
|
+
@raw = xml
|
10
|
+
@data = parser.parse(xml)[:aui_response]
|
11
|
+
@status = extract_status(@data)
|
12
|
+
@messages = extract_messages(@data)
|
13
|
+
@order_number = extract_order_number(@data)
|
14
|
+
end
|
15
|
+
|
16
|
+
def success?
|
17
|
+
["SUCCESS", "PARTIAL SUCCESS"].include?(status)
|
18
|
+
end
|
19
|
+
|
20
|
+
def error?
|
21
|
+
status == "ERROR"
|
22
|
+
end
|
23
|
+
|
24
|
+
def warning?
|
25
|
+
["WARNING", "GENERAL WARNING"].include?(status)
|
26
|
+
end
|
27
|
+
|
28
|
+
def system_unavailable?
|
29
|
+
status == "SYSTEM UNAVAILABLE"
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def parser
|
35
|
+
return Nori.new(convert_tags_to: lambda { |tag| tag.snakecase.to_sym })
|
36
|
+
end
|
37
|
+
|
38
|
+
def extract_status(data)
|
39
|
+
return data[:status][:@value]
|
40
|
+
end
|
41
|
+
|
42
|
+
def extract_messages(data)
|
43
|
+
messages = [data[:status][:message]].flatten.map do |message|
|
44
|
+
return [message.strip] if message.is_a?(String)
|
45
|
+
message[:@description].strip
|
46
|
+
end
|
47
|
+
|
48
|
+
return messages.flatten
|
49
|
+
end
|
50
|
+
|
51
|
+
def extract_order_number(data)
|
52
|
+
return nil if is_check_request?(data)
|
53
|
+
return from_status_message(data) if data[:order_number].nil?
|
54
|
+
data[:order_number]
|
55
|
+
end
|
56
|
+
|
57
|
+
def from_status_message(data)
|
58
|
+
order_info = /order number (\w+)/.match(data[:status][:message].to_s)
|
59
|
+
return order_info[1] if order_info.is_a?(MatchData)
|
60
|
+
end
|
61
|
+
|
62
|
+
def is_check_request?(data)
|
63
|
+
data[:status][:@action] == "CHECK"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'picturepath_aui/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "picturepath_aui"
|
8
|
+
spec.version = PicturepathAUI::VERSION
|
9
|
+
spec.authors = ["Antonio Antillon"]
|
10
|
+
spec.email = ["antillas21@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{A ruby wrapper around the PicturePath AUI API.}
|
13
|
+
spec.description = %q{A ruby wrapper around the PicturePath AUI API. PicturePath provides an API to post virtual tours to Realtor.com and other real estate websites.}
|
14
|
+
spec.homepage = "https://github.com/antillas21/picturepath_aui"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency "rspec"
|
25
|
+
spec.add_development_dependency "pry"
|
26
|
+
|
27
|
+
spec.add_dependency "nori"
|
28
|
+
spec.add_dependency "nokogiri"
|
29
|
+
spec.add_dependency "builder", "~> 3.2"
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: picturepath_aui
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Antonio Antillon
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.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: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: nori
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
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: nokogiri
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: builder
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.2'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.2'
|
111
|
+
description: A ruby wrapper around the PicturePath AUI API. PicturePath provides an
|
112
|
+
API to post virtual tours to Realtor.com and other real estate websites.
|
113
|
+
email:
|
114
|
+
- antillas21@gmail.com
|
115
|
+
executables: []
|
116
|
+
extensions: []
|
117
|
+
extra_rdoc_files: []
|
118
|
+
files:
|
119
|
+
- ".gitignore"
|
120
|
+
- ".rspec"
|
121
|
+
- ".travis.yml"
|
122
|
+
- CODE_OF_CONDUCT.md
|
123
|
+
- Gemfile
|
124
|
+
- LICENSE.txt
|
125
|
+
- README.md
|
126
|
+
- Rakefile
|
127
|
+
- bin/console
|
128
|
+
- bin/setup
|
129
|
+
- lib/picturepath_aui.rb
|
130
|
+
- lib/picturepath_aui/client.rb
|
131
|
+
- lib/picturepath_aui/request.rb
|
132
|
+
- lib/picturepath_aui/response.rb
|
133
|
+
- lib/picturepath_aui/version.rb
|
134
|
+
- picturepath_aui.gemspec
|
135
|
+
homepage: https://github.com/antillas21/picturepath_aui
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.4.5
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: A ruby wrapper around the PicturePath AUI API.
|
159
|
+
test_files: []
|