prismic.io 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/prismic/api.rb +7 -0
- data/lib/prismic/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: 5a2d55fa55ce436a8a911516ff85b98a2adae4b6
|
4
|
+
data.tar.gz: d2f3c771296cfd3baa07b830d43997acdad0838a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ac07e5fbba668ce4afe827414b024824b2dbed8192420b68b80e99f94442a6f0df58c304d27f1cb5b4bd8e8ed47864577dc287e52e41f10bba1fbf8a585052d
|
7
|
+
data.tar.gz: eb55bc0ed7825887189d8941bdebb86044ed2e6a4530c5f64a065832f3159fa663eac4bb7532a0fb80346860286ca88d795176fa6e1b2dd6dd823c72f6d1769b
|
data/Gemfile.lock
CHANGED
data/lib/prismic/api.rb
CHANGED
@@ -91,6 +91,13 @@ module Prismic
|
|
91
91
|
form('everything', data).query(q).submit(ref)
|
92
92
|
end
|
93
93
|
|
94
|
+
# Retrieve all documents (paginated)
|
95
|
+
# @param data [Hash] query options (page, pageSize, ref, etc.)
|
96
|
+
def all(data={})
|
97
|
+
ref = data['ref'] || self.master.ref
|
98
|
+
form('everything', data).submit(ref)
|
99
|
+
end
|
100
|
+
|
94
101
|
# Retrieve one document by its id
|
95
102
|
# @param q [String] the query to perform
|
96
103
|
# @param data [Hash] query options (page, pageSize, ref, etc.)
|
data/lib/prismic/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prismic.io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Étienne Vallette d'Osia
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|