uptimerobot_cmd 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: abe16a955cd130f4aae5a525042264de95ae12ff
4
+ data.tar.gz: cee9bd9976dc375f82f364736ecc8449a0925e9e
5
+ SHA512:
6
+ metadata.gz: 26f524767f3cbc3de44392f3dc534918f7e0990e2c757dda35a6ae2dc7fd4290247a853caf042296a3e260d8dc0ba033d7f72817e3c8cda4c85ea6384a89506d
7
+ data.tar.gz: 433c385f12f480f83e6eb93a9875e92b5eac1bc29330a68a50d3e7a252def14a03aafee5fb2fdac52b74b75b2747b018eed68ac91f3358e16f8eac4cabdad258
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /vendor/bundle/
11
+ .rbenv-vars
12
+ private_test.rb
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.12.5
@@ -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 ugurozyilmazel@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 uptimerobot_cmd.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Uğur Özyılmazel
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,84 @@
1
+ # UptimerobotCmd
2
+
3
+ Command-line client for [Uptimerobot](https:uptimerobot.com) service.
4
+
5
+ ## Installation
6
+
7
+ You can add this gem to your projects or you can access directly from
8
+ command-line. For command-line usage:
9
+
10
+ ```bash
11
+ gem install uptimerobot_cmd
12
+ ```
13
+
14
+ For library usage, add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem 'uptimerobot_cmd'
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ You need to set an environment variable to use this mini tool. You need
23
+ Uptimerobot service’s APIKEY. Please set this variable;
24
+
25
+ ```bash
26
+ export UPTIMEROBOT_APIKEY=YOUR_API_KEY
27
+ ```
28
+
29
+ Also, you can set default contact ID for quick monitoring.
30
+
31
+ ```bash
32
+ export UPTIMEROBOT_DEFAULT_CONTACT=CONTACT_ID
33
+ ```
34
+
35
+ All commands:
36
+
37
+ ```bash
38
+ Commands:
39
+ uptimerobot_cmd add_new_monitor --contact-id=CONTACT_ID --url=URL # Add new service for monitor
40
+ uptimerobot_cmd delete_monitor --monitor-id=MONITOR_ID # Delete monitor via given monitor_id
41
+ uptimerobot_cmd help [COMMAND] # Describe available commands or one specific command
42
+ uptimerobot_cmd list_contacts # List current contacts for monitors
43
+ uptimerobot_cmd list_monitors # List current monitors
44
+ ```
45
+
46
+ ## Development
47
+
48
+ After checking out the repo, run `bin/setup` to install dependencies. Then,
49
+ run `bundle exec rake test` to run the tests. You can also run `bin/console` for an
50
+ interactive prompt that will allow you to experiment.
51
+
52
+ To install this gem onto your local machine, run `bundle exec rake install`.
53
+ To release a new version, update the version number in `version.rb`, and then
54
+ run `bundle exec rake release`, which will create a git tag for the version,
55
+ push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
56
+
57
+ ### Running Tests
58
+
59
+ Run all tests via `bundle exec rake`. To run private tests only:
60
+
61
+ ```bash
62
+ bundle exec rake TEST=test/private_test.rb
63
+ ```
64
+
65
+ Due to Security and Privacy, most of the test cases are private. You can find
66
+ example private tests under `test/` folder.
67
+
68
+ ## TODO
69
+
70
+ - `add_new_monitor` will have more options/features...
71
+
72
+ ## Contributing
73
+
74
+ Bug reports and pull requests are welcome on GitHub at
75
+ https://github.com/vigo/uptimerobot_cmd. This project is intended to be a safe,
76
+ welcoming space for collaboration, and contributors are expected to adhere to
77
+ the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
78
+
79
+
80
+ ## License
81
+
82
+ The gem is available as open source under the terms of the
83
+ [MIT License](http://opensource.org/licenses/MIT).
84
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "uptimerobot_cmd"
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 --path=vendor/bundle
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../lib/uptimerobot_cmd/cli'
4
+ UptimerobotCmd::CLI.start(ARGV)
@@ -0,0 +1,84 @@
1
+ require 'thor'
2
+ require 'uptimerobot_cmd'
3
+
4
+ module UptimerobotCmd
5
+ class CLI < Thor
6
+
7
+ option :color, :type => :boolean
8
+ desc "list_monitors", "List current monitors"
9
+ long_desc <<-LONGDESC
10
+ `uptimerobot_cmd list_monitors` will print out all available monitors
11
+ with ID/Status/Name/URL format. Use `--color` option for colorized
12
+ output.
13
+
14
+ \x5
15
+ \x5> uptimerobot_cmd list_monitors
16
+ \x5> uptimerobot_cmd list_monitors --color
17
+ LONGDESC
18
+ def list_monitors
19
+ ENV['UPTIMEROBOT_COLORIZE'] = '1' if options[:color]
20
+ puts UptimerobotCmd.get_list_monitors
21
+ end
22
+
23
+ option :color, :type => :boolean
24
+ desc "list_contacts", "List current contacts for monitors"
25
+ long_desc <<-LONGDESC
26
+ `uptimerobot_cmd list_contacts` will print out all available contacts
27
+ for monitors. Use `--color` option for colorized
28
+ \x5
29
+ \x5> uptimerobot_cmd list_contacts
30
+ \x5> uptimerobot_cmd list_contacts --color
31
+ LONGDESC
32
+ def list_contacts
33
+ ENV['UPTIMEROBOT_COLORIZE'] = '1' if options[:color]
34
+ puts UptimerobotCmd.list_alert_contacts
35
+ end
36
+
37
+ option :url, :required => true
38
+ option :contact_id, :required => true
39
+ option :name
40
+ desc "add_new_monitor", "Add new service for monitor"
41
+ long_desc <<-LONGDESC
42
+ `uptimerobot_cmd add_new_monitor` will add new site for monitoring.
43
+ Required options are: `--url`, `--contact-id`. You can get your
44
+ desired CONTACT ID via `uptimerobot_cmd list_contacts` first column is the ID.
45
+ `--name` is optional. It's the friendly name...
46
+ LONGDESC
47
+ def add_new_monitor
48
+ my_options = {}
49
+ my_options[:monitor_url] = options[:url]
50
+ my_options[:contact_id] = options[:contact_id]
51
+ my_options[:friendly_name] = options[:name] if options[:name]
52
+ begin
53
+ response = UptimerobotCmd.add_new_monitor(my_options)
54
+ if response[0] == 200 and response[1] == "ok"
55
+ message = "#{my_options[:monitor_url]} has been added."
56
+ else
57
+ message = "Error. Response code: #{response[0]}, status: #{response[1]}"
58
+ end
59
+ puts message
60
+ rescue UptimerobotCmd::OptionsError => e
61
+ puts e
62
+ end
63
+ end
64
+
65
+ option :monitor_id, :required => true
66
+ desc "delete_monitor", "Delete monitor via given monitor_id"
67
+ def delete_monitor
68
+ my_options = {}
69
+ my_options[:monitor_id] = options[:monitor_id]
70
+ begin
71
+ response = UptimerobotCmd.delete_monitor(my_options)
72
+ if response[0] == 200 and response[1] == "ok"
73
+ message = "Site has been deleted."
74
+ else
75
+ message = "Error. Response code: #{response[0]}, status: #{response[1]}"
76
+ end
77
+ puts message
78
+ rescue UptimerobotCmd::OptionsError => e
79
+ puts e
80
+ end
81
+ end
82
+
83
+ end
84
+ end
@@ -0,0 +1,3 @@
1
+ module UptimerobotCmd
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,126 @@
1
+ require 'uptimerobot_cmd/version'
2
+ require 'colorize'
3
+ require 'httparty'
4
+ require 'terminal-table'
5
+
6
+ module UptimerobotCmd
7
+ APIKEY = ENV['UPTIMEROBOT_APIKEY'] || nil
8
+ ENDPOINT_BASE_URL = 'https://api.uptimerobot.com'
9
+ ENDPOINT_SERVICE_URLS = {
10
+ get_monitors: '%{base_url}/getMonitors?apiKey=%{apikey}&%{json_result}',
11
+ get_alert_contacts: '%{base_url}/getAlertContacts?apiKey=%{apikey}&%{json_result}',
12
+ add_new_monitor: '%{base_url}/newMonitor?apiKey=%{apikey}&%{json_result}'\
13
+ '&monitorType=%{monitor_type}'\
14
+ '&monitorFriendlyName=%{friendly_name}'\
15
+ '&monitorURL=%{monitor_url}'\
16
+ '&monitorAlertContacts=%{contact_id}',
17
+ delete_monitor: '%{base_url}/deleteMonitor?apiKey=%{apikey}&%{json_result}'\
18
+ '&monitorID=%{monitor_id}',
19
+ }
20
+
21
+ class APIKEYError < StandardError; end
22
+ class OptionsError < StandardError; end
23
+
24
+ def self.human_readable_status(status_code)
25
+ case status_code
26
+ when '0'
27
+ ['paused', :light_black]
28
+ when '1'
29
+ ['not checked yet', :black]
30
+ when '2'
31
+ ['up', :yellow]
32
+ when '8'
33
+ ['seems down', :light_red]
34
+ when '9'
35
+ ['down', :red]
36
+ end
37
+ end
38
+ def self.apikey_defined
39
+ raise ::UptimerobotCmd::APIKEYError, "Please set UPTIMEROBOT_APIKEY environment variable." unless ENV['UPTIMEROBOT_APIKEY']
40
+ true
41
+ end
42
+
43
+ def self.build_service_url(service_key, **options)
44
+ options[:apikey] = ::UptimerobotCmd::APIKEY
45
+ options[:base_url] = ::UptimerobotCmd::ENDPOINT_BASE_URL
46
+ options[:json_result] = 'format=json&noJsonCallback=1'
47
+ ::UptimerobotCmd::ENDPOINT_SERVICE_URLS[service_key] % options
48
+ end
49
+
50
+ def self.get_monitors
51
+ if ::UptimerobotCmd.apikey_defined
52
+ response = HTTParty.get(::UptimerobotCmd.build_service_url(:get_monitors))
53
+ response["monitors"]["monitor"]
54
+ end
55
+ end
56
+
57
+ def self.get_alert_contacts
58
+ if ::UptimerobotCmd.apikey_defined
59
+ response = HTTParty.get(::UptimerobotCmd.build_service_url(:get_alert_contacts))
60
+ response["alertcontacts"]["alertcontact"]
61
+ end
62
+ end
63
+
64
+ def self.list_alert_contacts
65
+ if ::UptimerobotCmd.apikey_defined
66
+ contacts = ::UptimerobotCmd.get_alert_contacts
67
+ rows = []
68
+ table_title = 'Listing %d contact(s)' % contacts.count
69
+ table_title = table_title.colorize(:yellow) if ENV['UPTIMEROBOT_COLORIZE']
70
+ contacts.each do |contact|
71
+ contact_id = contact['id']
72
+ contact_id = contact_id.colorize(:green) if ENV['UPTIMEROBOT_COLORIZE']
73
+ contact_info = contact['value']
74
+ contact_info = contact_info.colorize(:light_green) if ENV['UPTIMEROBOT_COLORIZE']
75
+ rows << [contact_id, contact_info]
76
+ end
77
+ Terminal::Table.new :headings => ['ID', 'Info'],
78
+ :rows => rows,
79
+ :title => table_title
80
+ end
81
+ end
82
+
83
+ def self.get_list_monitors
84
+ if ::UptimerobotCmd.apikey_defined
85
+ monitors = ::UptimerobotCmd.get_monitors
86
+ table_title = 'Monitoring %d site(s)' % monitors.count
87
+ table_title = table_title.colorize(:yellow) if ENV['UPTIMEROBOT_COLORIZE']
88
+ rows = []
89
+ monitors.each do |monitor|
90
+ monitor_id = monitor['id']
91
+ monitor_id = monitor_id.colorize(:green) if ENV['UPTIMEROBOT_COLORIZE']
92
+ status_data = ::UptimerobotCmd.human_readable_status(monitor['status'])
93
+ status = status_data[0]
94
+ status = status_data[0].colorize(status_data[1]) if ENV['UPTIMEROBOT_COLORIZE']
95
+ friendly_name = monitor['friendlyname']
96
+ friendly_name = friendly_name.colorize(:light_white) if ENV['UPTIMEROBOT_COLORIZE']
97
+ url = monitor['url']
98
+ url = url.colorize(:default) if ENV['UPTIMEROBOT_COLORIZE']
99
+ rows << [monitor_id, status, friendly_name, url]
100
+ end
101
+ Terminal::Table.new :headings => ['ID', 'Status', 'Name', 'Url'],
102
+ :rows => rows,
103
+ :title => table_title
104
+ end
105
+ end
106
+
107
+ def self.add_new_monitor(**options)
108
+ if ::UptimerobotCmd.apikey_defined
109
+ raise ::UptimerobotCmd::OptionsError, "Please provide url to monitor" unless options[:monitor_url]
110
+ options[:contact_id] ||= ENV['UPTIMEROBOT_DEFAULT_CONTACT']
111
+ options[:monitor_type] ||= 1
112
+ options[:friendly_name] ||= options[:monitor_url]
113
+ raise ::UptimerobotCmd::OptionsError, "Please provide Contact ID" unless options[:contact_id]
114
+ response = HTTParty.get(::UptimerobotCmd.build_service_url(:add_new_monitor, options))
115
+ [response.code, response['stat']]
116
+ end
117
+ end
118
+
119
+ def self.delete_monitor(**options)
120
+ if ::UptimerobotCmd.apikey_defined
121
+ raise ::UptimerobotCmd::OptionsError, "Please provide site ID" unless options[:monitor_id]
122
+ response = HTTParty.get(::UptimerobotCmd.build_service_url(:delete_monitor, options))
123
+ [response.code, response['stat']]
124
+ end
125
+ end
126
+ end
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'uptimerobot_cmd/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "uptimerobot_cmd"
8
+ spec.version = UptimerobotCmd::VERSION
9
+ spec.authors = ["Uğur Özyılmazel"]
10
+ spec.email = ["ugurozyilmazel@gmail.com"]
11
+
12
+ spec.summary = %q{Commandline client for Uptimerobot service}
13
+ spec.description = %q{Manage your Uptimerobot monitors from command-line}
14
+ spec.homepage = "https://github.com/vigo/uptimerobot_cmd"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.12'
23
+ spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'minitest', '~> 5.0'
25
+ spec.add_development_dependency 'minitest-reporters', '~> 1.1', '>= 1.1.10'
26
+
27
+ spec.add_runtime_dependency 'httparty', '~> 0.13.7'
28
+ spec.add_runtime_dependency 'colorize', '~> 0.8.1'
29
+ spec.add_runtime_dependency 'terminal-table', '~> 1.6'
30
+ spec.add_runtime_dependency 'thor', '~> 0.19.1'
31
+ end
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: uptimerobot_cmd
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Uğur Özyılmazel
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-07-22 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.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest-reporters
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.1'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.1.10
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.1'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.1.10
75
+ - !ruby/object:Gem::Dependency
76
+ name: httparty
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 0.13.7
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 0.13.7
89
+ - !ruby/object:Gem::Dependency
90
+ name: colorize
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: 0.8.1
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.8.1
103
+ - !ruby/object:Gem::Dependency
104
+ name: terminal-table
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.6'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '1.6'
117
+ - !ruby/object:Gem::Dependency
118
+ name: thor
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: 0.19.1
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: 0.19.1
131
+ description: Manage your Uptimerobot monitors from command-line
132
+ email:
133
+ - ugurozyilmazel@gmail.com
134
+ executables:
135
+ - uptimerobot_cmd
136
+ extensions: []
137
+ extra_rdoc_files: []
138
+ files:
139
+ - ".gitignore"
140
+ - ".travis.yml"
141
+ - CODE_OF_CONDUCT.md
142
+ - Gemfile
143
+ - LICENSE.txt
144
+ - README.md
145
+ - Rakefile
146
+ - bin/console
147
+ - bin/setup
148
+ - exe/uptimerobot_cmd
149
+ - lib/uptimerobot_cmd.rb
150
+ - lib/uptimerobot_cmd/cli.rb
151
+ - lib/uptimerobot_cmd/version.rb
152
+ - uptimerobot_cmd.gemspec
153
+ homepage: https://github.com/vigo/uptimerobot_cmd
154
+ licenses:
155
+ - MIT
156
+ metadata: {}
157
+ post_install_message:
158
+ rdoc_options: []
159
+ require_paths:
160
+ - lib
161
+ required_ruby_version: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ requirements: []
172
+ rubyforge_project:
173
+ rubygems_version: 2.5.1
174
+ signing_key:
175
+ specification_version: 4
176
+ summary: Commandline client for Uptimerobot service
177
+ test_files: []