hemlock 0.1.3 → 0.1.4

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: e23f96c79cb9c7b40208066b3faae7a58c810655
4
- data.tar.gz: 6746016a68b18c36cd1df09ea6b69133bc87b416
3
+ metadata.gz: dc9c2033a0eb2ef2f91c5735bbad4a877908c505
4
+ data.tar.gz: 1c731eaf27abc888cdb3d71a55315a2e3d5ec12c
5
5
  SHA512:
6
- metadata.gz: ace8b2fb3fc14abf93cdf267822845cadb94c92460cd515be1c57623db93348d7e7c8ec508731bf17b294a6f8f36899eac7251c7552e94919a628d72c3059411
7
- data.tar.gz: ef78d40095eb51ae31a5677451397f4b7d12d637e3f03f7d86782ca077315522803186ca440b0cadcc163a556119c7e08b0586645d8b5d6d6ea4ebb63010de72
6
+ metadata.gz: ef4de5b7912d1a410a5c68b1468022ce5a73f8137a0698ee17bcbed8562611b980cd55184ac75ad24163a882edef8de3514ce44c861eac8a4e3d41bb43dc0bfe
7
+ data.tar.gz: b6ae2e3c3048e104680999d3e2602532f2ba65c480320821cdd8b5a07fc147bdb8af015487f4c455ff3fb48d5b7630653d07ea4198d80671d2876f4acd078cf1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hemlock (0.1.2)
4
+ hemlock (0.1.4)
5
5
  gli (= 2.9.0)
6
6
  rainbow (= 1.99.1)
7
7
 
data/lib/hemlock/turn.rb CHANGED
@@ -12,9 +12,9 @@ module Hemlock
12
12
  puts @flashcard.question
13
13
  guess = Readline.readline('>> ', false)
14
14
  if @flashcard.correct?(guess)
15
- printf Rainbow('Correct').green
15
+ puts Rainbow('Correct').green
16
16
  else
17
- printf Rainbow('You must submit to the quarries').red
17
+ puts Rainbow('You must submit to the quarries').red
18
18
  punishment
19
19
  end
20
20
  end
@@ -30,8 +30,7 @@ module Hemlock
30
30
  if @flashcard.correct?(guess)
31
31
  i += 1
32
32
  else
33
- puts printf Rainbow('Who are you? Sisyphus?!').red
34
- puts "\n"
33
+ puts Rainbow('Who are you? Sisyphus?!').red
35
34
  redo
36
35
  end
37
36
  end
@@ -1,3 +1,3 @@
1
1
  module Hemlock
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hemlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook