chapmanchri_quotemachine2 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/chapmanchri_quotemachine2.rb +2 -2
- data/lib/chapmanchri_quotemachine2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d71c23c807525d82d8855cee35c2c28865193a4bac8a1095cd6e519ce0a16afd
|
4
|
+
data.tar.gz: 261e5b379c7b0c6b1f0cb798596c93c51eeee83a6e394716eb1b4f69f5b61efe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 251696792382b6a49dee7fdeaa13009c84748ac9c93f4f451720def5b298d5bce4f5c37210077e9860864a6f9853e239aa2f78927f600125dc9bc1ea59cf6ed8
|
7
|
+
data.tar.gz: 807b161bff83fadb2133b409694e14ee22a5baa07f84baa5c0c05ec229a02901962df1bcb16c7f769e4ccb9e566d1462ddc7c711861650e5fb6580cf373919d6
|
data/Gemfile.lock
CHANGED
@@ -213,7 +213,7 @@ def build_display
|
|
213
213
|
# Builds for Stanza with more than two sections and more than one phrase
|
214
214
|
if @poem[@stanza_current].length > 3
|
215
215
|
if @phrase.length > 1
|
216
|
-
# current_phrase is first in stanza and the second
|
216
|
+
# current_phrase is first in stanza and the second phrase is also displayed
|
217
217
|
if @phrase[0] == 1 && @section_current == 1 && @phrase[1] == 2
|
218
218
|
result_text = "<p>#{show_current_section}</p><p>#{show_next_section}</p><div class='minus-button'>-</div>"
|
219
219
|
end
|
@@ -231,7 +231,7 @@ def build_display
|
|
231
231
|
if @phrase.length == 2 && @section_current != 1 \
|
232
232
|
&& @section_current != @poem[@stanza_current].length - 1 \
|
233
233
|
&& @phrase.last > @section_current
|
234
|
-
result_text = "<div class='plus-button'>more...</div><p>#{show_current_section}</p><p>#{show_next_section}</p><div class='minus-button'
|
234
|
+
result_text = "<div class='plus-button'>more...</div><p>#{show_current_section}</p><p>#{show_next_section}</p><div class='minus-button'>minus...</div>"
|
235
235
|
end
|
236
236
|
# three phrases in the phrase storage array
|
237
237
|
if @phrase.length == 3
|
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.
|
4
|
+
version: 0.1.6
|
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-12-
|
11
|
+
date: 2019-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|