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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 926764e1377b6d46fecd5ac2027327e22e1641b74b6de7a6c8d46ad0f8aa2926
4
- data.tar.gz: 924c6b0ba6db8853a2fbb48d1f2710651c08fb7126292037e633182a7d4b9066
3
+ metadata.gz: 40134b310d42956b75cf92aa03fe2a8c48597f1642b086b12303dacced180cdd
4
+ data.tar.gz: 394b3e1520a0cecee8772d21cecd77a060bcb911d439824fbb0bf687b0f53c84
5
5
  SHA512:
6
- metadata.gz: 7720b7b1c5855e11d091e2591d59656e6c0659a898e8590e9eb190254b8498a09a67b08d592b718ad364a1e180667e6e526c6c6e4669c3b62f16ad849bac85cd
7
- data.tar.gz: d96f721e762200f4e4e247e718cd5e6da73cca4cdc487fe02aabd778dc52e5c7a36c2357b4d905a183df625a238865069946a2b85111e3d3f4d0aa94b1805d98
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
- "Path to additional tests (e.g. features/*.rb") do |path|
177
- Anyt.config.tests_relative_path = path
178
- ENV["ANYT_TESTS_RELATIVE_PATH"] = 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 tests_path
24
+ def test_paths
25
25
  return unless tests_relative_path
26
26
 
27
- File.expand_path(tests_relative_path, Dir.pwd)
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 << Anyt.config.tests_path if Anyt.config.tests_path
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anyt
4
- VERSION = "1.4.1"
4
+ VERSION = "1.4.2"
5
5
  end
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.1
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: 2024-09-14 00:00:00.000000000 Z
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.5.18
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