sensu-plugins-haproxy 0.0.1.alpha.2 → 0.0.1.alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bcc61fde2191c7150cd2297645dd837a9ffe5e5
4
- data.tar.gz: 111481e18f98f5d43003a9d499a37dba6a76ef8c
3
+ metadata.gz: f409b7d971bb6cc31322e9a84f54d5032f4cf1aa
4
+ data.tar.gz: 09df82629d44efb21a9aa97215edddacddd42596
5
5
  SHA512:
6
- metadata.gz: 4e334d056da6ddeef7b621cfe6ebc818bf986e4e836248fb4f299351bfd8de33f72c3a58d1b48f12b0aa7307c64f312f20b8cb37a017a28daa6bdae8b133423d
7
- data.tar.gz: b35e324e3866ab7b4fa7afcc7c4c1861db7ea35ca4f5a2cb61edb5fb63927ab7e81951373bbace0efd02389b09cee37864008597c30af62fad211e2a4b7b690d
6
+ metadata.gz: e7d8f10b67cd3e0fdeb1980783c076c452ea4e0faf4280f1ca48855d1025f4a237d0b08eda464e895ad60e87b02a4897402b66450dbd51cf7b090a016fd503db
7
+ data.tar.gz: 9e7afe3c5499025e63b17eaa48b02a2bb1bbe3f13a2574041db96224e5b6bc61eb53a3fc6b13657a64949c72de5e93a667b402fc8e398ffdb5bb61a884592a69
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -5,3 +5,10 @@
5
5
  #### 0.0.1.alpha.2
6
6
 
7
7
  * pin all development and runtime dependencies
8
+
9
+ #### 0.0.1.alpha.3
10
+
11
+ * update Vagrantfile
12
+ * add gem metadata
13
+ * modify .gitignore
14
+ * add new version and bump methods and tasks
data/README.md CHANGED
@@ -9,8 +9,8 @@
9
9
  ## Functionality
10
10
 
11
11
  ## Files
12
- * bin/check-haproxy
13
- * bin/metrics-haproxy
12
+ * bin/check-haproxy.rb
13
+ * bin/metrics-haproxy.rb
14
14
 
15
15
  ## Usage
16
16
 
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # check-haproxy
3
+ # check-haproxy.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  # Defaults to checking if ALL services in the given group are up; with
@@ -14,12 +14,8 @@
14
14
  #
15
15
  # DEPENDENCIES:
16
16
  # gem: sensu-plugin
17
- # gem: socket
18
- # gem: csv
19
- # gem: uri
20
17
  #
21
18
  # USAGE:
22
- # #YELLOW
23
19
  #
24
20
  # NOTES:
25
21
  #
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  #
3
- # metrics-haproxy
3
+ # metrics-haproxy.rb
4
4
  #
5
5
  # DESCRIPTION:
6
6
  # If you are occassionally seeing "nil output" from this check, make sure you have
@@ -14,11 +14,6 @@
14
14
  #
15
15
  # DEPENDENCIES:
16
16
  # gem: sensu-plugin
17
- # gem: net/http
18
- # gem: net/https
19
- # gem: socket
20
- # gem: csv
21
- # gem: uri
22
17
  #
23
18
  # USAGE:
24
19
  #
@@ -1,7 +1,15 @@
1
+
2
+ require 'sensu-plugins-haproxy/version'
3
+
4
+ # Load the defaults
5
+
1
6
  #
2
- # Set gem version
7
+ # Default class
3
8
  #
4
- module SensuPluginsHaproxy
5
- # Gem version
6
- VERSION = '0.0.1.alpha.2'
9
+ module SensuPluginsHAProxy
10
+ class << self
11
+ end
12
+
13
+ class << self
14
+ end
7
15
  end
@@ -0,0 +1,28 @@
1
+ require 'json'
2
+
3
+ # encoding: utf-8
4
+ module SensuPluginsHAProxy
5
+ # This defines the version of the gem
6
+ module Version
7
+ MAJOR = 0
8
+ MINOR = 0
9
+ PATCH = 1
10
+
11
+ VER_STRING = [MAJOR, MINOR, PATCH, 'alpha.3'].compact.join('.')
12
+
13
+ NAME = 'sensu-plugins-haproxy'
14
+ BANNER = "#{NAME} v%s"
15
+
16
+ module_function
17
+
18
+ def version
19
+ format(BANNER, VER_STRING)
20
+ end
21
+
22
+ def json_version
23
+ {
24
+ 'version' => VER_STRING
25
+ }.to_json
26
+ end
27
+ end
28
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-haproxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha.2
4
+ version: 0.0.1.alpha.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yieldbot, Inc. and contributors
@@ -30,7 +30,7 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-03-25 00:00:00.000000000 Z
33
+ date: 2015-04-02 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-plugin
@@ -50,14 +50,14 @@ dependencies:
50
50
  name: codeclimate-test-reporter
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  - !ruby/object:Gem::Dependency
@@ -172,11 +172,9 @@ dependencies:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0.10'
175
- description: Sensu Plugins for haproxy
175
+ description: Sensu plugins for working with haproxy
176
176
  email: "<sensu-users@googlegroups.com>"
177
- executables:
178
- - check-haproxy.rb
179
- - metrics-haproxy.rb
177
+ executables: []
180
178
  extensions: []
181
179
  extra_rdoc_files: []
182
180
  files:
@@ -186,10 +184,14 @@ files:
186
184
  - bin/check-haproxy.rb
187
185
  - bin/metrics-haproxy.rb
188
186
  - lib/sensu-plugins-haproxy.rb
187
+ - lib/sensu-plugins-haproxy/version.rb
189
188
  homepage: https://github.com/sensu-plugins/sensu-plugins-haproxy
190
189
  licenses:
191
190
  - MIT
192
- metadata: {}
191
+ metadata:
192
+ maintainer: ''
193
+ development_status: active
194
+ production_status: unstable - testing recommended
193
195
  post_install_message:
194
196
  rdoc_options: []
195
197
  require_paths:
@@ -209,5 +211,6 @@ rubyforge_project:
209
211
  rubygems_version: 2.2.2
210
212
  signing_key:
211
213
  specification_version: 4
212
- summary: Sensu Plugins for haproxy
214
+ summary: Sensu plugins for working with haproxy
213
215
  test_files: []
216
+ has_rdoc:
metadata.gz.sig CHANGED
Binary file