apicasso 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +84 -0
- data/Rakefile +32 -0
- data/app/assets/config/apicasso_manifest.js +2 -0
- data/app/assets/javascripts/apicasso/application.js +15 -0
- data/app/assets/stylesheets/apicasso/application.css +15 -0
- data/app/controllers/apicasso/apidocs_controller.rb +472 -0
- data/app/controllers/apicasso/application_controller.rb +106 -0
- data/app/controllers/apicasso/crud_controller.rb +148 -0
- data/app/controllers/concerns/orderable.rb +44 -0
- data/app/helpers/apicasso/application_helper.rb +4 -0
- data/app/jobs/apicasso/application_job.rb +4 -0
- data/app/mailers/apicasso/application_mailer.rb +6 -0
- data/app/models/apicasso/ability.rb +40 -0
- data/app/models/apicasso/application_record.rb +6 -0
- data/app/models/apicasso/key.rb +25 -0
- data/app/models/apicasso/request.rb +8 -0
- data/app/views/layouts/apicasso/application.html.erb +16 -0
- data/config/routes.rb +13 -0
- data/lib/apicasso/active_record_extension.rb +80 -0
- data/lib/apicasso/engine.rb +6 -0
- data/lib/apicasso/version.rb +3 -0
- data/lib/apicasso.rb +9 -0
- data/lib/generators/apicasso/install/install_generator.rb +25 -0
- data/lib/generators/apicasso/install/templates/create_apicasso_tables.rb +17 -0
- data/lib/tasks/apicasso_tasks.rake +4 -0
- metadata +147 -0
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: apicasso
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fernando Bellincanta
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-07-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cancancan
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: swagger-blocks
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: will_paginate
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.1.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.1.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sqlite3
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: 'JSON API development can get boring and time consuming. If you think
|
84
|
+
it through, every time you make one you use almost the same route structure pointing
|
85
|
+
the same controller actions, with the same features: ordering, filtering and pagination.
|
86
|
+
APIcasso is intended to be used as a full-fledged CRUD JSON API or as a base controller.
|
87
|
+
It makes development and easier job by abstracting route-based resource operations
|
88
|
+
into API key scoping. This makes it possible to make CRUD-only applications just
|
89
|
+
by creating functional Rails'' models. The magic is done by a `.scope` JSON object
|
90
|
+
which exists in every API key. It uses permission scopes as keys to restrict and
|
91
|
+
extend APIcasso access to your application''s resources.'
|
92
|
+
email:
|
93
|
+
- ervalhous@hotmail.com
|
94
|
+
executables: []
|
95
|
+
extensions: []
|
96
|
+
extra_rdoc_files: []
|
97
|
+
files:
|
98
|
+
- README.md
|
99
|
+
- Rakefile
|
100
|
+
- app/assets/config/apicasso_manifest.js
|
101
|
+
- app/assets/javascripts/apicasso/application.js
|
102
|
+
- app/assets/stylesheets/apicasso/application.css
|
103
|
+
- app/controllers/apicasso/apidocs_controller.rb
|
104
|
+
- app/controllers/apicasso/application_controller.rb
|
105
|
+
- app/controllers/apicasso/crud_controller.rb
|
106
|
+
- 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
|
+
- app/models/apicasso/ability.rb
|
111
|
+
- app/models/apicasso/application_record.rb
|
112
|
+
- app/models/apicasso/key.rb
|
113
|
+
- app/models/apicasso/request.rb
|
114
|
+
- app/views/layouts/apicasso/application.html.erb
|
115
|
+
- config/routes.rb
|
116
|
+
- lib/apicasso.rb
|
117
|
+
- lib/apicasso/active_record_extension.rb
|
118
|
+
- lib/apicasso/engine.rb
|
119
|
+
- lib/apicasso/version.rb
|
120
|
+
- lib/generators/apicasso/install/install_generator.rb
|
121
|
+
- lib/generators/apicasso/install/templates/create_apicasso_tables.rb
|
122
|
+
- lib/tasks/apicasso_tasks.rake
|
123
|
+
homepage: https://github.com/ErvalhouS/APIcasso
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata: {}
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 2.7.3
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: An abstract API design as a mountable engine
|
147
|
+
test_files: []
|