apicasso 0.1.3 → 0.1.4
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.
- checksums.yaml +4 -4
- data/config/routes.rb +1 -1
- data/lib/apicasso/version.rb +1 -1
- metadata +1 -8
- data/app/assets/config/apicasso_manifest.js +0 -2
- data/app/assets/javascripts/apicasso/application.js +0 -15
- data/app/assets/stylesheets/apicasso/application.css +0 -15
- data/app/helpers/apicasso/application_helper.rb +0 -4
- data/app/jobs/apicasso/application_job.rb +0 -4
- data/app/mailers/apicasso/application_mailer.rb +0 -6
- data/app/views/layouts/apicasso/application.html.erb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e9325d76432737bcb94628c6c2e1c7daaffd62a8bfd9375059c991f032c4c59
|
4
|
+
data.tar.gz: 64fd479c4933a5085b24d97d042d09b42afa855332a18403357ec002e73d3bdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fca3af2a4f83dbf1c2fbda914f9ac44ea214af244961ca54cd536af9b8bbce1fecad184e241d04a9501ec08e8aa475c5f2c821ca77056d3c3c35ac801f74bb80
|
7
|
+
data.tar.gz: d67e0ae171c4e9d7cdb31bd31b742debb5216d523186bdd469ad9532bcb292ee13fdecaed7b0620092a0e11da506b7dc97e4936a158938bdd10ec9c38f77bd04
|
data/config/routes.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
Apicasso::Engine.routes.draw do
|
2
2
|
scope module: :apicasso do
|
3
|
+
resources :apidocs, only: [:index]
|
3
4
|
get '/:resource/', to: 'crud#index', via: :get
|
4
5
|
match '/:resource/', to: 'crud#create', via: :post
|
5
6
|
get '/:resource/:id', to: 'crud#show', via: :get
|
@@ -8,6 +9,5 @@ Apicasso::Engine.routes.draw do
|
|
8
9
|
match '/:resource/:id/:nested/', to: 'crud#nested_index', via: :get
|
9
10
|
match '/:resource/', to: 'crud#schema', via: :options
|
10
11
|
match '/:resource/:id/:nested/', to: 'crud#schema', via: :options
|
11
|
-
resources :apidocs, only: [:index]
|
12
12
|
end
|
13
13
|
end
|
data/lib/apicasso/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apicasso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Bellincanta
|
@@ -97,21 +97,14 @@ extra_rdoc_files: []
|
|
97
97
|
files:
|
98
98
|
- README.md
|
99
99
|
- Rakefile
|
100
|
-
- app/assets/config/apicasso_manifest.js
|
101
|
-
- app/assets/javascripts/apicasso/application.js
|
102
|
-
- app/assets/stylesheets/apicasso/application.css
|
103
100
|
- app/controllers/apicasso/apidocs_controller.rb
|
104
101
|
- app/controllers/apicasso/application_controller.rb
|
105
102
|
- app/controllers/apicasso/crud_controller.rb
|
106
103
|
- app/controllers/concerns/orderable.rb
|
107
|
-
- app/helpers/apicasso/application_helper.rb
|
108
|
-
- app/jobs/apicasso/application_job.rb
|
109
|
-
- app/mailers/apicasso/application_mailer.rb
|
110
104
|
- app/models/apicasso/ability.rb
|
111
105
|
- app/models/apicasso/application_record.rb
|
112
106
|
- app/models/apicasso/key.rb
|
113
107
|
- app/models/apicasso/request.rb
|
114
|
-
- app/views/layouts/apicasso/application.html.erb
|
115
108
|
- config/routes.rb
|
116
109
|
- lib/apicasso.rb
|
117
110
|
- lib/apicasso/active_record_extension.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require rails-ujs
|
14
|
-
//= require activestorage
|
15
|
-
//= require_tree .
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Apicasso</title>
|
5
|
-
<%= csrf_meta_tags %>
|
6
|
-
<%= csp_meta_tag %>
|
7
|
-
|
8
|
-
<%= stylesheet_link_tag "apicasso/application", media: "all" %>
|
9
|
-
<%= javascript_include_tag "apicasso/application" %>
|
10
|
-
</head>
|
11
|
-
<body>
|
12
|
-
|
13
|
-
<%= yield %>
|
14
|
-
|
15
|
-
</body>
|
16
|
-
</html>
|