chef-deployment-monitor 1.2.2 → 1.2.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
  SHA1:
3
- metadata.gz: 1c15ebb9e7558b34460354fadfc8577a0562ccbf
4
- data.tar.gz: a16bd2012a8b2a0db7159f1b86295d8bdda1d988
3
+ metadata.gz: f9a22a8fbeb3e33491fd5bd9bdc8a0e1da18b6bb
4
+ data.tar.gz: 0ed895c9fe58330c6095ab7f9dd970b5efe9eaa1
5
5
  SHA512:
6
- metadata.gz: a019ee08d60048dd3d9dee9a204531be95df9c3ebc45023c830a842010c7abf70596e29ca211c820ae3f2478dcb185f2c1036eca64415c76656b2ef6ad8d330b
7
- data.tar.gz: d05062d6eaad975ed06a236c2aadfc623bec3ac0767e880578c38b3bb1a53081c195ccddb1cc234f45cda630568ba73f40dff072844c0e928116c0404df9d8e4
6
+ metadata.gz: d6bdb4c78e5504f99ccdc02ca7e6d2f7a79e89b04956114f4fc3da4b4f1c2544490f721bbb1b0ba0e533c4ee8c08f120be1f8eb50b7a609631e04256ee0acb78
7
+ data.tar.gz: 1f365591215ed6ecd341e5a480d38bfa9f8d363cdd0598993a46f1c004824dd4f2575f141f074366b0b17e46dccb5b2377d125609a7b1c623eb47c112f376f31
@@ -3,7 +3,7 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'chef-deployment-monitor'
6
- s.version = '1.2.2'
6
+ s.version = '1.2.3'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.has_rdoc = false
9
9
  s.extra_rdoc_files = ['LICENSE']
@@ -89,7 +89,12 @@ class Chef
89
89
  data['org'] = Regexp.last_match(5).split('/')[2] unless Regexp.last_match(5).split('/')[2].nil?
90
90
  data['object'] = Regexp.last_match(5).split('/')[3] unless Regexp.last_match(5).split('/')[3].nil?
91
91
  data['name'] = Regexp.last_match(5).split('/')[4] unless Regexp.last_match(5).split('/')[4].nil?
92
- data['version'] = Regexp.last_match(5).split('/')[5] unless Regexp.last_match(5).split('/')[5].nil?
92
+ if Regexp.last_match(5).split('/')[3] == 'policy_groups'
93
+ data['subobject'] = Regexp.last_match(5).split('/')[5] unless Regexp.last_match(5).split('/')[5].nil?
94
+ data['subname'] = Regexp.last_match(5).split('/')[6] unless Regexp.last_match(5).split('/')[6].nil?
95
+ else
96
+ data['version'] = Regexp.last_match(5).split('/')[5] unless Regexp.last_match(5).split('/')[5].nil?
97
+ end
93
98
  data['action'] = Regexp.last_match(4)
94
99
  return data
95
100
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-deployment-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sander Botman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-09-19 00:00:00.000000000 Z
12
+ date: 2017-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: file-tail