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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a60dbb4b693926554c328099d394411b071b4a65
4
- data.tar.gz: 9c8dfd97d137e2d40caae80449853fae4acabf15
3
+ metadata.gz: 5a2d55fa55ce436a8a911516ff85b98a2adae4b6
4
+ data.tar.gz: d2f3c771296cfd3baa07b830d43997acdad0838a
5
5
  SHA512:
6
- metadata.gz: 80ebc8910d0034882ff8ed3d7a75a26412c30be715a386f50d4194476b8d57e048ef17182003d113fb000b67b1f399dc33b32bb6bb3d17f1f13c191bcda69110
7
- data.tar.gz: 8ade34a126227b09778476b7cc1b2683a7c61e6baf7e9656c7469c2c87916087d0fd045c1380686d0082a61affe31436acaeb7dea3fa5c76ee11911f8824d307
6
+ metadata.gz: 8ac07e5fbba668ce4afe827414b024824b2dbed8192420b68b80e99f94442a6f0df58c304d27f1cb5b4bd8e8ed47864577dc287e52e41f10bba1fbf8a585052d
7
+ data.tar.gz: eb55bc0ed7825887189d8941bdebb86044ed2e6a4530c5f64a065832f3159fa663eac4bb7532a0fb80346860286ca88d795176fa6e1b2dd6dd823c72f6d1769b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prismic.io (1.4.0)
4
+ prismic.io (1.4.1)
5
5
  hashery (~> 2.1.1)
6
6
 
7
7
  GEM
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.)
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Prismic
3
3
 
4
- VERSION = '1.4.0'
4
+ VERSION = '1.4.1'
5
5
 
6
6
  end
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.0
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-03-11 00:00:00.000000000 Z
14
+ date: 2016-07-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler