sensu-plugins-ecityruf 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d8d873bd91da4b0a08cac7abccc56c63ecdddde
4
- data.tar.gz: dac8d492a2bd4f64004ad746b619e82c8449e95e
3
+ metadata.gz: 531be0eecbb149b6fc5801a6d2dc68fcaec537b6
4
+ data.tar.gz: 5e1eca7ace2e6672d3122b6138ea88773b5588e7
5
5
  SHA512:
6
- metadata.gz: 04a2ca357ddab6f51ee9cc9378da0120dedb79f8f4e87b92c86f9c307c0f39e38d192a06d84d7d9f4009a00a6b08703a3a234146addc0b51dcbc2f37050d9160
7
- data.tar.gz: e59c4bd6436c0d055d4c1351600f508fabf3883bf1753cb9ac948248f31a72bda522e1b7a309ddfb45abbbdd12266ac61b59f0b9e63cfcfa652605d20c6d962e
6
+ metadata.gz: 13668351f92d1d16074e1e864388e111529e8eccd2fb0d64593cde4ddb558904e663b6c7f9e33236ce186dd599812a8f1ea56096f1aa108193b0592307f0f5a7
7
+ data.tar.gz: 09fb4a9b93477196375898048fd2c8322bd38dad5c2e75bcf768601d9f43ca574263fec3814e6ff6f51db27d9a4328cdcb347d3d69cf7a3893253f548d59c443
data/Rakefile CHANGED
@@ -1,2 +1,38 @@
1
- require "bundler/gem_tasks"
2
- task :default => :spec
1
+ require 'bundler/gem_tasks'
2
+ require 'github/markup'
3
+ require 'redcarpet'
4
+ require 'rspec/core/rake_task'
5
+ require 'rubocop/rake_task'
6
+ require 'yard'
7
+ require 'yard/rake/yardoc_task'
8
+
9
+ YARD::Rake::YardocTask.new do |t|
10
+ OTHER_PATHS = %w().freeze
11
+ t.files = ['lib/**/*.rb', 'bin/**/*.rb', OTHER_PATHS]
12
+ t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md --files CHANGELOG.md)
13
+ end
14
+
15
+ RuboCop::RakeTask.new
16
+
17
+ RSpec::Core::RakeTask.new(:spec) do |r|
18
+ r.pattern = FileList['**/**/*_spec.rb']
19
+ end
20
+
21
+ desc 'Make all plugins executable'
22
+ task :make_bin_executable do
23
+ `chmod -R +x bin/*`
24
+ end
25
+
26
+ desc 'Test for binstubs'
27
+ task :check_binstubs do
28
+ bin_list = Gem::Specification.load('sensu-plugins-ecityruf.gemspec').executables
29
+ bin_list.each do |b|
30
+ `which #{ b }`
31
+ unless $CHILD_STATUS.success?
32
+ puts "#{b} was not a binstub"
33
+ exit
34
+ end
35
+ end
36
+ end
37
+
38
+ task default: [:spec, :make_bin_executable, :yard, :rubocop, :check_binstubs]
@@ -1,7 +1,7 @@
1
1
  module Sensu
2
2
  module Plugins
3
3
  module Ecityruf
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -27,5 +27,11 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.16"
29
29
  spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency 'github-markup', '~> 1.3'
31
+ spec.add_development_dependency 'pry', '~> 0.10'
32
+ spec.add_development_dependency 'rubocop', '~> 0.32.1'
33
+ spec.add_development_dependency 'rspec', '~> 3.1'
34
+ spec.add_development_dependency 'redcarpet', '~> 3.2'
35
+ spec.add_development_dependency 'yard', '~> 0.8'
30
36
 
31
37
  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.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hauke Altmann
@@ -52,6 +52,90 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: github-markup
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.10'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.10'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.32.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.32.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.1'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: redcarpet
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.2'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.2'
125
+ - !ruby/object:Gem::Dependency
126
+ name: yard
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.8'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.8'
55
139
  description: Handler to allow to alert connected pagers over ecityruf on events.
56
140
  email:
57
141
  - hauke.altmann@aboutsource.net