docker_rails_proxy 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -2
- data/lib/docker_rails_proxy/commands/compose/up.rb +1 -1
- data/lib/docker_rails_proxy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98b9f9e25dcf02786098bb4bf02d6500d2f9ceda8b09748c9329c189cc1e7aff
|
4
|
+
data.tar.gz: 401719cebba7fb6ebdbdcce68a429a72e6cd08f40fb7370e5b67fdcabb853dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 778c86cefe3d85ccddcad19e175ef1b125c285179031537713b2a76d88b7b9debb92d584d143845f8e10328d42cb5cb6719687c36b6f2ede06071cdb193556f9
|
7
|
+
data.tar.gz: 36540e3a5760aea87fad7a5ceedb84c1f75af168b6dfeff503a51d320dbc36b93827453df1d5bd444eeb9cec91ddb3c2e48f9afd7a2e1e7ccb92203217f1ea29
|
data/README.md
CHANGED
@@ -1,6 +1,28 @@
|
|
1
1
|
### To release a new version
|
2
2
|
|
3
|
-
|
3
|
+
**Test locally**
|
4
|
+
|
5
|
+
change the version on `lib/docker_rails_proxy/version.rb`
|
6
|
+
|
7
|
+
and build the gem
|
8
|
+
|
9
|
+
```
|
10
|
+
gem build docker_rails_proxy.gemspec [ruby-2.6.3]
|
11
|
+
Successfully built RubyGem
|
12
|
+
Name: docker_rails_proxy
|
13
|
+
Version: 0.1.13
|
14
|
+
File: docker_rails_proxy-0.1.13.gem
|
15
|
+
```
|
16
|
+
|
17
|
+
on the repo when you want to test, i.e `~/Projects/Eureka`
|
18
|
+
|
19
|
+
install the local gem
|
20
|
+
|
21
|
+
```
|
22
|
+
gem install docker_rails_proxy -l ~/Projects/docker_rails_proxy/docker_rails_proxy-0.1.13.gem
|
23
|
+
```
|
24
|
+
|
25
|
+
Once it's ready, create the tag and push
|
4
26
|
|
5
27
|
**Git Tag**
|
6
28
|
```bash
|
@@ -12,6 +34,5 @@ git push origin v0.0.1
|
|
12
34
|
|
13
35
|
The user on rubygems.org is eureaktechteam@gmail.com. Credentials are in 1password "Eureka Tech" vault
|
14
36
|
```bash
|
15
|
-
gem build docker_rails_proxy.gemspec
|
16
37
|
gem push docker_rails_proxy-0.0.1.gem
|
17
38
|
```
|
@@ -37,7 +37,7 @@ module DockerRailsProxy
|
|
37
37
|
self.from_scratch = if docker_compose?
|
38
38
|
%x(docker-compose ps | grep -c #{APP_NAME}).to_i.zero?
|
39
39
|
elsif kubernetes?
|
40
|
-
%x(kubectl get
|
40
|
+
%x(kubectl get deployment #{APP_NAME} -o name).empty?
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
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.1.
|
4
|
+
version: 0.1.13
|
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: 2019-
|
12
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Configures docker-compose and provides rails command helpers
|
15
15
|
email:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.0.
|
78
|
+
rubygems_version: 3.0.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: docker, docker-compose and rails wrapper
|