anyt-core 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
- metadata +6 -8
- 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: 40134b310d42956b75cf92aa03fe2a8c48597f1642b086b12303dacced180cdd
|
4
|
+
data.tar.gz: 394b3e1520a0cecee8772d21cecd77a060bcb911d439824fbb0bf687b0f53c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f53c5b806abb449c7a4ef5c084a23294af5496eaf868631dbbfce9f6c6ab1a8c701a86fa78c78e4cd464a0ecb722a1982c3d2eb83c7ee01e964fc889b205a10
|
7
|
+
data.tar.gz: 4d7ad5f4ac53858d923fbde8f2ef8ee8cca026198f9eaf49661480f2e593a4ae70fbb3b7c18b7940c5a2cd0995b14574d32eb79bc377d75001c9fbf4dcb96774
|
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
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-02 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
|
@@ -145,7 +143,7 @@ homepage: http://github.com/anycable/anyt
|
|
145
143
|
licenses:
|
146
144
|
- MIT
|
147
145
|
metadata: {}
|
148
|
-
post_install_message:
|
146
|
+
post_install_message:
|
149
147
|
rdoc_options: []
|
150
148
|
require_paths:
|
151
149
|
- lib
|
@@ -160,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
158
|
- !ruby/object:Gem::Version
|
161
159
|
version: '0'
|
162
160
|
requirements: []
|
163
|
-
rubygems_version: 3.
|
164
|
-
signing_key:
|
161
|
+
rubygems_version: 3.4.19
|
162
|
+
signing_key:
|
165
163
|
specification_version: 4
|
166
164
|
summary: Action Cable / AnyCable conformance testing tool
|
167
165
|
test_files: []
|
@@ -1 +0,0 @@
|
|
1
|
-
fe2ecbcf229d5547a64bcdaa9ef4e543404ca3fc9d4ee83aaa7ddab34b6a378fe090c2b1836c9ebd3e5ebbf01c239ddac95e219358baaefc1afaa04cd07bf78c
|
@@ -1 +0,0 @@
|
|
1
|
-
8e4e6bba332e819bd6597b2e8961ca1c0ef0c9bcb3401214ea22155b729e262534cefed3012024f57b098e0756baddea2d145675da33f31a0844df44c9230141
|