esse-rspec 0.0.1 → 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: aeeba40267c5b5b1dbda8172ae71c3240fe5a1ffab9c7f9f7d0124d8a374aabe
4
- data.tar.gz: 062bcb563387b34138a01286464093d32fa92dc6143170ed61b628d9e6d4b8f4
3
+ metadata.gz: 97f5b2d2ce2ec86c915c41999b883834b103096c62977767ec45bc7ded85cb69
4
+ data.tar.gz: 656757868411fa3bf601f10d42a39834d62abf3fe62604d98d2933fea9aea496
5
5
  SHA512:
6
- metadata.gz: e8112a8b570dfec71fdba8328db731884aa1de77a3409fb220fccc8b42c8483f523f5feee5b840c1fd35a5f4ef898fe4e4b7f4ebae2f0e1d753f8d15d652b3e5
7
- data.tar.gz: 01e7c324f337dd2d790f332f304bcdb6f23fcf663f5cf0658c1ac99f399f771c55b1b6baec1f7db2b3514e430ff163203ac3325d77dc209f6a9c711f748c12c1
6
+ metadata.gz: 61273eb70c4bf06bcd678762824ddd8ff5d2f4f55cffa7c7bd0ff2830293abf0297df25b2fe05c38a78f54e8c5a417aa8eeda7cf9927434718b7baba88575bfe
7
+ data.tar.gz: cd48e5edea52e6199a17e679ecd998fd8a40ecafd84f120e21b378021f851729f966a952ac73ad9d18c3970cbe66c43f3a5056ac2f1eab29f4761e96959bba92
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ 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
+
10
+ ## 0.0.2 - 2023-11-15
11
+ * Whitelist rspec >= 3.0.0
12
+
7
13
  ## 0.0.1 - 2023-11-15
8
14
  The first release of the Esse::RSpec
9
15
  * stub_esse_class helper
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- esse-rspec (0.0.1)
4
+ esse-rspec (0.0.3)
5
5
  esse (>= 0.2.4)
6
- rspec (~> 3.12)
6
+ rspec (>= 3)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
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.1"
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.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos G. Zimmermann
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '3.12'
33
+ version: '3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '3.12'
40
+ version: '3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement