flynn-cli-tools 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: 2540dd07c00872bda8a1b08390ad7c94f1cd2895
4
- data.tar.gz: bc4d1fbeb24624f2cca6315b1d4723ed7fbffa6c
3
+ metadata.gz: a0378961de36764cb9cae7928d769b8f6e53ace8
4
+ data.tar.gz: 63df1c0dcde50dac55f756a5152234d2bfdb2055
5
5
  SHA512:
6
- metadata.gz: 07ac8c92301bda249cb4504b6cf6145e8b4e08878db195728615f82bf8ab4ed6ffca72472958684d8ebdb1a8afc742d0a8ee29e06e46c1d487dda1b7baf6174e
7
- data.tar.gz: 9c8bfae1d7d7292caf90b5c1081e378e66f09d4c16fbeec41df2d669a79484b25b1c9ce4f32aea0db1acf73832d624d28edec49f735e0453a8506e46dd8611d0
6
+ metadata.gz: 85973669dc35208fad9c6e250e035367481559ec6b292c9996af56947f652a10f5a080256b11d85b63d01722605595367044b812d43817e1552ce8301a2bc27c
7
+ data.tar.gz: 32bcfef4ae42e638e4325d762f0474c1f0238881ccfa71645859a44a35a4feaf3ad57139adeac42db0bac8500418f1a1eada003b4a73b56ded5f1537f0d0a6ec
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ puts "Cleaning old releases"
4
+ `flynn release | tail -n +6 | awk '{print $1}' | xargs -n 1 flynn release delete -y`
5
+ `flynn release`
@@ -1,22 +1,22 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env ruby
2
2
 
3
3
  # Rename the remote
4
- git remote remove flynn
4
+ `git remote remove flynn`
5
5
 
6
6
  # Create the app
7
- flynn create $(basename $(pwd))
7
+ `flynn create $(basename $(pwd))`
8
8
 
9
9
  # Add the environment
10
- cat .flynn-env | xargs flynn env set
10
+ `cat .flynn-env | xargs flynn env set`
11
11
 
12
12
  # Add the routes
13
- bash .flynn-routes
13
+ `bash .flynn-routes`
14
14
 
15
15
  # Create a release
16
- flynn-release
16
+ `flynn-release`
17
17
 
18
18
  # Run post-create
19
- bash .flynn-post-create
19
+ `bash .flynn-post-create`
20
20
 
21
21
  # Show running processes
22
- flynn ps
22
+ `flynn ps`
@@ -1,7 +1,7 @@
1
1
  module Flynn
2
2
  module CLI
3
3
  module Tools
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flynn-cli-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenaniah Cerny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: table_print
@@ -98,6 +98,7 @@ description:
98
98
  email:
99
99
  - kenaniah@gmail.com
100
100
  executables:
101
+ - flynn-cleanup
101
102
  - flynn-cluster
102
103
  - flynn-dns
103
104
  - flynn-migrate
@@ -105,6 +106,7 @@ executables:
105
106
  extensions: []
106
107
  extra_rdoc_files: []
107
108
  files:
109
+ - bin/flynn-cleanup
108
110
  - bin/flynn-cluster
109
111
  - bin/flynn-dns
110
112
  - bin/flynn-migrate