evm 0.4.0 → 0.4.1
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/lib/evm/cli.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 162b2088974975a962078c5b4ef2763381b15b25
|
|
4
|
+
data.tar.gz: c1f3d554f285bed5cda8e39b3b740323d1480e29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 855b52135fc929d7cba117bcd0bfbdf50dac8a97eb3f39508cd40e99428427d864e3bf047663416db666e061852466e405feef0b0a7e9cd083c4346ad9094da6
|
|
7
|
+
data.tar.gz: a8e8d317ef6826112a63db3de27205b360a03c1138e6ce279157d9b5a34c3d37f559c8b2d780e99a16b55a5aa4ac0973603f98a6b2f15cf20da7a08512c1b07e
|
data/lib/evm/cli.rb
CHANGED
|
@@ -11,12 +11,12 @@ module Evm
|
|
|
11
11
|
options[:use] = !!argv.delete('--use')
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
command, argument = argv
|
|
15
|
+
|
|
16
|
+
if argv.include?('--help') || argv.include?('-h') || command.nil?
|
|
15
17
|
Evm.print_usage_and_exit
|
|
16
18
|
end
|
|
17
19
|
|
|
18
|
-
command, argument = argv
|
|
19
|
-
|
|
20
20
|
begin
|
|
21
21
|
const = Evm::Command.const_get(command.capitalize)
|
|
22
22
|
rescue NameError => exception
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: evm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Johan Andersson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-01-
|
|
11
|
+
date: 2014-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: EVM is a command-line tool that allows you to install multiple Emacs
|
|
14
14
|
versions.
|