ec2ctl 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ec2ctl/cli.rb +8 -1
- data/lib/ec2ctl/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: 3295ca73bd89c2cc15d3b8d66afddc03999fd3a1
|
4
|
+
data.tar.gz: 8d0a77f8b71f742b03f907dff0cdbdcec38fb4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a6afe01532aabdd4a690cb7af08a2c697413b79e643a19771fdfd8258b2676e87d74738c0b8fb432821d7db1ba19c1e36243cd669fbf71c5b739f505402b31c
|
7
|
+
data.tar.gz: 1873d16a54c70737982852abed955d91c28ceb98af26644d5f16dc1c2b69cb6ecd03c0f522e68a9f849323b5a9432cfdf52d411bd870b5bc26b30077786e3926
|
data/lib/ec2ctl/cli.rb
CHANGED
@@ -288,7 +288,14 @@ module EC2Ctl
|
|
288
288
|
|
289
289
|
def options_from_file
|
290
290
|
pathnames = [
|
291
|
-
|
291
|
+
# Ruby < 2.3
|
292
|
+
(
|
293
|
+
a = []
|
294
|
+
Pathname.new(Dir.pwd).ascend {|path| a.push path}
|
295
|
+
a
|
296
|
+
),
|
297
|
+
# Ruby >= 2.3
|
298
|
+
# Pathname.new(Dir.pwd).ascend.to_a,
|
292
299
|
Pathname.new(Dir.home),
|
293
300
|
].flatten.map do |pathname|
|
294
301
|
pathname + OPTION_FILE_NAME
|
data/lib/ec2ctl/version.rb
CHANGED