playgroundbook 1.1.0 → 1.1.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/README.md +1 -1
- data/lib/renderer/glossary_generator.rb +2 -2
- data/lib/renderer/playgroundbook_renderer.rb +4 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c63d7da1016c290412a9a141b790754f1813837
|
|
4
|
+
data.tar.gz: 695c84a0a0d26516c82e5b3baceb516340315dfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e795a7ed3ba6d13975e0b778fc285bdf0dbc27b233d729e2c860e4d699a149a75f8f03fab422bde531f639f3c467df6608de04236dc057d323e47b19b0b84a5d
|
|
7
|
+
data.tar.gz: d33af0d70a0068862ff8dd52b7624646a4bea78d5640ce800e0c62a3132a9dc77b4c7de83579274f92fa33fb13eae62863b4c0a0eb2f6671eb0c451b41335c4e
|
data/README.md
CHANGED
|
@@ -145,7 +145,7 @@ If any of that sounds cool to you, send a pull request! After a few
|
|
|
145
145
|
contributions, we'll add you as an admin to the repo so you can merge pull
|
|
146
146
|
requests and help steer the ship :ship: You can read more details about that [in our contributor guidelines](https://github.com/playgroundbooks/playgroundbook/blob/master/Community.md).
|
|
147
147
|
|
|
148
|
-
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by [its terms](
|
|
148
|
+
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by [its terms](Code of Conduct.md).
|
|
149
149
|
|
|
150
150
|
## License
|
|
151
151
|
|
|
@@ -27,8 +27,8 @@ module Playgroundbook
|
|
|
27
27
|
break
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
# Break if we found the first
|
|
31
|
-
break unless glossary_plist["Terms"][term]["FirstUse"].
|
|
30
|
+
# Break if we found the first use.
|
|
31
|
+
break unless glossary_plist["Terms"][term]["FirstUse"].nil?
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -110,7 +110,10 @@ module Playgroundbook
|
|
|
110
110
|
|
|
111
111
|
unless book["glossary"].nil?
|
|
112
112
|
@ui.puts "Generating glossary."
|
|
113
|
-
@glossary_generator.generate(
|
|
113
|
+
@glossary_generator.generate(
|
|
114
|
+
parsed_chapters,
|
|
115
|
+
book["chapters"].map { |c| c["name"] },
|
|
116
|
+
book["glossary"])
|
|
114
117
|
end
|
|
115
118
|
end
|
|
116
119
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: playgroundbook
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ash Furrow
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: plist
|