happypdf_json_schema 0.1.1 → 0.1.2

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.
@@ -1,5 +1,5 @@
1
1
  module HappyPdf
2
2
  class Schema
3
- VERSION='0.1.1'
3
+ VERSION='0.1.2'
4
4
  end
5
5
  end
@@ -38,7 +38,7 @@
38
38
  {
39
39
  "rel": "public screenshot",
40
40
  "method": "GET",
41
- "href": "/public/pages/{public_id}/screenshot"
41
+ "href": "public/pages/{public_id}/screenshot"
42
42
  }
43
43
  ]
44
44
  }
data/schema/v1.0/pdf.json CHANGED
@@ -47,17 +47,17 @@
47
47
  "links": [
48
48
  {
49
49
  "rel": "self",
50
- "href": "/pdfs/{id}"
50
+ "href": "api/pdfs/{id}"
51
51
  },
52
52
  {
53
53
  "rel": "instances",
54
54
  "method": "GET",
55
- "href": "/pdfs"
55
+ "href": "api/pdfs"
56
56
  },
57
57
  {
58
58
  "rel": "create",
59
59
  "method": "POST",
60
- "href": "/pdfs",
60
+ "href": "api/pdfs",
61
61
  "properties": {
62
62
  "pdt_id":{
63
63
  "title" : "Template",
@@ -69,7 +69,7 @@
69
69
  {
70
70
  "rel": "destroy",
71
71
  "method": "DELETE",
72
- "href": "/pdfs/{id}"
72
+ "href": "api/pdfs/{id}"
73
73
  }
74
74
  ]
75
75
  }
data/schema/v1.0/pdt.json CHANGED
@@ -75,26 +75,26 @@
75
75
  {
76
76
  "rel": "instances",
77
77
  "method": "GET",
78
- "href": "/pdts"
78
+ "href": "api/pdts"
79
79
  },
80
80
  {
81
81
  "rel": "create",
82
82
  "method": "POST",
83
- "href": "/pdts"
83
+ "href": "api/pdts"
84
84
  },
85
85
  {
86
86
  "rel": "self",
87
- "href": "/pdts/{id}"
87
+ "href": "api/pdts/{id}"
88
88
  },
89
89
  {
90
90
  "rel": "update",
91
91
  "method": "PUT",
92
- "href": "/pdts/{id}"
92
+ "href": "api/pdts/{id}"
93
93
  },
94
94
  {
95
95
  "rel": "destroy",
96
96
  "method": "DELETE",
97
- "href": "/pdts/{id}"
97
+ "href": "api/pdts/{id}"
98
98
  }
99
99
  ]
100
100
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: happypdf_json_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -119,9 +119,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  - - ! '>='
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
- segments:
123
- - 0
124
- hash: 3223921984990998320
125
122
  required_rubygems_version: !ruby/object:Gem::Requirement
126
123
  none: false
127
124
  requirements:
@@ -130,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
127
  version: '0'
131
128
  requirements: []
132
129
  rubyforge_project:
133
- rubygems_version: 1.8.25
130
+ rubygems_version: 1.8.24
134
131
  signing_key:
135
132
  specification_version: 3
136
133
  summary: happyPDF API - JSON Schema