inheritable_fixtures 0.1.1 → 0.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
  SHA1:
3
- metadata.gz: 9cc89a34c526032c1edfd84d12ae2466dae3e882
4
- data.tar.gz: 7a784856afb626b8e8a530d8158699f22a6a33c8
3
+ metadata.gz: c4d5c0d773db77d64c60d34898ea2af61196308d
4
+ data.tar.gz: 391c5c79d9868305926653d6fcdb4069c7a699d6
5
5
  SHA512:
6
- metadata.gz: dced53ba7d393d636c97aec29199f87e2c2c3cb876dc30deb3b432a71c31d9931630d1d724b8acf94cf5fa1635af19229a2a8eb7095c70169602f6f8bf476042
7
- data.tar.gz: d05ea42b1f1785b4bf65f7ba22276a7ff04b50fd21a0198a25cb95be0a51aa8813957dc70e81972e82943ef4f79ed92fe622cc5c5083f04c60b4e32d3acc5887
6
+ metadata.gz: 2f1d75012b022b1c5bef1498545098d99039184d8493fcfd2a7c6e6570e5709f2b2e0f2d04623363c62877df995420f3fa9d2e90a204914462f2f27052f717bd
7
+ data.tar.gz: 0568d5092d8609a4b7d1fd93596330423a64ee0e2247a2d42c65dcb7d963211344dc65eb69870352e5352f56080100110d635512ae876c4ad0548cf916c2dc9c
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
3
  /Gemfile.lock
4
+ /gemfiles/*.lock
4
5
  /_yardoc/
5
6
  /coverage/
6
7
  /doc/
@@ -4,7 +4,8 @@ module InheritableFixtures
4
4
  def self.included(target)
5
5
  target.class_eval do
6
6
  initializer :append_fixtures_paths, group: :all do |app|
7
- app.config.fixtures_paths.unshift(*paths["lib/test/fixtures"].existent_directories)
7
+ fixtures_path = root.join('lib', name.underscore, 'test', 'fixtures').to_s
8
+ app.config.fixtures_paths.unshift(fixtures_path) if File.exists?(fixtures_path)
8
9
  end
9
10
  end
10
11
  end
@@ -1,3 +1,3 @@
1
1
  module InheritableFixtures
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inheritable_fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Kmiec