prismic.io 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +6 -14
- data/docs/Prismic.html +1074 -0
- data/docs/Prismic/API.html +2987 -0
- data/docs/Prismic/API/BadPrismicResponseError.html +147 -0
- data/docs/Prismic/API/OAuth.html +560 -0
- data/docs/Prismic/API/PrismicWSAuthError.html +375 -0
- data/docs/Prismic/API/PrismicWSConnectionError.html +221 -0
- data/docs/Prismic/BasicNullCache.html +255 -0
- data/docs/Prismic/DefaultHTTPClient.html +350 -0
- data/docs/Prismic/Document.html +873 -0
- data/docs/Prismic/Error.html +418 -0
- data/docs/Prismic/Experiment.html +633 -0
- data/docs/Prismic/Experiments.html +633 -0
- data/docs/Prismic/Field.html +424 -0
- data/docs/Prismic/Form.html +827 -0
- data/docs/Prismic/Fragments.html +117 -0
- data/docs/Prismic/Fragments/Color.html +632 -0
- data/docs/Prismic/Fragments/Date.html +399 -0
- data/docs/Prismic/Fragments/DocumentLink.html +1048 -0
- data/docs/Prismic/Fragments/Embed.html +679 -0
- data/docs/Prismic/Fragments/FileLink.html +604 -0
- data/docs/Prismic/Fragments/Fragment.html +339 -0
- data/docs/Prismic/Fragments/GeoPoint.html +469 -0
- data/docs/Prismic/Fragments/Group.html +710 -0
- data/docs/Prismic/Fragments/GroupDocument.html +382 -0
- data/docs/Prismic/Fragments/Image.html +780 -0
- data/docs/Prismic/Fragments/Image/View.html +759 -0
- data/docs/Prismic/Fragments/Image/ViewDoesNotExistException.html +147 -0
- data/docs/Prismic/Fragments/ImageLink.html +336 -0
- data/docs/Prismic/Fragments/Link.html +412 -0
- data/docs/Prismic/Fragments/Multiple.html +513 -0
- data/docs/Prismic/Fragments/Number.html +401 -0
- data/docs/Prismic/Fragments/Select.html +349 -0
- data/docs/Prismic/Fragments/Separator.html +396 -0
- data/docs/Prismic/Fragments/Slice.html +632 -0
- data/docs/Prismic/Fragments/SliceZone.html +474 -0
- data/docs/Prismic/Fragments/StructuredText.html +664 -0
- data/docs/Prismic/Fragments/StructuredText/Block.html +232 -0
- data/docs/Prismic/Fragments/StructuredText/Block/Embed.html +367 -0
- data/docs/Prismic/Fragments/StructuredText/Block/Heading.html +366 -0
- data/docs/Prismic/Fragments/StructuredText/Block/Image.html +755 -0
- data/docs/Prismic/Fragments/StructuredText/Block/ListItem.html +372 -0
- data/docs/Prismic/Fragments/StructuredText/Block/Paragraph.html +223 -0
- data/docs/Prismic/Fragments/StructuredText/Block/Preformatted.html +223 -0
- data/docs/Prismic/Fragments/StructuredText/Block/Text.html +818 -0
- data/docs/Prismic/Fragments/StructuredText/BlockGroup.html +423 -0
- data/docs/Prismic/Fragments/StructuredText/Span.html +384 -0
- data/docs/Prismic/Fragments/StructuredText/Span/Em.html +213 -0
- data/docs/Prismic/Fragments/StructuredText/Span/Hyperlink.html +359 -0
- data/docs/Prismic/Fragments/StructuredText/Span/Label.html +362 -0
- data/docs/Prismic/Fragments/StructuredText/Span/Strong.html +213 -0
- data/docs/Prismic/Fragments/Text.html +396 -0
- data/docs/Prismic/Fragments/Timestamp.html +399 -0
- data/docs/Prismic/Fragments/WebLink.html +340 -0
- data/docs/Prismic/HtmlSerializer.html +270 -0
- data/docs/Prismic/JsonParser.html +1764 -0
- data/docs/Prismic/LinkResolver.html +399 -0
- data/docs/Prismic/LruCache.html +1140 -0
- data/docs/Prismic/Predicates.html +1630 -0
- data/docs/Prismic/Ref.html +643 -0
- data/docs/Prismic/Response.html +1159 -0
- data/docs/Prismic/SearchForm.html +2172 -0
- data/docs/Prismic/SearchForm/AuthenticationException.html +147 -0
- data/docs/Prismic/SearchForm/AuthorizationException.html +147 -0
- data/docs/Prismic/SearchForm/FormSearchException.html +147 -0
- data/docs/Prismic/SearchForm/NoRefSetException.html +147 -0
- data/docs/Prismic/SearchForm/RefNotFoundException.html +147 -0
- data/docs/Prismic/SearchForm/UnsupportedFormKind.html +147 -0
- data/docs/Prismic/Variation.html +546 -0
- data/docs/Prismic/WithFragments.html +1803 -0
- data/docs/_index.html +752 -0
- data/docs/class_list.html +54 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +57 -0
- data/docs/css/style.css +339 -0
- data/docs/file.README.html +180 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +26 -0
- data/docs/index.html +180 -0
- data/docs/js/app.js +219 -0
- data/docs/js/full_list.js +178 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +2381 -0
- data/docs/top-level-namespace.html +112 -0
- data/lib/prismic.rb +17 -1
- data/lib/prismic/api.rb +31 -19
- data/lib/prismic/fragments/image.rb +6 -0
- data/lib/prismic/json_parsers.rb +2 -0
- data/lib/prismic/version.rb +1 -1
- data/spec/cache_spec.rb +12 -12
- data/spec/json_parsers_spec.rb +10 -5
- data/spec/oauth_spec.rb +3 -3
- data/spec/prismic_spec.rb +7 -7
- data/spec/responses_mocks/api.json +12 -12
- data/spec/responses_mocks/document.json +4 -2
- data/spec/responses_mocks/document_with_unknown_fragment.json +2 -0
- data/spec/responses_mocks/fragments.json +5 -3
- data/spec/responses_mocks/slices.json +2 -0
- data/spec/responses_mocks/structured_text_with_labels.json +2 -2
- data/spec/simple_search_spec.rb +55 -0
- metadata +103 -24
- data/deploy-doc.sh +0 -9
- data/spec/doc_spec.rb +0 -298
- data/spec/lesbonneschoses_spec.rb +0 -228
@@ -38,7 +38,7 @@
|
|
38
38
|
"method":"GET",
|
39
39
|
"rel":"collection",
|
40
40
|
"enctype":"application/x-www-form-urlencoded",
|
41
|
-
"action":"http://
|
41
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
42
42
|
"fields":{
|
43
43
|
"ref":{
|
44
44
|
"type":"String"
|
@@ -54,7 +54,7 @@
|
|
54
54
|
"method":"GET",
|
55
55
|
"rel":"collection",
|
56
56
|
"enctype":"application/x-www-form-urlencoded",
|
57
|
-
"action":"http://
|
57
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
58
58
|
"fields":{
|
59
59
|
"ref":{
|
60
60
|
"type":"String"
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"method":"GET",
|
71
71
|
"rel":"collection",
|
72
72
|
"enctype":"application/x-www-form-urlencoded",
|
73
|
-
"action":"http://
|
73
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
74
74
|
"fields":{
|
75
75
|
"ref":{
|
76
76
|
"type":"String"
|
@@ -86,7 +86,7 @@
|
|
86
86
|
"method":"GET",
|
87
87
|
"rel":"collection",
|
88
88
|
"enctype":"application/x-www-form-urlencoded",
|
89
|
-
"action":"http://
|
89
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
90
90
|
"fields":{
|
91
91
|
"ref":{
|
92
92
|
"type":"String"
|
@@ -102,7 +102,7 @@
|
|
102
102
|
"method":"GET",
|
103
103
|
"rel":"collection",
|
104
104
|
"enctype":"application/x-www-form-urlencoded",
|
105
|
-
"action":"http://
|
105
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
106
106
|
"fields":{
|
107
107
|
"ref":{
|
108
108
|
"type":"String"
|
@@ -118,7 +118,7 @@
|
|
118
118
|
"method":"GET",
|
119
119
|
"rel":"collection",
|
120
120
|
"enctype":"application/x-www-form-urlencoded",
|
121
|
-
"action":"http://
|
121
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
122
122
|
"fields":{
|
123
123
|
"ref":{
|
124
124
|
"type":"String"
|
@@ -134,7 +134,7 @@
|
|
134
134
|
"method":"GET",
|
135
135
|
"rel":"collection",
|
136
136
|
"enctype":"application/x-www-form-urlencoded",
|
137
|
-
"action":"http://
|
137
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
138
138
|
"fields":{
|
139
139
|
"ref":{
|
140
140
|
"type":"String"
|
@@ -150,7 +150,7 @@
|
|
150
150
|
"method":"GET",
|
151
151
|
"rel":"collection",
|
152
152
|
"enctype":"application/x-www-form-urlencoded",
|
153
|
-
"action":"http://
|
153
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
154
154
|
"fields":{
|
155
155
|
"ref":{
|
156
156
|
"type":"String"
|
@@ -166,7 +166,7 @@
|
|
166
166
|
"method":"GET",
|
167
167
|
"rel":"collection",
|
168
168
|
"enctype":"application/x-www-form-urlencoded",
|
169
|
-
"action":"http://
|
169
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
170
170
|
"fields":{
|
171
171
|
"ref":{
|
172
172
|
"type":"String"
|
@@ -180,7 +180,7 @@
|
|
180
180
|
"everything":{
|
181
181
|
"method":"GET",
|
182
182
|
"enctype":"application/x-www-form-urlencoded",
|
183
|
-
"action":"http://
|
183
|
+
"action":"http://micro.prismic.io/api/documents/search",
|
184
184
|
"fields":{
|
185
185
|
"ref":{
|
186
186
|
"type":"String"
|
@@ -191,6 +191,6 @@
|
|
191
191
|
}
|
192
192
|
}
|
193
193
|
},
|
194
|
-
"oauth_initiate": "https://
|
195
|
-
"oauth_token": "https://
|
194
|
+
"oauth_initiate": "https://micro.prismic.io/auth",
|
195
|
+
"oauth_token": "https://micro.prismic.io/auth/token"
|
196
196
|
}
|
@@ -5,6 +5,8 @@
|
|
5
5
|
"tags": [
|
6
6
|
"Macaron"
|
7
7
|
],
|
8
|
+
"first_publication_date": "2016-10-19T02:58:01+0000",
|
9
|
+
"last_publication_date": "2016-10-19T03:01:51+0000",
|
8
10
|
"slugs": [
|
9
11
|
"vanilla-macaron",
|
10
12
|
"%E5%8D%97%E5%A4%A7%E6%B2%A2"
|
@@ -63,7 +65,7 @@
|
|
63
65
|
"type": "Image",
|
64
66
|
"value": {
|
65
67
|
"main": {
|
66
|
-
"url": "https://wroomio.s3.amazonaws.com/
|
68
|
+
"url": "https://wroomio.s3.amazonaws.com/micro/0417110ebf2dc34a3e8b7b28ee4e06ac82473b70.png",
|
67
69
|
"alt" : "Alternative text to image",
|
68
70
|
"copyright" : "CC-BY",
|
69
71
|
"dimensions": {
|
@@ -73,7 +75,7 @@
|
|
73
75
|
},
|
74
76
|
"views": {
|
75
77
|
"icon": {
|
76
|
-
"url": "https://wroomio.s3.amazonaws.com/
|
78
|
+
"url": "https://wroomio.s3.amazonaws.com/micro/babdc3421037f9af77720d8f5dcf1b84c912c6ba.png",
|
77
79
|
"alt" : "Alternative text to view",
|
78
80
|
"copyright" : "CC-BY",
|
79
81
|
"dimensions": {
|
@@ -1,10 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"id": "UdUkXt_mqZBObPeS",
|
3
3
|
"type": "product",
|
4
|
-
"href": "https://
|
4
|
+
"href": "https://micro.prismic.io/api/documents/search?ref=UiTGnLGIJxwAucN8&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22UdUkXt_mqZBObPeS%22%29+%5D%5D",
|
5
5
|
"tags": [
|
6
6
|
"Macaron"
|
7
7
|
],
|
8
|
+
"first_publication_date": null,
|
9
|
+
"last_publication_date": null,
|
8
10
|
"slugs": [
|
9
11
|
"vanilla-macaron"
|
10
12
|
],
|
@@ -59,7 +61,7 @@
|
|
59
61
|
"type": "Image",
|
60
62
|
"value": {
|
61
63
|
"main": {
|
62
|
-
"url": "https://wroomio.s3.amazonaws.com/
|
64
|
+
"url": "https://wroomio.s3.amazonaws.com/micro/0417110ebf2dc34a3e8b7b28ee4e06ac82473b70.png",
|
63
65
|
"alt" : "Alternative text to image",
|
64
66
|
"copyright" : "CC-BY",
|
65
67
|
"dimensions": {
|
@@ -69,7 +71,7 @@
|
|
69
71
|
},
|
70
72
|
"views": {
|
71
73
|
"icon": {
|
72
|
-
"url": "https://wroomio.s3.amazonaws.com/
|
74
|
+
"url": "https://wroomio.s3.amazonaws.com/micro/babdc3421037f9af77720d8f5dcf1b84c912c6ba.png",
|
73
75
|
"alt" : "Alternative text to view",
|
74
76
|
"copyright" : "CC-BY",
|
75
77
|
"dimensions": {
|
@@ -4,6 +4,8 @@
|
|
4
4
|
"type":"article",
|
5
5
|
"href":"http://toto.wroom.dev/api/documents/search?ref=VQ_uWX1Za0oCy46m&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22VQ_hV31Za5EAy02H%22%29+%5D%5D",
|
6
6
|
"tags":[],
|
7
|
+
"first_publication_date": "2016-10-19T02:58:01+0000",
|
8
|
+
"last_publication_date": "2016-10-19T03:01:51+0000",
|
7
9
|
"slugs":["une-activite"],
|
8
10
|
"linked_documents":[],
|
9
11
|
"data":{
|
@@ -8,7 +8,7 @@
|
|
8
8
|
},
|
9
9
|
{
|
10
10
|
"type":"image",
|
11
|
-
"url":"https://prismic-io.s3.amazonaws.com/
|
11
|
+
"url":"https://prismic-io.s3.amazonaws.com/micro-vcerzcwaaohojzo/381f3a78dfe952b229fb49ceaa9926f7009ae20a.jpg",
|
12
12
|
"alt":"",
|
13
13
|
"copyright":"",
|
14
14
|
"dimensions":{
|
@@ -124,7 +124,7 @@
|
|
124
124
|
},
|
125
125
|
{
|
126
126
|
"type":"image",
|
127
|
-
"url":"https://prismic-io.s3.amazonaws.com/
|
127
|
+
"url":"https://prismic-io.s3.amazonaws.com/micro-vcerzcwaaohojzo/502ebb427b5eb45693800816fc778316c04935f5.jpg",
|
128
128
|
"alt":"",
|
129
129
|
"copyright":"",
|
130
130
|
"dimensions":{
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe Prismic::API do
|
5
|
+
before do
|
6
|
+
@api = Prismic.api('https://micro.prismic.io/api', nil)
|
7
|
+
end
|
8
|
+
|
9
|
+
describe '#query' do
|
10
|
+
it 'returns the documents filter by the query' do
|
11
|
+
docs = @api.query(Prismic::Predicates::at('document.id', 'UrDejAEAAFwMyrW9'))
|
12
|
+
docs.size.should == 1
|
13
|
+
docs[0].id.should == 'UrDejAEAAFwMyrW9'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe '#all' do
|
18
|
+
it 'returns all documents' do
|
19
|
+
docs = @api.all()
|
20
|
+
docs.size.should >= 20
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe '#get_by_id' do
|
25
|
+
it 'returns the right document' do
|
26
|
+
doc = @api.get_by_id('UrDejAEAAFwMyrW9')
|
27
|
+
doc.id.should == 'UrDejAEAAFwMyrW9'
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
describe '#get_by_uid' do
|
32
|
+
it 'returns the right document' do
|
33
|
+
doc = @api.get_by_uid('with-uid', 'demo')
|
34
|
+
doc.id.should == 'V_OoLCYAAFv84agw'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe '#get_by_ids' do
|
39
|
+
it 'returns the right documents' do
|
40
|
+
docs = @api.get_by_ids(['UrDejAEAAFwMyrW9', 'V2OokCUAAHSZcOUP'])
|
41
|
+
docs.size.should == 2
|
42
|
+
docs[0].id.should == 'UrDejAEAAFwMyrW9'
|
43
|
+
docs[1].id.should == 'V2OokCUAAHSZcOUP'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe '#get_single' do
|
48
|
+
it 'returns the singleton document of a type' do
|
49
|
+
# 'single' is the type name
|
50
|
+
doc = @api.get_single('single')
|
51
|
+
doc.id.should == 'V_OplCUAACQAE0lA'
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
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.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Étienne Vallette d'Osia
|
@@ -11,76 +11,76 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-12-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- - ~>
|
20
|
+
- - "~>"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '1.3'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ~>
|
27
|
+
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '1.3'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rspec
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- - ~>
|
34
|
+
- - "~>"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: '2.14'
|
37
37
|
type: :development
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - ~>
|
41
|
+
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '2.14'
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: nokogiri
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
|
-
- - ~>
|
48
|
+
- - "~>"
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '1.6'
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - ~>
|
55
|
+
- - "~>"
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '1.6'
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: simplecov
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- - ~>
|
62
|
+
- - "~>"
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0.7'
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- - ~>
|
69
|
+
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0.7'
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: hashery
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
|
-
- - ~>
|
76
|
+
- - "~>"
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: 2.1.1
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- - ~>
|
83
|
+
- - "~>"
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: 2.1.1
|
86
86
|
description: The standard Prismic.io's API library.
|
@@ -90,14 +90,96 @@ executables: []
|
|
90
90
|
extensions: []
|
91
91
|
extra_rdoc_files: []
|
92
92
|
files:
|
93
|
-
- .gitignore
|
94
|
-
- .travis.yml
|
95
|
-
- .yardopts
|
93
|
+
- ".gitignore"
|
94
|
+
- ".travis.yml"
|
95
|
+
- ".yardopts"
|
96
96
|
- Gemfile
|
97
97
|
- Gemfile.lock
|
98
98
|
- README.md
|
99
99
|
- Rakefile
|
100
|
-
-
|
100
|
+
- docs/Prismic.html
|
101
|
+
- docs/Prismic/API.html
|
102
|
+
- docs/Prismic/API/BadPrismicResponseError.html
|
103
|
+
- docs/Prismic/API/OAuth.html
|
104
|
+
- docs/Prismic/API/PrismicWSAuthError.html
|
105
|
+
- docs/Prismic/API/PrismicWSConnectionError.html
|
106
|
+
- docs/Prismic/BasicNullCache.html
|
107
|
+
- docs/Prismic/DefaultHTTPClient.html
|
108
|
+
- docs/Prismic/Document.html
|
109
|
+
- docs/Prismic/Error.html
|
110
|
+
- docs/Prismic/Experiment.html
|
111
|
+
- docs/Prismic/Experiments.html
|
112
|
+
- docs/Prismic/Field.html
|
113
|
+
- docs/Prismic/Form.html
|
114
|
+
- docs/Prismic/Fragments.html
|
115
|
+
- docs/Prismic/Fragments/Color.html
|
116
|
+
- docs/Prismic/Fragments/Date.html
|
117
|
+
- docs/Prismic/Fragments/DocumentLink.html
|
118
|
+
- docs/Prismic/Fragments/Embed.html
|
119
|
+
- docs/Prismic/Fragments/FileLink.html
|
120
|
+
- docs/Prismic/Fragments/Fragment.html
|
121
|
+
- docs/Prismic/Fragments/GeoPoint.html
|
122
|
+
- docs/Prismic/Fragments/Group.html
|
123
|
+
- docs/Prismic/Fragments/GroupDocument.html
|
124
|
+
- docs/Prismic/Fragments/Image.html
|
125
|
+
- docs/Prismic/Fragments/Image/View.html
|
126
|
+
- docs/Prismic/Fragments/Image/ViewDoesNotExistException.html
|
127
|
+
- docs/Prismic/Fragments/ImageLink.html
|
128
|
+
- docs/Prismic/Fragments/Link.html
|
129
|
+
- docs/Prismic/Fragments/Multiple.html
|
130
|
+
- docs/Prismic/Fragments/Number.html
|
131
|
+
- docs/Prismic/Fragments/Select.html
|
132
|
+
- docs/Prismic/Fragments/Separator.html
|
133
|
+
- docs/Prismic/Fragments/Slice.html
|
134
|
+
- docs/Prismic/Fragments/SliceZone.html
|
135
|
+
- docs/Prismic/Fragments/StructuredText.html
|
136
|
+
- docs/Prismic/Fragments/StructuredText/Block.html
|
137
|
+
- docs/Prismic/Fragments/StructuredText/Block/Embed.html
|
138
|
+
- docs/Prismic/Fragments/StructuredText/Block/Heading.html
|
139
|
+
- docs/Prismic/Fragments/StructuredText/Block/Image.html
|
140
|
+
- docs/Prismic/Fragments/StructuredText/Block/ListItem.html
|
141
|
+
- docs/Prismic/Fragments/StructuredText/Block/Paragraph.html
|
142
|
+
- docs/Prismic/Fragments/StructuredText/Block/Preformatted.html
|
143
|
+
- docs/Prismic/Fragments/StructuredText/Block/Text.html
|
144
|
+
- docs/Prismic/Fragments/StructuredText/BlockGroup.html
|
145
|
+
- docs/Prismic/Fragments/StructuredText/Span.html
|
146
|
+
- docs/Prismic/Fragments/StructuredText/Span/Em.html
|
147
|
+
- docs/Prismic/Fragments/StructuredText/Span/Hyperlink.html
|
148
|
+
- docs/Prismic/Fragments/StructuredText/Span/Label.html
|
149
|
+
- docs/Prismic/Fragments/StructuredText/Span/Strong.html
|
150
|
+
- docs/Prismic/Fragments/Text.html
|
151
|
+
- docs/Prismic/Fragments/Timestamp.html
|
152
|
+
- docs/Prismic/Fragments/WebLink.html
|
153
|
+
- docs/Prismic/HtmlSerializer.html
|
154
|
+
- docs/Prismic/JsonParser.html
|
155
|
+
- docs/Prismic/LinkResolver.html
|
156
|
+
- docs/Prismic/LruCache.html
|
157
|
+
- docs/Prismic/Predicates.html
|
158
|
+
- docs/Prismic/Ref.html
|
159
|
+
- docs/Prismic/Response.html
|
160
|
+
- docs/Prismic/SearchForm.html
|
161
|
+
- docs/Prismic/SearchForm/AuthenticationException.html
|
162
|
+
- docs/Prismic/SearchForm/AuthorizationException.html
|
163
|
+
- docs/Prismic/SearchForm/FormSearchException.html
|
164
|
+
- docs/Prismic/SearchForm/NoRefSetException.html
|
165
|
+
- docs/Prismic/SearchForm/RefNotFoundException.html
|
166
|
+
- docs/Prismic/SearchForm/UnsupportedFormKind.html
|
167
|
+
- docs/Prismic/Variation.html
|
168
|
+
- docs/Prismic/WithFragments.html
|
169
|
+
- docs/_index.html
|
170
|
+
- docs/class_list.html
|
171
|
+
- docs/css/common.css
|
172
|
+
- docs/css/full_list.css
|
173
|
+
- docs/css/style.css
|
174
|
+
- docs/file.README.html
|
175
|
+
- docs/file_list.html
|
176
|
+
- docs/frames.html
|
177
|
+
- docs/index.html
|
178
|
+
- docs/js/app.js
|
179
|
+
- docs/js/full_list.js
|
180
|
+
- docs/js/jquery.js
|
181
|
+
- docs/method_list.html
|
182
|
+
- docs/top-level-namespace.html
|
101
183
|
- gulpfile.js
|
102
184
|
- lib/prismic.rb
|
103
185
|
- lib/prismic/api.rb
|
@@ -128,11 +210,9 @@ files:
|
|
128
210
|
- package.json
|
129
211
|
- prismic.gemspec
|
130
212
|
- spec/cache_spec.rb
|
131
|
-
- spec/doc_spec.rb
|
132
213
|
- spec/experiments_spec.rb
|
133
214
|
- spec/fragments_spec.rb
|
134
215
|
- spec/json_parsers_spec.rb
|
135
|
-
- spec/lesbonneschoses_spec.rb
|
136
216
|
- spec/micro_spec.rb
|
137
217
|
- spec/oauth_spec.rb
|
138
218
|
- spec/predicates_spec.rb
|
@@ -148,6 +228,7 @@ files:
|
|
148
228
|
- spec/responses_mocks/structured_text_paragraph.json
|
149
229
|
- spec/responses_mocks/structured_text_with_labels.json
|
150
230
|
- spec/responses_mocks/structured_text_with_tricky_spans.json
|
231
|
+
- spec/simple_search_spec.rb
|
151
232
|
- spec/spec_helper.rb
|
152
233
|
homepage: http://prismic.io
|
153
234
|
licenses:
|
@@ -159,27 +240,25 @@ require_paths:
|
|
159
240
|
- lib
|
160
241
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
242
|
requirements:
|
162
|
-
- -
|
243
|
+
- - ">="
|
163
244
|
- !ruby/object:Gem::Version
|
164
245
|
version: '0'
|
165
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
247
|
requirements:
|
167
|
-
- -
|
248
|
+
- - ">="
|
168
249
|
- !ruby/object:Gem::Version
|
169
250
|
version: '0'
|
170
251
|
requirements: []
|
171
252
|
rubyforge_project:
|
172
|
-
rubygems_version: 2.
|
253
|
+
rubygems_version: 2.5.1
|
173
254
|
signing_key:
|
174
255
|
specification_version: 4
|
175
256
|
summary: Prismic.io development kit
|
176
257
|
test_files:
|
177
258
|
- spec/cache_spec.rb
|
178
|
-
- spec/doc_spec.rb
|
179
259
|
- spec/experiments_spec.rb
|
180
260
|
- spec/fragments_spec.rb
|
181
261
|
- spec/json_parsers_spec.rb
|
182
|
-
- spec/lesbonneschoses_spec.rb
|
183
262
|
- spec/micro_spec.rb
|
184
263
|
- spec/oauth_spec.rb
|
185
264
|
- spec/predicates_spec.rb
|
@@ -195,5 +274,5 @@ test_files:
|
|
195
274
|
- spec/responses_mocks/structured_text_paragraph.json
|
196
275
|
- spec/responses_mocks/structured_text_with_labels.json
|
197
276
|
- spec/responses_mocks/structured_text_with_tricky_spans.json
|
277
|
+
- spec/simple_search_spec.rb
|
198
278
|
- spec/spec_helper.rb
|
199
|
-
has_rdoc:
|