merona 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. data/bin/merona +17 -17
  2. metadata +1 -1
data/bin/merona CHANGED
@@ -6,22 +6,22 @@ require 'FileUtils'
6
6
  if ARGV.size < 2
7
7
  puts "Usage"
8
8
  puts " merona -command --parameter"
9
- return
10
- end
11
-
12
- cmd = ARGV[0].downcase
9
+ else
10
+ cmd = ARGV[0].downcase
13
11
 
14
- case cmd
15
- when "new"
16
- path = Gem.bin_path("merona", "merona")
17
- path.reverse!
18
- path = path.split("/", 3)[2]
19
- path.reverse!
20
- path += "/frame"
21
-
22
- FileUtils.cp_r path, ARGV[1]
23
- when "delete"
24
- FileUtils.rm_r ARGV[1]
25
- when "run"
26
- exec ARGV[1] + "/merona.bat"
12
+ case cmd
13
+ when "new"
14
+ path = Gem.bin_path("merona", "merona")
15
+ path.reverse!
16
+ path = path.split("/", 3)[2]
17
+ path.reverse!
18
+ path += "/frame"
19
+
20
+ FileUtils.cp_r path, ARGV[1]
21
+ when "delete"
22
+ FileUtils.rm_r ARGV[1]
23
+ when "run"
24
+ exec ARGV[1] + "/merona.bat"
25
+ end
27
26
  end
27
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merona
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: