foobara 0.0.40 → 0.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f41a89aeb647d26d212e2307c71f8de476f2920cbd5ba32707cce099087562ee
4
- data.tar.gz: 873ef3c53d25f4ee069892a9a2943b8a7e0d8f4e6d2e8bfb78890d01b3016061
3
+ metadata.gz: cda698679edac42fcee6ab465b327133ffa4f4e434feace0de447c177622d606
4
+ data.tar.gz: 923e1d3e3c5eae09e16da7b256bb471e0656b2f76719c63d5ff105cc31283d8e
5
5
  SHA512:
6
- metadata.gz: 9e8cb39793b95d47aaa8bdc4e49eccd5feb41207ef41e0c2444c63328e13a00c7199e9bd0a5f977d4cf2bb483063ec32a091bd7e7953dd615913feacef7b30c5
7
- data.tar.gz: 33c727eb4cf515997e3dd940e5c3ca767b44217308d5500e9dafd18c175c3979dc0d364cae6919302540b047f1903316a873d1fbc8176276966c9b3e46b89a51
6
+ metadata.gz: c6b9d3ee2509a34e40c114f6558199d80c4b5408b7614200fab48cd19e2328eafaf2a73956d4a31a686a5cdda49e3615af3737638df4412467f99ed2ff7c9013
7
+ data.tar.gz: 71f4f90c3d98e638d722cc47f5a821b2bba17c257ada30a77769bd6f4d62abff84c775cbc1dc99f4e065939f14a488782eb34994fc2e097f07604c3272cc0eb4
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## [0.0.40] - 2024-12-19
1
+ ## [0.0.41] - 2024-12-19
2
2
 
3
3
  - Allow marking a project as a project from outside of the monorepo
4
4
 
@@ -7,9 +7,9 @@ module Foobara
7
7
 
8
8
  # TODO: we should move these concepts out of "Monorepo" and maybe into Foobara because we sometimes need to
9
9
  # be able to install!/reset foobara code that's been extracted into a gem
10
- def initialize(symbol, project_path: "#{__dir__}/../../../../../projects/#{symbol}")
10
+ def initialize(symbol, project_path: nil)
11
11
  self.symbol = symbol
12
- self.project_path = project_path
12
+ self.project_path = project_path || "#{__dir__}/../../../../../projects/#{symbol}"
13
13
  end
14
14
 
15
15
  def require_path
@@ -27,14 +27,14 @@ module Foobara
27
27
  end
28
28
  end
29
29
 
30
- def project(symbol)
30
+ def project(symbol, project_path: nil)
31
31
  if all_projects.key?(symbol)
32
32
  # :nocov:
33
33
  raise ArgumentError, "Project #{symbol} already loaded"
34
34
  # :nocov:
35
35
  end
36
36
 
37
- project = Project.new(symbol)
37
+ project = Project.new(symbol, project_path:)
38
38
  project.load
39
39
 
40
40
  all_projects[symbol] = project
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  original_platform: ''
7
7
  authors: