tapioca 0.8.2 → 0.8.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: 257d63c47e53a94353682ff56b8e1a347971112fe9602913e06abea54c216b32
4
- data.tar.gz: f342e9ab5b67975dcc529339310102b7005888b8cd0ea4b1cd09c85d6c348495
3
+ metadata.gz: bb8747fff200d370504c4ae3119ab567335b4dc6b02a163a50217084a66bbe0d
4
+ data.tar.gz: 551715f2806d1038d4ed4d7ac9f23e7ca31051a8db153cf854878ad1aa529510
5
5
  SHA512:
6
- metadata.gz: c01492305d2a5c12b7d79fb684a8e99b15614f2c4985d6d5abae67a44f1e258b4203c234b5ec82a96876cfdcaf014667a0e754f054885a22dbb8c249523f792d
7
- data.tar.gz: ccd6065fad0555a596b6fb66907eaef19aabf7f5a14ef47b768d60c77ee01a2c340a367911d5cd1382a8a07822ed2e2e22f46b2c8d7192aefcd18936d1b03375
6
+ metadata.gz: 1a854413aaaa4f50464fd5be89cfd5de4770f9468a70627e8af556d2c953a0b1e4f86901a1907bebf8f367c2d94429bd52fe38ae977797582e1bf2e35432f00b
7
+ data.tar.gz: 00671d2d35d2e40fd7f2761c7e7b4994bb88b051311520b042fc950c0f1ce8c62017a8e79605f4397819f2233cb5c4342fe03f8f65b39c3fd25ca71e56a31db1
@@ -55,11 +55,12 @@ module Tapioca
55
55
 
56
56
  safe_require("active_support/core_ext/class/subclasses")
57
57
 
58
+ project_path = Bundler.default_gemfile.parent.expand_path
58
59
  # We can use `Class#descendants` here, since we know Rails is loaded
59
60
  Object.const_get("Rails::Engine")
60
61
  .descendants
61
62
  .reject(&:abstract_railtie?)
62
- .reject { |engine| gem_in_app_dir?(Rails.root.to_path, engine.config.root.to_path) }
63
+ .reject { |engine| gem_in_app_dir?(project_path, engine.config.root.to_path) }
63
64
  end
64
65
 
65
66
  sig { params(path: String).void }
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Tapioca
5
- VERSION = "0.8.2"
5
+ VERSION = "0.8.3"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tapioca
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ufuk Kayserilioglu
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2022-06-27 00:00:00.000000000 Z
14
+ date: 2022-06-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler