house_test 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 30f86898a56ca3a25fdf51b7aa3f2b5a023792a0
4
+ data.tar.gz: 8a22d9dea25927a632cebbd40a522c320628b659
5
+ SHA512:
6
+ metadata.gz: af33c1e1e9b9c003a25d76d0a0876b5f70e1a2df89898225bda1ff7a0aaa4a579a63e2c624604f0e27ccd11794b4728b1607086e6dc79344f4b87d4b69e31023
7
+ data.tar.gz: 792727d92470a5dad57181edf48c591a2edebc63102453f0744cb83f8fee90eaf267307ccba06a0cfce28f593aaa6fd9b9260a4b7cc2c407ccc672c2e448a675
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /.idea/
10
+ Gemfile.lock
11
+ /logs/
12
+
13
+ # rspec failure tracking
14
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,2 @@
1
+ Metrics/LineLength:
2
+ Max: 100
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at TODO: Write your email address. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in house_test.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Samuel Garratt
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,47 @@
1
+ # HouseTest
2
+
3
+ This has some a simple data model for CRUD of entities via API, UI and gem.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'house_test'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install house_test
20
+
21
+ ## Usage
22
+
23
+ It has a server and client. To start the server, simply run `house_test`.
24
+ The client is defined in the `House` class.
25
+
26
+ To create a new house
27
+ ```ruby
28
+ House.new(name: 'house name')
29
+ ```
30
+
31
+ ## Development
32
+
33
+ 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.
34
+
35
+ 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).
36
+
37
+ ## Contributing
38
+
39
+ Bug reports and pull requests are welcome on GitHub at https://gitlab.com/samuelgarratt/house_test. 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.
40
+
41
+ ## License
42
+
43
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
44
+
45
+ ## Code of Conduct
46
+
47
+ Everyone interacting in the HouseTest project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://gitlab.com/samuelgarratt/house_test/blob/master/CODE_OF_CONDUCT.md).
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 'house_test'
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(__FILE__)
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
data/exe/house_test ADDED
@@ -0,0 +1,6 @@
1
+
2
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
3
+ require 'house_test'
4
+ require 'house_test/house_server'
5
+
6
+ HouseServer.run!
@@ -0,0 +1,38 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'house_test/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'house_test'
7
+ spec.version = HouseTest::VERSION
8
+ spec.authors = ['Samuel Garratt']
9
+ spec.email = ['samuel.garratt@integrationqa.com']
10
+
11
+ spec.summary = 'Test system for demonstrating CRUD in API and UI testing.'
12
+ spec.description = 'Test system for demonstrating CRUD in API and UI testing.'
13
+ spec.homepage = 'https://gitlab.com/samuel-garratt/house_test'
14
+ spec.license = 'MIT'
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.16'
26
+ spec.add_development_dependency 'rack'
27
+ spec.add_development_dependency 'rack-test'
28
+ spec.add_development_dependency 'rake', '~> 10.0'
29
+ spec.add_development_dependency 'rest-client'
30
+ spec.add_development_dependency 'rspec', '~> 3.0'
31
+ spec.add_development_dependency 'rubocop'
32
+ spec.add_dependency 'faker'
33
+ spec.add_dependency 'hashie'
34
+ spec.add_dependency 'sinatra', '2.0.4'
35
+ spec.add_dependency 'sinatra-basic-auth'
36
+ spec.add_dependency 'sinatra-docdsl'
37
+ spec.add_dependency 'soaspec'
38
+ end
@@ -0,0 +1,22 @@
1
+ module Backend
2
+ # House in memory
3
+ class House
4
+ # Attributes of a house
5
+ attr_accessor :name, :rooms, :bathrooms, :garages, :id
6
+ # Create a new house
7
+ def initialize(house_params)
8
+ params = IndifferentHash.new(house_params)
9
+
10
+ self.name = params[:name] || Faker::Name.name
11
+ self.rooms = (params[:rooms] || Faker::Number.number(1)).to_i
12
+ self.garages = params[:garages] || 1
13
+ self.bathrooms = params[:bathrooms] || rooms - 1
14
+ self.id = SecureRandom.uuid
15
+ end
16
+
17
+ # @string [String] JSON representation of House
18
+ def description
19
+ JSON.generate(id: id, name: name, rooms: rooms, bathrooms: bathrooms, garages: garages)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,36 @@
1
+ require 'house_test/backend/house'
2
+ require 'house_test/server/house_server'
3
+ # Representing House objects in 'backend' (memory)
4
+ module HouseTest
5
+ # List of houses in memory
6
+ @houses = []
7
+
8
+ class << self
9
+ attr_accessor :houses
10
+
11
+ # Add a new house according to parameters passed
12
+ # @return [String] Id of house just created
13
+ def add(house_params = {})
14
+ house = Backend::House.new(house_params)
15
+ @houses << house
16
+ house.id
17
+ end
18
+
19
+ # Get an existing house
20
+ def get(id)
21
+ houses.find { |house| house.id == id }
22
+ end
23
+
24
+ # Update house at id's key to value
25
+ def update(id, key, value)
26
+ found_house = houses.find { |house| house.id == id }
27
+ found_house.send("#{key}=", value)
28
+ id
29
+ end
30
+
31
+ # @return [String] Description of all houses
32
+ def descriptions
33
+ houses.map(&:description)
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,7 @@
1
+ require 'hashie'
2
+
3
+ # Hash that allows accessing hash with either string or Hash
4
+ class IndifferentHash < Hash
5
+ include Hashie::Extensions::MergeInitializer
6
+ include Hashie::Extensions::IndifferentAccess
7
+ end
@@ -0,0 +1,67 @@
1
+ require 'sinatra'
2
+ require 'docdsl'
3
+ require 'json'
4
+
5
+ # Hosts the House server locally
6
+ class HouseServer < Sinatra::Application
7
+ register Sinatra::DocDsl
8
+ set :port, HouseTest::PORT
9
+
10
+ page do
11
+ title 'House Server'
12
+ header 'Testing environment for Web and API testing'
13
+ introduction 'This has some a simple data model for CRUD of entities via API, UI and gem'
14
+ end
15
+
16
+ doc_endpoint '/docs'
17
+
18
+ documentation 'Retrieve all houses' do
19
+ response 'Description of all houses'
20
+ end
21
+ get '/houses' do
22
+ HouseTest.descriptions.to_s
23
+ end
24
+
25
+ documentation 'Get particular house description'
26
+ get '/houses/:id' do |id|
27
+ house = HouseTest.get(id)
28
+ if house
29
+ [200, { 'Content-Type' => 'text/json' }, house.description.to_s]
30
+ else
31
+ [404, { 'Content-Type' => 'text/json' }, 'Not Found']
32
+ end
33
+ end
34
+
35
+ patch '/houses/:id' do |id|
36
+ begin
37
+ query = JSON.parse(request.body.string)
38
+ id = HouseTest.update(id, query.keys.first, query.values.first)
39
+ JSON.generate(updated: id)
40
+ rescue StandardError => exception
41
+ exception.message
42
+ end
43
+ end
44
+
45
+ documentation 'Create a new house'
46
+ post '/houses' do
47
+ begin
48
+ house_id = if request.body.string.empty?
49
+ HouseTest.add
50
+ else
51
+ HouseTest.add(JSON.parse(request.body.string))
52
+ end
53
+ rescue StandardError => exception
54
+ [200, { 'Content-Type' => 'text/json' }, exception.message]
55
+ else
56
+ [200, { 'Content-Type' => 'text/json' }, house_id]
57
+ end
58
+ end
59
+
60
+ documentation 'Nothing under /. Go look at /docs' do
61
+ response 'redirects to the documentation page'
62
+ status 303
63
+ end
64
+ get '/' do
65
+ redirect '/docs'
66
+ end
67
+ end
@@ -0,0 +1,3 @@
1
+ module HouseTest
2
+ VERSION = '0.1.0'.freeze
3
+ end
data/lib/house_test.rb ADDED
@@ -0,0 +1,46 @@
1
+ require 'faker'
2
+ require 'house_test/version'
3
+ require 'house_test/indifferent_hash'
4
+ require 'soaspec'
5
+
6
+ # The code loaded when simply requiring the gem will only load code for the client
7
+ # Require 'house_test/house_server' to host server
8
+
9
+ module HouseTest
10
+ # Port for server to run at
11
+ PORT = 14_000
12
+ end
13
+
14
+ # House object that talks to the backend and retrieves house results
15
+ class HouseHandler < Soaspec::RestHandler
16
+ base_url "http://localhost:#{HouseTest::PORT}/houses"
17
+ end
18
+
19
+ # Object to represent a client creating objects against a server
20
+ class House
21
+ # Handles API calls
22
+ attr_accessor :handler
23
+ # Attributes mapping to fields in the backend
24
+ attr_accessor :id
25
+
26
+ # Create a new house
27
+ # @param [Hash] params Parameters to create new house with
28
+ # name, rooms, bathrooms, garages
29
+ def initialize(params = {})
30
+ self.handler = HouseHandler
31
+ exchange = handler.post(body: params)
32
+ self.id = exchange.response.body
33
+ end
34
+
35
+ %i[name rooms bathrooms garages].each do |attribute|
36
+ # Retrieve attribute from backend
37
+ define_method(attribute) do
38
+ HouseHandler.get(id)[attribute.to_s]
39
+ end
40
+
41
+ # Set attribute in backend
42
+ define_method("#{attribute}=") do |value|
43
+ HouseHandler.patch(suburl: id, body: { attribute => value }).response
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,8 @@
1
+ # Example of using RestClient to create/retrieve houses
2
+ # Can open with 'restclient' on cmd line
3
+ require 'rest_client'
4
+
5
+ id = RestClient.post('http://localhost:4567/houses', JSON.generate(name: 'test_house')).body
6
+ puts id
7
+
8
+ RestClient.get('localhost:4567/houses').body
metadata ADDED
@@ -0,0 +1,246 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: house_test
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Samuel Garratt
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-02-10 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.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rack
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
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: rack-test
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: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rest-client
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
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: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: faker
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: hashie
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: sinatra
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '='
144
+ - !ruby/object:Gem::Version
145
+ version: 2.0.4
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '='
151
+ - !ruby/object:Gem::Version
152
+ version: 2.0.4
153
+ - !ruby/object:Gem::Dependency
154
+ name: sinatra-basic-auth
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
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: sinatra-docdsl
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
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: soaspec
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ description: Test system for demonstrating CRUD in API and UI testing.
196
+ email:
197
+ - samuel.garratt@integrationqa.com
198
+ executables:
199
+ - house_test
200
+ extensions: []
201
+ extra_rdoc_files: []
202
+ files:
203
+ - ".gitignore"
204
+ - ".rspec"
205
+ - ".rubocop.yml"
206
+ - CODE_OF_CONDUCT.md
207
+ - Gemfile
208
+ - LICENSE.txt
209
+ - README.md
210
+ - Rakefile
211
+ - bin/console
212
+ - bin/setup
213
+ - exe/house_test
214
+ - house_test.gemspec
215
+ - lib/house_test.rb
216
+ - lib/house_test/backend/house.rb
217
+ - lib/house_test/house_server.rb
218
+ - lib/house_test/indifferent_hash.rb
219
+ - lib/house_test/server/house_server.rb
220
+ - lib/house_test/version.rb
221
+ - rest_client_scripts.rb
222
+ homepage: https://gitlab.com/samuel-garratt/house_test
223
+ licenses:
224
+ - MIT
225
+ metadata: {}
226
+ post_install_message:
227
+ rdoc_options: []
228
+ require_paths:
229
+ - lib
230
+ required_ruby_version: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: '0'
235
+ required_rubygems_version: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - ">="
238
+ - !ruby/object:Gem::Version
239
+ version: '0'
240
+ requirements: []
241
+ rubyforge_project:
242
+ rubygems_version: 2.6.14
243
+ signing_key:
244
+ specification_version: 4
245
+ summary: Test system for demonstrating CRUD in API and UI testing.
246
+ test_files: []