spreewald 4.1.1 → 4.1.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: 06fe5aa45812c755a6f7b875be6fd48a9c17e134a059aaec4f18d7777f4e88ca
4
- data.tar.gz: 5612118b301015088b9b9702aaf77d5b1e140ae03e785d2ad840c7bc5805c3d8
3
+ metadata.gz: a4c751f9710de7f192ae23a8184dd2f7a929c2a9381f6fd3ee11e7f84c2012e4
4
+ data.tar.gz: 5f94bfcf3744f8f2f44d688129c4e490e98b987eb2c97116431c8e56a5b9714c
5
5
  SHA512:
6
- metadata.gz: 39507ac68849f59b244bfe7555654aba0b8371d62fdfbb70dcf186713b2458b300a47a05c66c3f6b78183d35313914df60c2b2197ec0ba688f1b82d01fec34cd
7
- data.tar.gz: a6f5033b9f9d952c7fed05fd38ec6a2e6b72c6ad1e7eadae2311491ff0342ce84afe60015ec81b950a4b04fbe01597e277deec95a929da32b2eadaf4e5f5c4c3
6
+ metadata.gz: 63d52ea274f3d44d63c460fd29adf935c77790093010b4dcfe2ddadf5a6f57a64407eeef686ad35acca5ee0ad79d2d0e6977886cad4d06ac17ba011c0b5287e7
7
+ data.tar.gz: 52dea6eae2351828a62aafc3d31fba6c0e156981c530cd8f67b3f0623516cea06ffe239af78b90562304cb5158e0bc5fc4836a28d02baae26b1401bee9236cc9
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## 4.1.2
7
+ - Multiple invocations of console don't raise anymore
8
+
6
9
  ## 4.1.1
7
10
  - The step `I open .. in a new browser tab` is now using the `noopener` option (see issue [#174])
8
11
 
@@ -11,11 +11,6 @@ Then 'console' do
11
11
  require 'irb'
12
12
  ARGV.clear # IRB takes ARGV as its own arguments
13
13
 
14
- # `source` is defined by Capybara as a shortcut to `page.source`. IRB tries to
15
- # create an alias with the same name and fails with a warning. To avoid this,
16
- # we remove the alias here.
17
- undef :source
18
-
19
14
  # We adapted the steps of IRB.run
20
15
  # https://github.com/ruby/ruby/blob/c08f7b80889b531865e74bc5f573df8fa27f2088/lib/irb.rb#L418
21
16
  # with injected workspace. See https://github.com/makandra/spreewald/issues/77 for reasons.
@@ -24,6 +19,11 @@ Then 'console' do
24
19
  # "already initialized constant" warnings
25
20
  unless IRB.conf[:LOAD_MODULES]
26
21
  IRB.setup(nil)
22
+
23
+ # `source` is defined by Capybara as a shortcut to `page.source`. IRB tries to
24
+ # create an alias with the same name and fails with a warning. To avoid this,
25
+ # we remove the alias here.
26
+ undef :source
27
27
  end
28
28
 
29
29
  workspace = IRB::WorkSpace.new(binding)
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '4.1.1'
2
+ VERSION = '4.1.2'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (4.1.1)
4
+ spreewald (4.1.2)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
  rspec (>= 2.13.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (4.1.1)
4
+ spreewald (4.1.2)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
  rspec (>= 2.13.0)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreewald
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-07 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber