rspec-file_fixtures 0.1.2 → 0.1.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: 7e51ee7e50f2412ff8871adab3182e5e04c70dd3a6aca3c043f7bc8ce8ced4a8
4
- data.tar.gz: d5cf13e34b08bbbc0d44bf8608d9f77a9720d0c0fee9c5d48dd45dd6cf952d71
3
+ metadata.gz: c18279790c66bd029a549c0ea4445c0c0b4e90df69530aca58c23297116379e4
4
+ data.tar.gz: 359c4a1c967b8ba42309129bb3228557db85ad12ad98883860dabf42edfe5b3c
5
5
  SHA512:
6
- metadata.gz: b6a3ab956acd7209e4cf552f67d748841d2342aae85259c6163c666490e6e966ecd03913428f1e7cc8386a5b92c39e11402e6c5db35f1803901947223adc8911
7
- data.tar.gz: 076a5a07bbe0bc6e0e78ade9833478487743ad58658fa9e1b6a9fb2d590e579b70770a861c2807f173083c1f2f60fbe25942aea6ad094701dc0b4c6d65645f5f
6
+ metadata.gz: 4477a4266dd1144e6f0b0aaea2b0e6a62efe7d260c48601124fb20795c8160e57f56138ddfa7df0d5d082cdd81da969f93977fa1c620ad4ff14bffc92ccac697
7
+ data.tar.gz: d4f5ce52deb8bcb9a2a00afbd21c7472773f5481234fd94cb215f2af956eb42e1ecaf2e15aef531607d3709eb9dd2603ac1283f7dae08dfe9cfb11f572a97190
data/.gitignore CHANGED
@@ -10,3 +10,5 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  *.gem
13
+
14
+ .byebug_history
data/Gemfile CHANGED
@@ -9,7 +9,7 @@ gem 'devpack', '~> 0.3.2'
9
9
  gem 'nokogiri', '~> 1.11'
10
10
  gem 'rake', '~> 12.0'
11
11
  gem 'rspec', '~> 3.0'
12
- gem 'rspec-its', path: '../rspec-its'
12
+ gem 'rspec-its', '~> 1.3'
13
13
  gem 'rubocop', '~> 1.10'
14
14
  gem 'rubocop-rake', '~> 0.5.1'
15
15
  gem 'rubocop-rspec', '~> 2.1'
data/Gemfile.lock CHANGED
@@ -1,14 +1,7 @@
1
- PATH
2
- remote: ../rspec-its
3
- specs:
4
- rspec-its (1.3.0)
5
- rspec-core (>= 3.0.0)
6
- rspec-expectations (>= 3.0.0)
7
-
8
1
  PATH
9
2
  remote: .
10
3
  specs:
11
- rspec-file_fixtures (0.1.2)
4
+ rspec-file_fixtures (0.1.3)
12
5
  rspec (~> 3.0)
13
6
 
14
7
  GEM
@@ -20,7 +13,9 @@ GEM
20
13
  diff-lcs (1.4.4)
21
14
  i18n (1.8.9)
22
15
  concurrent-ruby (~> 1.0)
23
- nokogiri (1.11.1-x86_64-darwin)
16
+ mini_portile2 (2.5.0)
17
+ nokogiri (1.11.1)
18
+ mini_portile2 (~> 2.5.0)
24
19
  racc (~> 1.4)
25
20
  paint (2.2.1)
26
21
  parallel (1.20.1)
@@ -40,6 +35,9 @@ GEM
40
35
  rspec-expectations (3.10.1)
41
36
  diff-lcs (>= 1.2.0, < 2.0)
42
37
  rspec-support (~> 3.10.0)
38
+ rspec-its (1.3.0)
39
+ rspec-core (>= 3.0.0)
40
+ rspec-expectations (>= 3.0.0)
43
41
  rspec-mocks (3.10.2)
44
42
  diff-lcs (>= 1.2.0, < 2.0)
45
43
  rspec-support (~> 3.10.0)
@@ -75,7 +73,7 @@ DEPENDENCIES
75
73
  rake (~> 12.0)
76
74
  rspec (~> 3.0)
77
75
  rspec-file_fixtures!
78
- rspec-its!
76
+ rspec-its (~> 1.3)
79
77
  rubocop (~> 1.10)
80
78
  rubocop-rake (~> 0.5.1)
81
79
  rubocop-rspec (~> 2.1)
data/Makefile CHANGED
@@ -1,5 +1,8 @@
1
1
  .PHONY: all
2
- all:
2
+ all: test
3
+
4
+ .PHONY: test
5
+ test:
3
6
  bundle exec rspec
4
7
  bundle exec rubocop
5
8
  bundle exec strong_versions
data/README.md CHANGED
@@ -7,7 +7,7 @@ A simple and convenient file fixture loader for [_RSpec_](https://rspec.info/).
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'rspec-file_fixtures', '~> 0.1.2'
10
+ gem 'rspec-file_fixtures', '~> 0.1.3'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -24,6 +24,8 @@ module RSpecFileFixtures
24
24
 
25
25
  def path
26
26
  pathname.realpath.to_s
27
+ rescue Errno::ENOENT
28
+ pathname.expand_path.to_s
27
29
  end
28
30
 
29
31
  def json
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RSpecFileFixtures
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-file_fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec