awsm 0.2.3 → 0.2.4
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/README.md +5 -1
- data/lib/awsm.rb +6 -0
- data/lib/awsm/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: 7b9f623b7040ceb89a20642c97d6d2edd310c8b7
|
|
4
|
+
data.tar.gz: 43bba7cb18e8a41ab7d3adc7e5d25415d5bc4d47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15f46938d45c1146e3d1e6f6c3e4ad62ee17b4214d5d87dc953a409334336e039111631f54231e4edae6ea7360645609aabf80a3e080d449bef1a76570d9e704
|
|
7
|
+
data.tar.gz: 8a7f3412897097be9c609fef338d51c215d87c227dace647f3fbe6f4d5c2a9d42510dcdd028f17d272fd2a2a932c990880f190e5f81fbc1f81d0308624e3b2cd
|
data/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Awsm will read configuration from `~/.awsm.rb`. An example `~/.awsm.rb` file is
|
|
|
42
42
|
```
|
|
43
43
|
Awsm::configure do |c|
|
|
44
44
|
|
|
45
|
-
c.
|
|
45
|
+
c.table :instance do |c|
|
|
46
46
|
|
|
47
47
|
# Define which fields to display in an instance table and in what order
|
|
48
48
|
c.use_fields [ :environment, :name, :instance_id, :image_id, :launch_time, :state, :private_ip ]
|
|
@@ -54,6 +54,10 @@ Awsm::configure do |c|
|
|
|
54
54
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
c.table :image do |c|
|
|
58
|
+
c.use_fields [ :image_id, :name, :creation_date ]
|
|
59
|
+
end
|
|
60
|
+
|
|
57
61
|
c.dns do |c|
|
|
58
62
|
c.hosted_zone '/hostedzone/somethingorother'
|
|
59
63
|
end
|
data/lib/awsm.rb
CHANGED
|
@@ -22,4 +22,10 @@ require 'awsm/cli/unused'
|
|
|
22
22
|
require 'awsm/cli/spin'
|
|
23
23
|
require 'awsm/cli/main'
|
|
24
24
|
|
|
25
|
+
if !File.exists?( "#{ENV['HOME']}/.awsm.rb" )
|
|
26
|
+
puts "A configuration file is required at ~/.awsm.rb"
|
|
27
|
+
puts "See https://github.com/mduk/awsm/blob/master/README.md for an example config file."
|
|
28
|
+
exit
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
require "#{ENV['HOME']}/.awsm"
|
data/lib/awsm/version.rb
CHANGED