regolith 0.1.7 → 0.1.8

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: 97bab0313933e45aa035d1cb3784d40e3a8097511d0bc3864335929797a693d4
4
- data.tar.gz: '09931c7ba3029d85bbb1b9539a0677db89d3930fca412ecfb87d3c0e952a6f3e'
3
+ metadata.gz: be2c1a476e3dcd6436bdfd80300d806a47e3361aed6c9668393d6b3c77042ed3
4
+ data.tar.gz: 61c72ab50aada1c9c3da9d5880f041b68ffbe1cde2ebe739dabd3388d4231b57
5
5
  SHA512:
6
- metadata.gz: 7207d7adeeabaef32c29449a2ffc839ede85640f2b3f29c3d07db4327091d31564961c3fc0e107f314e1b2cb56baa9136bd88ef9455e0256bc6552e766db2d6c
7
- data.tar.gz: 66049d73cdec20cdf35d6146a7ae7a1a2599da965295313d5ca6824bb7128500d11ab12a7ecbc4b39fbf7af420fac0775f3191be290d6a57773233d4d9241b7b
6
+ metadata.gz: 35fb5890cfc36e7ff023c3a851a7b858ad72c5f6aef35c0a9df1a5d163b0d74daffca5f4cc9fd9004da15a12a9a6edb529a4decc3ea73604c07e036647acc702
7
+ data.tar.gz: 5b079747e5cfb664a2e1399213bd4580c377567e9cb5f967aa749b8d6e12b306d6eb3218d8a36d30aa999c12516881233bff99fb0d63a7ea15f0a7c3fd3e99e4
data/lib/regolith/cli.rb CHANGED
@@ -1165,4 +1165,4 @@ module Regolith
1165
1165
  HELP
1166
1166
  end
1167
1167
  end
1168
- end
1168
+ end
@@ -1,4 +1,4 @@
1
1
  # lib/regolith/version.rb
2
2
  module Regolith
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
data/lib/regolith.rb CHANGED
@@ -4,7 +4,6 @@ require 'active_model'
4
4
  require 'net/http'
5
5
  require 'json'
6
6
  require 'yaml'
7
-
8
7
  require_relative 'regolith/version'
9
8
  require_relative 'regolith/service_client'
10
9
  require_relative 'regolith/regolith_association'
@@ -16,17 +15,17 @@ module Regolith
16
15
  def configure
17
16
  yield(configuration)
18
17
  end
19
-
18
+
20
19
  def configuration
21
20
  @configuration ||= Configuration.new
22
21
  end
23
-
22
+
24
23
  def service_registry
25
24
  @service_registry ||= load_service_registry
26
25
  end
27
-
26
+
28
27
  private
29
-
28
+
30
29
  def load_service_registry
31
30
  if defined?(Rails) && Rails.application.config.respond_to?(:regolith)
32
31
  registry_path = Rails.application.config.regolith.service_registry
@@ -40,12 +39,13 @@ module Regolith
40
39
  end
41
40
  end
42
41
  end
43
-
42
+
44
43
  class Configuration
45
- attr_accessor :service_name, :service_port, :timeout
46
-
44
+ attr_accessor :service_name, :service_port, :timeout, :default_port # Add default_port here
45
+
47
46
  def initialize
48
47
  @timeout = 30
48
+ @default_port = 3001 # Add this line
49
49
  end
50
50
  end
51
51
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regolith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Regolith Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-08 00:00:00.000000000 Z
11
+ date: 2025-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport