quote_machine 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
  SHA256:
3
- metadata.gz: f228c9c4de7b95dc6f72647829e16dca9bf402ba115f4486b8358ddbc1859bdb
4
- data.tar.gz: ea2924ac500baff57fdec1f1f07465b125b277d1a77fba52f95fc99f4589805c
3
+ metadata.gz: 3b5db965cdeecffbdab1350629611db7bf68c9bed43252db00c8a2c6079d8fd4
4
+ data.tar.gz: adf6779b3b835ec8098e09ed2529bf854d32f9313589d644e2331ca8d87f0603
5
5
  SHA512:
6
- metadata.gz: 33e3f94240d3c0bc40c9c855da66602ba7e070843337fd9d83f7e3ae27ed1172956a8826ca76442ad6ae38b8c935af8e9eef0c65756aae1d470e523c1772e0e5
7
- data.tar.gz: '014093222750a99ee23bf2f195492567c49d2f335a79f283a8bc6e2b63876992847e7f1ae979d9b13fdf688e9e107e164b650849d2bbaa4236dcf6b2ee78640a'
6
+ metadata.gz: da9071a344e87b0464dd2f79bfbedda8b4a9db3f1917028dd84b795301c741b422cd9908b0876a5276505a0ab95de7b2ae3c05e4f0ba0f8d011ef77da49c236c
7
+ data.tar.gz: 03426d3c08852c916852446fb0a3e6200922497f3545d8dd789af216714f3867c8d7fc877c009223b96d6e25721281fb72e4bb0fc6139d7353b7685a0e6c707a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- quote_machine (0.1.2)
4
+ quote_machine (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/complete_verse.txt CHANGED
@@ -9,12 +9,10 @@ Only the lull I like, the hum of your valvèd voice.
9
9
 
10
10
  I mind how once we lay such a transparent summer morning,
11
11
  How you settled your head athwart my hips and gently turn’d over upon me,
12
- And parted the shirt from my bosom-bone, and plunged your tongue to my bare-stript
13
- heart,
12
+ And parted the shirt from my bosom-bone, and plunged your tongue to my bare-stript heart,
14
13
  And reach’d till you felt my beard, and reach’d till you held my feet.
15
14
 
16
- Swiftly arose and spread around me the peace and knowledge that pass all the argument of
17
- the earth,
15
+ Swiftly arose and spread around me the peace and knowledge that pass all the argument of the earth,
18
16
  And I know that the hand of God is the promise of my own,
19
17
  And I know that the spirit of God is the brother of my own,
20
18
  And that all the men ever born are also my brothers, and the women my sisters and lovers,
@@ -28,30 +26,25 @@ And mossy scabs of the worm fence, heap’d stones, elder, mullein and poke-weed
28
26
  A child said WHAT IS THE GRASS? fetching it to me with full hands;
29
27
  How could I answer the child? I do not know what it is any more than he.
30
28
 
31
- I guess it must be the flag of my disposition, out of hopeful green
32
- stuff woven.
29
+ I guess it must be the flag of my disposition, out of hopeful green stuff woven.
33
30
 
34
31
  Or I guess it is the handkerchief of the Lord,
35
32
  A scented gift and remembrancer designedly dropt,
36
- Bearing the owner's name someway in the corners, that we may
37
- see and remark, and say Whose?
33
+ Bearing the owner's name someway in the corners, that we may see and remark, and say Whose?
38
34
 
39
- Or I guess the grass is itself a child, the produced babe of the
40
- vegetation.
35
+ Or I guess the grass is itself a child, the produced babe of the vegetation.
41
36
 
42
37
  Or I guess it is a uniform hieroglyphic,
43
38
  And it means, Sprouting alike in broad zones and narrow zones,
44
39
  Growing among black folks as among white,
45
- Kanuck, Tuckahoe, Congressman, Cuff, I give them the same, I
46
- receive them the same.
40
+ Kanuck, Tuckahoe, Congressman, Cuff, I give them the same, I receive them the same.
47
41
 
48
42
  And now it seems to me the beautiful uncut hair of graves.
49
43
 
50
44
  Tenderly will I use you curling grass,
51
45
  It may be you transpire from the breasts of young men,
52
46
  It may be if I had known them I would have loved them,
53
- It may be you are from old people, or from offspring taken soon
54
- out of their mothers' laps,
47
+ It may be you are from old people, or from offspring taken soon out of their mothers' laps,
55
48
  And here you are the mothers' laps.
56
49
 
57
50
  This grass is very dark to be from the white heads of old mothers,
@@ -59,23 +52,18 @@ Darker than the colorless beards of old men,
59
52
  Dark to come from under the faint red roofs of mouths.
60
53
 
61
54
  O I perceive after all so many uttering tongues,
62
- And I perceive they do not come from the roofs of mouths for
63
- nothing.
55
+ And I perceive they do not come from the roofs of mouths for nothing.
64
56
 
65
- I wish I could translate the hints about the dead young men and
66
- women,
57
+ I wish I could translate the hints about the dead young men and women,
67
58
 
68
- And the hints about old men and mothers, and the offspring taken
69
- soon out of their laps.
59
+ And the hints about old men and mothers, and the offspring taken soon out of their laps.
70
60
 
71
61
  What do you think has become of the young and old men?
72
- And what do you think has become of the women and chil-
73
- dren?
62
+ And what do you think has become of the women and children?
74
63
 
75
64
  They are alive and well somewhere,
76
65
  The smallest sprout shows there is really no death,
77
- And if ever there was it led forward life, and does not wait at the
78
- end to arrest it,
66
+ And if ever there was it led forward life, and does not wait at the end to arrest it,
79
67
  And ceas'd the moment life appear'd.
80
68
 
81
69
  All goes onward and outward, nothing collapses,
@@ -86,8 +74,7 @@ And to die is different from what any one supposed, and luckier.
86
74
  Has any one supposed it lucky to be born?
87
75
  I hasten to inform him or her it is just as lucky to die, and I know it.
88
76
 
89
- I pass death with the dying and birth with the new-wash’d babe, and am not contain’d between my
90
- hat and boots,
77
+ I pass death with the dying and birth with the new-wash’d babe, and am not contain’d between my hat and boots,
91
78
  And peruse manifold objects, no two alike and every one good,
92
79
  The earth good and the stars good, and their adjuncts all good.
93
80
 
@@ -1,3 +1,3 @@
1
1
  module QuoteMachine
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/quote_machine.rb CHANGED
@@ -13,6 +13,12 @@ def delcare_instance_variables
13
13
  @section_current = 0
14
14
  end
15
15
 
16
+ def set_stanza_and_section
17
+ stanza = pick_stanza
18
+ @stanza_current = stanza
19
+ @section_current = pick_section(stanza)
20
+ end
21
+
16
22
 
17
23
  def read_poem(file_name)
18
24
  text = File.read(file_name)
@@ -123,12 +129,11 @@ def clear_screen
123
129
  end
124
130
 
125
131
  def show_section
126
- puts "\n"
127
132
  # puts @poem[stanza][section_num]
128
133
  # puts @poem[pick_stanza][pick_section]
129
- stanza = pick_stanza
130
- @stanza_current = stanza
131
- @section_current = pick_section(stanza)
134
+ # stanza = pick_stanza
135
+ # @stanza_current = stanza
136
+ # @section_current = pick_section(stanza)
132
137
  @poem[@stanza_current][@section_current]
133
138
  end
134
139
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quote_machine
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
  - Chris Chapman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-24 00:00:00.000000000 Z
11
+ date: 2019-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler