crowi-client 0.1.2 → 0.1.3
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/lib/crowi/client/client.rb +1 -2
- data/lib/crowi/client/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: eb8de429163b68735051986cd2d5f170432a86cfcad3c3c9f7bd4603eab4c1aa
|
4
|
+
data.tar.gz: f3c30c62593640650ea8d0bd205a6eb5a6575989bfd0184bdb4d1e590c841ac3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc7d6343d24f79765b24e4bc91cde68405c900768042d41a56c27d96db91dd3e0b1777bee59163a980a10085356aaba266286389b7eb1db8bd46d1a8b998e651
|
7
|
+
data.tar.gz: 2b0a7733d190acda7830b2fe250cc75d230fbecfb67be3232c58c39e43d2fc1897c6b6c91d9d78f850ecb4af6e4b2cdaff702227206f284bde3745f83af71248
|
data/lib/crowi/client/client.rb
CHANGED
@@ -40,8 +40,7 @@ class CrowiClient
|
|
40
40
|
# @param [String] path ページパス
|
41
41
|
# @return [true/false] ページの存在
|
42
42
|
def page_exist?(path_exp: nil)
|
43
|
-
|
44
|
-
return ret&.ok && ret&.data&.find { |p| p.path.match(path_exp) } != nil
|
43
|
+
return !page_id(path_exp: path_exp).nil?
|
45
44
|
end
|
46
45
|
|
47
46
|
# ページに添付ファイルが存在するか調べる
|
data/lib/crowi/client/version.rb
CHANGED