anyt-core 1.4.1 → 1.4.3
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/anyt/cli.rb +3 -3
- data/lib/anyt/config.rb +4 -2
- data/lib/anyt/tests.rb +1 -1
- data/lib/anyt/version.rb +1 -1
- data/lib/anyt.rb +1 -0
- metadata +3 -5
- data/lib/anyt/dummy/tmp/development_secret.txt +0 -1
- data/lib/anyt/dummy/tmp/local_secret.txt +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8759cc299ea17742f7999256d1c868e6b613fd3a837fc27951ec2b5bd42364b
|
4
|
+
data.tar.gz: ba9226d94fbf2ba0784ecb9aae940086b00acdb91da16dd00cd5819ece6aa5e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c83a417c91b04226770645fd34d728e8ff4da01217e3c7d59ae6e89c07918d949701572ed3d0fb2d91f479958cfe9ba53012e9faf12573da5e306d4a498f25c
|
7
|
+
data.tar.gz: dcc86081c7c7087b446656e6346a579e47e9114981d9c22455ccc9cdd80bd69ecdab83bf5127e881197143a7d9e8e9cbfa2b3b5e7559086fff213d171f21c960
|
data/lib/anyt/cli.rb
CHANGED
@@ -173,9 +173,9 @@ module Anyt
|
|
173
173
|
end
|
174
174
|
|
175
175
|
cli.on("-rPATH", "--require=PATH",
|
176
|
-
"
|
177
|
-
Anyt.config.tests_relative_path =
|
178
|
-
ENV["ANYT_TESTS_RELATIVE_PATH"] =
|
176
|
+
"Paths to additional tests (e.g. features/*.rb") do |paths|
|
177
|
+
Anyt.config.tests_relative_path = paths
|
178
|
+
ENV["ANYT_TESTS_RELATIVE_PATH"] = paths
|
179
179
|
end
|
180
180
|
|
181
181
|
cli.on("--debug", "Enable debug mode.") do
|
data/lib/anyt/config.rb
CHANGED
@@ -21,10 +21,12 @@ module Anyt
|
|
21
21
|
coerce_types only_tests: {type: :string, array: true}
|
22
22
|
coerce_types except_tests: {type: :string, array: true}
|
23
23
|
|
24
|
-
def
|
24
|
+
def test_paths
|
25
25
|
return unless tests_relative_path
|
26
26
|
|
27
|
-
|
27
|
+
tests_relative_path.split(",").map do |path|
|
28
|
+
File.expand_path(path, Dir.pwd)
|
29
|
+
end
|
28
30
|
end
|
29
31
|
|
30
32
|
def filter_tests?
|
data/lib/anyt/tests.rb
CHANGED
@@ -74,7 +74,7 @@ module Anyt
|
|
74
74
|
|
75
75
|
def test_files_patterns
|
76
76
|
@test_files_patterns ||= DEFAULT_PATTERNS.dup.tap do |patterns|
|
77
|
-
patterns
|
77
|
+
patterns.concat(Anyt.config.test_paths) if Anyt.config.test_paths
|
78
78
|
end
|
79
79
|
end
|
80
80
|
end
|
data/lib/anyt/version.rb
CHANGED
data/lib/anyt.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anyt-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -114,8 +114,6 @@ files:
|
|
114
114
|
- lib/anyt/dummy/application.rb
|
115
115
|
- lib/anyt/dummy/config.ru
|
116
116
|
- lib/anyt/dummy/routes.rb
|
117
|
-
- lib/anyt/dummy/tmp/development_secret.txt
|
118
|
-
- lib/anyt/dummy/tmp/local_secret.txt
|
119
117
|
- lib/anyt/ext/minitest.rb
|
120
118
|
- lib/anyt/remote_control.rb
|
121
119
|
- lib/anyt/rpc.rb
|
@@ -160,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
158
|
- !ruby/object:Gem::Version
|
161
159
|
version: '0'
|
162
160
|
requirements: []
|
163
|
-
rubygems_version: 3.
|
161
|
+
rubygems_version: 3.4.19
|
164
162
|
signing_key:
|
165
163
|
specification_version: 4
|
166
164
|
summary: Action Cable / AnyCable conformance testing tool
|
@@ -1 +0,0 @@
|
|
1
|
-
fe2ecbcf229d5547a64bcdaa9ef4e543404ca3fc9d4ee83aaa7ddab34b6a378fe090c2b1836c9ebd3e5ebbf01c239ddac95e219358baaefc1afaa04cd07bf78c
|
@@ -1 +0,0 @@
|
|
1
|
-
8e4e6bba332e819bd6597b2e8961ca1c0ef0c9bcb3401214ea22155b729e262534cefed3012024f57b098e0756baddea2d145675da33f31a0844df44c9230141
|