playgroundbook 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd293e21e00aec27ecdd40d1637a7de8a4e0ae2d
4
- data.tar.gz: 6f799975a931872ef587c9a0ac4677d3c3f3b1dc
3
+ metadata.gz: 8c63d7da1016c290412a9a141b790754f1813837
4
+ data.tar.gz: 695c84a0a0d26516c82e5b3baceb516340315dfe
5
5
  SHA512:
6
- metadata.gz: b39647c796f1c89acae80b3f701b38462a2e6f2946f8ca3bbcd520c007cb6d9cd3e71b3c6fbed80db8cac6f037391e2dd3fc563d5e5b2a5074ae35aa7b801ff2
7
- data.tar.gz: b555c07c7b784e9a7f5e968866263e62eb140629348fd6a912acf88e2b015f53884b36750db95c59733201c386d3ddc7729103c810e41ac19ad7816825b7d1da
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](https://github.com/playgroundbooks/playgroundbook/blob/master/Code of Conduct.md).
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 user.
31
- break unless glossary_plist["Terms"][term]["FirstUse"].empty?
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(parsed_chapters, book["chapters"], book["glossary"])
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
@@ -1,3 +1,3 @@
1
1
  module Playgroundbook
2
- VERSION = "1.1.0".freeze
2
+ VERSION = "1.1.1".freeze
3
3
  end
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.0
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-03-15 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plist