chef-telemetry 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 +4 -4
- data/lib/chef/telemeter.rb +3 -3
- data/lib/chef/telemeter/sender.rb +2 -2
- data/lib/chef/telemetry.rb +5 -5
- data/lib/chef/telemetry/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: 73cb6edbab8fbbce90e66a513ac148a088860ee7fbd48866c47d83f6b355c0e6
|
4
|
+
data.tar.gz: 9b840249171401e7a6bf5e0cbfc517b211b288d65b7dca40d4c3d52b356e0053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4843cb8a621ca091330eb838d2923e59220b7204876d57f1b81a9166671f31058e10264b29eca1883de46e649b23fe10f0b216b1fb661f02fba2af98170712ee
|
7
|
+
data.tar.gz: e768c57bc84595293bd56c0aafb17727b1dd4af31f72ff1cbce0ebfa98dbe875e3c54bcaf848df7a0ad000efdd94fa0ea7bc19d181e9b1ffdb92cbaa982a6d39
|
data/lib/chef/telemeter.rb
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
# limitations under the License.
|
16
16
|
#
|
17
17
|
|
18
|
-
|
18
|
+
require_relative "telemetry/version"
|
19
19
|
require "benchmark"
|
20
20
|
require "forwardable"
|
21
21
|
require "singleton"
|
@@ -51,13 +51,13 @@ class Chef
|
|
51
51
|
# :dev_mode # false, not required
|
52
52
|
config[:dev_mode] ||= false
|
53
53
|
config[:enabled] ||= false
|
54
|
-
|
54
|
+
require_relative "telemeter/sender"
|
55
55
|
@config = config
|
56
56
|
Sender.start_upload_thread(config)
|
57
57
|
end
|
58
58
|
|
59
59
|
def enabled?
|
60
|
-
|
60
|
+
require_relative "telemetry/decision"
|
61
61
|
config[:enabled] && !Telemetry::Decision.env_opt_out?
|
62
62
|
end
|
63
63
|
|
data/lib/chef/telemetry.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
require_relative "telemetry/client"
|
2
|
+
require_relative "telemetry/decision"
|
3
|
+
require_relative "telemetry/event"
|
4
|
+
require_relative "telemetry/session"
|
5
|
+
require_relative "telemetry/version"
|
6
6
|
|
7
7
|
class Chef
|
8
8
|
class Telemetry
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-telemetry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|