rainmaker_lro_client 0.1.1.pre.alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 42d0b24347bca41576ee99f24e6e6eaf838370a6
4
+ data.tar.gz: 843d2e8ec6170db672e31169596d444446c1beba
5
+ SHA512:
6
+ metadata.gz: d65d7e4e81e4e0f061c36afc52c5e415163c46d4613c7fb318db91c0f1a89544bf7334f81af9f1ece55e82e8f0e18f6b2e51d6996b4e426909f16837136a9d50
7
+ data.tar.gz: 69c6222d1066d673caed50e474494e0490454694f07d190ea04aca61f68bb06c07457fed696db98c91607b5e665e83df2110a89003ea5f45662f9722fb2095ed
data/.env.sample ADDED
@@ -0,0 +1,8 @@
1
+ G5_AUTH_CLIENT_ID=
2
+ G5_AUTH_CLIENT_SECRET=
3
+ G5_AUTH_REDIRECT_URI=
4
+ G5_AUTH_ENDPOINT=
5
+
6
+ G5_AUTH_USERNAME=
7
+ G5_AUTH_PASSWORD=
8
+ G5_AUTH_ALLOW_PASSWORD_CREDENTIALS=
data/.env.test.sample ADDED
@@ -0,0 +1,8 @@
1
+ G5_AUTH_CLIENT_ID=
2
+ G5_AUTH_CLIENT_SECRET=
3
+ G5_AUTH_REDIRECT_URI=
4
+ G5_AUTH_ENDPOINT=
5
+
6
+ G5_AUTH_USERNAME=
7
+ G5_AUTH_PASSWORD=
8
+ G5_AUTH_ALLOW_PASSWORD_CREDENTIALS=
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.12.5
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # v0.1.1-alpha
2
+
3
+ Initial release
4
+
5
+ - RainmakerLroClient::Client#amenity
6
+ - RainmakerLroClient::Client#floorplan
7
+ - RainmakerLroClient::Client#offered_term
8
+ - RainmakerLroClient::Client#unit
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at neilmarion@aelogica.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rainmaker_lro_client.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Neil Marion dela Cruz
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,41 @@
1
+ # RainmakerLroClient
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rainmaker_lro_client`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'rainmaker_lro_client'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install rainmaker_lro_client
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rainmaker_lro_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "rainmaker_lro_client"
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,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,28 @@
1
+ require "virtus"
2
+ require "httparty"
3
+ require "active_model"
4
+ require "active_support"
5
+ require "g5_authentication_client"
6
+ require "rainmaker_lro_client/version"
7
+ require "rainmaker_lro_client/requests/base_request"
8
+ require "rainmaker_lro_client/requests/get_json_request"
9
+ require "rainmaker_lro_client/response/base_response"
10
+ require "rainmaker_lro_client/response/get_json_response"
11
+ require "rainmaker_lro_client/services/units_to_floorplans_mapper"
12
+ require "rainmaker_lro_client/services/json_response_parser"
13
+ require "rainmaker_lro_client/models/floorplan"
14
+ require "rainmaker_lro_client/models/unit"
15
+ require "rainmaker_lro_client/models/amenity"
16
+ require "rainmaker_lro_client/models/offered_term"
17
+ require "rainmaker_lro_client/client"
18
+
19
+ module RainmakerLroClient
20
+ def self.new(args)
21
+ client = Client.new(args)
22
+ if client.invalid?
23
+ message = "missing arguments: #{client.errors.keys.join(", ")}"
24
+ fail ArgumentError, message
25
+ end
26
+ client
27
+ end
28
+ end
@@ -0,0 +1,22 @@
1
+ module RainmakerLroClient
2
+ class Client
3
+
4
+ include Virtus.model
5
+ include ActiveModel::Validations
6
+
7
+ attribute :url, String
8
+
9
+ attr_reader :floorplans, :unit_types, :units
10
+
11
+ validates :url, presence: true
12
+
13
+ def initialize(options={})
14
+ super(options)
15
+ response = GetJsonRequest.execute(options)
16
+ result = JsonResponseParser.parse(response.json)
17
+
18
+ @floorplans = result[:floorplans]
19
+ @units = result[:units]
20
+ end
21
+ end
22
+ end
@@ -0,0 +1 @@
1
+ Dir[File.expand_path("../factories/**/*.rb", __FILE__)].each {|f| require f}
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :rainmaker_lro_client_unit, class: RainmakerLroClient::Unit do
4
+ sequence(:external_id) { |n| "external_id_#{n}" }
5
+ sequence(:display_name) { |n| "external_id_#{n}" }
6
+ end
7
+ end
@@ -0,0 +1,30 @@
1
+ require "spec_helper"
2
+
3
+ module RainmakerLroClient
4
+ class Amenity
5
+
6
+ include Virtus.model
7
+
8
+ attribute :id, String
9
+ attribute :description, String
10
+ attribute :value, Float
11
+
12
+ ATTRIBUTE_MAP = {
13
+ id: "ID",
14
+ description: "DESCRIPTION",
15
+ value: "VALUE",
16
+ }
17
+
18
+ def self.new_from_hash(hash)
19
+ self.new(clean_hash(hash))
20
+ end
21
+
22
+ def self.clean_hash(hash)
23
+ refine_hash = {}
24
+ ATTRIBUTE_MAP.each do |key, value|
25
+ refine_hash[key] = hash[value]
26
+ end
27
+ refine_hash
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,31 @@
1
+ module RainmakerLroClient
2
+ class Floorplan
3
+
4
+ include Virtus.model
5
+
6
+ attribute :id, String
7
+ attribute :name, String
8
+ attribute :sqft_min, String
9
+ attribute :sqft_max, String
10
+ attribute :units, Array, default: []
11
+
12
+ ATTRIBUTE_MAP = {
13
+ id: "ID",
14
+ name: "NAME",
15
+ sqft_min: "SQFTMIN",
16
+ sqft_max: "SQFTMAX"
17
+ }
18
+
19
+ def self.new_from_hash(hash)
20
+ self.new(clean_hash(hash))
21
+ end
22
+
23
+ def self.clean_hash(hash)
24
+ refine_hash = {}
25
+ ATTRIBUTE_MAP.each do |key, value|
26
+ refine_hash[key] = hash[value]
27
+ end
28
+ refine_hash
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,51 @@
1
+ module RainmakerLroClient
2
+ class OfferedTerm
3
+ include Virtus.model
4
+
5
+ attribute :lt, String
6
+ attribute :base_rent, Float
7
+ attribute :total_concession, Float
8
+ attribute :effective_rent, Float
9
+ attribute :con_type, String
10
+ attribute :con_value, Float
11
+ attribute :start_date, String
12
+ attribute :end_date, String
13
+ attribute :pv_end_date, String
14
+
15
+ ATTRIBUTE_MAP = {
16
+ lt: "LT",
17
+ base_rent: "BASERENT",
18
+ total_concession: "TOTALCONCESSION",
19
+ effective_rent: "EFFECTIVERENT",
20
+ con_type: "CONTYPE",
21
+ con_value: "CONVALUE",
22
+ start_date: "STARTDATE",
23
+ end_date: "ENDDATE",
24
+ pv_end_date: "PVENDDATE",
25
+ }
26
+
27
+ def self.new_from_hash(hash)
28
+ self.new(clean_hash(hash))
29
+ end
30
+
31
+ def self.clean_hash(hash)
32
+ refine_hash = {}
33
+ ATTRIBUTE_MAP.each do |key, value|
34
+ refine_hash[key] = hash[value]
35
+ end
36
+ refine_hash
37
+ end
38
+
39
+ def start_date
40
+ DateTime.strptime(@start_date, "%Y%m%d").to_date
41
+ end
42
+
43
+ def end_date
44
+ DateTime.strptime(@end_date, "%Y%m%d").to_date
45
+ end
46
+
47
+ def pv_end_date
48
+ DateTime.strptime(@pv_end_date, "%Y%m%d").to_date
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,95 @@
1
+ module RainmakerLroClient
2
+ class Unit
3
+
4
+ include Virtus.model
5
+
6
+ attribute :external_id, String
7
+ attribute :display_name, String
8
+ attribute :availability_date, String
9
+ attribute :status, String
10
+ attribute :unittype, String
11
+ attribute :name, String
12
+ attribute :amenityvalue, String
13
+ attribute :amenities, Array, default: []
14
+ attribute :offered_terms, Array, default: []
15
+ attribute :floorplan_id, String
16
+ attribute :building_id, String
17
+
18
+ ATTRIBUTE_MAP = {
19
+ external_id: "ID",
20
+ display_name: "ID",
21
+ availability_date: "AVAILDATE",
22
+ status: "STATUS",
23
+ unittype: "UNITTYPE",
24
+ name: "UNITCAT",
25
+ amenityvalue: "AMENITYVALUE",
26
+ floorplan_id: "FLOORPLANID",
27
+ building: "BUILDINGID",
28
+ }
29
+
30
+ RELATIONSHIP_MAP = {
31
+ amenities: "amenity",
32
+ offered_terms: "offeredterm",
33
+ }
34
+
35
+
36
+ def self.new_from_hash(hash)
37
+ self.new(clean_hash(hash))
38
+ end
39
+
40
+ def availability_date
41
+ DateTime.strptime(@availability_date, "%Y%m%d").to_date
42
+ end
43
+
44
+ def self.clean_hash(hash)
45
+ refined_hash = {}
46
+ ATTRIBUTE_MAP.each do |key, value|
47
+ refined_hash[key] = hash[value]
48
+ end
49
+
50
+ RELATIONSHIP_MAP.each do |key, value|
51
+ klass = case key
52
+ when :amenities
53
+ Amenity
54
+ when :offered_terms
55
+ OfferedTerm
56
+ end
57
+
58
+ data_array_of_hashes = [hash[value]].flatten.compact
59
+
60
+ refined_hash[key] = unless data_array_of_hashes.blank?
61
+ data_array_of_hashes.map do |data|
62
+ klass.new_from_hash(data)
63
+ end
64
+ end
65
+
66
+ end
67
+
68
+ refined_hash
69
+ end
70
+
71
+ def best_base_rent(date)
72
+ offered_terms_around_date = offered_terms.select do |offered_term|
73
+ offered_term.start_date < date && date < offered_term.end_date
74
+ end
75
+
76
+ unless offered_terms_around_date.blank?
77
+ offered_terms_around_date.min_by(&:base_rent).base_rent
78
+ else
79
+ nil
80
+ end
81
+ end
82
+
83
+ def best_effective_rent(date)
84
+ offered_terms_around_date = offered_terms.select do |offered_term|
85
+ offered_term.start_date < date && date < offered_term.end_date
86
+ end
87
+
88
+ unless offered_terms_around_date.blank?
89
+ offered_terms_around_date.min_by(&:base_rent).base_rent
90
+ else
91
+ nil
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,40 @@
1
+ module RainmakerLroClient
2
+ class BaseRequest
3
+
4
+ include Virtus.model
5
+ attribute :community_id, Integer
6
+ attribute :url, String
7
+
8
+ include ActiveModel::Validations
9
+
10
+ validates(
11
+ :community_id,
12
+ :url,
13
+ presence: true
14
+ )
15
+
16
+ def self.execute(*args)
17
+ self.new(*args).execute
18
+ end
19
+
20
+ def execute
21
+ response = HTTParty.get(url, headers: headers)
22
+ response.body
23
+ end
24
+
25
+ private
26
+
27
+ def headers
28
+ {
29
+ 'content-type' => 'application/json',
30
+ 'accept' => 'application/json',
31
+ 'AUTHORIZATION' => "Bearer #{token}"
32
+ }
33
+ end
34
+
35
+ def token
36
+ G5AuthenticationClient::Client.new.get_access_token
37
+ end
38
+
39
+ end
40
+ end
@@ -0,0 +1,7 @@
1
+ module RainmakerLroClient
2
+ class GetJsonRequest < BaseRequest
3
+ def execute
4
+ GetJsonResponse.new(json: JSON.parse(super))
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,6 @@
1
+ module RainmakerLroClient
2
+ class BaseResponse
3
+
4
+ include Virtus.model
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module RainmakerLroClient
2
+ class GetJsonResponse < BaseResponse
3
+ attribute :json
4
+ end
5
+ end
@@ -0,0 +1,23 @@
1
+ module RainmakerLroClient
2
+ class JsonResponseParser
3
+ def self.parse(json)
4
+ result = {}
5
+
6
+ floorplans = json["community"]["floorplans"]["floorplan"]
7
+
8
+ result[:floorplans] = floorplans.map do |floorplan|
9
+ RainmakerLroClient::Floorplan.new_from_hash(floorplan)
10
+ end
11
+
12
+ units = json["community"]["units"]["unit"]
13
+
14
+ result[:units] = units.map do |floorplan|
15
+ RainmakerLroClient::Unit.new_from_hash(floorplan)
16
+ end
17
+
18
+ UnitsToFloorplansMapper.map(units: result[:units], floorplans: result[:floorplans])
19
+
20
+ result
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,9 @@
1
+ module RainmakerLroClient
2
+ class UnitsToFloorplansMapper
3
+ def self.map(units:, floorplans:)
4
+ floorplans.each do |floorplan|
5
+ floorplan.units = units.select{|unit| unit.floorplan_id == floorplan.id }
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module RainmakerLroClient
2
+ VERSION = "0.1.1-alpha"
3
+ end
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rainmaker_lro_client/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rainmaker_lro_client"
8
+ spec.version = RainmakerLroClient::VERSION
9
+ spec.authors = ["Neil Marion dela Cruz"]
10
+ spec.email = ["neilmarion@aelogica.com"]
11
+
12
+ spec.summary = %q{Client Gem for Rainmaker LRO}
13
+ spec.description = %q{Client Gem for Rainmaker LRO}
14
+ spec.homepage = "https://github.com/g5search/rainmaker_lro_client"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "virtus", "~> 1.0"
22
+ spec.add_dependency "activemodel"
23
+ spec.add_dependency "activesupport"
24
+ spec.add_dependency "httparty"
25
+ spec.add_dependency "g5_authentication_client"
26
+ spec.add_development_dependency "dotenv"
27
+ spec.add_development_dependency "bundler", "~> 1.12"
28
+ spec.add_development_dependency "pry", "~> 0.9.12.4"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "rspec"
31
+ spec.add_development_dependency "shoulda-matchers"
32
+ spec.add_development_dependency "vcr"
33
+ spec.add_development_dependency "webmock"
34
+ spec.add_development_dependency "gemfury_helpers"
35
+ spec.add_development_dependency "factory_girl"
36
+ end
metadata ADDED
@@ -0,0 +1,282 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rainmaker_lro_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1.pre.alpha
5
+ platform: ruby
6
+ authors:
7
+ - Neil Marion dela Cruz
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-11-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: virtus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activemodel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
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: httparty
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
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: g5_authentication_client
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: dotenv
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
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: bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.12'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.12'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.9.12.4
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.9.12.4
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '10.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '10.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: shoulda-matchers
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: vcr
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: webmock
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: gemfury_helpers
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: factory_girl
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ description: Client Gem for Rainmaker LRO
224
+ email:
225
+ - neilmarion@aelogica.com
226
+ executables: []
227
+ extensions: []
228
+ extra_rdoc_files: []
229
+ files:
230
+ - ".env.sample"
231
+ - ".env.test.sample"
232
+ - ".gitignore"
233
+ - ".rspec"
234
+ - ".travis.yml"
235
+ - CHANGELOG.md
236
+ - CODE_OF_CONDUCT.md
237
+ - Gemfile
238
+ - LICENSE.txt
239
+ - README.md
240
+ - Rakefile
241
+ - bin/console
242
+ - bin/setup
243
+ - lib/rainmaker_lro_client.rb
244
+ - lib/rainmaker_lro_client/client.rb
245
+ - lib/rainmaker_lro_client/factories.rb
246
+ - lib/rainmaker_lro_client/factories/unit.rb
247
+ - lib/rainmaker_lro_client/models/amenity.rb
248
+ - lib/rainmaker_lro_client/models/floorplan.rb
249
+ - lib/rainmaker_lro_client/models/offered_term.rb
250
+ - lib/rainmaker_lro_client/models/unit.rb
251
+ - lib/rainmaker_lro_client/requests/base_request.rb
252
+ - lib/rainmaker_lro_client/requests/get_json_request.rb
253
+ - lib/rainmaker_lro_client/response/base_response.rb
254
+ - lib/rainmaker_lro_client/response/get_json_response.rb
255
+ - lib/rainmaker_lro_client/services/json_response_parser.rb
256
+ - lib/rainmaker_lro_client/services/units_to_floorplans_mapper.rb
257
+ - lib/rainmaker_lro_client/version.rb
258
+ - rainmaker_lro_client.gemspec
259
+ homepage: https://github.com/g5search/rainmaker_lro_client
260
+ licenses: []
261
+ metadata: {}
262
+ post_install_message:
263
+ rdoc_options: []
264
+ require_paths:
265
+ - lib
266
+ required_ruby_version: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ required_rubygems_version: !ruby/object:Gem::Requirement
272
+ requirements:
273
+ - - ">"
274
+ - !ruby/object:Gem::Version
275
+ version: 1.3.1
276
+ requirements: []
277
+ rubyforge_project:
278
+ rubygems_version: 2.5.1
279
+ signing_key:
280
+ specification_version: 4
281
+ summary: Client Gem for Rainmaker LRO
282
+ test_files: []