rspec-interactive 0.9.13 → 0.9.15

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: 463e635fc01d274aaaa0857835637651842862761bda52cf9f91e3474754f2e3
4
- data.tar.gz: 996b14c18d7c8d26446e6c0bac18b0c566952c78d2cba365346a716021fa9a95
3
+ metadata.gz: b5f3f89cd6ae43636a3fac68501c3dd0b9dccae03f85ce06a911ea5eb71630b2
4
+ data.tar.gz: 7fceb3943d24a280f9bbd361ec3844cbd70f6205fd217f68fb94af072b4bd2c4
5
5
  SHA512:
6
- metadata.gz: 7c0ebae7aca82565ee027992003259a7abd4f1f0f049be0a1e8c31d382459f72eb9b3ea9b7000d8eddbe4236f47e036e442897e0a78558ee548946bb8de1cdd8
7
- data.tar.gz: a1cae8c47176dd0f315335bbf8f63885653ae5f6e248aab2d885d9a38d6ee90124a5091dbfefa468b20c8307beeec7b4cc0f58202a2f0a5a473f2928cb5a9b63
6
+ metadata.gz: 9fdd623bcb524967e1153b690a94c7a8b3132d158c3bfbdc166151a0400981fe0f6b86be572354e32061a0b1273e903c822b4d5f0caa80eaae241240dfbe1d08
7
+ data.tar.gz: 5e02491b2d4d5f86d54d02f877c488d67afa5de5636796c14a8eec3cf528ec01c0705229d17f73eb91892df691ffd0710dc49ecbec8c4dd8d90d4a2c03fb68e6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-interactive (0.9.12)
4
+ rspec-interactive (0.9.14)
5
5
  pry
6
6
  rspec-core
7
7
  rspec-teamcity (= 1.0.0)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Interactive
5
- VERSION = "0.9.13"
5
+ VERSION = "0.9.15"
6
6
  end
7
7
  end
@@ -56,6 +56,9 @@ module RSpec
56
56
  @config_cache = RSpec::Interactive::ConfigCache.new
57
57
 
58
58
  @configuration = Configuration.new
59
+ if !config_file && File.exist?('spec/rspec_interactive.rb')
60
+ config_file = 'spec/rspec_interactive.rb'
61
+ end
59
62
  load config_file if config_file
60
63
 
61
64
  check_rails
@@ -276,11 +279,14 @@ module RSpec
276
279
  end
277
280
 
278
281
  def self.rubo_cop(args)
279
- if defined?(RuboCop)
280
- RuboCop::CLI.new.run args
281
- else
282
+ begin
283
+ require 'rubocop'
284
+ rescue LoadError
282
285
  @error_stream.puts "fatal: RuboCop not found. Is the gem installed in this project?"
286
+ return
283
287
  end
288
+
289
+ RuboCop::CLI.new.run args
284
290
  end
285
291
 
286
292
  def self.eval(line, options, &block)
@@ -9,7 +9,7 @@ require 'socket'
9
9
  port: 5678
10
10
  }
11
11
 
12
- parser = OptionParser.new do |opts|
12
+ OptionParser.new do |opts|
13
13
  opts.banner = "Executes RSpec by connecting to a running RSpec Interactive shell.\n\n"\
14
14
  "Usage: bundle exec rspec-interactive-run [--host <host>] [--port <port>] [rspec-args]"
15
15
 
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.13
4
+ version: 0.9.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Dower
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
@@ -94,11 +94,8 @@ files:
94
94
  - lib/rspec-interactive/version.rb
95
95
  - lib/teamcity/spec/runner/formatter/teamcity/formatter.rb
96
96
  - rspec-interactive.gemspec
97
- - runner/Gemfile
98
- - runner/Gemfile.lock
99
- - runner/README.md
100
- - runner/rspec-interactive-run
101
97
  - scripts/release.sh
98
+ - scripts/rspec-interactive-run
102
99
  - scripts/run-with-local-dep.sh
103
100
  - tests/debugged_spec_test.rb
104
101
  - tests/eof_test.rb
data/runner/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- ruby '3.0.0'
4
-
5
- source "https://rubygems.org"
data/runner/Gemfile.lock DELETED
@@ -1,14 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
-
5
- PLATFORMS
6
- x86_64-darwin-20
7
-
8
- DEPENDENCIES
9
-
10
- RUBY VERSION
11
- ruby 3.0.0p0
12
-
13
- BUNDLED WITH
14
- 2.3.6
data/runner/README.md DELETED
@@ -1,3 +0,0 @@
1
- # RSpec Interactive Runner
2
-
3
- Use this directory as the working directory in RubyMine run configurations.