mimas 0.8.2 → 0.8.3
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/mimas/scripts/install_caddy.sh +4 -0
- data/lib/mimas/site/archive.rb +1 -1
- data/lib/mimas/site.rb +3 -3
- data/lib/mimas/version.rb +1 -1
- 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: a7a87a0bc4e5c7cbf3ec90a14eca8767594ae0ef7897fcd69dbee5267d07b3bd
|
|
4
|
+
data.tar.gz: 77fa055ae4d4ab8834d72177f6e2e1c2b0942d649576c5022ef630dbd4c8e6a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49426e2b9761425e404d00fa1ac4aba1eb5379c12c17896efb8c691760751b8e7130ec33809c7d29ceaf32c588a04e461458dc36c1991f928f6ab6d85be1dec3
|
|
7
|
+
data.tar.gz: f70ded0541067742d694c869e4abc7973a36b48fc27c779b5484ef7c55bc4d339c2f74af09f96dab8c8bc7162158bf67c7b4c094d5859c313d8d22f2e46abd88
|
data/lib/mimas/site/archive.rb
CHANGED
|
@@ -5,7 +5,7 @@ module Mimas
|
|
|
5
5
|
if self.ruby_app?
|
|
6
6
|
Archiver.new(output_file: filename, files: files.call).package
|
|
7
7
|
else
|
|
8
|
-
Archiver.new(root: root_dir, output_file: filename, archive_root: "root", glob: glob, files: files).package
|
|
8
|
+
Archiver.new(root: root_dir, output_file: filename, archive_root: "root", glob: glob, files: files.call).package
|
|
9
9
|
end
|
|
10
10
|
end
|
|
11
11
|
end
|
data/lib/mimas/site.rb
CHANGED
|
@@ -30,7 +30,7 @@ module Mimas
|
|
|
30
30
|
|
|
31
31
|
# Placeholder, will be overwritten by the config file if defined
|
|
32
32
|
def files
|
|
33
|
-
|
|
33
|
+
->() {}
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def validate!
|
|
@@ -39,7 +39,7 @@ module Mimas
|
|
|
39
39
|
|
|
40
40
|
if ruby_app?
|
|
41
41
|
raise Config::InvalidConfiguration.new("`site` requires a `files` directive") \
|
|
42
|
-
unless self.files != nil
|
|
42
|
+
unless self.files.call != nil
|
|
43
43
|
|
|
44
44
|
services.values.each do |service|
|
|
45
45
|
raise Config::InvalidConfiguration.new("#{service[:name]} service requires a `command` directive") \
|
|
@@ -50,7 +50,7 @@ module Mimas
|
|
|
50
50
|
unless self.respond_to?(:root_dir)
|
|
51
51
|
|
|
52
52
|
raise Config::InvalidConfiguration.new("`site` requires a `files` or `glob` directive") \
|
|
53
|
-
unless self.glob != nil || self.files != nil
|
|
53
|
+
unless self.glob != nil || self.files.call != nil
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
true
|
data/lib/mimas/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mimas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ayush Newatia
|
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
174
174
|
- !ruby/object:Gem::Version
|
|
175
175
|
version: '0'
|
|
176
176
|
requirements: []
|
|
177
|
-
rubygems_version: 4.0.
|
|
177
|
+
rubygems_version: 4.0.23
|
|
178
178
|
specification_version: 4
|
|
179
179
|
summary: Deploy Ruby apps to a single server using an omakase setup
|
|
180
180
|
test_files: []
|