bolt 1.31.0 → 1.31.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bolt might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/bolt/analytics.rb +4 -6
- data/lib/bolt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f18043cfb3f91f5ce7fa45d339bc9aba13132d09592516f6ce02af8557bba712
|
4
|
+
data.tar.gz: f8814932c524a3e753b775f719894950a1e57f93db9287b29dc0b966e9f70bf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cbc17086c5324dd743bfe073b3c7ebbba25e82fc3fe96af819aee84aa27d3b81d3a6ec2b1535816932a4717f5ca5c0aa792dfa80c9ce76f1cda8d10ae3edac9
|
7
|
+
data.tar.gz: e8491955503d7e3b2a0c83faeea77b7fb85393fae307c644f62761116d07048b2396007e0b873ac6e98a82d6da3666a4e3c0f7413a75014560df56c98e236238
|
data/lib/bolt/analytics.rb
CHANGED
@@ -162,16 +162,14 @@ module Bolt
|
|
162
162
|
# User locale
|
163
163
|
ul: Locale.current.to_rfc,
|
164
164
|
# Custom Dimension 1 (Operating System)
|
165
|
-
cd1: @os
|
165
|
+
cd1: @os
|
166
166
|
}
|
167
167
|
end
|
168
168
|
|
169
169
|
def compute_os
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
"#{os['name']} #{os.dig('release', 'major')}"
|
174
|
-
end
|
170
|
+
require 'facter'
|
171
|
+
os = Facter.value('os')
|
172
|
+
"#{os['name']} #{os.dig('release', 'major')}"
|
175
173
|
end
|
176
174
|
|
177
175
|
# If the user is running a very fast command, there may not be time for
|
data/lib/bolt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.31.
|
4
|
+
version: 1.31.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|