Skip to content

Commit

Permalink
fix: resolve install issues with Bundler
Browse files Browse the repository at this point in the history
by making `bridgetown-foundation` a direct dependency of `bridgetown`, relocating versioning responsibility to foundation gem
  • Loading branch information
jaredcwhite committed Aug 18, 2024
1 parent a84ef9f commit 50147ea
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 42 deletions.
23 changes: 12 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
PATH
remote: bridgetown-builder
specs:
bridgetown-builder (2.0.0.beta1)
bridgetown-core (= 2.0.0.beta1)
bridgetown-builder (2.0.0.beta2)
bridgetown-core (= 2.0.0.beta2)

PATH
remote: bridgetown-core
specs:
bridgetown-core (2.0.0.beta1)
bridgetown-core (2.0.0.beta2)
activesupport (>= 6.0, < 8.0)
addressable (~> 2.4)
amazing_print (~> 1.2)
bridgetown-foundation (= 2.0.0.beta1)
bridgetown-foundation (= 2.0.0.beta2)
csv (~> 3.2)
dry-inflector (>= 1.0)
erubi (~> 1.9)
Expand All @@ -37,24 +37,25 @@ PATH
PATH
remote: bridgetown-foundation
specs:
bridgetown-foundation (2.0.0.beta1)
bridgetown-foundation (2.0.0.beta2)
hash_with_dot_access (~> 2.0)
inclusive (~> 1.0)
zeitwerk (~> 2.5)

PATH
remote: bridgetown-paginate
specs:
bridgetown-paginate (2.0.0.beta1)
bridgetown-core (= 2.0.0.beta1)
bridgetown-paginate (2.0.0.beta2)
bridgetown-core (= 2.0.0.beta2)

PATH
remote: bridgetown
specs:
bridgetown (2.0.0.beta1)
bridgetown-builder (= 2.0.0.beta1)
bridgetown-core (= 2.0.0.beta1)
bridgetown-paginate (= 2.0.0.beta1)
bridgetown (2.0.0.beta2)
bridgetown-builder (= 2.0.0.beta2)
bridgetown-core (= 2.0.0.beta2)
bridgetown-foundation (= 2.0.0.beta2)
bridgetown-paginate (= 2.0.0.beta2)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-builder/bridgetown-builder.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "../bridgetown-core/lib/bridgetown-core/version"
require_relative "../bridgetown-foundation/lib/bridgetown/version"

Gem::Specification.new do |spec|
spec.name = "bridgetown-builder"
Expand Down
1 change: 0 additions & 1 deletion bridgetown-builder/lib/bridgetown-builder.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "bridgetown-core"
require "bridgetown-core/version"

module Bridgetown
module Builders
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-core/bridgetown-core.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "lib/bridgetown-core/version"
require_relative "../bridgetown-foundation/lib/bridgetown/version"

Gem::Specification.new do |s|
s.name = "bridgetown-core"
Expand Down
4 changes: 2 additions & 2 deletions bridgetown-foundation/bridgetown-foundation.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# frozen_string_literal: true

require_relative "lib/bridgetown/foundation/version"
require_relative "lib/bridgetown/version"

Gem::Specification.new do |spec|
spec.name = "bridgetown-foundation"
spec.version = Bridgetown::Foundation::VERSION
spec.version = Bridgetown::VERSION
spec.author = "Bridgetown Team"
spec.email = "[email protected]"
spec.summary = "Ruby language extensions and other utilities useful for the Bridgetown ecosystem"
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-foundation/lib/bridgetown-foundation.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "bridgetown/foundation/version"
require "bridgetown/version"
require "hash_with_dot_access"
require "inclusive"
require "zeitwerk"
Expand Down
8 changes: 0 additions & 8 deletions bridgetown-foundation/lib/bridgetown/foundation/version.rb

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

module Bridgetown
VERSION = "2.0.0.beta1"
VERSION = "2.0.0.beta2"
CODE_NAME = "(TBD!)"
end
2 changes: 1 addition & 1 deletion bridgetown-paginate/bridgetown-paginate.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "../bridgetown-core/lib/bridgetown-core/version"
require_relative "../bridgetown-foundation/lib/bridgetown/version"

Gem::Specification.new do |spec|
spec.name = "bridgetown-paginate"
Expand Down
1 change: 0 additions & 1 deletion bridgetown-paginate/lib/bridgetown-paginate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#################################################

require "bridgetown-core"
require "bridgetown-core/version"

module Bridgetown
module Paginate
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-routes/bridgetown-routes.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "../bridgetown-core/lib/bridgetown-core/version"
require_relative "../bridgetown-foundation/lib/bridgetown/version"

Gem::Specification.new do |spec|
spec.name = "bridgetown-routes"
Expand Down
23 changes: 12 additions & 11 deletions bridgetown-website/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
PATH
remote: ../bridgetown-builder
specs:
bridgetown-builder (2.0.0.beta1)
bridgetown-core (= 2.0.0.beta1)
bridgetown-builder (2.0.0.beta2)
bridgetown-core (= 2.0.0.beta2)

PATH
remote: ../bridgetown-core
specs:
bridgetown-core (2.0.0.beta1)
bridgetown-core (2.0.0.beta2)
activesupport (>= 6.0, < 8.0)
addressable (~> 2.4)
amazing_print (~> 1.2)
bridgetown-foundation (= 2.0.0.beta1)
bridgetown-foundation (= 2.0.0.beta2)
csv (~> 3.2)
dry-inflector (>= 1.0)
erubi (~> 1.9)
Expand All @@ -37,24 +37,25 @@ PATH
PATH
remote: ../bridgetown-foundation
specs:
bridgetown-foundation (2.0.0.beta1)
bridgetown-foundation (2.0.0.beta2)
hash_with_dot_access (~> 2.0)
inclusive (~> 1.0)
zeitwerk (~> 2.5)

PATH
remote: ../bridgetown-paginate
specs:
bridgetown-paginate (2.0.0.beta1)
bridgetown-core (= 2.0.0.beta1)
bridgetown-paginate (2.0.0.beta2)
bridgetown-core (= 2.0.0.beta2)

PATH
remote: ../bridgetown
specs:
bridgetown (2.0.0.beta1)
bridgetown-builder (= 2.0.0.beta1)
bridgetown-core (= 2.0.0.beta1)
bridgetown-paginate (= 2.0.0.beta1)
bridgetown (2.0.0.beta2)
bridgetown-builder (= 2.0.0.beta2)
bridgetown-core (= 2.0.0.beta2)
bridgetown-foundation (= 2.0.0.beta2)
bridgetown-paginate (= 2.0.0.beta2)

GEM
remote: https://rubygems.org/
Expand Down
3 changes: 2 additions & 1 deletion bridgetown/bridgetown.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "../bridgetown-core/lib/bridgetown-core/version"
require_relative "../bridgetown-foundation/lib/bridgetown/version"

Gem::Specification.new do |s|
s.name = "bridgetown"
Expand All @@ -26,6 +26,7 @@ Gem::Specification.new do |s|

s.add_dependency("bridgetown-builder", Bridgetown::VERSION)
s.add_dependency("bridgetown-core", Bridgetown::VERSION)
s.add_dependency("bridgetown-foundation", Bridgetown::VERSION)
s.add_dependency("bridgetown-paginate", Bridgetown::VERSION)
s.metadata["rubygems_mfa_required"] = "true"
end
1 change: 0 additions & 1 deletion bridgetown/lib/bridgetown.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "bridgetown-core"
require "bridgetown-core/version"

# Load additional monorepo gems
require "bridgetown-builder"
Expand Down

0 comments on commit 50147ea

Please sign in to comment.