cloud_compose 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/cloud-compose +17 -0
- data/lib/cloud_compose/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 911ce0a7cef992d7d2f3444a8af8b4a048607b7bc7ab1654f4f393ae0f99601b
|
4
|
+
data.tar.gz: a140ca4dab194b1baa95af251caf6932451626f385e9461728818b962c6b45de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b28093b6baf4811a934554a76bed2bb8733628ea7e8f3f5b58d77173a5fb1cc561435b3466195cbe851d12a548c2b22ce8c8745756ad805fa185a179b75116c
|
7
|
+
data.tar.gz: 99f7e122d7b1729c406abb88ec26c7fcf7358a202c0ac6ad2ae925b64d6213bdb2a965e3e264ed847b7c3839c3dc5ce5c9d0b05ea434b9f13ac3bf379d60703a
|
data/exe/cloud-compose
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'cloud_compose'
|
4
|
+
|
5
|
+
command = ARGV.shift
|
6
|
+
|
7
|
+
case command
|
8
|
+
when 'build'
|
9
|
+
input_file_path = File.expand_path(ARGV.shift)
|
10
|
+
output_file_path = File.expand_path(ARGV.shift || './') + '/' + File.basename(input_file_path)
|
11
|
+
|
12
|
+
template = CloudCompose::Template.new(input_file_path, File.expand_path('.'))
|
13
|
+
File.open(output_file_path, 'w') { |f| f.write(template.to_s) }
|
14
|
+
else
|
15
|
+
STDERR.puts "Unknown Command #{command}"
|
16
|
+
exit(1)
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloud_compose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maddie Schipper
|
@@ -97,12 +97,14 @@ dependencies:
|
|
97
97
|
description: ''
|
98
98
|
email:
|
99
99
|
- me@maddiesch.com
|
100
|
-
executables:
|
100
|
+
executables:
|
101
|
+
- cloud-compose
|
101
102
|
extensions: []
|
102
103
|
extra_rdoc_files: []
|
103
104
|
files:
|
104
105
|
- README.md
|
105
106
|
- Rakefile
|
107
|
+
- exe/cloud-compose
|
106
108
|
- lib/cloud_compose.rb
|
107
109
|
- lib/cloud_compose/config.rb
|
108
110
|
- lib/cloud_compose/parser.rb
|