esse-rspec 0.0.2 → 0.0.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: 85229a52ecdc873d198b3e2e8e1ddc6d60da81bda3923ef69409153e5ba7bb2b
4
- data.tar.gz: 8392cf44d96fa894cd6493cff562ede6be878c0565b77a32b912279ebfa55f0b
3
+ metadata.gz: 97f5b2d2ce2ec86c915c41999b883834b103096c62977767ec45bc7ded85cb69
4
+ data.tar.gz: 656757868411fa3bf601f10d42a39834d62abf3fe62604d98d2933fea9aea496
5
5
  SHA512:
6
- metadata.gz: 699b71edf81ebf20dda976f4c8b164daff31cbb496255e9436023da24fb712ca890741044fe6051aaf32bf15e2fb01956a8a54fe1a3b1e28fd5267678246cf81
7
- data.tar.gz: 350f5e84f98c702ba9de1d567bfbddf11cf8e108e82577067d6a0aaa5cfb1379847a40500696038ee514515090363ccc1305e074ecd569629d420ea614cd9e8a
6
+ metadata.gz: 61273eb70c4bf06bcd678762824ddd8ff5d2f4f55cffa7c7bd0ff2830293abf0297df25b2fe05c38a78f54e8c5a417aa8eeda7cf9927434718b7baba88575bfe
7
+ data.tar.gz: cd48e5edea52e6199a17e679ecd998fd8a40ecafd84f120e21b378021f851729f966a952ac73ad9d18c3970cbe66c43f3a5056ac2f1eab29f4761e96959bba92
data/CHANGELOG.md CHANGED
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 0.0.3 - 2023-11-15
8
+ It should not automatically require `esse/rspec` anymore. You should require it manually in your `spec_helper.rb` file.
9
+
7
10
  ## 0.0.2 - 2023-11-15
8
11
  * Whitelist rspec >= 3.0.0
9
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- esse-rspec (0.0.2)
4
+ esse-rspec (0.0.3)
5
5
  esse (>= 0.2.4)
6
6
  rspec (>= 3)
7
7
 
data/README.md CHANGED
@@ -7,7 +7,9 @@ RSpec and testing support for [esse](https://github.com/marcosgz/esse)
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'esse-rspec'
10
+ group :test do
11
+ gem 'esse-rspec'
12
+ end
11
13
  ```
12
14
 
13
15
  And then execute:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Esse
4
4
  module RSpec
5
- VERSION = "0.0.2"
5
+ VERSION = "0.0.3"
6
6
  end
7
7
  end
data/lib/esse/rspec.rb CHANGED
@@ -10,6 +10,8 @@ module Esse
10
10
  end
11
11
  end
12
12
 
13
- ::RSpec.configure do |config|
14
- config.include Esse::RSpec::ClassMethods
13
+ if defined?(::RSpec)
14
+ ::RSpec.configure do |config|
15
+ config.include Esse::RSpec::ClassMethods
16
+ end
15
17
  end
data/lib/esse-rspec.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
-
3
- require_relative "esse/rspec"
2
+ #
3
+ # does nothing, user should require `esse/rspec` manually instead
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esse-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos G. Zimmermann