sensu-plugins-ecityruf 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/bin/handler-ecityruf.rb +2 -2
- data/lib/sensu/plugins/ecityruf/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 493070a7b68fec0a952075930049a84730f164da
|
4
|
+
data.tar.gz: 77effbc02af618b95d1d3007656ba5ae5c19b260
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc8ed22ba34f2dde169dbd7ccef715392bd4e1c0fe886e5f885337cca31f8c9ad9b6435ff224b3dd0dbb593021246bcb84c018e258eb72de1263ffea53d712c6
|
7
|
+
data.tar.gz: a097d281a2f0e67af29429f25174115d522ece20f3f1dbddab450f9853894c0736c0bbf0130842161a708db599f1f4ce3c62858c35e25e10d414f0a4d70547db
|
data/README.md
CHANGED
@@ -37,10 +37,6 @@ After checking out the repo, run `bin/setup` to install dependencies. You can al
|
|
37
37
|
|
38
38
|
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).
|
39
39
|
|
40
|
-
## Contributing
|
41
|
-
|
42
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sensu-plugins-ecityruf.
|
43
|
-
|
44
40
|
## License
|
45
41
|
|
46
42
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/bin/handler-ecityruf.rb
CHANGED
@@ -45,10 +45,10 @@ class Ecityruf < Sensu::Handler
|
|
45
45
|
response = http.request request
|
46
46
|
puts response.code
|
47
47
|
end
|
48
|
-
puts 'ecityruf -- sent alert to number
|
48
|
+
puts 'ecityruf -- sent alert ' + event_name + ' to number ' + params['number'] + '.'
|
49
49
|
end
|
50
50
|
rescue Timeout::Error
|
51
|
-
puts 'ecityruf -- time out while attempting to alert about
|
51
|
+
puts 'ecityruf -- time out while attempting to alert about ' + event_name + '.'
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-ecityruf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hauke Altmann
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1
|
19
|
+
version: '2.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1
|
26
|
+
version: '2.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|