rumination 0.10.4 → 0.10.5
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/rumination/deploy/base.rb +5 -0
- data/lib/rumination/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9976de5b7b03837bf5e67a24147cb36293a1233
|
4
|
+
data.tar.gz: 4607f31d6577372fdc172c52bf409ed2d02b52e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa18f366729fcea03eaaca8eff8bf0280bd3fdfa0594274a6c0a03b4d84f6c5d1c9b7fdee9d36b01728f1ddef9facf3ee75ac6281c8c1a04e9040ff86149bae4
|
7
|
+
data.tar.gz: e96d64173834371e1b361e60b2431854e5dab3a1289c7863719fcf59c6c1e67c332cc565f970dd9162f6d247375da22f468566e12ef504ad226584c084f6af6b
|
@@ -27,6 +27,7 @@ module Rumination
|
|
27
27
|
def call
|
28
28
|
setup_outside_env
|
29
29
|
DockerCompose.build.down("--remove-orphans").up
|
30
|
+
app_container.run("bundle install") if cached_gems?
|
30
31
|
yield if block_given?
|
31
32
|
app_container.run("rake deploy:unload[#{target}]")
|
32
33
|
raise DeployError unless $? == 0
|
@@ -123,6 +124,10 @@ module Rumination
|
|
123
124
|
def app_container
|
124
125
|
container(app_container_name)
|
125
126
|
end
|
127
|
+
|
128
|
+
def cached_gems?
|
129
|
+
target.to_sym == :development
|
130
|
+
end
|
126
131
|
end
|
127
132
|
end
|
128
133
|
end
|
data/lib/rumination/version.rb
CHANGED