bothan 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: 1e74caa644e22a6466f31d416ea27e6e45cdcb92
4
+ data.tar.gz: c6e066328ad4532cd64fbb4e214cf6c9af8b5da8
5
+ SHA512:
6
+ metadata.gz: 433e3bdd8d8ebe95b991532c6792236002e87c73a1edea5152d0b4ef15c664ee39a23d3cea12909bc78728ea04cc1234726110d737ae6753ad4b9a7b1bd02c8b
7
+ data.tar.gz: 837bd3d831fe32d403f3ecddd0c6f1dc479a8bd78495809d801cf2b801347e866e265f872fab719780f8e9e7ba45c19b606157bf2456519a81cc166332ea53ab
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,12 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.4
4
+ before_install: gem install bundler -v 1.11.2
5
+ deploy:
6
+ provider: rubygems
7
+ api_key:
8
+ secure: eK0WoXo122Y6i8+acj93cD/35YJt7UJy60WcwQwftyCsOuv7UFk+LgFrTrO/sKqPbLrIGn9LIXfXBAnEY9jufo33mcrhjE5fNxMnOG8L6iABVx5v3U2jec83eferEgyyLl5TXPHa1HiZjIg7MI1QpvYQD4lsvOuU2vrYuw96JdRohGsw4tT+LOyO060Ko0VCUHag/vRJY3mm3z2xRcsl3RtJL4xiYgOy2EpbTPzoEZUmaGnpY0THX6RjUYLJqW1ijvgHNPXFgKidKxdsJ/DE03bzl19tVrp+Jdk7uxwv7wWBuDv0B9msa51ZN0i2bw4zXCDUFzY8lTUp0dlULpBBu32V7Rnv3akW7TPHQyrwjLFVqRQEGEPXOI9aUFwi8ldSk/l8CDrQ7wZ/aBc1Kp8KBXV34NssRgMQnAhJZizVa6VwySPmFRKvKTamUcoYyYg6qR7p7T+KL1fJtq7cg5xbmCLkVwE9kWdhrcbprhnxQpS2xM2tyTjDi3XKh8E1VqqpbddmHEqShtnV2yN+ndL3WX/X8puDhhRnCaNfFY6sApsQ6gQGP3Gz93VdzYA0Jd0G3liVAR9qCxKrioDaZCQfGBVPU5BS52TDF0yO6tiZIf7c0q7mun9skAlrBcuQdESAvZLs9rvQ8Ymc7ytdw/0I46sUX3zFJEB8h6qhFwivBmg=
9
+ gem: bothan
10
+ on:
11
+ tags: true
12
+ repo: theodi/bothan.rb
@@ -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 pezholio@gmail.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 bothan.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 pezholio
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,178 @@
1
+ # Bothan
2
+
3
+ A Ruby client for [Bothan](https://bothan.io/), a simple platform for storing and publishing metrics.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'bothan'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install bothan
20
+
21
+ ## Usage
22
+
23
+ First require the Bothan client:
24
+
25
+ ```ruby
26
+ require 'bothan'
27
+ ```
28
+
29
+ Then initialize a connection with your username, password and the url of your Bothan endpoint:
30
+
31
+ ```ruby
32
+ @bothan = Bothan::Connection.new('username', 'password', 'https://demo.bothan.io')
33
+ ```
34
+
35
+ You will then be able to interact with your [Bothan API](https://bothan.io/api.html) via the `metrics` method like so:
36
+
37
+ ### Get all metrics
38
+
39
+ Returns a list of available metrics as an array of hashes
40
+
41
+ ```ruby
42
+ @bothan.metrics.all
43
+ #=> [{"name"=>"metric-with-geodata", "url"=>"https://demo.bothan.io/metrics/metric-with-geodata.json"}, {"name"=>"metric-with-multiple-values", "url"=>"https://demo.bothan.io/metrics/metric-with-multiple-values.json"}, {"name"=>"metric-with-target", "url"=>"https://demo.bothan.io/metrics/metric-with-target.json"}, {"name"=>"metric-with-ytd-target", "url"=>"https://demo.bothan.io/metrics/metric-with-ytd-target.json"},{"name"=>"simple-metric", "url"=>"https://demo.bothan.io/metrics/simple-metric.json"}]
44
+ ```
45
+
46
+ ### Find a metric
47
+
48
+ #### Latest value
49
+
50
+ Returns the latest value for a specified metric as a hash
51
+
52
+ ```ruby
53
+ @bothan.metrics.find('simple-metric')
54
+ #=> {"_id"=>{"$oid"=>"58451086db72110004125f6d"}, "name"=>"simple-metric", "time"=>"2016-12-05T07:00:22.459+00:00", "value"=>68}
55
+ ```
56
+
57
+ #### For a specific DateTime
58
+
59
+ Returns the most recent value of a metric at the specified datetime.
60
+
61
+ ```ruby
62
+ @bothan.metrics.find('simple-metric', '2016-12-05T07:00:22.459+00:00')
63
+ #=> {"_id"=>{"$oid"=>"58451086db72110004125f6d"}, "name"=>"simple-metric", "time"=>"2016-12-05T07:00:22.459+00:00", "value"=>68}
64
+ ```
65
+
66
+ #### For a specific DateTime range
67
+
68
+ Returns all values of the metric between the specified times.
69
+
70
+ ```ruby
71
+ @bothan.metrics.find('simple-metric', '2016-12-01T07:00:22.851+00:00', '2016-12-05T07:00:22.459+00:00')
72
+ #=> [{"time"=>"2016-12-01T07:00:22.851+00:00", "value"=>92}, {"time"=>"2016-12-02T07:00:22.759+00:00", "value"=>17}, {"time"=>"2016-12-03T07:00:22.664+00:00", "value"=>18}, {"time"=>"2016-12-04T07:00:22.569+00:00", "value"=>12}, {"time"=>"2016-12-05T07:00:22.459+00:00", "value"=>68}]
73
+ ```
74
+
75
+ The `from` and `to` values can be either:
76
+
77
+ * An ISO8601 date/time
78
+ * A Ruby DateTime object
79
+ * An [ISO8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations)
80
+ * \*, meaning unspecified
81
+
82
+ ### Create a metric
83
+
84
+ The Bothan API supports four types of metric, all supported by the gem.
85
+
86
+ #### Create a [simple metric](https://bothan.io/api#simple-value)
87
+
88
+ ```ruby
89
+ # Create a metric called 'my-new-metric' with a value of '12' at the current datetime
90
+ @bothan.metrics.create('my-new-metric', 12)
91
+ # Create a metric with a specific datetime
92
+ @bothan.metrics.create('my-new-metric', 12, '2016-01-01T00:00:00')
93
+ ```
94
+
95
+ #### Create a [metric with a target](https://bothan.io/api#value-with-a-target)
96
+
97
+ ```ruby
98
+ # Create a metric called 'my-new-metric' with a value of '1091000', an annual target of '2862000' and a ytd target of '1368000' at the current datetime
99
+ @bothan.metrics.create_target('my-new-target-metric', 1091000, 2862000, 1368000)
100
+ # Create a metric with a target at a specific datetime
101
+ @bothan.metrics.create_target('my-new-target-metric', 1091000, 2862000, 1368000, '2016-01-01T00:00:00')
102
+ # Create a metric without a ytd target
103
+ @bothan.metrics.create_target('my-new-target-metric', 1091000, 2862000)
104
+ # Create a metric without a ytd target at a specific datetime
105
+ @bothan.metrics.create_target('my-new-target-metric', 1091000, 2862000, nil, '2016-01-01T00:00:00')
106
+ ```
107
+
108
+ #### Create a [metric with multiple values](https://bothan.io/api#multiple-values)
109
+
110
+ ```ruby
111
+ # Create a metric called 'my-new-metric' with multiple values with the current datetime
112
+ @bothan.metrics.create_multiple('my-awesome-mulitple-metric', {
113
+ "value1" => 123,
114
+ "value2" => 23213,
115
+ "value4" => 1235
116
+ })
117
+ # Create a metric called 'my-new-metric' with multiple values with a specific datetime
118
+ @bothan.metrics.create_multiple('my-awesome-mulitple-metric', {
119
+ "value1" => 123,
120
+ "value2" => 23213,
121
+ "value4" => 1235
122
+ }, "2016-11-28T09:00:00")
123
+ ```
124
+
125
+ #### Create a [metric with geodata](https://bothan.io/api#geographical-data)
126
+
127
+ ```ruby
128
+ # Create a geodata metric called 'my-new-metric' with the current datetime
129
+ @bothan.metrics.create_geo('my-new-metric', [
130
+ {
131
+ "type" => "Feature",
132
+ "geometry" => {
133
+ "type" => "Point",
134
+ "coordinates" => [-2.6156582783015017, 54.3497405310758]
135
+ }
136
+ },
137
+ {
138
+ "type" => "Feature",
139
+ "geometry" => {
140
+ "type" => "Point",
141
+ "coordinates" => [-6.731370299641439, 55.856756177781186]
142
+ }
143
+ }
144
+ ])
145
+ # Create a geodata metric called 'my-new-metric' with a specific datetime
146
+ @bothan.metrics.create_geo('my-awesome-geo-metric', [
147
+ {
148
+ "type" => "Feature",
149
+ "geometry" => {
150
+ "type" => "Point",
151
+ "coordinates" => [-2.6156582783015017, 54.3497405310758]
152
+ }
153
+ },
154
+ {
155
+ "type" => "Feature",
156
+ "geometry" => {
157
+ "type" => "Point",
158
+ "coordinates" => [-6.731370299641439, 55.856756177781186]
159
+ }
160
+ }
161
+ ], "2016-11-28T09:00:00")
162
+ ```
163
+
164
+ ## Development
165
+
166
+ 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.
167
+
168
+ 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).
169
+
170
+ ## Contributing
171
+
172
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bothan. 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.
173
+
174
+
175
+ ## License
176
+
177
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
178
+
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 "bothan"
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
data/bothan.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'bothan/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "bothan"
8
+ spec.version = Bothan::VERSION
9
+ spec.authors = ["pezholio"]
10
+ spec.email = ["pezholio@gmail.com"]
11
+
12
+ spec.summary = "A Ruby client library for Bothan - https://bothan.io"
13
+ spec.homepage = "https://github.com/theodi/bothan.rb."
14
+ spec.license = "MIT"
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 "httparty", "~> 0.14.0"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.11"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rspec", "~> 3.0"
26
+ spec.add_development_dependency "vcr", "~> 3.0.3"
27
+ spec.add_development_dependency "pry", "~> 0.10.4"
28
+ spec.add_development_dependency "webmock", "~> 2.1.0"
29
+ end
data/lib/bothan.rb ADDED
@@ -0,0 +1,11 @@
1
+ require "uri"
2
+ require "httparty"
3
+
4
+ require "bothan/version"
5
+ require "bothan/errors"
6
+ require "bothan/connection"
7
+ require "bothan/metrics"
8
+
9
+ module Bothan
10
+ # Your code goes here...
11
+ end
@@ -0,0 +1,13 @@
1
+ module Bothan
2
+ class Connection
3
+
4
+ def initialize(username, password, endpoint)
5
+ @username, @password, @endpoint = username, password, endpoint
6
+ end
7
+
8
+ def metrics
9
+ @metrics ||= Metrics.new(@username, @password, @endpoint)
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,3 @@
1
+ module Bothan
2
+ class MetricNotFound < StandardError; end
3
+ end
@@ -0,0 +1,71 @@
1
+ module Bothan
2
+ class Metrics
3
+ include HTTParty
4
+ headers 'Accept' => 'application/json'
5
+
6
+ def initialize(username, password, endpoint)
7
+ self.class.base_uri endpoint
8
+ self.class.basic_auth username, password
9
+ end
10
+
11
+ def all
12
+ (self.class.get('/metrics').parsed_response || {})['metrics']
13
+ end
14
+
15
+ def find(metric, from = nil, to = nil)
16
+ if from.nil? && to.nil?
17
+ metric = self.class.get("/metrics/#{metric}").parsed_response
18
+ elsif !from.nil? && to.nil?
19
+ metric = self.class.get("/metrics/#{metric}/#{from}").parsed_response
20
+ elsif !from.nil? && !to.nil?
21
+ metric = self.class.get("/metrics/#{metric}/#{from}/#{to}").parsed_response
22
+ end
23
+ raise MetricNotFound if metric.nil?
24
+ metric['count'] ? metric['values'] : metric
25
+ end
26
+
27
+ def create_single(name, value, time = DateTime.now)
28
+ create_metric(name, value, time)
29
+ end
30
+
31
+ alias_method :create, :create_single
32
+
33
+ def create_target(name, actual, annual_target, ytd_target = nil, time = DateTime.now)
34
+ value = {
35
+ actual: actual,
36
+ annual_target: annual_target,
37
+ ytd_target: ytd_target
38
+ }.delete_if { |k, v| v.nil? }
39
+
40
+ create_metric(name, value, time)
41
+ end
42
+
43
+ def create_multiple(name, values, time = DateTime.now)
44
+ value = {
45
+ total: values
46
+ }
47
+
48
+ create_metric(name, value, time)
49
+ end
50
+
51
+ def create_geo(name, features, time = DateTime.now)
52
+ value = {
53
+ type: "FeatureCollection",
54
+ features: features
55
+ }
56
+
57
+ create_metric(name, value, time)
58
+ end
59
+
60
+ private
61
+
62
+ def create_metric(name, value, time = DateTime.now)
63
+ json = {
64
+ time: time.to_s,
65
+ value: value
66
+ }.to_json
67
+ self.class.post("/metrics/#{name}", body: json, headers: { 'Content-Type' => 'application/json' } )
68
+ end
69
+
70
+ end
71
+ end
@@ -0,0 +1,3 @@
1
+ module Bothan
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bothan
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - pezholio
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-12-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.14.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.14.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.11'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.11'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: vcr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 3.0.3
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 3.0.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.10.4
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.10.4
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.1.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.1.0
111
+ description:
112
+ email:
113
+ - pezholio@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/console
127
+ - bin/setup
128
+ - bothan.gemspec
129
+ - lib/bothan.rb
130
+ - lib/bothan/connection.rb
131
+ - lib/bothan/errors.rb
132
+ - lib/bothan/metrics.rb
133
+ - lib/bothan/version.rb
134
+ homepage: https://github.com/theodi/bothan.rb.
135
+ licenses:
136
+ - MIT
137
+ metadata: {}
138
+ post_install_message:
139
+ rdoc_options: []
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ requirements: []
153
+ rubyforge_project:
154
+ rubygems_version: 2.4.5
155
+ signing_key:
156
+ specification_version: 4
157
+ summary: A Ruby client library for Bothan - https://bothan.io
158
+ test_files: []