bridgetown-core 1.2.0.beta1 → 1.2.0.beta2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a6cae1de973325e00001b6c9a9f2a27879d24164727195ae53744dcc10f7f4a
|
4
|
+
data.tar.gz: 1ee4e7b77a9e25946d9daa7fc7204637559c35691b6f64475245427a49184596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfdaa601767fc44f50c11ebc40008e7b661f9dbae9aa192e3a44fe22e8fbcb5271e8cfd33f414421950eb19de4a7532ae19ffd48a31fde8a9f001385dce2c057
|
7
|
+
data.tar.gz: 1125afb5db05a07d62d4c656053d6815740aab2ee8b6050b35da33d34961cbfc6a5d970cccf2293690077b847b8c5026c819416a685ee00670fd6cf86b1406a6
|
@@ -57,7 +57,7 @@ module Bridgetown
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def builder(klass = nil, &block)
|
60
|
-
return klass.register if klass.is_a?(Bridgetown::Builder
|
60
|
+
return klass.register if klass.is_a?(Class) && klass < Bridgetown::Builder
|
61
61
|
|
62
62
|
unless klass.is_a?(Symbol)
|
63
63
|
raise "You must supply a constant symbol to register an inline builder"
|
@@ -61,7 +61,7 @@ module Bridgetown
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def self.setup_bundler(skip_yarn: false)
|
64
|
-
if !ENV["BRIDGETOWN_NO_BUNDLER_REQUIRE"] && File.file?("Gemfile")
|
64
|
+
if !ENV["BRIDGETOWN_NO_BUNDLER_REQUIRE"] && (File.file?("Gemfile") || Bridgetown.env.test?)
|
65
65
|
require "bundler"
|
66
66
|
|
67
67
|
require_relative "utils/initializers"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridgetown-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0.
|
4
|
+
version: 1.2.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bridgetown Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|