rspec-interactive 0.9.15 → 0.9.17
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90df3b8868b3a3b9eaf62fa025f6db1d1fb9582d57855a17db5da0ba4e9048a6
|
4
|
+
data.tar.gz: 6cf1492492738f361f2c87ed5b1206a291af39bbbd4cd46cee47ea5396ce4fcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f53d1b9783630382c8addcada1cb1fdfbb119f503b64014a31294f52b4b99c138b0f2b7bef490ae5eaa51b3125e4d1f935b58c09c2571cf9cc3c7aaea1255e14
|
7
|
+
data.tar.gz: 4514ef8b3e50d92998a95a83ee605893df84e44a92878b12ceafa74140a4bd5b89434f423b5559dfe457851e6d4d01ab22b8676fecadb0c2804d4595a501ce23
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rspec-interactive (0.9.
|
4
|
+
rspec-interactive (0.9.16)
|
5
5
|
pry
|
6
6
|
rspec-core
|
7
7
|
rspec-teamcity (= 1.0.0)
|
@@ -11,13 +11,12 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
coderay (1.1.3)
|
13
13
|
diff-lcs (1.4.4)
|
14
|
-
ffi (1.15.5)
|
15
14
|
ffi (1.15.5-java)
|
16
15
|
method_source (1.0.0)
|
17
|
-
pry (0.14.
|
16
|
+
pry (0.14.2)
|
18
17
|
coderay (~> 1.1)
|
19
18
|
method_source (~> 1.0)
|
20
|
-
pry (0.14.
|
19
|
+
pry (0.14.2-java)
|
21
20
|
coderay (~> 1.1)
|
22
21
|
method_source (~> 1.0)
|
23
22
|
spoon (~> 0.0)
|
@@ -48,4 +47,4 @@ DEPENDENCIES
|
|
48
47
|
rspec-interactive!
|
49
48
|
|
50
49
|
BUNDLED WITH
|
51
|
-
2.
|
50
|
+
2.3.14
|
@@ -28,6 +28,18 @@ module RSpec
|
|
28
28
|
def closed?
|
29
29
|
(@thread_map[Thread.current] || @default).closed?
|
30
30
|
end
|
31
|
+
|
32
|
+
def sync=(sync)
|
33
|
+
(@thread_map[Thread.current] || @default).sync = sync
|
34
|
+
end
|
35
|
+
|
36
|
+
def sync
|
37
|
+
(@thread_map[Thread.current] || @default).sync
|
38
|
+
end
|
39
|
+
|
40
|
+
def close
|
41
|
+
(@thread_map[Thread.current] || @default).close
|
42
|
+
end
|
31
43
|
end
|
32
44
|
end
|
33
45
|
end
|
data/lib/rspec-interactive.rb
CHANGED
@@ -124,13 +124,11 @@ module RSpec
|
|
124
124
|
end
|
125
125
|
|
126
126
|
def self.maybe_trap_interrupt
|
127
|
-
|
128
|
-
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
# if it is running so here we disable Pry's handling and rewrite it to include
|
133
|
-
# special handling for RSpec.
|
127
|
+
# Pry traps interrupts and raises an Interrupt exception. Unfortunately, raising
|
128
|
+
# Interrupt is not enough when RSpec is running since it may lead to issues when
|
129
|
+
# using transactional fixtures. Also, when running in JRuby, it seems to only fail
|
130
|
+
# the current example not the entire RSpec run. Here we disable Pry's handling and
|
131
|
+
# rewrite it to include special handling for RSpec.
|
134
132
|
|
135
133
|
Pry.config.should_trap_interrupts = false
|
136
134
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-interactive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Dower
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
|
-
rubygems_version: 3.
|
134
|
+
rubygems_version: 3.3.3
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: An interactive console for running specs.
|