trunk_analytics 0.0.4-x86_64-darwin → 0.0.7-x86_64-darwin
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 +4 -4
- data/lib/context_ruby/3.0/context_ruby.bundle +0 -0
- data/lib/context_ruby/{context_ruby.bundle → 3.1/context_ruby.bundle} +0 -0
- data/lib/context_ruby/3.2/context_ruby.bundle +0 -0
- data/lib/context_ruby/3.3/context_ruby.bundle +0 -0
- data/lib/context_ruby/3.4/context_ruby.bundle +0 -0
- data/lib/context_ruby.rb +6 -1
- data/lib/trunk_spec_helper.rb +3 -3
- metadata +10 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96d5de1ce93d8bf47357c915eeceec23794f24918581e71486f6a5922ee0fcb2
|
4
|
+
data.tar.gz: 25af36190cb878f04175c2f68d211ce36930fe4982a5256db261adcb133b8c27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d5662cd41a7a6ede0b62a7ae47a71a2bc878d8a63197c35b553408876b62489d8bf1fa43dbd98efefea166497846b7c5b00bcd57adb21b0430c75ae10aabd5
|
7
|
+
data.tar.gz: c3d78fce722422ac3c3f201d992d56e0a2a15eeabe2e336092754797fbd30ae59490f06e9d5820b87504f325ce50129b7ae065c206fe5f723c713760690ee947
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/context_ruby.rb
CHANGED
@@ -1,3 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
begin
|
4
|
+
ruby_version = /(\d+\.\d+)/.match(RUBY_VERSION)
|
5
|
+
require_relative "context_ruby/#{ruby_version}/context_ruby"
|
6
|
+
rescue LoadError
|
7
|
+
require_relative 'context_ruby/context_ruby'
|
8
|
+
end
|
data/lib/trunk_spec_helper.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'rspec/core'
|
4
4
|
require 'time'
|
5
|
-
require 'context_ruby
|
5
|
+
require 'context_ruby'
|
6
6
|
|
7
7
|
def escape(str)
|
8
8
|
str.dump[1..-2]
|
@@ -78,7 +78,7 @@ end
|
|
78
78
|
# it generates and submits the final test reports
|
79
79
|
class TrunkAnalyticsListener
|
80
80
|
def initialize
|
81
|
-
@testreport = TestReport.new('rspec')
|
81
|
+
@testreport = TestReport.new('rspec', "#{$PROGRAM_NAME} #{ARGV.join(' ')}")
|
82
82
|
end
|
83
83
|
|
84
84
|
def example_finished(notification)
|
@@ -86,7 +86,7 @@ class TrunkAnalyticsListener
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def close(_notification)
|
89
|
-
@testreport.publish
|
89
|
+
@testreport.publish
|
90
90
|
end
|
91
91
|
|
92
92
|
def description_generated?(example)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trunk_analytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- Trunk Technologies, Inc.
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -45,7 +45,11 @@ extensions: []
|
|
45
45
|
extra_rdoc_files: []
|
46
46
|
files:
|
47
47
|
- lib/context_ruby.rb
|
48
|
-
- lib/context_ruby/context_ruby.bundle
|
48
|
+
- lib/context_ruby/3.0/context_ruby.bundle
|
49
|
+
- lib/context_ruby/3.1/context_ruby.bundle
|
50
|
+
- lib/context_ruby/3.2/context_ruby.bundle
|
51
|
+
- lib/context_ruby/3.3/context_ruby.bundle
|
52
|
+
- lib/context_ruby/3.4/context_ruby.bundle
|
49
53
|
- lib/trunk_spec_helper.rb
|
50
54
|
homepage: https://trunk.io
|
51
55
|
licenses:
|
@@ -59,10 +63,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
63
|
requirements:
|
60
64
|
- - ">="
|
61
65
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
66
|
+
version: '3.0'
|
63
67
|
- - "<"
|
64
68
|
- !ruby/object:Gem::Version
|
65
|
-
version: 3.
|
69
|
+
version: 3.5.dev
|
66
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
71
|
requirements:
|
68
72
|
- - ">="
|