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 +4 -4
- data/lib/regolith/cli.rb +1 -1
- data/lib/regolith/version.rb +1 -1
- data/lib/regolith.rb +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be2c1a476e3dcd6436bdfd80300d806a47e3361aed6c9668393d6b3c77042ed3
|
4
|
+
data.tar.gz: 61c72ab50aada1c9c3da9d5880f041b68ffbe1cde2ebe739dabd3388d4231b57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35fb5890cfc36e7ff023c3a851a7b858ad72c5f6aef35c0a9df1a5d163b0d74daffca5f4cc9fd9004da15a12a9a6edb529a4decc3ea73604c07e036647acc702
|
7
|
+
data.tar.gz: 5b079747e5cfb664a2e1399213bd4580c377567e9cb5f967aa749b8d6e12b306d6eb3218d8a36d30aa999c12516881233bff99fb0d63a7ea15f0a7c3fd3e99e4
|
data/lib/regolith/cli.rb
CHANGED
data/lib/regolith/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2025-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|