pnote_client 2.6.0 → 2.6.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef0671ef48f1f178c62c17fb7cd687d6fa4c990ccc2085961e4663f661553649
|
|
4
|
+
data.tar.gz: aeef5cd590060501a6019ce3eb3fe8a1c455583960422f820cdbfc4e9bb7cc4c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 071da98a7d2ad3a4dfa744aca08dc9c279eadbbd86d9e83cafb46d8f0d823b1ad4afb9dc5dede3b0ae8b98ecc774bc198652e7ca79fe7498ec9ddada1bf34d28
|
|
7
|
+
data.tar.gz: 53aed619321622f93a75f16900a01191c9598ec5db9978c7c4d851712bb4163d5c7f5c3a6243cc23568d1cd224d46a0d0f9b26ed56722eb29448881037fba184
|
|
@@ -97,15 +97,17 @@ module PnoteClient
|
|
|
97
97
|
|
|
98
98
|
# 과외노트(각주)
|
|
99
99
|
footnote_paragraph_reader = Documents::Hml::ParagraphReader.new(paragraph.footnote_paragraphs)
|
|
100
|
-
|
|
100
|
+
tc_index = 0
|
|
101
|
+
footnote_paragraph_reader.next_paragraph do |footnote_paragraph, prev_footnote_paragraph, is_continuous|
|
|
101
102
|
case paragraph_type(footnote_paragraph)
|
|
102
103
|
when :practice_teacher_comment
|
|
103
104
|
if is_continuous
|
|
104
105
|
@current_teacher_comment.add_content_line(footnote_paragraph.content) if @current_teacher_comment
|
|
105
106
|
else
|
|
106
|
-
new_teacher_comment = Documents::Pnote::TeacherComment.new(show_time: (
|
|
107
|
+
new_teacher_comment = Documents::Pnote::TeacherComment.new(show_time: (tc_index + 1) * @show_time)
|
|
107
108
|
new_teacher_comment.content = footnote_paragraph.content
|
|
108
109
|
add_new_teacher_comment_to_practice(@current_practice, new_teacher_comment) if @current_practice
|
|
110
|
+
tc_index += 1
|
|
109
111
|
end
|
|
110
112
|
end
|
|
111
113
|
end
|
data/lib/pnote_client/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pnote_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.6.
|
|
4
|
+
version: 2.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- bluesh55
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|