openstax_kitchen 8.0.0 → 8.0.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/kitchen/directions/move_solutions_to_answer_key/strategies/calculus.rb +5 -5
- data/lib/kitchen/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50c444687ca21462df4d8110fd8789f10ba40a439b5d037b3eba8d255b5e16fa
|
4
|
+
data.tar.gz: 353afbf616ae3f9794ee13594cf9baa244fbc1077e55c78c193aac1a89cefffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b52d4418f83bdacfac36d7d6c904500cd4bb965795f91e718c6588e0f27c72eb5b73d9b05db9f2bafa60711717c93888a0d09ced10c6986e7ec0a83d7283a31
|
7
|
+
data.tar.gz: 34ebd35add4868907853f3a3e4cc839f521352d3eadc763350487e5a7f372f947e6e837d0fea7ad198810d968c1e1bfc7a591f515b65218253c084db21b85a45
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
9
|
|
10
|
+
## [8.0.1] - 2021-06-29
|
11
|
+
|
12
|
+
* Added tags to classnames to optimize searches in `calculus strategy` for `move_solutions_to_answer_key` (minor)
|
13
|
+
|
10
14
|
## [8.0.0] - 2021-06-29
|
11
15
|
|
12
16
|
* Sort terms in `BakeChapterGlossary` in language specific way (major)
|
data/Gemfile.lock
CHANGED
@@ -4,11 +4,11 @@ module Kitchen::Directions::MoveSolutionsToAnswerKey
|
|
4
4
|
module Strategies
|
5
5
|
class Calculus
|
6
6
|
def bake(chapter:, append_to:)
|
7
|
-
checkpoint_solutions = chapter.search('.checkpoint [data-type="solution"]').cut
|
7
|
+
checkpoint_solutions = chapter.search('div.checkpoint div[data-type="solution"]').cut
|
8
8
|
append_solution_area(I18n.t(:checkpoint), checkpoint_solutions, append_to)
|
9
9
|
|
10
|
-
chapter.search('.section-exercises').each do |section|
|
11
|
-
section_solutions = section.search('[data-type="solution"]').cut
|
10
|
+
chapter.search('section.section-exercises').each do |section|
|
11
|
+
section_solutions = section.search('div[data-type="solution"]').cut
|
12
12
|
section_title = I18n.t(
|
13
13
|
:section_exercises,
|
14
14
|
number: "#{chapter.count_in(:book)}.#{section.count_in(:chapter)}"
|
@@ -16,8 +16,8 @@ module Kitchen::Directions::MoveSolutionsToAnswerKey
|
|
16
16
|
append_solution_area(section_title, section_solutions, append_to)
|
17
17
|
end
|
18
18
|
|
19
|
-
chapter.search('.review-exercises').each do |section|
|
20
|
-
section_solutions = section.search('[data-type="solution"]').cut
|
19
|
+
chapter.search('section.review-exercises').each do |section|
|
20
|
+
section_solutions = section.search('div[data-type="solution"]').cut
|
21
21
|
append_solution_area(I18n.t(:review_exercises), section_solutions, append_to)
|
22
22
|
end
|
23
23
|
end
|
data/lib/kitchen/version.rb
CHANGED