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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d01e1a9806a945e7b31002083f917ce6879392eb6238d0e26558a81f567b9b4
4
- data.tar.gz: 004dac72cc30a68a8cd21bdc4be8b11aa7e28c7b6f9a45b9bfd83e94043008cc
3
+ metadata.gz: 911ce0a7cef992d7d2f3444a8af8b4a048607b7bc7ab1654f4f393ae0f99601b
4
+ data.tar.gz: a140ca4dab194b1baa95af251caf6932451626f385e9461728818b962c6b45de
5
5
  SHA512:
6
- metadata.gz: 9a60c29f02ec15e8297b1c46a72a1a6b0c95cf6756f48dfa99929fd67bba81588cd5fc7d0bd8e1c2117c8a7eefbbc79b57234785af301908c274d9ca57d40a23
7
- data.tar.gz: d585de3c2d5eccd3fef396a54701457021beb05422042d4f5facd1f51ed151b63c946bf817f1b1872ac4adc0fbc63b21b990fc1dc64ecf70708bd4d8229caf45
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
@@ -1,3 +1,3 @@
1
1
  module CloudCompose
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  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.0
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