sensu-plugins-meta 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: ac018182b7909b9160176c964d9a441c14f20b31afd620d713fe26f844e3a77d
4
- data.tar.gz: 60ecf9f7e69c1972d2dde56bc9e4d0c4905ae8a5d635f6fc6866bd3d4d886ec5
3
+ metadata.gz: a5733bbc612956e753900cbec57a86ef2cd09add7a4e779c19c86abd80891dbd
4
+ data.tar.gz: 557bd7e8fd6278e6476dedc688a68c8deae0a8f32243d232bd77e2ba8aabbbbc
5
5
  SHA512:
6
- metadata.gz: b30f0a8148af09350ef3bc81c158813484b56731025e4a3e0cdfcd3c5bd59ac0fd5ef3ed97ed4e0398bded539ef1e2f39fcf33b7530271b2d479b5a59c824b5e
7
- data.tar.gz: 48eac338813b53fc23fc562ef67edfcce0ab2f2a5df6cbd7b77641661787eb1139232d05028fa3d85ef6baa4f8fa788b38177e078000b8ae45bcdd2734fd4057
6
+ metadata.gz: bda462e249153b25f293e59ec5ff17bba5abec9053e7c66a68fefb864cc1e595d72bb41b04a0b6a38946b24bbbe3c9ad4d9df910e6b3e4c515d462a0e18ea744
7
+ data.tar.gz: a6ef8e4ea7b1fb8d8647b7bde4d107ca8048ce74cbf84ebbe2de11e8e5c785dd3a83d49d1e5f07078a47aa35d73ae3b6f3fe3abeae24b2d81a820e46731874a6
data/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
+ ## [1.0.3] - 2019-03-29
7
+ ### Changed
8
+ - Advertise compatibility with sensu-plugin 4.x
9
+ - Unload gem specs before loading the desired sub-check
10
+
6
11
  ## [1.0.2] - 2019-02-06
7
12
  ### Changed
8
13
  - Update gem dependency pins
@@ -50,9 +55,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
50
55
  ### Added
51
56
  - Initial release
52
57
 
58
+ [1.0.3]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v1.0.2...v1.0.3
53
59
  [1.0.2]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v1.0.1...v1.0.2
54
60
  [1.0.1]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v1.0.0...v1.0.1
55
61
  [1.0.0]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.3.3...v1.0.0
62
+ [0.3.4]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.3.3...v0.3.4
56
63
  [0.3.3]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.3.2...v0.3.3
57
64
  [0.3.2]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.3.1...v0.3.2
58
65
  [0.3.1]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.3.0...v0.3.1
@@ -38,9 +38,11 @@
38
38
  # for details.
39
39
  #
40
40
 
41
- # Load the check we're going to run before doing anything else so we don't run
42
- # the risk of importing a version of sensu-plugin that's compatible with this
43
- # check but not the sub-check.
41
+ # Unload the specs that get activated by Gem.activate_bin_path in the binstub
42
+ # and immediately load the check we're going to run so we can get around any
43
+ # dependency conflicts between it and this check, which is compatible with just
44
+ # about any version of sensu-plugin or json.
45
+ %w[sensu-plugin json mixlib-cli].each { |g| Gem.loaded_specs.delete(g) }
44
46
  idx = ARGV.index('-c') || ARGV.index('--check')
45
47
  require File.expand_path("../#{ARGV[idx + 1]}", $PROGRAM_NAME) if idx
46
48
 
@@ -8,7 +8,7 @@ module SensuPluginsMeta
8
8
  # The minor version.
9
9
  MINOR = 0
10
10
  # The patch version.
11
- PATCH = 2
11
+ PATCH = 3
12
12
  # Concat them into a version string
13
13
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-meta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-06 00:00:00.000000000 Z
11
+ date: 2019-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '1.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '4.0'
22
+ version: '5.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '1.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '4.0'
32
+ version: '5.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement