shiritori 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c470baac8c78d7c430ef17fac3c4ad1127d73ff
4
- data.tar.gz: a33d0ef2619f5eafe571728d4772a007588a3119
3
+ metadata.gz: 17184fcd8187e6c1a64d91a3bbc82d8476c99775
4
+ data.tar.gz: c1c6cf6c837cae1c0903d92a0068772b9ae83aee
5
5
  SHA512:
6
- metadata.gz: 1fb5648640e702dafa7a5754d463e03e29089a0e4bf860a45163f620601635dbc422cbc895fee34e2fae8a83cd62865f914a997b17439088e3e8cb75b660fd26
7
- data.tar.gz: 1ac6f152357d03d633e1288c0a47622e9d18803c5e21815467554771c50657a96491a5f32e4796b0f3f488d0a5783a4ca6557756a8339450a48cd52a483d9c2a
6
+ metadata.gz: 2d4d8a19cd26558424eafb426cd587dc89b5ceed620b38b0313d38524d3e80345deb2052a232430b342b7b9ec88931e3a89c3fe8e33ee74d6417c9a00296e84f
7
+ data.tar.gz: b81c85d900714949f64cc1f297aaa5e4e07b34fb6a650bcc072e0dcb90589e2001506f9c3b54397f274791f4a147cdb1707eb3245f7e3395e159fa5509db1998
@@ -66,12 +66,12 @@ module Shiritori
66
66
  @success
67
67
  end
68
68
 
69
- def get_command
69
+ def get_command(message = "Please input first object > ")
70
70
  if Shiritori.env == :development
71
- print "Please input first object > "
71
+ print message
72
72
  $stdin.gets
73
73
  else
74
- Readline.readline("Please input first object > ", true)
74
+ Readline.readline(message, true)
75
75
  end
76
76
  end
77
77
 
@@ -89,7 +89,7 @@ module Shiritori
89
89
 
90
90
  new_line
91
91
 
92
- command = get_command
92
+ command = get_command("Please input next method > ")
93
93
 
94
94
  break if command.nil?
95
95
  redo if command.blank?
@@ -1,3 +1,3 @@
1
1
  module Shiritori
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -6,6 +6,9 @@ module Shiritori
6
6
  $stdout.puts "\n"*num
7
7
  end
8
8
 
9
+ def welcome_message
10
+ end
11
+
9
12
  def show_status
10
13
  new_line
11
14
  chain = "#{@current_chain.join('.')}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiritori
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - siman-man