wst-parser 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wst/contents.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cbbbd2b5726616c3ffe5376492901fc8e2a506d
4
- data.tar.gz: c8fc819d3cf227d27615713b17cb377013091924
3
+ metadata.gz: 3fae230e835b7e2fd7863918f5cf3bd54c182d01
4
+ data.tar.gz: 4b3a7aad1c65d2589b57fb38374f52832fac5df0
5
5
  SHA512:
6
- metadata.gz: cef16b7d956e0d573c36b3242c9088db545333f3da22e0ce58c57e27b9c1b1def5b546d2de87c04fd2b640c27c507f44ec4a2effbd40b3463d32fef163831f57
7
- data.tar.gz: e4c524757f2ec4ea009c2f440ae1214ed14524acdf702ff5d4959d704b1c3c6d4ab19966b1d303418dce72180ed48e065e8eb28bbbaacafcbb1f70c24fe5bb05
6
+ metadata.gz: 1844d006495971332df6ded39a66b459529c016cf82f8ac264668c447a3711f3d156c13542055167e432c22a629d8491298c9b50c3b4e0577f9bcc0905f787aa
7
+ data.tar.gz: 48a742b2bf6b129ce74f86727d364225d6d85c5a6687bb468913a0cfd4555e0c1f8ac98b6bca00f74c651c23bf37e4ca68e84a54672697ddcb719faf0dc47e97
@@ -11,7 +11,7 @@ module Wst
11
11
  # Get all contents
12
12
  # @param [Boolean] show_non_publised Get all contents or only published
13
13
  # @return [Array<Content>] Contents
14
- def all(show_non_published)
14
+ def all(show_non_published = false)
15
15
  return @all if show_non_published
16
16
  @all.select { |c| c.published }
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wst-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yves Brissaud