pario 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pario/cli.rb +3 -3
  2. data/lib/pario/version.rb +1 -1
  3. metadata +3 -3
data/lib/pario/cli.rb CHANGED
@@ -31,7 +31,7 @@ module Pario
31
31
  end
32
32
 
33
33
  def valid_pario_command?
34
- %w{create add play -v}.include? @command
34
+ %w{new add play -v}.include? @command
35
35
  end
36
36
 
37
37
  def process_command
@@ -40,7 +40,7 @@ module Pario
40
40
  end
41
41
 
42
42
  # Create a game
43
- def create
43
+ def new
44
44
  create_directories
45
45
  create_base_files
46
46
  copy_files
@@ -136,7 +136,7 @@ game_template.result(binding)
136
136
  end
137
137
 
138
138
  def create_directories
139
- folder_name = game_name.gsub(/(.)([A-Z])/,'\1_\2').downcase!
139
+ folder_name = game_name.gsub(/(.)([A-Z])/,'\1_\2').downcase
140
140
  Dir.mkdir(folder_name) unless File.directory?(folder_name)
141
141
  Dir.chdir(folder_name)
142
142
  Directories.each do |sub_folder|
data/lib/pario/version.rb CHANGED
@@ -2,7 +2,7 @@ module Pario #:nodoc:
2
2
  module Version
3
3
  MAJOR = '0'
4
4
  MINOR = '4'
5
- MICRO = '1'
5
+ MICRO = '2'
6
6
 
7
7
  STRING = [MAJOR, MINOR, MICRO].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pario
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bill Davenport