flexmls_api 0.6.4 → 0.6.5
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.
- data/History.txt +124 -0
- data/Rakefile +3 -88
- data/VERSION +1 -1
- data/lib/flexmls_api/models.rb +1 -0
- data/lib/flexmls_api/models/listing.rb +6 -0
- data/lib/flexmls_api/models/open_house.rb +24 -0
- data/spec/fixtures/open_houses.json +21 -0
- data/spec/unit/flexmls_api/models/open_house_spec.rb +36 -0
- metadata +272 -206
- data/Gemfile +0 -5
- data/Gemfile.lock +0 -68
data/History.txt
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
== v0.6.4 2011-08-02
|
2
|
+
* added public method for the listing carts service specified
|
3
|
+
* added spec for portal listing cart method
|
4
|
+
== v0.6.3 2011-08-02
|
5
|
+
* Fix gemspec error on CLI launch (bundler)
|
6
|
+
== v0.6.2 2011-07-29
|
7
|
+
* Added command to make irb sessions rocktastic
|
8
|
+
== v0.6.1 2011-07-14
|
9
|
+
* Fixed request headers to match api expectations
|
10
|
+
* OAuth2 grant types redesign
|
11
|
+
* "provided" saved searches
|
12
|
+
* Portal account saving
|
13
|
+
== v0.5.9 2011-07-12
|
14
|
+
* Modify Collect to handle FixNums in the case of pagination=count to my/office listings
|
15
|
+
== v0.5.8 2011-07-08
|
16
|
+
* Add finders to SharedListing model
|
17
|
+
* fixed log message
|
18
|
+
== v0.5.7 2011-07-07
|
19
|
+
* Add /my/contact support
|
20
|
+
== v0.5.6 2011-07-07
|
21
|
+
* More build woes.
|
22
|
+
== v0.5.5 2011-07-07
|
23
|
+
== v0.5.4 2011-07-01
|
24
|
+
* Added the add listing methods to the cart instance.
|
25
|
+
* Added the remove listing methods to the cart instance.
|
26
|
+
* Accounts service by office changes
|
27
|
+
== v0.5.3 2011-06-28
|
28
|
+
* API error handling bugfix to log decent messages
|
29
|
+
* Fixed the OAuth flow.
|
30
|
+
* Provide primary image types
|
31
|
+
== v0.5.2 2011-06-23
|
32
|
+
== v0.5.1 2011-06-03
|
33
|
+
* Upgraded dependencies to latest releases.
|
34
|
+
* Added put / delete functionality.
|
35
|
+
* Make method_missing and respond_to? methods match the expected behavior and add specs to define those behaviors.
|
36
|
+
* Properly escape uri paths when making requests.
|
37
|
+
* SavedSearch resource.
|
38
|
+
== v0.4.6 2011-05-13
|
39
|
+
* Added notify option to contacts
|
40
|
+
* Implementation of listing cart resource.
|
41
|
+
* Pass JSON instead of a querystring for the OAuth POST body
|
42
|
+
* API-101 client implementation for sharedlistings service.
|
43
|
+
* Added multiclient support
|
44
|
+
* Change client from sending credentials as request parameters to post data
|
45
|
+
== v0.4.5 2011-05-06
|
46
|
+
* Restrict lists larger than 1,000 scroll items
|
47
|
+
* Fixed logging of oauth2 errors, removed redundant access_token from parameters.
|
48
|
+
== v0.4.4 2011-05-06
|
49
|
+
* Need to skip spec/reports for CI builds (oops).
|
50
|
+
== v0.4.3 2011-05-05
|
51
|
+
* Fixed semi important issue with timeout settings.
|
52
|
+
== v0.4.2 2011-05-03
|
53
|
+
* Fixed some nasty session timeout issues that were reported.
|
54
|
+
* Raise proper exceptions for oauth grant errors.
|
55
|
+
== v0.4.1 2011-04-11
|
56
|
+
* Removed unnecessary finders from property type model
|
57
|
+
* OAuth2 implementation and general auth redesign
|
58
|
+
* Upgraded ruby version supported.
|
59
|
+
* Add finders to Contact model
|
60
|
+
* Adds an inspect to make debug info easier to read
|
61
|
+
* Standard field support for _expanding and nearby
|
62
|
+
== v0.3.9 2011-04-01
|
63
|
+
* Added notes model and specs
|
64
|
+
* Added a primary_logo method to the system info class
|
65
|
+
* Change owner param to arguments hash
|
66
|
+
* Add finders
|
67
|
+
== v0.3.8 2011-03-24
|
68
|
+
* Interface change! Remove api user calls that are all over the place.
|
69
|
+
* Fix for empty count response.
|
70
|
+
* Parse date and times for tour
|
71
|
+
== v0.3.7 2011-03-11
|
72
|
+
* Fix catch miss.
|
73
|
+
* Added tour of homes model.
|
74
|
+
== v0.3.6 2011-03-08
|
75
|
+
* Added account model Also moved finders to a module.
|
76
|
+
== v0.3.5 2011-03-08
|
77
|
+
* changing units on API request logging
|
78
|
+
== v0.3.4 2011-02-08
|
79
|
+
* Fixed escaping special characters in the client. This needs to happen after signing.
|
80
|
+
== v0.3.3 2011-01-28
|
81
|
+
* Add session features to the api client.
|
82
|
+
* Remove redundant debug log call
|
83
|
+
== v0.3.2 2011-01-28
|
84
|
+
* CustomFields class added
|
85
|
+
== v0.3.1 2011-01-27
|
86
|
+
* Prep work for rubygems
|
87
|
+
* doc corrections
|
88
|
+
== v0.3.0 2011-01-17
|
89
|
+
* Added license for release.
|
90
|
+
== v0.2.9 2011-01-12
|
91
|
+
* misc project cleanup
|
92
|
+
== v0.2.8 2011-01-10
|
93
|
+
* Fixed client to use http for all requests (except for session auth) by default. Added :ssl option to enable https for all traffic.
|
94
|
+
* Fixed client connection and resets.
|
95
|
+
== v0.2.7 2011-01-10
|
96
|
+
* Build troubles
|
97
|
+
== v0.2.6 2011-01-10
|
98
|
+
== v0.2.5 2011-01-10
|
99
|
+
== v0.2.4 2011-01-10
|
100
|
+
== v0.2.3 2011-01-10
|
101
|
+
* Handy startup script picking keys from the environment.
|
102
|
+
== v0.2.2 2010-12-29
|
103
|
+
* per_page setting for the client models.
|
104
|
+
* Pagination support for the flexmls api client
|
105
|
+
* Added branded? and unbranded? instance methods to Video
|
106
|
+
* Added document model
|
107
|
+
* Added virtual tours model
|
108
|
+
* Added videos model
|
109
|
+
* Contact model and saving
|
110
|
+
* Added `find_by_cart_id' method to Listing model
|
111
|
+
* allow finder to pass thru options
|
112
|
+
* Implemented Listing.find(:all, ...)
|
113
|
+
== v0.2.1 2010-12-29
|
114
|
+
* fixed some error code issues.
|
115
|
+
* corrected default endpoint to include the URL scheme
|
116
|
+
== v0.2.0 2010-12-27
|
117
|
+
* new gemspec
|
118
|
+
* Session caching
|
119
|
+
* Major overhaul on the models for code reuse
|
120
|
+
* added Photo.find_by_listing_key
|
121
|
+
== v0.1.1 2010-12-23
|
122
|
+
* IDX link and market stat models.
|
123
|
+
== v0.1.0 2010-12-13
|
124
|
+
* Initial usable release with request interface and models
|
data/Rakefile
CHANGED
@@ -1,92 +1,7 @@
|
|
1
1
|
require "rubygems"
|
2
|
-
require '
|
3
|
-
require '
|
4
|
-
require '
|
5
|
-
require "rspec"
|
6
|
-
require 'rspec/core/rake_task'
|
7
|
-
|
8
|
-
begin
|
9
|
-
require 'jeweler'
|
10
|
-
Jeweler::Tasks.new do |gemspec|
|
11
|
-
gemspec.name = "flexmls_api"
|
12
|
-
gemspec.summary = "A library for interacting with the flexmls web services."
|
13
|
-
gemspec.description = "A library for interacting with the flexmls web services."
|
14
|
-
gemspec.email = "api-support@flexmls.com"
|
15
|
-
gemspec.homepage = "https://github.com/flexmls/flexmls_api"
|
16
|
-
gemspec.authors = ["Brandon Hornseth", "Wade McEwen"]
|
17
|
-
# Need to skip spec/reports for CI builds
|
18
|
-
gemspec.files = FileList["[A-Z]*", "{bin,lib,spec/fixtures,script,spec/unit}/**/*", "spec/*.rb"]
|
19
|
-
# GEMS
|
20
|
-
gemspec.add_dependency 'curb', '~> 0.7.15'
|
21
|
-
gemspec.add_dependency 'faraday', '~> 0.6.1'
|
22
|
-
gemspec.add_dependency 'faraday_middleware', '~> 0.6.3'
|
23
|
-
gemspec.add_dependency 'multi_json', '~> 1.0.0'
|
24
|
-
gemspec.add_dependency 'json', '~> 1.5.1'
|
25
|
-
gemspec.add_dependency 'yajl-ruby', '~> 0.8.2'
|
26
|
-
gemspec.add_dependency 'builder', '>= 2.1.2', '< 4.0.0'
|
27
|
-
gemspec.add_dependency 'addressable', '~> 2.2.5'
|
28
|
-
gemspec.add_dependency 'will_paginate', '>= 3.0.pre2', '< 4.0.0'
|
29
|
-
# TEST GEMS
|
30
|
-
gemspec.add_development_dependency 'rspec', '~> 2.3.0'
|
31
|
-
gemspec.add_development_dependency 'webmock', '~> 1.4.0'
|
32
|
-
gemspec.add_development_dependency 'jeweler', '~> 1.5.2'
|
33
|
-
gemspec.add_development_dependency 'typhoeus', '~> 0.2.0'
|
34
|
-
gemspec.add_development_dependency 'ci_reporter', '~> 1.6.3'
|
35
|
-
gemspec.add_development_dependency 'rcov', '~> 0.9.9'
|
36
|
-
end
|
37
|
-
Jeweler::GemcutterTasks.new
|
38
|
-
rescue LoadError
|
39
|
-
puts "Jeweler not available. Install it with: gem install jeweler"
|
40
|
-
end
|
41
|
-
|
42
|
-
RSpec::Core::RakeTask.new do |t|
|
43
|
-
t.rspec_opts = ["-c", "-f progress"]
|
44
|
-
t.pattern = 'spec/**/*_spec.rb'
|
45
|
-
t.rcov = true
|
46
|
-
t.rcov_opts = %w{--exclude /usr/local/rvm/gems/,bundle,spec}
|
47
|
-
end
|
48
|
-
|
49
|
-
task :install do
|
50
|
-
require './lib/flexmls_api'
|
51
|
-
rm_rf "*.gem"
|
52
|
-
puts `gem build flexmls_api.gemspec`
|
53
|
-
puts `sudo gem install flexmls_api-#{FlexmlsApi::VERSION}.gem`
|
54
|
-
end
|
2
|
+
require 'flexmls_gems/tasks'
|
3
|
+
require 'flexmls_gems/tasks/spec'
|
4
|
+
require 'flexmls_gems/tasks/rdoc'
|
55
5
|
|
56
6
|
desc "Run all the tests"
|
57
7
|
task :default => :spec
|
58
|
-
|
59
|
-
Rake::TaskManager.class_eval do
|
60
|
-
def remove_task(task_name)
|
61
|
-
@tasks.delete(task_name.to_s)
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
def remove_task(task_name)
|
66
|
-
Rake.application.remove_task(task_name)
|
67
|
-
end
|
68
|
-
|
69
|
-
Rake::RDocTask.new do |rdoc|
|
70
|
-
files =['lib/**/*.rb']
|
71
|
-
rdoc.rdoc_files.add(files)
|
72
|
-
rdoc.main = "README.md" # page to start on
|
73
|
-
rdoc.title = "flexmls_api Docs"
|
74
|
-
rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
|
75
|
-
rdoc.options << '--line-numbers'
|
76
|
-
end
|
77
|
-
|
78
|
-
spec = Gem::Specification::load("flexmls_api.gemspec")
|
79
|
-
Rake::GemPackageTask.new(spec) do |p|
|
80
|
-
p.gem_spec = spec
|
81
|
-
p.need_tar = true
|
82
|
-
p.need_zip = true
|
83
|
-
end
|
84
|
-
|
85
|
-
task :deploy do
|
86
|
-
gems = FileList['pkg/*.gem']
|
87
|
-
FileUtils.cp gems, '/opt/gems/dev/gems'
|
88
|
-
require 'rubygems'
|
89
|
-
require 'rubygems/indexer'
|
90
|
-
i=Gem::Indexer.new '/opt/gems/dev'
|
91
|
-
i.generate_index
|
92
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.5
|
data/lib/flexmls_api/models.rb
CHANGED
@@ -13,6 +13,7 @@ require File.expand_path('../models/contact', __FILE__)
|
|
13
13
|
require File.expand_path('../models/idx_link', __FILE__)
|
14
14
|
require File.expand_path('../models/market_statistics', __FILE__)
|
15
15
|
require File.expand_path('../models/video', __FILE__)
|
16
|
+
require File.expand_path('../models/open_house', __FILE__)
|
16
17
|
require File.expand_path('../models/tour_of_home', __FILE__)
|
17
18
|
require File.expand_path('../models/virtual_tour', __FILE__)
|
18
19
|
require File.expand_path('../models/document', __FILE__)
|
@@ -60,6 +60,11 @@ module FlexmlsApi
|
|
60
60
|
@tour_of_homes = TourOfHome.find_by_listing_key(self.Id, arguments)
|
61
61
|
end
|
62
62
|
|
63
|
+
def open_houses(arguments={})
|
64
|
+
return @open_houses unless @open_houses.nil?
|
65
|
+
@open_houses = OpenHouse.find_by_listing_key(self.Id, arguments)
|
66
|
+
end
|
67
|
+
|
63
68
|
def my_notes
|
64
69
|
Note.build_subclass.tap do |note|
|
65
70
|
note.prefix = "/listings/#{self.ListingKey}"
|
@@ -83,6 +88,7 @@ module FlexmlsApi
|
|
83
88
|
end
|
84
89
|
end
|
85
90
|
|
91
|
+
|
86
92
|
private
|
87
93
|
|
88
94
|
# TODO trim this down so we're only overriding the StandardFields access
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'date'
|
2
|
+
require 'time'
|
3
|
+
|
4
|
+
module FlexmlsApi
|
5
|
+
module Models
|
6
|
+
class OpenHouse < Base
|
7
|
+
extend Subresource
|
8
|
+
|
9
|
+
self.element_name = "openhouses"
|
10
|
+
|
11
|
+
def initialize(attributes={})
|
12
|
+
# Transform the date strings
|
13
|
+
unless attributes['Date'].nil?
|
14
|
+
date = Date.parse(attributes['Date'])
|
15
|
+
attributes['Date'] = date
|
16
|
+
attributes['StartTime'] = Time.parse("#{date}T#{attributes['StartTime']}") unless attributes['StartTime'].nil?
|
17
|
+
attributes['EndTime'] = Time.parse("#{date}T#{attributes['EndTime']}") unless attributes['EndTime'].nil?
|
18
|
+
end
|
19
|
+
super(attributes)
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"D": {
|
3
|
+
"Success": true,
|
4
|
+
"Results": [
|
5
|
+
{
|
6
|
+
"ResourceUri": "/v1/listings/20060412165917817933000000/openhouses/20101127153422574618000000",
|
7
|
+
"Id": "20101127153422574618000000",
|
8
|
+
"Date": "10/01/2010",
|
9
|
+
"StartTime": "09:00-07:00",
|
10
|
+
"EndTime": "12:00-07:00"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"ResourceUri": "/v1/listings/20060412165917817933000000/openhouses/20101127153422174618000000",
|
14
|
+
"Id": "20101127153422174618000000",
|
15
|
+
"Date": "10/08/2010",
|
16
|
+
"StartTime": "09:00-07:00",
|
17
|
+
"EndTime": "12:00-07:00"
|
18
|
+
}
|
19
|
+
]
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
require './spec/spec_helper'
|
2
|
+
|
3
|
+
require 'time'
|
4
|
+
|
5
|
+
describe OpenHouse do
|
6
|
+
subject do
|
7
|
+
OpenHouse.new(
|
8
|
+
'ResourceUri'=>"/v1/listings/20060412165917817933000000/openhouses/20101127153422574618000000",
|
9
|
+
'Id'=>"20060412165917817933000000",
|
10
|
+
'Date'=>"10/01/2010",
|
11
|
+
'StartTime'=>"09:00:00-07:00",
|
12
|
+
'EndTime'=>"12:00:00-07:00"
|
13
|
+
)
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should respond to a few methods" do
|
17
|
+
subject.class.should respond_to(:find_by_listing_key)
|
18
|
+
end
|
19
|
+
it "should return date and times" do
|
20
|
+
start_time = DateTime.new(2010,10,1,9,0,0, "-0700")
|
21
|
+
end_time = DateTime.new(2010,10,1,12,0,0, "-0700")
|
22
|
+
subject.Date.should eq(Date.new(2010,10,1))
|
23
|
+
subject.StartTime.should eq(Time.parse(start_time.to_s))
|
24
|
+
subject.EndTime.should eq(Time.parse(end_time.to_s))
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should get open house for a listing" do
|
28
|
+
stub_auth_request
|
29
|
+
stub_api_get('/listings/20060412165917817933000000/openhouses','open_houses.json')
|
30
|
+
houses = subject.class.find_by_listing_key('20060412165917817933000000')
|
31
|
+
houses.should be_an(Array)
|
32
|
+
houses.length.should eq(2)
|
33
|
+
houses.first.Id.should eq("20101127153422574618000000")
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexmls_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 5
|
10
|
+
version: 0.6.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brandon Hornseth
|
@@ -16,25 +16,12 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-08-
|
19
|
+
date: 2011-08-26 00:00:00 -05:00
|
20
20
|
default_executable: flexmls_api
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
+
name: curb
|
23
24
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
32
|
-
requirement: *id001
|
33
|
-
prerelease: false
|
34
|
-
type: :runtime
|
35
|
-
name: flexmls_api
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
25
|
none: false
|
39
26
|
requirements:
|
40
27
|
- - ~>
|
@@ -45,12 +32,12 @@ dependencies:
|
|
45
32
|
- 7
|
46
33
|
- 15
|
47
34
|
version: 0.7.15
|
48
|
-
requirement: *id002
|
49
35
|
prerelease: false
|
50
36
|
type: :runtime
|
51
|
-
|
37
|
+
requirement: *id001
|
52
38
|
- !ruby/object:Gem::Dependency
|
53
|
-
|
39
|
+
name: faraday
|
40
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
54
41
|
none: false
|
55
42
|
requirements:
|
56
43
|
- - ~>
|
@@ -61,12 +48,12 @@ dependencies:
|
|
61
48
|
- 6
|
62
49
|
- 1
|
63
50
|
version: 0.6.1
|
64
|
-
requirement: *id003
|
65
51
|
prerelease: false
|
66
52
|
type: :runtime
|
67
|
-
|
53
|
+
requirement: *id002
|
68
54
|
- !ruby/object:Gem::Dependency
|
69
|
-
|
55
|
+
name: faraday_middleware
|
56
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
70
57
|
none: false
|
71
58
|
requirements:
|
72
59
|
- - ~>
|
@@ -77,12 +64,12 @@ dependencies:
|
|
77
64
|
- 6
|
78
65
|
- 3
|
79
66
|
version: 0.6.3
|
80
|
-
requirement: *id004
|
81
67
|
prerelease: false
|
82
68
|
type: :runtime
|
83
|
-
|
69
|
+
requirement: *id003
|
84
70
|
- !ruby/object:Gem::Dependency
|
85
|
-
|
71
|
+
name: multi_json
|
72
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
86
73
|
none: false
|
87
74
|
requirements:
|
88
75
|
- - ~>
|
@@ -93,12 +80,12 @@ dependencies:
|
|
93
80
|
- 0
|
94
81
|
- 0
|
95
82
|
version: 1.0.0
|
96
|
-
requirement: *id005
|
97
83
|
prerelease: false
|
98
84
|
type: :runtime
|
99
|
-
|
85
|
+
requirement: *id004
|
100
86
|
- !ruby/object:Gem::Dependency
|
101
|
-
|
87
|
+
name: json
|
88
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
102
89
|
none: false
|
103
90
|
requirements:
|
104
91
|
- - ~>
|
@@ -109,12 +96,12 @@ dependencies:
|
|
109
96
|
- 5
|
110
97
|
- 1
|
111
98
|
version: 1.5.1
|
112
|
-
requirement: *id006
|
113
99
|
prerelease: false
|
114
100
|
type: :runtime
|
115
|
-
|
101
|
+
requirement: *id005
|
116
102
|
- !ruby/object:Gem::Dependency
|
117
|
-
|
103
|
+
name: yajl-ruby
|
104
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
118
105
|
none: false
|
119
106
|
requirements:
|
120
107
|
- - ~>
|
@@ -125,22 +112,14 @@ dependencies:
|
|
125
112
|
- 8
|
126
113
|
- 2
|
127
114
|
version: 0.8.2
|
128
|
-
requirement: *id007
|
129
115
|
prerelease: false
|
130
116
|
type: :runtime
|
131
|
-
|
117
|
+
requirement: *id006
|
132
118
|
- !ruby/object:Gem::Dependency
|
133
|
-
|
119
|
+
name: builder
|
120
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
134
121
|
none: false
|
135
122
|
requirements:
|
136
|
-
- - <
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
hash: 63
|
139
|
-
segments:
|
140
|
-
- 4
|
141
|
-
- 0
|
142
|
-
- 0
|
143
|
-
version: 4.0.0
|
144
123
|
- - ">="
|
145
124
|
- !ruby/object:Gem::Version
|
146
125
|
hash: 15
|
@@ -149,12 +128,20 @@ dependencies:
|
|
149
128
|
- 1
|
150
129
|
- 2
|
151
130
|
version: 2.1.2
|
152
|
-
|
131
|
+
- - <
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
hash: 63
|
134
|
+
segments:
|
135
|
+
- 4
|
136
|
+
- 0
|
137
|
+
- 0
|
138
|
+
version: 4.0.0
|
153
139
|
prerelease: false
|
154
140
|
type: :runtime
|
155
|
-
|
141
|
+
requirement: *id007
|
156
142
|
- !ruby/object:Gem::Dependency
|
157
|
-
|
143
|
+
name: addressable
|
144
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
158
145
|
none: false
|
159
146
|
requirements:
|
160
147
|
- - ~>
|
@@ -165,14 +152,23 @@ dependencies:
|
|
165
152
|
- 2
|
166
153
|
- 5
|
167
154
|
version: 2.2.5
|
168
|
-
requirement: *id009
|
169
155
|
prerelease: false
|
170
156
|
type: :runtime
|
171
|
-
|
157
|
+
requirement: *id008
|
172
158
|
- !ruby/object:Gem::Dependency
|
173
|
-
|
159
|
+
name: will_paginate
|
160
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
174
161
|
none: false
|
175
162
|
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
hash: 1923831917
|
166
|
+
segments:
|
167
|
+
- 3
|
168
|
+
- 0
|
169
|
+
- pre
|
170
|
+
- 2
|
171
|
+
version: 3.0.pre2
|
176
172
|
- - <
|
177
173
|
- !ruby/object:Gem::Version
|
178
174
|
hash: 63
|
@@ -181,20 +177,25 @@ dependencies:
|
|
181
177
|
- 0
|
182
178
|
- 0
|
183
179
|
version: 4.0.0
|
180
|
+
prerelease: false
|
181
|
+
type: :runtime
|
182
|
+
requirement: *id009
|
183
|
+
- !ruby/object:Gem::Dependency
|
184
|
+
name: rake
|
185
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
184
188
|
- - ">="
|
185
189
|
- !ruby/object:Gem::Version
|
186
|
-
hash:
|
190
|
+
hash: 3
|
187
191
|
segments:
|
188
|
-
- 3
|
189
192
|
- 0
|
190
|
-
|
191
|
-
- 2
|
192
|
-
version: 3.0.pre2
|
193
|
-
requirement: *id010
|
193
|
+
version: "0"
|
194
194
|
prerelease: false
|
195
|
-
type: :
|
196
|
-
|
195
|
+
type: :development
|
196
|
+
requirement: *id010
|
197
197
|
- !ruby/object:Gem::Dependency
|
198
|
+
name: rspec
|
198
199
|
version_requirements: &id011 !ruby/object:Gem::Requirement
|
199
200
|
none: false
|
200
201
|
requirements:
|
@@ -206,11 +207,11 @@ dependencies:
|
|
206
207
|
- 3
|
207
208
|
- 0
|
208
209
|
version: 2.3.0
|
209
|
-
requirement: *id011
|
210
210
|
prerelease: false
|
211
211
|
type: :development
|
212
|
-
|
212
|
+
requirement: *id011
|
213
213
|
- !ruby/object:Gem::Dependency
|
214
|
+
name: webmock
|
214
215
|
version_requirements: &id012 !ruby/object:Gem::Requirement
|
215
216
|
none: false
|
216
217
|
requirements:
|
@@ -222,28 +223,12 @@ dependencies:
|
|
222
223
|
- 4
|
223
224
|
- 0
|
224
225
|
version: 1.4.0
|
225
|
-
requirement: *id012
|
226
226
|
prerelease: false
|
227
227
|
type: :development
|
228
|
-
|
228
|
+
requirement: *id012
|
229
229
|
- !ruby/object:Gem::Dependency
|
230
|
+
name: typhoeus
|
230
231
|
version_requirements: &id013 !ruby/object:Gem::Requirement
|
231
|
-
none: false
|
232
|
-
requirements:
|
233
|
-
- - ~>
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
hash: 7
|
236
|
-
segments:
|
237
|
-
- 1
|
238
|
-
- 5
|
239
|
-
- 2
|
240
|
-
version: 1.5.2
|
241
|
-
requirement: *id013
|
242
|
-
prerelease: false
|
243
|
-
type: :development
|
244
|
-
name: jeweler
|
245
|
-
- !ruby/object:Gem::Dependency
|
246
|
-
version_requirements: &id014 !ruby/object:Gem::Requirement
|
247
232
|
none: false
|
248
233
|
requirements:
|
249
234
|
- - ~>
|
@@ -254,12 +239,12 @@ dependencies:
|
|
254
239
|
- 2
|
255
240
|
- 0
|
256
241
|
version: 0.2.0
|
257
|
-
requirement: *id014
|
258
242
|
prerelease: false
|
259
243
|
type: :development
|
260
|
-
|
244
|
+
requirement: *id013
|
261
245
|
- !ruby/object:Gem::Dependency
|
262
|
-
|
246
|
+
name: ci_reporter
|
247
|
+
version_requirements: &id014 !ruby/object:Gem::Requirement
|
263
248
|
none: false
|
264
249
|
requirements:
|
265
250
|
- - ~>
|
@@ -270,12 +255,12 @@ dependencies:
|
|
270
255
|
- 6
|
271
256
|
- 3
|
272
257
|
version: 1.6.3
|
273
|
-
requirement: *id015
|
274
258
|
prerelease: false
|
275
259
|
type: :development
|
276
|
-
|
260
|
+
requirement: *id014
|
277
261
|
- !ruby/object:Gem::Dependency
|
278
|
-
|
262
|
+
name: rcov
|
263
|
+
version_requirements: &id015 !ruby/object:Gem::Requirement
|
279
264
|
none: false
|
280
265
|
requirements:
|
281
266
|
- - ~>
|
@@ -286,11 +271,26 @@ dependencies:
|
|
286
271
|
- 9
|
287
272
|
- 9
|
288
273
|
version: 0.9.9
|
289
|
-
requirement: *id016
|
290
274
|
prerelease: false
|
291
275
|
type: :development
|
292
|
-
|
293
|
-
|
276
|
+
requirement: *id015
|
277
|
+
- !ruby/object:Gem::Dependency
|
278
|
+
name: flexmls_gems
|
279
|
+
version_requirements: &id016 !ruby/object:Gem::Requirement
|
280
|
+
none: false
|
281
|
+
requirements:
|
282
|
+
- - ~>
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
hash: 21
|
285
|
+
segments:
|
286
|
+
- 0
|
287
|
+
- 2
|
288
|
+
- 1
|
289
|
+
version: 0.2.1
|
290
|
+
prerelease: false
|
291
|
+
type: :development
|
292
|
+
requirement: *id016
|
293
|
+
description: The FlexmlsApi gem handles most of the boilerplate for communicating with the flexmls API rest services, including authentication and request parsing.
|
294
294
|
email: api-support@flexmls.com
|
295
295
|
executables:
|
296
296
|
- flexmls_api
|
@@ -300,152 +300,154 @@ extra_rdoc_files:
|
|
300
300
|
- LICENSE
|
301
301
|
- README.md
|
302
302
|
files:
|
303
|
-
-
|
304
|
-
- Gemfile.lock
|
303
|
+
- History.txt
|
305
304
|
- LICENSE
|
306
|
-
- README.md
|
307
305
|
- Rakefile
|
306
|
+
- README.md
|
308
307
|
- VERSION
|
309
308
|
- bin/flexmls_api
|
310
|
-
- lib/flexmls_api.rb
|
311
|
-
- lib/flexmls_api/authentication.rb
|
312
309
|
- lib/flexmls_api/authentication/api_auth.rb
|
313
|
-
- lib/flexmls_api/authentication/
|
314
|
-
- lib/flexmls_api/authentication/oauth2.rb
|
310
|
+
- lib/flexmls_api/authentication/oauth2_impl/middleware.rb
|
315
311
|
- lib/flexmls_api/authentication/oauth2_impl/grant_type_base.rb
|
316
312
|
- lib/flexmls_api/authentication/oauth2_impl/grant_type_code.rb
|
317
|
-
- lib/flexmls_api/authentication/oauth2_impl/grant_type_password.rb
|
318
313
|
- lib/flexmls_api/authentication/oauth2_impl/grant_type_refresh.rb
|
319
|
-
- lib/flexmls_api/authentication/oauth2_impl/
|
320
|
-
- lib/flexmls_api/
|
321
|
-
- lib/flexmls_api/
|
322
|
-
- lib/flexmls_api/cli/oauth2.rb
|
323
|
-
- lib/flexmls_api/cli/setup.rb
|
314
|
+
- lib/flexmls_api/authentication/oauth2_impl/grant_type_password.rb
|
315
|
+
- lib/flexmls_api/authentication/oauth2.rb
|
316
|
+
- lib/flexmls_api/authentication/base_auth.rb
|
324
317
|
- lib/flexmls_api/client.rb
|
325
|
-
- lib/flexmls_api/
|
326
|
-
- lib/flexmls_api/
|
318
|
+
- lib/flexmls_api/primary_array.rb
|
319
|
+
- lib/flexmls_api/version.rb
|
327
320
|
- lib/flexmls_api/models.rb
|
328
|
-
- lib/flexmls_api/
|
329
|
-
- lib/flexmls_api/models/base.rb
|
330
|
-
- lib/flexmls_api/models/connect_prefs.rb
|
331
|
-
- lib/flexmls_api/models/contact.rb
|
332
|
-
- lib/flexmls_api/models/custom_fields.rb
|
321
|
+
- lib/flexmls_api/multi_client.rb
|
333
322
|
- lib/flexmls_api/models/document.rb
|
334
323
|
- lib/flexmls_api/models/finders.rb
|
324
|
+
- lib/flexmls_api/models/subresource.rb
|
325
|
+
- lib/flexmls_api/models/photo.rb
|
326
|
+
- lib/flexmls_api/models/contact.rb
|
327
|
+
- lib/flexmls_api/models/video.rb
|
335
328
|
- lib/flexmls_api/models/idx_link.rb
|
329
|
+
- lib/flexmls_api/models/system_info.rb
|
336
330
|
- lib/flexmls_api/models/listing.rb
|
331
|
+
- lib/flexmls_api/models/base.rb
|
337
332
|
- lib/flexmls_api/models/listing_cart.rb
|
338
|
-
- lib/flexmls_api/models/market_statistics.rb
|
339
|
-
- lib/flexmls_api/models/note.rb
|
340
|
-
- lib/flexmls_api/models/photo.rb
|
341
|
-
- lib/flexmls_api/models/property_types.rb
|
342
333
|
- lib/flexmls_api/models/saved_search.rb
|
334
|
+
- lib/flexmls_api/models/open_house.rb
|
335
|
+
- lib/flexmls_api/models/connect_prefs.rb
|
343
336
|
- lib/flexmls_api/models/shared_listing.rb
|
344
337
|
- lib/flexmls_api/models/standard_fields.rb
|
345
|
-
- lib/flexmls_api/models/
|
346
|
-
- lib/flexmls_api/models/
|
347
|
-
- lib/flexmls_api/models/
|
348
|
-
- lib/flexmls_api/models/
|
338
|
+
- lib/flexmls_api/models/market_statistics.rb
|
339
|
+
- lib/flexmls_api/models/note.rb
|
340
|
+
- lib/flexmls_api/models/custom_fields.rb
|
341
|
+
- lib/flexmls_api/models/account.rb
|
342
|
+
- lib/flexmls_api/models/property_types.rb
|
349
343
|
- lib/flexmls_api/models/virtual_tour.rb
|
350
|
-
- lib/flexmls_api/
|
344
|
+
- lib/flexmls_api/models/tour_of_home.rb
|
351
345
|
- lib/flexmls_api/paginate.rb
|
352
|
-
- lib/flexmls_api/
|
346
|
+
- lib/flexmls_api/cli/api_auth.rb
|
347
|
+
- lib/flexmls_api/cli/setup.rb
|
348
|
+
- lib/flexmls_api/cli/oauth2.rb
|
349
|
+
- lib/flexmls_api/faraday.rb
|
353
350
|
- lib/flexmls_api/request.rb
|
354
|
-
- lib/flexmls_api/
|
351
|
+
- lib/flexmls_api/cli.rb
|
352
|
+
- lib/flexmls_api/authentication.rb
|
353
|
+
- lib/flexmls_api/configuration.rb
|
354
|
+
- lib/flexmls_api.rb
|
355
355
|
- script/console
|
356
356
|
- script/example.rb
|
357
|
-
- spec/fixtures/
|
358
|
-
- spec/fixtures/
|
359
|
-
- spec/fixtures/
|
360
|
-
- spec/fixtures/accounts/my_put.json
|
361
|
-
- spec/fixtures/accounts/my_save.json
|
362
|
-
- spec/fixtures/accounts/office.json
|
363
|
-
- spec/fixtures/add_note.json
|
364
|
-
- spec/fixtures/agent_shared_note.json
|
365
|
-
- spec/fixtures/agent_shared_note_empty.json
|
366
|
-
- spec/fixtures/authentication_failure.json
|
367
|
-
- spec/fixtures/base.json
|
368
|
-
- spec/fixtures/contact_my.json
|
369
|
-
- spec/fixtures/contact_new.json
|
370
|
-
- spec/fixtures/contact_new_empty.json
|
371
|
-
- spec/fixtures/contact_new_notify.json
|
372
|
-
- spec/fixtures/contact_tags.json
|
373
|
-
- spec/fixtures/contacts.json
|
374
|
-
- spec/fixtures/contacts_post.json
|
375
|
-
- spec/fixtures/count.json
|
376
|
-
- spec/fixtures/empty.json
|
357
|
+
- spec/fixtures/standardfields_city.json
|
358
|
+
- spec/fixtures/listing_videos_index.json
|
359
|
+
- spec/fixtures/oauth2_error.json
|
377
360
|
- spec/fixtures/errors/expired.json
|
378
361
|
- spec/fixtures/errors/failure.json
|
379
|
-
- spec/fixtures/
|
380
|
-
- spec/fixtures/
|
381
|
-
- spec/fixtures/listing_cart.json
|
382
|
-
- spec/fixtures/listing_cart_add_listing.json
|
362
|
+
- spec/fixtures/agent_shared_note_empty.json
|
363
|
+
- spec/fixtures/count.json
|
383
364
|
- spec/fixtures/listing_cart_add_listing_post.json
|
384
|
-
- spec/fixtures/
|
385
|
-
- spec/fixtures/listing_cart_new.json
|
386
|
-
- spec/fixtures/listing_cart_post.json
|
387
|
-
- spec/fixtures/listing_cart_remove_listing.json
|
388
|
-
- spec/fixtures/listing_document_index.json
|
365
|
+
- spec/fixtures/saved_search.json
|
389
366
|
- spec/fixtures/listing_no_subresources.json
|
390
|
-
- spec/fixtures/
|
391
|
-
- spec/fixtures/listing_videos_index.json
|
392
|
-
- spec/fixtures/listing_virtual_tours_index.json
|
393
|
-
- spec/fixtures/listing_with_documents.json
|
394
|
-
- spec/fixtures/listing_with_photos.json
|
367
|
+
- spec/fixtures/base.json
|
395
368
|
- spec/fixtures/listing_with_supplement.json
|
369
|
+
- spec/fixtures/listing_cart_post.json
|
396
370
|
- spec/fixtures/listing_with_videos.json
|
397
371
|
- spec/fixtures/listing_with_vtour.json
|
372
|
+
- spec/fixtures/generic_failure.json
|
373
|
+
- spec/fixtures/session.json
|
374
|
+
- spec/fixtures/generic_delete.json
|
398
375
|
- spec/fixtures/note_new.json
|
399
|
-
- spec/fixtures/
|
400
|
-
- spec/fixtures/
|
376
|
+
- spec/fixtures/agent_shared_note.json
|
377
|
+
- spec/fixtures/listing_document_index.json
|
378
|
+
- spec/fixtures/listing_photos_index.json
|
379
|
+
- spec/fixtures/oauth2/refresh_body.json
|
401
380
|
- spec/fixtures/oauth2/access_with_refresh.json
|
381
|
+
- spec/fixtures/oauth2/password_body.json
|
402
382
|
- spec/fixtures/oauth2/authorization_code_body.json
|
403
383
|
- spec/fixtures/oauth2/error.json
|
404
|
-
- spec/fixtures/oauth2/
|
405
|
-
- spec/fixtures/oauth2/
|
406
|
-
- spec/fixtures/
|
407
|
-
- spec/fixtures/
|
408
|
-
- spec/fixtures/
|
409
|
-
- spec/fixtures/
|
410
|
-
- spec/fixtures/
|
411
|
-
- spec/fixtures/standardfields.json
|
412
|
-
- spec/fixtures/standardfields_city.json
|
413
|
-
- spec/fixtures/standardfields_nearby.json
|
384
|
+
- spec/fixtures/oauth2/access.json
|
385
|
+
- spec/fixtures/oauth2/access_with_old_refresh.json
|
386
|
+
- spec/fixtures/open_houses.json
|
387
|
+
- spec/fixtures/add_note.json
|
388
|
+
- spec/fixtures/contacts.json
|
389
|
+
- spec/fixtures/listing_cart.json
|
390
|
+
- spec/fixtures/contact_new_notify.json
|
414
391
|
- spec/fixtures/standardfields_stateorprovince.json
|
392
|
+
- spec/fixtures/listing_with_photos.json
|
393
|
+
- spec/fixtures/listing_with_documents.json
|
394
|
+
- spec/fixtures/accounts/all.json
|
395
|
+
- spec/fixtures/accounts/office.json
|
396
|
+
- spec/fixtures/accounts/my.json
|
397
|
+
- spec/fixtures/accounts/my_put.json
|
398
|
+
- spec/fixtures/accounts/my_save.json
|
399
|
+
- spec/fixtures/accounts/my_portal.json
|
415
400
|
- spec/fixtures/success.json
|
401
|
+
- spec/fixtures/listing_virtual_tours_index.json
|
402
|
+
- spec/fixtures/contacts_post.json
|
403
|
+
- spec/fixtures/empty.json
|
404
|
+
- spec/fixtures/authentication_failure.json
|
405
|
+
- spec/fixtures/listing_cart_add_listing.json
|
406
|
+
- spec/fixtures/shared_listing_new.json
|
407
|
+
- spec/fixtures/contact_new_empty.json
|
408
|
+
- spec/fixtures/standardfields_nearby.json
|
409
|
+
- spec/fixtures/listing_cart_remove_listing.json
|
410
|
+
- spec/fixtures/contact_new.json
|
411
|
+
- spec/fixtures/listing_cart_new.json
|
416
412
|
- spec/fixtures/tour_of_homes.json
|
417
|
-
- spec/
|
418
|
-
- spec/
|
419
|
-
- spec/
|
420
|
-
- spec/
|
421
|
-
- spec/
|
413
|
+
- spec/fixtures/shared_listing_post.json
|
414
|
+
- spec/fixtures/contact_my.json
|
415
|
+
- spec/fixtures/listing_cart_empty.json
|
416
|
+
- spec/fixtures/standardfields.json
|
417
|
+
- spec/fixtures/contact_tags.json
|
418
|
+
- spec/unit/flexmls_api_spec.rb
|
422
419
|
- spec/unit/flexmls_api/authentication/oauth2_impl/grant_type_base_spec.rb
|
423
420
|
- spec/unit/flexmls_api/authentication/oauth2_spec.rb
|
424
|
-
- spec/unit/flexmls_api/
|
425
|
-
- spec/unit/flexmls_api/configuration_spec.rb
|
421
|
+
- spec/unit/flexmls_api/authentication/api_auth_spec.rb
|
426
422
|
- spec/unit/flexmls_api/faraday_spec.rb
|
423
|
+
- spec/unit/flexmls_api/authentication_spec.rb
|
424
|
+
- spec/unit/flexmls_api/models/open_house_spec.rb
|
427
425
|
- spec/unit/flexmls_api/models/account_spec.rb
|
428
|
-
- spec/unit/flexmls_api/models/
|
429
|
-
- spec/unit/flexmls_api/models/
|
426
|
+
- spec/unit/flexmls_api/models/virtual_tour_spec.rb
|
427
|
+
- spec/unit/flexmls_api/models/saved_search_spec.rb
|
430
428
|
- spec/unit/flexmls_api/models/contact_spec.rb
|
431
|
-
- spec/unit/flexmls_api/models/document_spec.rb
|
432
429
|
- spec/unit/flexmls_api/models/listing_cart_spec.rb
|
430
|
+
- spec/unit/flexmls_api/models/video_spec.rb
|
431
|
+
- spec/unit/flexmls_api/models/document_spec.rb
|
432
|
+
- spec/unit/flexmls_api/models/property_types_spec.rb
|
433
433
|
- spec/unit/flexmls_api/models/listing_spec.rb
|
434
|
+
- spec/unit/flexmls_api/models/shared_listing_spec.rb
|
434
435
|
- spec/unit/flexmls_api/models/note_spec.rb
|
436
|
+
- spec/unit/flexmls_api/models/connect_prefs_spec.rb
|
435
437
|
- spec/unit/flexmls_api/models/photo_spec.rb
|
436
|
-
- spec/unit/flexmls_api/models/
|
437
|
-
- spec/unit/flexmls_api/models/saved_search_spec.rb
|
438
|
-
- spec/unit/flexmls_api/models/shared_listing_spec.rb
|
439
|
-
- spec/unit/flexmls_api/models/standard_fields_spec.rb
|
440
|
-
- spec/unit/flexmls_api/models/system_info_spec.rb
|
438
|
+
- spec/unit/flexmls_api/models/base_spec.rb
|
441
439
|
- spec/unit/flexmls_api/models/tour_of_home_spec.rb
|
442
|
-
- spec/unit/flexmls_api/models/
|
443
|
-
- spec/unit/flexmls_api/models/
|
444
|
-
- spec/unit/flexmls_api/multi_client_spec.rb
|
440
|
+
- spec/unit/flexmls_api/models/system_info_spec.rb
|
441
|
+
- spec/unit/flexmls_api/models/standard_fields_spec.rb
|
445
442
|
- spec/unit/flexmls_api/paginate_spec.rb
|
446
443
|
- spec/unit/flexmls_api/primary_array_spec.rb
|
444
|
+
- spec/unit/flexmls_api/configuration_spec.rb
|
447
445
|
- spec/unit/flexmls_api/request_spec.rb
|
448
|
-
- spec/unit/
|
446
|
+
- spec/unit/flexmls_api/multi_client_spec.rb
|
447
|
+
- spec/spec_helper.rb
|
448
|
+
- spec/oauth2_helper.rb
|
449
|
+
- spec/json_helper.rb
|
450
|
+
- spec/mock_helper.rb
|
449
451
|
has_rdoc: true
|
450
452
|
homepage: https://github.com/flexmls/flexmls_api
|
451
453
|
licenses: []
|
@@ -469,47 +471,111 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
469
471
|
requirements:
|
470
472
|
- - ">="
|
471
473
|
- !ruby/object:Gem::Version
|
472
|
-
hash:
|
474
|
+
hash: 23
|
473
475
|
segments:
|
474
|
-
-
|
475
|
-
|
476
|
+
- 1
|
477
|
+
- 3
|
478
|
+
- 6
|
479
|
+
version: 1.3.6
|
476
480
|
requirements: []
|
477
481
|
|
478
|
-
rubyforge_project:
|
482
|
+
rubyforge_project: flexmls_api
|
479
483
|
rubygems_version: 1.6.2
|
480
484
|
signing_key:
|
481
485
|
specification_version: 3
|
482
486
|
summary: A library for interacting with the flexmls web services.
|
483
487
|
test_files:
|
484
|
-
- spec/
|
485
|
-
- spec/
|
486
|
-
- spec/
|
487
|
-
- spec/
|
488
|
-
- spec/
|
488
|
+
- spec/fixtures/standardfields_city.json
|
489
|
+
- spec/fixtures/listing_videos_index.json
|
490
|
+
- spec/fixtures/oauth2_error.json
|
491
|
+
- spec/fixtures/errors/expired.json
|
492
|
+
- spec/fixtures/errors/failure.json
|
493
|
+
- spec/fixtures/agent_shared_note_empty.json
|
494
|
+
- spec/fixtures/count.json
|
495
|
+
- spec/fixtures/listing_cart_add_listing_post.json
|
496
|
+
- spec/fixtures/saved_search.json
|
497
|
+
- spec/fixtures/listing_no_subresources.json
|
498
|
+
- spec/fixtures/base.json
|
499
|
+
- spec/fixtures/listing_with_supplement.json
|
500
|
+
- spec/fixtures/listing_cart_post.json
|
501
|
+
- spec/fixtures/listing_with_videos.json
|
502
|
+
- spec/fixtures/listing_with_vtour.json
|
503
|
+
- spec/fixtures/generic_failure.json
|
504
|
+
- spec/fixtures/session.json
|
505
|
+
- spec/fixtures/generic_delete.json
|
506
|
+
- spec/fixtures/note_new.json
|
507
|
+
- spec/fixtures/agent_shared_note.json
|
508
|
+
- spec/fixtures/listing_document_index.json
|
509
|
+
- spec/fixtures/listing_photos_index.json
|
510
|
+
- spec/fixtures/oauth2/refresh_body.json
|
511
|
+
- spec/fixtures/oauth2/access_with_refresh.json
|
512
|
+
- spec/fixtures/oauth2/password_body.json
|
513
|
+
- spec/fixtures/oauth2/authorization_code_body.json
|
514
|
+
- spec/fixtures/oauth2/error.json
|
515
|
+
- spec/fixtures/oauth2/access.json
|
516
|
+
- spec/fixtures/oauth2/access_with_old_refresh.json
|
517
|
+
- spec/fixtures/open_houses.json
|
518
|
+
- spec/fixtures/add_note.json
|
519
|
+
- spec/fixtures/contacts.json
|
520
|
+
- spec/fixtures/listing_cart.json
|
521
|
+
- spec/fixtures/contact_new_notify.json
|
522
|
+
- spec/fixtures/standardfields_stateorprovince.json
|
523
|
+
- spec/fixtures/listing_with_photos.json
|
524
|
+
- spec/fixtures/listing_with_documents.json
|
525
|
+
- spec/fixtures/accounts/all.json
|
526
|
+
- spec/fixtures/accounts/office.json
|
527
|
+
- spec/fixtures/accounts/my.json
|
528
|
+
- spec/fixtures/accounts/my_put.json
|
529
|
+
- spec/fixtures/accounts/my_save.json
|
530
|
+
- spec/fixtures/accounts/my_portal.json
|
531
|
+
- spec/fixtures/success.json
|
532
|
+
- spec/fixtures/listing_virtual_tours_index.json
|
533
|
+
- spec/fixtures/contacts_post.json
|
534
|
+
- spec/fixtures/empty.json
|
535
|
+
- spec/fixtures/authentication_failure.json
|
536
|
+
- spec/fixtures/listing_cart_add_listing.json
|
537
|
+
- spec/fixtures/shared_listing_new.json
|
538
|
+
- spec/fixtures/contact_new_empty.json
|
539
|
+
- spec/fixtures/standardfields_nearby.json
|
540
|
+
- spec/fixtures/listing_cart_remove_listing.json
|
541
|
+
- spec/fixtures/contact_new.json
|
542
|
+
- spec/fixtures/listing_cart_new.json
|
543
|
+
- spec/fixtures/tour_of_homes.json
|
544
|
+
- spec/fixtures/shared_listing_post.json
|
545
|
+
- spec/fixtures/contact_my.json
|
546
|
+
- spec/fixtures/listing_cart_empty.json
|
547
|
+
- spec/fixtures/standardfields.json
|
548
|
+
- spec/fixtures/contact_tags.json
|
549
|
+
- spec/unit/flexmls_api_spec.rb
|
489
550
|
- spec/unit/flexmls_api/authentication/oauth2_impl/grant_type_base_spec.rb
|
490
551
|
- spec/unit/flexmls_api/authentication/oauth2_spec.rb
|
491
|
-
- spec/unit/flexmls_api/
|
492
|
-
- spec/unit/flexmls_api/configuration_spec.rb
|
552
|
+
- spec/unit/flexmls_api/authentication/api_auth_spec.rb
|
493
553
|
- spec/unit/flexmls_api/faraday_spec.rb
|
554
|
+
- spec/unit/flexmls_api/authentication_spec.rb
|
555
|
+
- spec/unit/flexmls_api/models/open_house_spec.rb
|
494
556
|
- spec/unit/flexmls_api/models/account_spec.rb
|
495
|
-
- spec/unit/flexmls_api/models/
|
496
|
-
- spec/unit/flexmls_api/models/
|
557
|
+
- spec/unit/flexmls_api/models/virtual_tour_spec.rb
|
558
|
+
- spec/unit/flexmls_api/models/saved_search_spec.rb
|
497
559
|
- spec/unit/flexmls_api/models/contact_spec.rb
|
498
|
-
- spec/unit/flexmls_api/models/document_spec.rb
|
499
560
|
- spec/unit/flexmls_api/models/listing_cart_spec.rb
|
561
|
+
- spec/unit/flexmls_api/models/video_spec.rb
|
562
|
+
- spec/unit/flexmls_api/models/document_spec.rb
|
563
|
+
- spec/unit/flexmls_api/models/property_types_spec.rb
|
500
564
|
- spec/unit/flexmls_api/models/listing_spec.rb
|
565
|
+
- spec/unit/flexmls_api/models/shared_listing_spec.rb
|
501
566
|
- spec/unit/flexmls_api/models/note_spec.rb
|
567
|
+
- spec/unit/flexmls_api/models/connect_prefs_spec.rb
|
502
568
|
- spec/unit/flexmls_api/models/photo_spec.rb
|
503
|
-
- spec/unit/flexmls_api/models/
|
504
|
-
- spec/unit/flexmls_api/models/saved_search_spec.rb
|
505
|
-
- spec/unit/flexmls_api/models/shared_listing_spec.rb
|
506
|
-
- spec/unit/flexmls_api/models/standard_fields_spec.rb
|
507
|
-
- spec/unit/flexmls_api/models/system_info_spec.rb
|
569
|
+
- spec/unit/flexmls_api/models/base_spec.rb
|
508
570
|
- spec/unit/flexmls_api/models/tour_of_home_spec.rb
|
509
|
-
- spec/unit/flexmls_api/models/
|
510
|
-
- spec/unit/flexmls_api/models/
|
511
|
-
- spec/unit/flexmls_api/multi_client_spec.rb
|
571
|
+
- spec/unit/flexmls_api/models/system_info_spec.rb
|
572
|
+
- spec/unit/flexmls_api/models/standard_fields_spec.rb
|
512
573
|
- spec/unit/flexmls_api/paginate_spec.rb
|
513
574
|
- spec/unit/flexmls_api/primary_array_spec.rb
|
575
|
+
- spec/unit/flexmls_api/configuration_spec.rb
|
514
576
|
- spec/unit/flexmls_api/request_spec.rb
|
515
|
-
- spec/unit/
|
577
|
+
- spec/unit/flexmls_api/multi_client_spec.rb
|
578
|
+
- spec/spec_helper.rb
|
579
|
+
- spec/oauth2_helper.rb
|
580
|
+
- spec/json_helper.rb
|
581
|
+
- spec/mock_helper.rb
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
flexmls_api (0.6.4)
|
5
|
-
addressable (~> 2.2.5)
|
6
|
-
builder (< 4.0.0, >= 2.1.2)
|
7
|
-
curb (~> 0.7.15)
|
8
|
-
faraday (~> 0.6.1)
|
9
|
-
faraday_middleware (~> 0.6.3)
|
10
|
-
flexmls_api
|
11
|
-
json (~> 1.5.1)
|
12
|
-
multi_json (~> 1.0.0)
|
13
|
-
will_paginate (< 4.0.0, >= 3.0.pre2)
|
14
|
-
yajl-ruby (~> 0.8.2)
|
15
|
-
|
16
|
-
GEM
|
17
|
-
remote: http://rubygems.org/
|
18
|
-
specs:
|
19
|
-
addressable (2.2.6)
|
20
|
-
builder (2.1.2)
|
21
|
-
ci_reporter (1.6.3)
|
22
|
-
builder (>= 2.1.2)
|
23
|
-
crack (0.1.8)
|
24
|
-
curb (0.7.15)
|
25
|
-
diff-lcs (1.1.2)
|
26
|
-
faraday (0.6.1)
|
27
|
-
addressable (~> 2.2.4)
|
28
|
-
multipart-post (~> 1.1.0)
|
29
|
-
rack (< 2, >= 1.1.0)
|
30
|
-
faraday_middleware (0.6.5)
|
31
|
-
faraday (~> 0.6.0)
|
32
|
-
git (1.2.5)
|
33
|
-
jeweler (1.5.2)
|
34
|
-
bundler (~> 1.0.0)
|
35
|
-
git (>= 1.2.5)
|
36
|
-
rake
|
37
|
-
json (1.5.3)
|
38
|
-
multi_json (1.0.3)
|
39
|
-
multipart-post (1.1.2)
|
40
|
-
rack (1.3.1)
|
41
|
-
rake (0.8.7)
|
42
|
-
rcov (0.9.9)
|
43
|
-
rspec (2.3.0)
|
44
|
-
rspec-core (~> 2.3.0)
|
45
|
-
rspec-expectations (~> 2.3.0)
|
46
|
-
rspec-mocks (~> 2.3.0)
|
47
|
-
rspec-core (2.3.1)
|
48
|
-
rspec-expectations (2.3.0)
|
49
|
-
diff-lcs (~> 1.1.2)
|
50
|
-
rspec-mocks (2.3.0)
|
51
|
-
typhoeus (0.2.0)
|
52
|
-
webmock (1.4.0)
|
53
|
-
addressable (>= 2.2.2)
|
54
|
-
crack (>= 0.1.7)
|
55
|
-
will_paginate (3.0.pre2)
|
56
|
-
yajl-ruby (0.8.2)
|
57
|
-
|
58
|
-
PLATFORMS
|
59
|
-
ruby
|
60
|
-
|
61
|
-
DEPENDENCIES
|
62
|
-
ci_reporter (~> 1.6.3)
|
63
|
-
flexmls_api!
|
64
|
-
jeweler (~> 1.5.2)
|
65
|
-
rcov (~> 0.9.9)
|
66
|
-
rspec (~> 2.3.0)
|
67
|
-
typhoeus (~> 0.2.0)
|
68
|
-
webmock (~> 1.4.0)
|