chapmanchri_quotemachine2 0.2.9 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/chapmanchri_quotemachine2.rb +3 -3
- 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: 225b1fb3a07f3baa02cada9c43776ce7bb0e95aa1c1db0b3917cdce0677700b1
|
|
4
|
+
data.tar.gz: e678816493cc204aba600ec51c0f2d540d4a588213ac6c74fd121fcd150ba4a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82a9c41b6741e2b0d3b2e755c01e04c2c4ea9210b0b1762906e1b576dd5def8e36a6bd68c4daa9631ee4c4b597492be8ed7fc677effe794f6b981e299f8b8908
|
|
7
|
+
data.tar.gz: d07091cc69a6d4f49bb77700bf48e1160103eed8c5d70f91653cb08ad461235fd5fca0a4c2022a9faab0f52f5c5cb21181c6ec33053eb8603f55abc949a014a8
|
data/Gemfile.lock
CHANGED
|
@@ -95,7 +95,7 @@ def pick_section(stanza)
|
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
def show_current_section
|
|
98
|
-
"<
|
|
98
|
+
"<span class='current_section_in_text'>#{@poem[@stanza_current][@section_current]}</span>"
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
def show_previous_section
|
|
@@ -118,8 +118,8 @@ def show_entire_verse
|
|
|
118
118
|
else
|
|
119
119
|
if i == @section_current
|
|
120
120
|
print_verse = print_verse + show_current_section
|
|
121
|
-
elsif i == (@section_current + 1)
|
|
122
|
-
|
|
121
|
+
# elsif i == (@section_current + 1)
|
|
122
|
+
# print_verse = print_verse + "<br>" + segment
|
|
123
123
|
else
|
|
124
124
|
print_verse = print_verse + "<br><br>" + segment
|
|
125
125
|
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.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Chapman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-01-
|
|
11
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|