chapmanchri_quotemachine2 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 6576c7f1ef6b45b66d4aa6bafbd59ad9a3b0b3595af4d7232bbca10b60e8bffc
4
- data.tar.gz: c7d9d329b784930163de20aef98e23350bd992cd0b7c430f5aeb45972de95144
3
+ metadata.gz: cb9075da15300ef0e5384bff683f4c4768c7cd147fc598227fac623dd86b08a8
4
+ data.tar.gz: 2f89771dee9b2f5ea3cfa347ea420436e7093c59d68ff0816191168fedbba64f
5
5
  SHA512:
6
- metadata.gz: 140c6efbfe1656c64820d3b1a359bed483b758c13276a2fa6d0b131518d0e6d2bb7a17aafe9c6b056d6288408404ebc2d9f1f0265dfe4dc3f8c9d8039132e316
7
- data.tar.gz: e1f03ba5e1df4e82385892bc28d9323bc5c06449732c16705a7cf99adb663053c57e67cd0ece34b1fc5cb9fb77710b2ccc3c298afbf69817a6d6288b6e651712
6
+ metadata.gz: 19602d2fb4764c0c5f707f354a45e2cd63b953489078165eb3df85ef76af0ba877cb742aeb3e27379ff6eb2314566d9ed991a213af0cc66b2392f8c0ee90adac
7
+ data.tar.gz: 0cb9dd124f37c2b0eb20a7a3c5b35fe4a4b959c829d1b3a1652be6e0f75749678a4f7457b2c34521125901b466216f31bb7523884ff26c4d71f0d3edc88f714e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chapmanchri_quotemachine2 (0.1.0)
4
+ chapmanchri_quotemachine2 (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -13,6 +13,7 @@ def declare_instance_variables
13
13
  @section_current = 0
14
14
  @section_previous = "na"
15
15
  @section_next = "na"
16
+ @phrase = []
16
17
  end
17
18
 
18
19
  def set_stanza_and_section
@@ -21,6 +22,10 @@ def set_stanza_and_section
21
22
  @section_current = pick_section(stanza)
22
23
  end
23
24
 
25
+ def set_phrase
26
+ @phrase[0] = @section_current
27
+ end
28
+
24
29
  def set_next_section
25
30
  if @section_current < (@poem[@stanza_current].length-1)
26
31
  @section_next = @section_current + 1
@@ -163,8 +168,10 @@ def main_program
163
168
  declare_instance_variables
164
169
  init_poem
165
170
  set_stanza_and_section
166
- show_section
167
- # display_interface
171
+ set_phrase
172
+ build_display
173
+ # show_section
174
+ # display_interface
168
175
  end
169
176
 
170
177
  def build_display
@@ -250,5 +257,5 @@ puts Dir.pwd
250
257
  # main_program
251
258
 
252
259
  def test_method
253
- "text"
260
+ "text method"
254
261
  end
@@ -1,3 +1,3 @@
1
1
  module ChapmanchriQuotemachine2
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chapmanchri_quotemachine2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Chapman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-09 00:00:00.000000000 Z
11
+ date: 2019-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler