regolith 0.1.7 → 0.1.9

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: 14ff5ef3e13fd7db0c1dce737065a8b3832bb08a7421b88c516c1b24a95fc3e9
4
+ data.tar.gz: e6ebac207c79b8ce2da6d08e6909c1c39f145fa055dbc62ac5dfd2981caf18c2
5
5
  SHA512:
6
- metadata.gz: 7207d7adeeabaef32c29449a2ffc839ede85640f2b3f29c3d07db4327091d31564961c3fc0e107f314e1b2cb56baa9136bd88ef9455e0256bc6552e766db2d6c
7
- data.tar.gz: 66049d73cdec20cdf35d6146a7ae7a1a2599da965295313d5ca6824bb7128500d11ab12a7ecbc4b39fbf7af420fac0775f3191be290d6a57773233d4d9241b7b
6
+ metadata.gz: ac03fd757aa94dcad10d6b344dce2cd1003397bd62d8f31a02e9ad25a3bb01cc6048fe25456fb331e9b5702cb5748121a887839598147b6b9e9b4d11630c636d
7
+ data.tar.gz: 3af21e80246eaad9a0d2e27d125ee7265c4d2342a350a6f9e01a0890d86929d2eeb82177c6a5ff68b42e3e2a28bc512ef7c5ae215048f378ee882cf0287168f1
data/lib/regolith/cli.rb CHANGED
@@ -289,7 +289,7 @@ module Regolith
289
289
  gem "rubocop-rails-omakase", require: false
290
290
  end
291
291
 
292
- gem "regolith", path: "vendor/regolith"
292
+ gem "regolith"
293
293
  GEMFILE
294
294
  end
295
295
 
@@ -1,4 +1,4 @@
1
1
  # lib/regolith/version.rb
2
2
  module Regolith
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.9"
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.9
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