apes 1.0.1 → 1.0.2
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/.rubocop.yml +1 -1
- data/.travis-gemfile +1 -1
- data/.travis.yml +1 -4
- data/.yardopts +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -1
- data/LICENSE.md +21 -0
- data/README.md +22 -16
- data/Rakefile +1 -1
- data/apes.gemspec +1 -1
- data/{doc → docs}/Apes.html +1 -1
- data/{doc → docs}/Apes/Concerns.html +1 -1
- data/{doc → docs}/Apes/Concerns/Errors.html +1 -1
- data/{doc → docs}/Apes/Concerns/Pagination.html +1 -1
- data/{doc → docs}/Apes/Concerns/Request.html +1 -1
- data/{doc → docs}/Apes/Concerns/Response.html +1 -1
- data/{doc → docs}/Apes/Controller.html +1 -1
- data/{doc → docs}/Apes/Errors.html +1 -1
- data/{doc → docs}/Apes/Errors/AuthenticationError.html +1 -1
- data/{doc → docs}/Apes/Errors/BadRequestError.html +1 -1
- data/{doc → docs}/Apes/Errors/BaseError.html +1 -1
- data/{doc → docs}/Apes/Errors/InvalidDataError.html +1 -1
- data/{doc → docs}/Apes/Errors/MissingDataError.html +1 -1
- data/{doc → docs}/Apes/Model.html +1 -1
- data/{doc → docs}/Apes/PaginationCursor.html +1 -1
- data/{doc → docs}/Apes/RuntimeConfiguration.html +1 -1
- data/{doc → docs}/Apes/Serializers.html +1 -1
- data/{doc → docs}/Apes/Serializers/JSON.html +1 -1
- data/{doc → docs}/Apes/Serializers/JWT.html +1 -1
- data/{doc → docs}/Apes/Serializers/List.html +1 -1
- data/{doc → docs}/Apes/UrlsParser.html +1 -1
- data/{doc → docs}/Apes/Validators.html +1 -1
- data/{doc → docs}/Apes/Validators/BaseValidator.html +1 -1
- data/{doc → docs}/Apes/Validators/BooleanValidator.html +1 -1
- data/{doc → docs}/Apes/Validators/EmailValidator.html +1 -1
- data/{doc → docs}/Apes/Validators/PhoneValidator.html +1 -1
- data/{doc → docs}/Apes/Validators/ReferenceValidator.html +1 -1
- data/{doc → docs}/Apes/Validators/TimestampValidator.html +1 -1
- data/{doc → docs}/Apes/Validators/UuidValidator.html +1 -1
- data/{doc → docs}/Apes/Validators/ZipCodeValidator.html +1 -1
- data/{doc → docs}/Apes/Version.html +1 -1
- data/{doc → docs}/_index.html +1 -1
- data/{doc → docs}/class_list.html +0 -0
- data/{doc → docs}/css/common.css +0 -0
- data/{doc → docs}/css/full_list.css +0 -0
- data/{doc → docs}/css/style.css +0 -0
- data/{doc → docs}/file.README.html +7 -5
- data/{doc → docs}/file_list.html +0 -0
- data/{doc → docs}/frames.html +0 -0
- data/{doc → docs}/index.html +7 -5
- data/{doc → docs}/js/app.js +0 -0
- data/{doc → docs}/js/full_list.js +0 -0
- data/{doc → docs}/js/jquery.js +0 -0
- data/{doc → docs}/method_list.html +0 -0
- data/{doc → docs}/top-level-namespace.html +1 -1
- data/lib/apes.rb +1 -1
- data/lib/apes/concerns/errors.rb +1 -1
- data/lib/apes/concerns/pagination.rb +1 -1
- data/lib/apes/concerns/request.rb +1 -1
- data/lib/apes/concerns/response.rb +1 -1
- data/lib/apes/controller.rb +1 -1
- data/lib/apes/errors.rb +1 -1
- data/lib/apes/model.rb +1 -1
- data/lib/apes/pagination_cursor.rb +1 -1
- data/lib/apes/runtime_configuration.rb +1 -1
- data/lib/apes/serializers.rb +1 -1
- data/lib/apes/urls_parser.rb +1 -1
- data/lib/apes/validators.rb +1 -1
- data/lib/apes/version.rb +2 -2
- data/spec/apes/controller_spec.rb +1 -1
- data/spec/apes/errors_spec.rb +1 -1
- data/spec/apes/models_spec.rb +1 -1
- data/spec/apes/pagination_cursor_spec.rb +1 -1
- data/spec/apes/runtime_configuration_spec.rb +1 -1
- data/spec/apes/serializers_spec.rb +1 -1
- data/spec/apes/urls_parser_spec.rb +1 -1
- data/spec/apes/validators_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +49 -75
- data/doc/ApplicationController.html +0 -547
- data/doc/Concerns.html +0 -128
- data/doc/Concerns/ErrorHandling.html +0 -826
- data/doc/Concerns/PaginationHandling.html +0 -463
- data/doc/Concerns/RequestHandling.html +0 -512
- data/doc/Concerns/ResponseHandling.html +0 -579
- data/doc/Errors.html +0 -126
- data/doc/Errors/AuthenticationError.html +0 -123
- data/doc/Errors/BadRequestError.html +0 -147
- data/doc/Errors/BaseError.html +0 -289
- data/doc/Errors/InvalidDataError.html +0 -147
- data/doc/Errors/MissingDataError.html +0 -147
- data/doc/Model.html +0 -315
- data/doc/PaginationCursor.html +0 -764
- data/doc/Serializers.html +0 -126
- data/doc/Serializers/JSON.html +0 -253
- data/doc/Serializers/JWT.html +0 -253
- data/doc/Serializers/List.html +0 -245
- data/doc/Validators.html +0 -126
- data/doc/Validators/BaseValidator.html +0 -209
- data/doc/Validators/BooleanValidator.html +0 -391
- data/doc/Validators/EmailValidator.html +0 -298
- data/doc/Validators/PhoneValidator.html +0 -313
- data/doc/Validators/ReferenceValidator.html +0 -284
- data/doc/Validators/TimestampValidator.html +0 -476
- data/doc/Validators/UuidValidator.html +0 -310
- data/doc/Validators/ZipCodeValidator.html +0 -310
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
</div>
|
|
632
632
|
|
|
633
633
|
<div id="footer">
|
|
634
|
-
Generated on
|
|
634
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
635
635
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
636
636
|
0.8.7.6 (ruby-2.3.0).
|
|
637
637
|
</div>
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
</div>
|
|
364
364
|
|
|
365
365
|
<div id="footer">
|
|
366
|
-
Generated on
|
|
366
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
367
367
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
368
368
|
0.8.7.6 (ruby-2.3.0).
|
|
369
369
|
</div>
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
</div>
|
|
364
364
|
|
|
365
365
|
<div id="footer">
|
|
366
|
-
Generated on
|
|
366
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
367
367
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
368
368
|
0.8.7.6 (ruby-2.3.0).
|
|
369
369
|
</div>
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
|
|
182
182
|
<div id="footer">
|
|
183
|
-
Generated on
|
|
183
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
185
185
|
0.8.7.6 (ruby-2.3.0).
|
|
186
186
|
</div>
|
data/{doc → docs}/_index.html
RENAMED
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
</div>
|
|
427
427
|
|
|
428
428
|
<div id="footer">
|
|
429
|
-
Generated on
|
|
429
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
430
430
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
431
431
|
0.8.7.6 (ruby-2.3.0).
|
|
432
432
|
</div>
|
|
File without changes
|
data/{doc → docs}/css/common.css
RENAMED
|
File without changes
|
|
File without changes
|
data/{doc → docs}/css/style.css
RENAMED
|
File without changes
|
|
@@ -66,14 +66,12 @@
|
|
|
66
66
|
<p><a href="http://badge.fury.io/rb/apes"><img src="https://badge.fury.io/rb/apes.png" alt="Gem Version" /></a>
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/apes"><img src="https://gemnasium.com/ShogunPanda/apes.png?travis" alt="Dependency Status" /></a>
|
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/apes"><img src="https://secure.travis-ci.org/ShogunPanda/apes.png?branch=master" alt="Build Status" /></a>
|
|
69
|
-
<a href="https://coveralls.io/
|
|
69
|
+
<a href="https://coveralls.io/github/ShogunPanda/apes?branch=master"><img src="https://coveralls.io/repos/github/ShogunPanda/apes/badge.svg?branch=master" alt="Coverage Status" /></a></p>
|
|
70
70
|
|
|
71
71
|
<p>A tiny JSON API framework for Ruby on Rails.</p>
|
|
72
72
|
|
|
73
73
|
<p>https://sw.cowtech.it/apes</p>
|
|
74
74
|
|
|
75
|
-
<p>https://github.com/ShogunPanda/apes</p>
|
|
76
|
-
|
|
77
75
|
<h1 id="introduction">Introduction</h1>
|
|
78
76
|
|
|
79
77
|
<p>Apes makes it easy to deal with <a href="http://jsonapi.org/">JSON API</a> by abstracting all the oddities of the specification.</p>
|
|
@@ -139,7 +137,7 @@ end
|
|
|
139
137
|
|
|
140
138
|
<p>By definining the <code>ATTRIBUTES</code> and <code>RELATIONSHIPS</code> in your model, you can ensure no invalid attributes are provided.</p>
|
|
141
139
|
|
|
142
|
-
<p><code>
|
|
140
|
+
<p><code>ruby
|
|
143
141
|
class Appointment < ApplicationRecord
|
|
144
142
|
ATTRIBUTES = [:user, :assignee, :date, :reason].freeze
|
|
145
143
|
RELATIONSHIPS = {user: nil, assignee: User}.freeze
|
|
@@ -224,6 +222,10 @@ end</p>
|
|
|
224
222
|
<p>json.meta(meta) if local_assigns.key?(:meta)
|
|
225
223
|
```</p>
|
|
226
224
|
|
|
225
|
+
<h2 id="api-documentation">API Documentation</h2>
|
|
226
|
+
|
|
227
|
+
<p>The API documentation can be found <a href="https://sw.cowtech.it/apes/docs">here</a>.</p>
|
|
228
|
+
|
|
227
229
|
<h2 id="contributing-to-apes">Contributing to apes</h2>
|
|
228
230
|
|
|
229
231
|
<ul>
|
|
@@ -243,7 +245,7 @@ end</p>
|
|
|
243
245
|
</div></div>
|
|
244
246
|
|
|
245
247
|
<div id="footer">
|
|
246
|
-
Generated on
|
|
248
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
247
249
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
248
250
|
0.8.7.6 (ruby-2.3.0).
|
|
249
251
|
</div>
|
data/{doc → docs}/file_list.html
RENAMED
|
File without changes
|
data/{doc → docs}/frames.html
RENAMED
|
File without changes
|
data/{doc → docs}/index.html
RENAMED
|
@@ -66,14 +66,12 @@
|
|
|
66
66
|
<p><a href="http://badge.fury.io/rb/apes"><img src="https://badge.fury.io/rb/apes.png" alt="Gem Version" /></a>
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/apes"><img src="https://gemnasium.com/ShogunPanda/apes.png?travis" alt="Dependency Status" /></a>
|
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/apes"><img src="https://secure.travis-ci.org/ShogunPanda/apes.png?branch=master" alt="Build Status" /></a>
|
|
69
|
-
<a href="https://coveralls.io/
|
|
69
|
+
<a href="https://coveralls.io/github/ShogunPanda/apes?branch=master"><img src="https://coveralls.io/repos/github/ShogunPanda/apes/badge.svg?branch=master" alt="Coverage Status" /></a></p>
|
|
70
70
|
|
|
71
71
|
<p>A tiny JSON API framework for Ruby on Rails.</p>
|
|
72
72
|
|
|
73
73
|
<p>https://sw.cowtech.it/apes</p>
|
|
74
74
|
|
|
75
|
-
<p>https://github.com/ShogunPanda/apes</p>
|
|
76
|
-
|
|
77
75
|
<h1 id="introduction">Introduction</h1>
|
|
78
76
|
|
|
79
77
|
<p>Apes makes it easy to deal with <a href="http://jsonapi.org/">JSON API</a> by abstracting all the oddities of the specification.</p>
|
|
@@ -139,7 +137,7 @@ end
|
|
|
139
137
|
|
|
140
138
|
<p>By definining the <code>ATTRIBUTES</code> and <code>RELATIONSHIPS</code> in your model, you can ensure no invalid attributes are provided.</p>
|
|
141
139
|
|
|
142
|
-
<p><code>
|
|
140
|
+
<p><code>ruby
|
|
143
141
|
class Appointment < ApplicationRecord
|
|
144
142
|
ATTRIBUTES = [:user, :assignee, :date, :reason].freeze
|
|
145
143
|
RELATIONSHIPS = {user: nil, assignee: User}.freeze
|
|
@@ -224,6 +222,10 @@ end</p>
|
|
|
224
222
|
<p>json.meta(meta) if local_assigns.key?(:meta)
|
|
225
223
|
```</p>
|
|
226
224
|
|
|
225
|
+
<h2 id="api-documentation">API Documentation</h2>
|
|
226
|
+
|
|
227
|
+
<p>The API documentation can be found <a href="https://sw.cowtech.it/apes/docs">here</a>.</p>
|
|
228
|
+
|
|
227
229
|
<h2 id="contributing-to-apes">Contributing to apes</h2>
|
|
228
230
|
|
|
229
231
|
<ul>
|
|
@@ -243,7 +245,7 @@ end</p>
|
|
|
243
245
|
</div></div>
|
|
244
246
|
|
|
245
247
|
<div id="footer">
|
|
246
|
-
Generated on
|
|
248
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
247
249
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
248
250
|
0.8.7.6 (ruby-2.3.0).
|
|
249
251
|
</div>
|
data/{doc → docs}/js/app.js
RENAMED
|
File without changes
|
|
File without changes
|
data/{doc → docs}/js/jquery.js
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
106
|
+
Generated on Thu Aug 18 15:49:46 2016 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
108
|
0.8.7.6 (ruby-2.3.0).
|
|
109
109
|
</div>
|
data/lib/apes.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "lazier"
|
data/lib/apes/concerns/errors.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
data/lib/apes/controller.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
data/lib/apes/errors.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
data/lib/apes/model.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
data/lib/apes/serializers.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
data/lib/apes/urls_parser.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
data/lib/apes/validators.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
module Apes
|
data/lib/apes/version.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
# A tiny JSON API framework for Ruby on Rails.
|
|
@@ -16,7 +16,7 @@ module Apes
|
|
|
16
16
|
MINOR = 0
|
|
17
17
|
|
|
18
18
|
# The patch version.
|
|
19
|
-
PATCH =
|
|
19
|
+
PATCH = 2
|
|
20
20
|
|
|
21
21
|
# The current version of apes.
|
|
22
22
|
STRING = [MAJOR, MINOR, PATCH].compact.join(".")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
data/spec/apes/errors_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
data/spec/apes/models_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "spec_helper"
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>.
|
|
3
|
-
# Licensed under the MIT license, which can be found at
|
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
|
4
4
|
#
|
|
5
5
|
|
|
6
6
|
require "bundler/setup"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shogun
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lazier
|
|
@@ -108,81 +108,55 @@ files:
|
|
|
108
108
|
- ".yardopts"
|
|
109
109
|
- CHANGELOG.md
|
|
110
110
|
- Gemfile
|
|
111
|
+
- LICENSE.md
|
|
111
112
|
- README.md
|
|
112
113
|
- Rakefile
|
|
113
114
|
- apes.gemspec
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
- doc/Serializers.html
|
|
160
|
-
- doc/Serializers/JSON.html
|
|
161
|
-
- doc/Serializers/JWT.html
|
|
162
|
-
- doc/Serializers/List.html
|
|
163
|
-
- doc/Validators.html
|
|
164
|
-
- doc/Validators/BaseValidator.html
|
|
165
|
-
- doc/Validators/BooleanValidator.html
|
|
166
|
-
- doc/Validators/EmailValidator.html
|
|
167
|
-
- doc/Validators/PhoneValidator.html
|
|
168
|
-
- doc/Validators/ReferenceValidator.html
|
|
169
|
-
- doc/Validators/TimestampValidator.html
|
|
170
|
-
- doc/Validators/UuidValidator.html
|
|
171
|
-
- doc/Validators/ZipCodeValidator.html
|
|
172
|
-
- doc/_index.html
|
|
173
|
-
- doc/class_list.html
|
|
174
|
-
- doc/css/common.css
|
|
175
|
-
- doc/css/full_list.css
|
|
176
|
-
- doc/css/style.css
|
|
177
|
-
- doc/file.README.html
|
|
178
|
-
- doc/file_list.html
|
|
179
|
-
- doc/frames.html
|
|
180
|
-
- doc/index.html
|
|
181
|
-
- doc/js/app.js
|
|
182
|
-
- doc/js/full_list.js
|
|
183
|
-
- doc/js/jquery.js
|
|
184
|
-
- doc/method_list.html
|
|
185
|
-
- doc/top-level-namespace.html
|
|
115
|
+
- docs/Apes.html
|
|
116
|
+
- docs/Apes/Concerns.html
|
|
117
|
+
- docs/Apes/Concerns/Errors.html
|
|
118
|
+
- docs/Apes/Concerns/Pagination.html
|
|
119
|
+
- docs/Apes/Concerns/Request.html
|
|
120
|
+
- docs/Apes/Concerns/Response.html
|
|
121
|
+
- docs/Apes/Controller.html
|
|
122
|
+
- docs/Apes/Errors.html
|
|
123
|
+
- docs/Apes/Errors/AuthenticationError.html
|
|
124
|
+
- docs/Apes/Errors/BadRequestError.html
|
|
125
|
+
- docs/Apes/Errors/BaseError.html
|
|
126
|
+
- docs/Apes/Errors/InvalidDataError.html
|
|
127
|
+
- docs/Apes/Errors/MissingDataError.html
|
|
128
|
+
- docs/Apes/Model.html
|
|
129
|
+
- docs/Apes/PaginationCursor.html
|
|
130
|
+
- docs/Apes/RuntimeConfiguration.html
|
|
131
|
+
- docs/Apes/Serializers.html
|
|
132
|
+
- docs/Apes/Serializers/JSON.html
|
|
133
|
+
- docs/Apes/Serializers/JWT.html
|
|
134
|
+
- docs/Apes/Serializers/List.html
|
|
135
|
+
- docs/Apes/UrlsParser.html
|
|
136
|
+
- docs/Apes/Validators.html
|
|
137
|
+
- docs/Apes/Validators/BaseValidator.html
|
|
138
|
+
- docs/Apes/Validators/BooleanValidator.html
|
|
139
|
+
- docs/Apes/Validators/EmailValidator.html
|
|
140
|
+
- docs/Apes/Validators/PhoneValidator.html
|
|
141
|
+
- docs/Apes/Validators/ReferenceValidator.html
|
|
142
|
+
- docs/Apes/Validators/TimestampValidator.html
|
|
143
|
+
- docs/Apes/Validators/UuidValidator.html
|
|
144
|
+
- docs/Apes/Validators/ZipCodeValidator.html
|
|
145
|
+
- docs/Apes/Version.html
|
|
146
|
+
- docs/_index.html
|
|
147
|
+
- docs/class_list.html
|
|
148
|
+
- docs/css/common.css
|
|
149
|
+
- docs/css/full_list.css
|
|
150
|
+
- docs/css/style.css
|
|
151
|
+
- docs/file.README.html
|
|
152
|
+
- docs/file_list.html
|
|
153
|
+
- docs/frames.html
|
|
154
|
+
- docs/index.html
|
|
155
|
+
- docs/js/app.js
|
|
156
|
+
- docs/js/full_list.js
|
|
157
|
+
- docs/js/jquery.js
|
|
158
|
+
- docs/method_list.html
|
|
159
|
+
- docs/top-level-namespace.html
|
|
186
160
|
- lib/apes.rb
|
|
187
161
|
- lib/apes/concerns/errors.rb
|
|
188
162
|
- lib/apes/concerns/pagination.rb
|
|
@@ -241,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
241
215
|
version: '0'
|
|
242
216
|
requirements: []
|
|
243
217
|
rubyforge_project: apes
|
|
244
|
-
rubygems_version: 2.
|
|
218
|
+
rubygems_version: 2.6.8
|
|
245
219
|
signing_key:
|
|
246
220
|
specification_version: 4
|
|
247
221
|
summary: A tiny JSON API framework for Ruby on Rails.
|