rest_framework 0.8.15 → 0.8.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/views/layouts/rest_framework.html.erb +149 -128
- data/app/views/rest_framework/_head.html.erb +249 -28
- data/app/views/rest_framework/_html_form.html.erb +55 -3
- data/app/views/rest_framework/_raw_form.html.erb +31 -3
- data/docs/CNAME +1 -0
- data/docs/Gemfile +4 -0
- data/docs/Gemfile.lock +264 -0
- data/docs/_config.yml +17 -0
- data/docs/_guide/1_routers.md +110 -0
- data/docs/_guide/2_controller_mixins.md +293 -0
- data/docs/_guide/3_serializers.md +60 -0
- data/docs/_guide/4_filtering_and_ordering.md +41 -0
- data/docs/_guide/5_pagination.md +21 -0
- data/docs/_includes/anchor_headings.html +144 -0
- data/docs/_includes/head.html +35 -0
- data/docs/_includes/header.html +58 -0
- data/docs/_layouts/default.html +11 -0
- data/docs/assets/css/rest_framework.css +159 -0
- data/docs/assets/images/favicon.ico +0 -0
- data/docs/assets/js/rest_framework.js +132 -0
- data/docs/index.md +133 -0
- data/lib/rest_framework/controller_mixins/base.rb +10 -3
- data/lib/rest_framework/controller_mixins/models.rb +120 -44
- data/lib/rest_framework/filters.rb +7 -9
- data/lib/rest_framework/serializers.rb +35 -12
- data/lib/rest_framework/utils.rb +11 -2
- data/lib/rest_framework/version.rb +4 -1
- data/lib/rest_framework.rb +2 -8
- metadata +22 -6
- data/app/views/rest_framework/_form_routes.html.erb +0 -10
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregory N. Schmit
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -35,12 +35,28 @@ files:
|
|
35
35
|
- README.md
|
36
36
|
- VERSION
|
37
37
|
- app/views/layouts/rest_framework.html.erb
|
38
|
-
- app/views/rest_framework/_form_routes.html.erb
|
39
38
|
- app/views/rest_framework/_head.html.erb
|
40
39
|
- app/views/rest_framework/_html_form.html.erb
|
41
40
|
- app/views/rest_framework/_raw_form.html.erb
|
42
41
|
- app/views/rest_framework/_route.html.erb
|
43
42
|
- app/views/rest_framework/_routes.html.erb
|
43
|
+
- docs/CNAME
|
44
|
+
- docs/Gemfile
|
45
|
+
- docs/Gemfile.lock
|
46
|
+
- docs/_config.yml
|
47
|
+
- docs/_guide/1_routers.md
|
48
|
+
- docs/_guide/2_controller_mixins.md
|
49
|
+
- docs/_guide/3_serializers.md
|
50
|
+
- docs/_guide/4_filtering_and_ordering.md
|
51
|
+
- docs/_guide/5_pagination.md
|
52
|
+
- docs/_includes/anchor_headings.html
|
53
|
+
- docs/_includes/head.html
|
54
|
+
- docs/_includes/header.html
|
55
|
+
- docs/_layouts/default.html
|
56
|
+
- docs/assets/css/rest_framework.css
|
57
|
+
- docs/assets/images/favicon.ico
|
58
|
+
- docs/assets/js/rest_framework.js
|
59
|
+
- docs/index.md
|
44
60
|
- lib/rest_framework.rb
|
45
61
|
- lib/rest_framework/controller_mixins.rb
|
46
62
|
- lib/rest_framework/controller_mixins/base.rb
|
@@ -62,7 +78,7 @@ licenses:
|
|
62
78
|
metadata:
|
63
79
|
homepage_uri: https://rails-rest-framework.com
|
64
80
|
source_code_uri: https://github.com/gregschmit/rails-rest-framework
|
65
|
-
post_install_message:
|
81
|
+
post_install_message:
|
66
82
|
rdoc_options: []
|
67
83
|
require_paths:
|
68
84
|
- lib
|
@@ -79,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
95
|
version: '0'
|
80
96
|
requirements: []
|
81
97
|
rubygems_version: 3.2.33
|
82
|
-
signing_key:
|
98
|
+
signing_key:
|
83
99
|
specification_version: 4
|
84
100
|
summary: A framework for DRY RESTful APIs in Ruby on Rails.
|
85
101
|
test_files: []
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<div class="mb-2">
|
2
|
-
<label class="form-label w-100">Route
|
3
|
-
<select class="form-control" id="rawFormRoute">
|
4
|
-
<% @_rrf_form_routes.each do |route| %>
|
5
|
-
<% path = @route_props[:with_path_args].call(route[:route]) %>
|
6
|
-
<option value="<%= route[:verb] %>:<%= path %>"><%= route[:verb] %> <%= route[:relative_path] %></option>
|
7
|
-
<% end %>
|
8
|
-
</select>
|
9
|
-
</label>
|
10
|
-
</div>
|