docker_rails_proxy 0.2.3 → 0.2.4

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: a5819c64cc069f6c72b3bc21c5aaeab20d328ff6d52fd55d4563f7ecb10ede4d
4
- data.tar.gz: 5ca639cd06e1b88e618b2a877db695609e91aecfaecdb8dbc91e2ca2c735ed2e
3
+ metadata.gz: 873a065cab149074c38e094de0a69f8c7950c1e3a91d6caf7a4caee810e926a7
4
+ data.tar.gz: c03370b0ae15790291cbd9ac9fd3f00290f181c2ad78aab345bce9a613104498
5
5
  SHA512:
6
- metadata.gz: 4dd69e7851a48e3b577a13f6514f41f750396370908118fe02f4e1fac613b6992d51c696e5dc32e7444f94cd5dc5188925b1618f078c408da7eb5611a1491f8d
7
- data.tar.gz: 02da3a720928ffccb54bfc7331c27a72bed11c9e5c07c627ec701f08929e02c487871a2b91c0b5a7672261705271fb74d391788e766a6fae054fc160b855aa8d
6
+ metadata.gz: 1bba82f568174c4337fbadc1bc56326ec3d4d42a8845361838b171e9aad9faff53269fedb64e4ff88c99a0adeb23af890715799fb98708b415ae4c20d6630590
7
+ data.tar.gz: 8281e2ccd0a694134903cf80de6e40b9533dcb12549a7ed0194657a2649bfcdbceb1349fa8aac5f49784783ad61fb2790fbeab7da40dea8a1561ca3593e3511c
@@ -36,7 +36,7 @@ module DockerRailsProxy
36
36
  def _rsync_host
37
37
  @_rsync_host ||= begin
38
38
  ip = ENV.fetch('DOCKER_HOST') { '127.0.0.1' }.to_s.sub('tcp://', '').sub(/:\d+$/, '')
39
- port = '10873'
39
+ port = ENV.fetch('RSYNC_PORT') { '10873' }
40
40
 
41
41
  loop do
42
42
  break if (port = %x(kubectl get svc "#{APP_NAME}" -o jsonpath='{.spec.ports[?(@.name=="rsync")].nodePort}' 2> /dev/null).strip).present?
@@ -1,3 +1,3 @@
1
1
  module DockerRailsProxy
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker_rails_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jairo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-10-06 00:00:00.000000000 Z
12
+ date: 2022-02-01 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Configures docker-compose and provides rails command helpers
15
15
  email:
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.2.17
79
+ rubygems_version: 3.2.15
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: docker, docker-compose and rails wrapper