rest_framework 0.8.16 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,15 +3,14 @@
3
3
  <%= csrf_meta_tags %>
4
4
  <%= csp_meta_tag rescue nil %>
5
5
 
6
- <!-- ActiveStorage -->
7
- <script src="https://cdn.jsdelivr.net/npm/activestorage@5.2.8-1/app/assets/javascripts/activestorage.min.js"></script>
8
-
9
6
  <!-- Bootstrap -->
10
7
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous">
11
8
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/js/bootstrap.bundle.min.js" integrity="sha384-qKXV1j0HvMUeCBQ+QVp7JcfGl760yU08IQ+GpUo5hlbpg51QRiuqHAJz8+BrxE/N" crossorigin="anonymous"></script>
9
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.4/font/bootstrap-icons.css">
12
10
 
13
11
  <!-- Highlight.js -->
14
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/a11y-dark.min.css" integrity="sha512-Vj6gPCk8EZlqnoveEyuGyYaWZ1+jyjMPg8g4shwyyNlRQl6d3L9At02ZHQr5K6s5duZl/+YKMnM3/8pDhoUphg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
12
+ <link rel="stylesheet" class="rrf-light-mode" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/a11y-light.min.css" integrity="sha512-WDk6RzwygsN9KecRHAfm9HTN87LQjqdygDmkHSJxVkVI7ErCZ8ZWxP6T8RvBujY1n2/E4Ac+bn2ChXnp5rnnHA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
13
+ <link rel="stylesheet" class="rrf-dark-mode" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/a11y-dark.min.css" integrity="sha512-Vj6gPCk8EZlqnoveEyuGyYaWZ1+jyjMPg8g4shwyyNlRQl6d3L9At02ZHQr5K6s5duZl/+YKMnM3/8pDhoUphg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
15
14
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js" integrity="sha512-bgHRAiTjGrzHzLyKOnpFvaEpGzJet3z4tZnXGjpsCcqOnAH6VGUx9frc5bcIhKTVLEiCO6vEhNAgx5jtLUYrfA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
16
15
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/languages/json.min.js" integrity="sha512-0xYvyncS9OLE7GOpNBZFnwyh9+bq4HVgk4yVVYI678xRvE22ASicF1v6fZ1UiST+M6pn17MzFZdvVCI3jTHSyw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
17
16
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/languages/xml.min.js" integrity="sha512-5zBcw+OKRkaNyvUEPlTSfYylVzgpi7KpncY36b0gRudfxIYIH0q0kl2j26uCUB3YBRM6ytQQEZSgRg+ZlBTmdA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
@@ -25,43 +24,98 @@
25
24
 
26
25
  <!-- Custom Style -->
27
26
  <style>
28
- /* Adjust headers to always take up their entire row, and tweak the sizing. */
29
- h1,h2,h3,h4,h5,h6 { display: inline-block; font-weight: normal; margin-bottom: 0; }
27
+ /********************************
28
+ * START OF LIB/DOCS COMMON CSS *
29
+ ********************************/
30
+
31
+ :root {
32
+ --rrf-red: #900;
33
+ --rrf-red-hover: #5f0c0c;
34
+ --rrf-light-red: #db2525;
35
+ --rrf-light-red-hover: #b80404;
36
+ }
37
+ #rrfAccentBar {
38
+ background-color: var(--rrf-red);
39
+ height: .3em;
40
+ }
41
+ header nav { background-color: black; }
42
+
43
+ /* Header adjustments. */
30
44
  h1 { font-size: 2rem; }
31
45
  h2 { font-size: 1.7rem; }
32
46
  h3 { font-size: 1.5rem; }
33
47
  h4 { font-size: 1.3rem; }
34
48
  h5 { font-size: 1.1rem; }
35
49
  h6 { font-size: 1rem; }
50
+ h1, h2, h3, h4, h5, h6 {
51
+ color: var(--rrf-red);
52
+ }
53
+ html[data-bs-theme="dark"] h1,
54
+ html[data-bs-theme="dark"] h2,
55
+ html[data-bs-theme="dark"] h3,
56
+ html[data-bs-theme="dark"] h4,
57
+ html[data-bs-theme="dark"] h5,
58
+ html[data-bs-theme="dark"] h6 {
59
+ color: var(--rrf-light-red);
60
+ }
36
61
 
37
- /* Make code and code blocks a little nicer looking. */
62
+ /* Improve code and code blocks. */
38
63
  pre code {
39
64
  display: block;
40
65
  overflow-x: auto;
41
66
  }
42
- code {
67
+ code, .trix-content pre {
43
68
  padding: .5em !important;
44
- background-color: #2b2b2b !important;
69
+ background-color: #eee !important;
45
70
  border: 1px solid #aaa;
46
71
  border-radius: 3px;
47
72
  }
73
+ p code {
74
+ padding: .1em .3em !important;
75
+ }
76
+ html[data-bs-theme="dark"] code, html[data-bs-theme="dark"] .trix-content pre {
77
+ background-color: #2b2b2b !important;
78
+ }
79
+
80
+ /* Anchors */
81
+ a:not(.nav-link) {
82
+ text-decoration: none;
83
+ color: var(--rrf-red);
84
+ }
85
+ a:hover:not(.nav-link) {
86
+ text-decoration: underline;
87
+ color: var(--rrf-red-hover);
88
+ }
89
+ html[data-bs-theme="dark"] a:not(.nav-link) { color: var(--rrf-light-red); }
90
+ html[data-bs-theme="dark"] a:hover:not(.nav-link) { color: var(--rrf-light-red-hover); }
91
+
92
+ /******************************
93
+ * END OF LIB/DOCS COMMON CSS *
94
+ ******************************/
95
+
96
+ /* Header adjustments. */
97
+ h1,h2,h3,h4,h5,h6 { display: inline-block; font-weight: normal; margin-bottom: 0; }
48
98
 
49
99
  /* Reduce label font size. */
50
100
  label.form-label {
51
101
  font-size: .8em;
52
102
  }
53
103
 
54
- trix-editor:empty:not(:focus)::before {
55
- pointer-events: none;
104
+ /* Make Trix buttons visible even in dark mode. */
105
+ trix-toolbar .trix-button-group {
106
+ background-color: #eee;
56
107
  }
57
108
 
58
- /* Make Trix buttons visible in the dark mode. */
59
- trix-toolbar .trix-button-group {
60
- background-color: #f8f8f8;
109
+ /* Make Trix dialog URL input visible in dark mode. */
110
+ input.trix-input--dialog {
111
+ color: black;
61
112
  }
62
113
 
63
114
  /* Make route group expansion obvious to the user. */
64
115
  .rrf-routes .rrf-route-group-header:hover {
116
+ background-color: #ddd;
117
+ }
118
+ html[data-bs-theme="dark"] .rrf-routes .rrf-route-group-header:hover {
65
119
  background-color: #333;
66
120
  }
67
121
  .rrf-routes .rrf-route-group-header td {
@@ -81,21 +135,127 @@ trix-toolbar .trix-button-group {
81
135
  }
82
136
  .rrf-copy .rrf-copy-link {
83
137
  position: absolute;
84
- top: .5em;
85
- right: .5em;
138
+ top: .25em;
139
+ right: .4em;
86
140
  transition: 0.3s ease;
141
+ font-size: 1.5em;
87
142
  }
88
- .rrf-copy .rrf-copy-link.rrf-clicked{
143
+ .rrf-copy .rrf-copy-link.rrf-clicked {
144
+ color: green;
145
+ }
146
+ .rrf-copy .rrf-copy-link.rrf-clicked:hover {
89
147
  color: green;
90
148
  }
91
149
  </style>
92
150
 
93
151
  <!-- Custom JavaScript -->
94
152
  <script>
95
- // What to do when document loads.
153
+ /*******************************
154
+ * START OF LIB/DOCS COMMON JS *
155
+ *******************************/
156
+
157
+ ;(() => {
158
+ // Get the real mode from a selected mode. Anything other than "light" or "dark" is treated as
159
+ // "system" mode.
160
+ const rrfGetRealMode = (selectedMode) => {
161
+ if (selectedMode === "light" || selectedMode === "dark") {
162
+ return selectedMode
163
+ }
164
+
165
+ if (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) {
166
+ return "dark"
167
+ }
168
+
169
+ return "light"
170
+ }
171
+
172
+ // Set the mode, given a "selected" mode.
173
+ const rrfSetSelectedMode = (selectedMode) => {
174
+ // Anything except "light" or "dark" is casted to "system".
175
+ if (selectedMode !== "light" && selectedMode !== "dark") {
176
+ selectedMode = "system"
177
+ }
178
+
179
+ // Store selected mode in `localStorage`.
180
+ localStorage.setItem("rrfMode", selectedMode)
181
+
182
+ // Set the mode selector to the selected mode.
183
+ const modeComponent = document.getElementById("rrfModeComponent")
184
+ if (modeComponent) {
185
+ let labelHTML
186
+ modeComponent.querySelectorAll("button[data-rrf-mode-value]").forEach((el) => {
187
+ if (el.getAttribute("data-rrf-mode-value") === selectedMode) {
188
+ el.classList.add("active")
189
+ labelHTML = el.querySelector("i").outerHTML.replace("ms-2", "me-1")
190
+ } else {
191
+ el.classList.remove("active")
192
+ }
193
+ })
194
+ modeComponent.querySelector("button[data-bs-toggle]").innerHTML = labelHTML
195
+ }
196
+
197
+ // Get the real mode to use.
198
+ realMode = rrfGetRealMode(selectedMode)
199
+
200
+ // Set the `realMode` effects.
201
+ if (realMode === "light") {
202
+ document.querySelectorAll(".rrf-light-mode").forEach((el) => {
203
+ el.disabled = false
204
+ })
205
+ document.querySelectorAll(".rrf-dark-mode").forEach((el) => {
206
+ el.disabled = true
207
+ })
208
+ document.querySelectorAll(".rrf-mode").forEach((el) => {
209
+ el.setAttribute("data-bs-theme", "light")
210
+ })
211
+ } else if (realMode === "dark") {
212
+ document.querySelectorAll(".rrf-light-mode").forEach((el) => {
213
+ el.disabled = true
214
+ })
215
+ document.querySelectorAll(".rrf-dark-mode").forEach((el) => {
216
+ el.disabled = false
217
+ })
218
+ document.querySelectorAll(".rrf-mode").forEach((el) => {
219
+ el.setAttribute("data-bs-theme", "dark")
220
+ })
221
+ } else {
222
+ console.log(`RRF: Unknown mode: ${mode}`)
223
+ }
224
+ }
225
+
226
+ // Initialize dark/light mode before page fully loads to prevent flash.
227
+ rrfSetSelectedMode(localStorage.getItem("rrfMode"))
228
+
229
+ // Initialize dark/light mode after page load (mostly so mode component is updated).
230
+ document.addEventListener("DOMContentLoaded", (event) => {
231
+ rrfSetSelectedMode(localStorage.getItem("rrfMode"))
232
+
233
+ // Also set up mode selector.
234
+ document.querySelectorAll("#rrfModeComponent button[data-rrf-mode-value]").forEach((el) => {
235
+ el.addEventListener("click", (event) => {
236
+ rrfSetSelectedMode(event.target.getAttribute("data-rrf-mode-value"))
237
+ })
238
+ })
239
+ })
240
+
241
+ // Handle case where user changes system theme.
242
+ if (window.matchMedia) {
243
+ window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change", () => {
244
+ const selectedMode = localStorage.getItem("rrfMode")
245
+ if (selectedMode !== "light" && selectedMode !== "dark") {
246
+ rrfSetSelectedMode("system")
247
+ }
248
+ })
249
+ }
250
+ })()
251
+
252
+ /*****************************
253
+ * END OF LIB/DOCS COMMON JS *
254
+ *****************************/
255
+
96
256
  document.addEventListener("DOMContentLoaded", (event) => {
97
257
  // Pretty-print JSON.
98
- document.querySelectorAll(".language-json").forEach((el, index) => {
258
+ document.querySelectorAll(".language-json").forEach((el) => {
99
259
  el.innerHTML = neatJSON(JSON.parse(el.innerText), {
100
260
  wrap: 80,
101
261
  afterComma: 1,
@@ -112,17 +272,37 @@ document.addEventListener("DOMContentLoaded", (event) => {
112
272
  hljs.highlightAll()
113
273
 
114
274
  // Replace text node links with anchor tag links.
115
- document.querySelectorAll(".rrf-copy code").forEach((el, index) => {
275
+ document.querySelectorAll(".rrf-copy code").forEach((el) => {
116
276
  el.innerHTML = rrfLinkify(el.innerHTML)
117
277
  })
118
278
 
119
- // Insert copy link and callback to copy contents of `<code>` element.
120
- document.querySelectorAll("rrf-copy").forEach((el, index) => {
279
+ // Insert copy links.
280
+ document.querySelectorAll(".rrf-copy").forEach((el) => {
121
281
  el.insertAdjacentHTML(
122
282
  "afterbegin",
123
- "<a class=\"rrf-copy-link\" onclick=\"return rrfCopyToClipboard(this)\" href=\"#\">Copy to Clipboard</a>",
283
+ '<a class="rrf-copy-link" title="Copy to Clipboard" href="#"><i class="bi bi-clipboard-fill"></i></a>',
124
284
  )
125
285
  })
286
+
287
+ // Copy link implementation.
288
+ document.querySelectorAll(".rrf-copy-link").forEach((el) => {
289
+ el.addEventListener("click", (event) => {
290
+ const range = document.createRange()
291
+ range.selectNode(el.nextSibling)
292
+ window.getSelection().removeAllRanges()
293
+ window.getSelection().addRange(range)
294
+ if (document.execCommand("copy")) {
295
+ // Trigger clicked animation.
296
+ el.classList.add("rrf-clicked")
297
+ el.innerHTML = '<i class="bi bi-clipboard-check-fill">'
298
+ setTimeout(() => {
299
+ el.classList.remove("rrf-clicked")
300
+ el.innerHTML = '<i class="bi bi-clipboard-fill">'
301
+ }, 1000)
302
+ }
303
+ event.preventDefault()
304
+ })
305
+ })
126
306
  })
127
307
 
128
308
  // Convert plain-text links to anchor tag links.
@@ -141,26 +321,6 @@ function rrfReplaceDocument(content) {
141
321
  document.dispatchEvent(new Event("DOMContentLoaded", {bubbles: true, cancelable: true}))
142
322
  }
143
323
 
144
- // Copy the element's next `<code>` sibling's content to the clipboard.
145
- function rrfCopyToClipboard(element) {
146
- let range = document.createRange()
147
- range.selectNode(element.nextSibling)
148
- window.getSelection().removeAllRanges()
149
- window.getSelection().addRange(range)
150
- if (document.execCommand("copy")) {
151
- // Trigger clicked animation.
152
- element.classList.add("rrf-clicked")
153
- element.innerText = "Copied!"
154
- setTimeout(() => {
155
- element.classList.remove("rrf-clicked")
156
- element.innerText = "Copy to Clipboard"
157
- }, 700)
158
- }
159
-
160
- // Return false to prevent normal link behavior.
161
- return false
162
- }
163
-
164
324
  // Refresh the window as a `GET` request.
165
325
  function rrfGet(button) {
166
326
  button.disabled = true
@@ -201,7 +361,7 @@ function rrfSubmitRawForm(button) {
201
361
  // Add file(s) to `formData`.
202
362
  const rawFilesForm = document.getElementById("rawFilesForm")
203
363
  if (rawFilesForm) {
204
- rawFilesForm.querySelectorAll("input[type=file]").forEach((el, index) => {
364
+ rawFilesForm.querySelectorAll("input[type=file]").forEach((el) => {
205
365
  const files = el.files
206
366
  for (let i = 0; i < files.length; i++) {
207
367
  formData.append(el.name, files[i])
@@ -13,7 +13,7 @@
13
13
  <%= form_with(
14
14
  model: @record,
15
15
  url: "",
16
- method: "PATCH",
16
+ method: :patch,
17
17
  id: "htmlForm",
18
18
  scope: "",
19
19
  ) do |form| %>
data/docs/CNAME ADDED
@@ -0,0 +1 @@
1
+ rails-rest-framework.com
data/docs/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "github-pages"
4
+ gem "yard"
data/docs/Gemfile.lock ADDED
@@ -0,0 +1,264 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ activesupport (7.0.4.3)
5
+ concurrent-ruby (~> 1.0, >= 1.0.2)
6
+ i18n (>= 1.6, < 2)
7
+ minitest (>= 5.1)
8
+ tzinfo (~> 2.0)
9
+ addressable (2.8.2)
10
+ public_suffix (>= 2.0.2, < 6.0)
11
+ coffee-script (2.4.1)
12
+ coffee-script-source
13
+ execjs
14
+ coffee-script-source (1.11.1)
15
+ colorator (1.1.0)
16
+ commonmarker (0.23.8)
17
+ concurrent-ruby (1.2.2)
18
+ dnsruby (1.61.9)
19
+ simpleidn (~> 0.1)
20
+ em-websocket (0.5.3)
21
+ eventmachine (>= 0.12.9)
22
+ http_parser.rb (~> 0)
23
+ ethon (0.16.0)
24
+ ffi (>= 1.15.0)
25
+ eventmachine (1.2.7)
26
+ execjs (2.8.1)
27
+ faraday (2.7.4)
28
+ faraday-net_http (>= 2.0, < 3.1)
29
+ ruby2_keywords (>= 0.0.4)
30
+ faraday-net_http (3.0.2)
31
+ ffi (1.15.5)
32
+ forwardable-extended (2.6.0)
33
+ gemoji (3.0.1)
34
+ github-pages (228)
35
+ github-pages-health-check (= 1.17.9)
36
+ jekyll (= 3.9.3)
37
+ jekyll-avatar (= 0.7.0)
38
+ jekyll-coffeescript (= 1.1.1)
39
+ jekyll-commonmark-ghpages (= 0.4.0)
40
+ jekyll-default-layout (= 0.1.4)
41
+ jekyll-feed (= 0.15.1)
42
+ jekyll-gist (= 1.5.0)
43
+ jekyll-github-metadata (= 2.13.0)
44
+ jekyll-include-cache (= 0.2.1)
45
+ jekyll-mentions (= 1.6.0)
46
+ jekyll-optional-front-matter (= 0.3.2)
47
+ jekyll-paginate (= 1.1.0)
48
+ jekyll-readme-index (= 0.3.0)
49
+ jekyll-redirect-from (= 0.16.0)
50
+ jekyll-relative-links (= 0.6.1)
51
+ jekyll-remote-theme (= 0.4.3)
52
+ jekyll-sass-converter (= 1.5.2)
53
+ jekyll-seo-tag (= 2.8.0)
54
+ jekyll-sitemap (= 1.4.0)
55
+ jekyll-swiss (= 1.0.0)
56
+ jekyll-theme-architect (= 0.2.0)
57
+ jekyll-theme-cayman (= 0.2.0)
58
+ jekyll-theme-dinky (= 0.2.0)
59
+ jekyll-theme-hacker (= 0.2.0)
60
+ jekyll-theme-leap-day (= 0.2.0)
61
+ jekyll-theme-merlot (= 0.2.0)
62
+ jekyll-theme-midnight (= 0.2.0)
63
+ jekyll-theme-minimal (= 0.2.0)
64
+ jekyll-theme-modernist (= 0.2.0)
65
+ jekyll-theme-primer (= 0.6.0)
66
+ jekyll-theme-slate (= 0.2.0)
67
+ jekyll-theme-tactile (= 0.2.0)
68
+ jekyll-theme-time-machine (= 0.2.0)
69
+ jekyll-titles-from-headings (= 0.5.3)
70
+ jemoji (= 0.12.0)
71
+ kramdown (= 2.3.2)
72
+ kramdown-parser-gfm (= 1.1.0)
73
+ liquid (= 4.0.4)
74
+ mercenary (~> 0.3)
75
+ minima (= 2.5.1)
76
+ nokogiri (>= 1.13.6, < 2.0)
77
+ rouge (= 3.26.0)
78
+ terminal-table (~> 1.4)
79
+ github-pages-health-check (1.17.9)
80
+ addressable (~> 2.3)
81
+ dnsruby (~> 1.60)
82
+ octokit (~> 4.0)
83
+ public_suffix (>= 3.0, < 5.0)
84
+ typhoeus (~> 1.3)
85
+ html-pipeline (2.14.3)
86
+ activesupport (>= 2)
87
+ nokogiri (>= 1.4)
88
+ http_parser.rb (0.8.0)
89
+ i18n (1.12.0)
90
+ concurrent-ruby (~> 1.0)
91
+ jekyll (3.9.3)
92
+ addressable (~> 2.4)
93
+ colorator (~> 1.0)
94
+ em-websocket (~> 0.5)
95
+ i18n (>= 0.7, < 2)
96
+ jekyll-sass-converter (~> 1.0)
97
+ jekyll-watch (~> 2.0)
98
+ kramdown (>= 1.17, < 3)
99
+ liquid (~> 4.0)
100
+ mercenary (~> 0.3.3)
101
+ pathutil (~> 0.9)
102
+ rouge (>= 1.7, < 4)
103
+ safe_yaml (~> 1.0)
104
+ jekyll-avatar (0.7.0)
105
+ jekyll (>= 3.0, < 5.0)
106
+ jekyll-coffeescript (1.1.1)
107
+ coffee-script (~> 2.2)
108
+ coffee-script-source (~> 1.11.1)
109
+ jekyll-commonmark (1.4.0)
110
+ commonmarker (~> 0.22)
111
+ jekyll-commonmark-ghpages (0.4.0)
112
+ commonmarker (~> 0.23.7)
113
+ jekyll (~> 3.9.0)
114
+ jekyll-commonmark (~> 1.4.0)
115
+ rouge (>= 2.0, < 5.0)
116
+ jekyll-default-layout (0.1.4)
117
+ jekyll (~> 3.0)
118
+ jekyll-feed (0.15.1)
119
+ jekyll (>= 3.7, < 5.0)
120
+ jekyll-gist (1.5.0)
121
+ octokit (~> 4.2)
122
+ jekyll-github-metadata (2.13.0)
123
+ jekyll (>= 3.4, < 5.0)
124
+ octokit (~> 4.0, != 4.4.0)
125
+ jekyll-include-cache (0.2.1)
126
+ jekyll (>= 3.7, < 5.0)
127
+ jekyll-mentions (1.6.0)
128
+ html-pipeline (~> 2.3)
129
+ jekyll (>= 3.7, < 5.0)
130
+ jekyll-optional-front-matter (0.3.2)
131
+ jekyll (>= 3.0, < 5.0)
132
+ jekyll-paginate (1.1.0)
133
+ jekyll-readme-index (0.3.0)
134
+ jekyll (>= 3.0, < 5.0)
135
+ jekyll-redirect-from (0.16.0)
136
+ jekyll (>= 3.3, < 5.0)
137
+ jekyll-relative-links (0.6.1)
138
+ jekyll (>= 3.3, < 5.0)
139
+ jekyll-remote-theme (0.4.3)
140
+ addressable (~> 2.0)
141
+ jekyll (>= 3.5, < 5.0)
142
+ jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
143
+ rubyzip (>= 1.3.0, < 3.0)
144
+ jekyll-sass-converter (1.5.2)
145
+ sass (~> 3.4)
146
+ jekyll-seo-tag (2.8.0)
147
+ jekyll (>= 3.8, < 5.0)
148
+ jekyll-sitemap (1.4.0)
149
+ jekyll (>= 3.7, < 5.0)
150
+ jekyll-swiss (1.0.0)
151
+ jekyll-theme-architect (0.2.0)
152
+ jekyll (> 3.5, < 5.0)
153
+ jekyll-seo-tag (~> 2.0)
154
+ jekyll-theme-cayman (0.2.0)
155
+ jekyll (> 3.5, < 5.0)
156
+ jekyll-seo-tag (~> 2.0)
157
+ jekyll-theme-dinky (0.2.0)
158
+ jekyll (> 3.5, < 5.0)
159
+ jekyll-seo-tag (~> 2.0)
160
+ jekyll-theme-hacker (0.2.0)
161
+ jekyll (> 3.5, < 5.0)
162
+ jekyll-seo-tag (~> 2.0)
163
+ jekyll-theme-leap-day (0.2.0)
164
+ jekyll (> 3.5, < 5.0)
165
+ jekyll-seo-tag (~> 2.0)
166
+ jekyll-theme-merlot (0.2.0)
167
+ jekyll (> 3.5, < 5.0)
168
+ jekyll-seo-tag (~> 2.0)
169
+ jekyll-theme-midnight (0.2.0)
170
+ jekyll (> 3.5, < 5.0)
171
+ jekyll-seo-tag (~> 2.0)
172
+ jekyll-theme-minimal (0.2.0)
173
+ jekyll (> 3.5, < 5.0)
174
+ jekyll-seo-tag (~> 2.0)
175
+ jekyll-theme-modernist (0.2.0)
176
+ jekyll (> 3.5, < 5.0)
177
+ jekyll-seo-tag (~> 2.0)
178
+ jekyll-theme-primer (0.6.0)
179
+ jekyll (> 3.5, < 5.0)
180
+ jekyll-github-metadata (~> 2.9)
181
+ jekyll-seo-tag (~> 2.0)
182
+ jekyll-theme-slate (0.2.0)
183
+ jekyll (> 3.5, < 5.0)
184
+ jekyll-seo-tag (~> 2.0)
185
+ jekyll-theme-tactile (0.2.0)
186
+ jekyll (> 3.5, < 5.0)
187
+ jekyll-seo-tag (~> 2.0)
188
+ jekyll-theme-time-machine (0.2.0)
189
+ jekyll (> 3.5, < 5.0)
190
+ jekyll-seo-tag (~> 2.0)
191
+ jekyll-titles-from-headings (0.5.3)
192
+ jekyll (>= 3.3, < 5.0)
193
+ jekyll-watch (2.2.1)
194
+ listen (~> 3.0)
195
+ jemoji (0.12.0)
196
+ gemoji (~> 3.0)
197
+ html-pipeline (~> 2.2)
198
+ jekyll (>= 3.0, < 5.0)
199
+ kramdown (2.3.2)
200
+ rexml
201
+ kramdown-parser-gfm (1.1.0)
202
+ kramdown (~> 2.0)
203
+ liquid (4.0.4)
204
+ listen (3.8.0)
205
+ rb-fsevent (~> 0.10, >= 0.10.3)
206
+ rb-inotify (~> 0.9, >= 0.9.10)
207
+ mercenary (0.3.6)
208
+ mini_portile2 (2.8.1)
209
+ minima (2.5.1)
210
+ jekyll (>= 3.5, < 5.0)
211
+ jekyll-feed (~> 0.9)
212
+ jekyll-seo-tag (~> 2.1)
213
+ minitest (5.18.0)
214
+ nokogiri (1.14.2)
215
+ mini_portile2 (~> 2.8.0)
216
+ racc (~> 1.4)
217
+ octokit (4.25.1)
218
+ faraday (>= 1, < 3)
219
+ sawyer (~> 0.9)
220
+ pathutil (0.16.2)
221
+ forwardable-extended (~> 2.6)
222
+ public_suffix (4.0.7)
223
+ racc (1.6.2)
224
+ rb-fsevent (0.11.2)
225
+ rb-inotify (0.10.1)
226
+ ffi (~> 1.0)
227
+ rexml (3.2.5)
228
+ rouge (3.26.0)
229
+ ruby2_keywords (0.0.5)
230
+ rubyzip (2.3.2)
231
+ safe_yaml (1.0.5)
232
+ sass (3.7.4)
233
+ sass-listen (~> 4.0.0)
234
+ sass-listen (4.0.0)
235
+ rb-fsevent (~> 0.9, >= 0.9.4)
236
+ rb-inotify (~> 0.9, >= 0.9.7)
237
+ sawyer (0.9.2)
238
+ addressable (>= 2.3.5)
239
+ faraday (>= 0.17.3, < 3)
240
+ simpleidn (0.2.1)
241
+ unf (~> 0.1.4)
242
+ terminal-table (1.8.0)
243
+ unicode-display_width (~> 1.1, >= 1.1.1)
244
+ typhoeus (1.4.0)
245
+ ethon (>= 0.9.0)
246
+ tzinfo (2.0.6)
247
+ concurrent-ruby (~> 1.0)
248
+ unf (0.1.4)
249
+ unf_ext
250
+ unf_ext (0.0.8.2)
251
+ unicode-display_width (1.8.0)
252
+ webrick (1.7.0)
253
+ yard (0.9.28)
254
+ webrick (~> 1.7.0)
255
+
256
+ PLATFORMS
257
+ ruby
258
+
259
+ DEPENDENCIES
260
+ github-pages
261
+ yard
262
+
263
+ BUNDLED WITH
264
+ 2.2.33
data/docs/_config.yml ADDED
@@ -0,0 +1,17 @@
1
+ title: Rails REST Framework
2
+ email: schmitgreg@gmail.com
3
+ description: Rails REST Framework helps you build awesome Web APIs in Ruby on Rails.
4
+ url: "https://rails-rest-framework.com"
5
+ collections:
6
+ guide:
7
+ output: true
8
+ permalink: /:collection/:slug/
9
+
10
+ # Build settings
11
+ markdown: kramdown
12
+
13
+ defaults:
14
+ - scope:
15
+ path: "" # All files.
16
+ values:
17
+ layout: default