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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed1753c335c48bf87951c03895be8817219ae73fb171980b0819fd8d24333dc2
4
- data.tar.gz: 19e4f9adb0f182af037966167deea8c92ab7a0bf99319b0ed608b56cbb68097a
3
+ metadata.gz: 7e9325d76432737bcb94628c6c2e1c7daaffd62a8bfd9375059c991f032c4c59
4
+ data.tar.gz: 64fd479c4933a5085b24d97d042d09b42afa855332a18403357ec002e73d3bdc
5
5
  SHA512:
6
- metadata.gz: 03ec13eb0696da794383f0c0a3b62c7913ed0b012d20d36bc99f218fa4d2939bd736b96928dd6f843fc1bbf07e2d0142a142a0049240ca51228a5bc6ff33621f
7
- data.tar.gz: 20929c52bc0cd0bfbc06cd6f0110ed3949efc50a34b7978b5c0433514fc7feea99b04a2ec404d58cce6037420748d83f0cc8b5f2eb73415750d46659a56a7c30
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
@@ -1,3 +1,3 @@
1
1
  module Apicasso
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
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.3
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,2 +0,0 @@
1
- //= link_directory ../javascripts/apicasso .js
2
- //= link_directory ../stylesheets/apicasso .css
@@ -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,4 +0,0 @@
1
- module Apicasso
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module Apicasso
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module Apicasso
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
5
- end
6
- end
@@ -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>