anyt-core 1.4.1 → 1.4.3

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: e8759cc299ea17742f7999256d1c868e6b613fd3a837fc27951ec2b5bd42364b
4
+ data.tar.gz: ba9226d94fbf2ba0784ecb9aae940086b00acdb91da16dd00cd5819ece6aa5e6
5
5
  SHA512:
6
- metadata.gz: 7720b7b1c5855e11d091e2591d59656e6c0659a898e8590e9eb190254b8498a09a67b08d592b718ad364a1e180667e6e526c6c6e4669c3b62f16ad849bac85cd
7
- data.tar.gz: d96f721e762200f4e4e247e718cd5e6da73cca4cdc487fe02aabd778dc52e5c7a36c2357b4d905a183df625a238865069946a2b85111e3d3f4d0aa94b1805d98
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
- "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.3"
5
5
  end
data/lib/anyt.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "logger"
3
4
  require "anyt/version"
4
5
  require "anyt/config"
5
6
  require "anyt/utils"
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-14 00:00:00.000000000 Z
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.5.18
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