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.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/.travis-gemfile +1 -1
  4. data/.travis.yml +1 -4
  5. data/.yardopts +1 -1
  6. data/CHANGELOG.md +8 -0
  7. data/Gemfile +1 -1
  8. data/LICENSE.md +21 -0
  9. data/README.md +22 -16
  10. data/Rakefile +1 -1
  11. data/apes.gemspec +1 -1
  12. data/{doc → docs}/Apes.html +1 -1
  13. data/{doc → docs}/Apes/Concerns.html +1 -1
  14. data/{doc → docs}/Apes/Concerns/Errors.html +1 -1
  15. data/{doc → docs}/Apes/Concerns/Pagination.html +1 -1
  16. data/{doc → docs}/Apes/Concerns/Request.html +1 -1
  17. data/{doc → docs}/Apes/Concerns/Response.html +1 -1
  18. data/{doc → docs}/Apes/Controller.html +1 -1
  19. data/{doc → docs}/Apes/Errors.html +1 -1
  20. data/{doc → docs}/Apes/Errors/AuthenticationError.html +1 -1
  21. data/{doc → docs}/Apes/Errors/BadRequestError.html +1 -1
  22. data/{doc → docs}/Apes/Errors/BaseError.html +1 -1
  23. data/{doc → docs}/Apes/Errors/InvalidDataError.html +1 -1
  24. data/{doc → docs}/Apes/Errors/MissingDataError.html +1 -1
  25. data/{doc → docs}/Apes/Model.html +1 -1
  26. data/{doc → docs}/Apes/PaginationCursor.html +1 -1
  27. data/{doc → docs}/Apes/RuntimeConfiguration.html +1 -1
  28. data/{doc → docs}/Apes/Serializers.html +1 -1
  29. data/{doc → docs}/Apes/Serializers/JSON.html +1 -1
  30. data/{doc → docs}/Apes/Serializers/JWT.html +1 -1
  31. data/{doc → docs}/Apes/Serializers/List.html +1 -1
  32. data/{doc → docs}/Apes/UrlsParser.html +1 -1
  33. data/{doc → docs}/Apes/Validators.html +1 -1
  34. data/{doc → docs}/Apes/Validators/BaseValidator.html +1 -1
  35. data/{doc → docs}/Apes/Validators/BooleanValidator.html +1 -1
  36. data/{doc → docs}/Apes/Validators/EmailValidator.html +1 -1
  37. data/{doc → docs}/Apes/Validators/PhoneValidator.html +1 -1
  38. data/{doc → docs}/Apes/Validators/ReferenceValidator.html +1 -1
  39. data/{doc → docs}/Apes/Validators/TimestampValidator.html +1 -1
  40. data/{doc → docs}/Apes/Validators/UuidValidator.html +1 -1
  41. data/{doc → docs}/Apes/Validators/ZipCodeValidator.html +1 -1
  42. data/{doc → docs}/Apes/Version.html +1 -1
  43. data/{doc → docs}/_index.html +1 -1
  44. data/{doc → docs}/class_list.html +0 -0
  45. data/{doc → docs}/css/common.css +0 -0
  46. data/{doc → docs}/css/full_list.css +0 -0
  47. data/{doc → docs}/css/style.css +0 -0
  48. data/{doc → docs}/file.README.html +7 -5
  49. data/{doc → docs}/file_list.html +0 -0
  50. data/{doc → docs}/frames.html +0 -0
  51. data/{doc → docs}/index.html +7 -5
  52. data/{doc → docs}/js/app.js +0 -0
  53. data/{doc → docs}/js/full_list.js +0 -0
  54. data/{doc → docs}/js/jquery.js +0 -0
  55. data/{doc → docs}/method_list.html +0 -0
  56. data/{doc → docs}/top-level-namespace.html +1 -1
  57. data/lib/apes.rb +1 -1
  58. data/lib/apes/concerns/errors.rb +1 -1
  59. data/lib/apes/concerns/pagination.rb +1 -1
  60. data/lib/apes/concerns/request.rb +1 -1
  61. data/lib/apes/concerns/response.rb +1 -1
  62. data/lib/apes/controller.rb +1 -1
  63. data/lib/apes/errors.rb +1 -1
  64. data/lib/apes/model.rb +1 -1
  65. data/lib/apes/pagination_cursor.rb +1 -1
  66. data/lib/apes/runtime_configuration.rb +1 -1
  67. data/lib/apes/serializers.rb +1 -1
  68. data/lib/apes/urls_parser.rb +1 -1
  69. data/lib/apes/validators.rb +1 -1
  70. data/lib/apes/version.rb +2 -2
  71. data/spec/apes/controller_spec.rb +1 -1
  72. data/spec/apes/errors_spec.rb +1 -1
  73. data/spec/apes/models_spec.rb +1 -1
  74. data/spec/apes/pagination_cursor_spec.rb +1 -1
  75. data/spec/apes/runtime_configuration_spec.rb +1 -1
  76. data/spec/apes/serializers_spec.rb +1 -1
  77. data/spec/apes/urls_parser_spec.rb +1 -1
  78. data/spec/apes/validators_spec.rb +1 -1
  79. data/spec/spec_helper.rb +1 -1
  80. metadata +49 -75
  81. data/doc/ApplicationController.html +0 -547
  82. data/doc/Concerns.html +0 -128
  83. data/doc/Concerns/ErrorHandling.html +0 -826
  84. data/doc/Concerns/PaginationHandling.html +0 -463
  85. data/doc/Concerns/RequestHandling.html +0 -512
  86. data/doc/Concerns/ResponseHandling.html +0 -579
  87. data/doc/Errors.html +0 -126
  88. data/doc/Errors/AuthenticationError.html +0 -123
  89. data/doc/Errors/BadRequestError.html +0 -147
  90. data/doc/Errors/BaseError.html +0 -289
  91. data/doc/Errors/InvalidDataError.html +0 -147
  92. data/doc/Errors/MissingDataError.html +0 -147
  93. data/doc/Model.html +0 -315
  94. data/doc/PaginationCursor.html +0 -764
  95. data/doc/Serializers.html +0 -126
  96. data/doc/Serializers/JSON.html +0 -253
  97. data/doc/Serializers/JWT.html +0 -253
  98. data/doc/Serializers/List.html +0 -245
  99. data/doc/Validators.html +0 -126
  100. data/doc/Validators/BaseValidator.html +0 -209
  101. data/doc/Validators/BooleanValidator.html +0 -391
  102. data/doc/Validators/EmailValidator.html +0 -298
  103. data/doc/Validators/PhoneValidator.html +0 -313
  104. data/doc/Validators/ReferenceValidator.html +0 -284
  105. data/doc/Validators/TimestampValidator.html +0 -476
  106. data/doc/Validators/UuidValidator.html +0 -310
  107. data/doc/Validators/ZipCodeValidator.html +0 -310
@@ -631,7 +631,7 @@
631
631
  </div>
632
632
 
633
633
  <div id="footer">
634
- Generated on Tue Jun 14 10:21:04 2016 by
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 Tue Jun 14 10:21:04 2016 by
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 Tue Jun 14 10:21:04 2016 by
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 Tue Jun 14 10:21:04 2016 by
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>
@@ -426,7 +426,7 @@
426
426
  </div>
427
427
 
428
428
  <div id="footer">
429
- Generated on Tue Jun 14 10:21:03 2016 by
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
File without changes
File without changes
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/r/ShogunPanda/apes"><img src="https://coveralls.io/repos/ShogunPanda/apes/badge.png" alt="Coverage Status" /></a></p>
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 &lt; 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 Tue Jun 14 10:21:03 2016 by
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>
File without changes
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/r/ShogunPanda/apes"><img src="https://coveralls.io/repos/ShogunPanda/apes/badge.png" alt="Coverage Status" /></a></p>
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 &lt; 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 Tue Jun 14 10:21:03 2016 by
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>
File without changes
File without changes
File without changes
File without changes
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Tue Jun 14 10:21:03 2016 by
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>
@@ -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 http://www.opensource.org/licenses/mit-license.php.
3
+ # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
4
4
  #
5
5
 
6
6
  require "lazier"
@@ -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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 = 1
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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 http://www.opensource.org/licenses/mit-license.php.
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.1
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: 2016-06-14 00:00:00.000000000 Z
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
- - doc/Apes.html
115
- - doc/Apes/Concerns.html
116
- - doc/Apes/Concerns/Errors.html
117
- - doc/Apes/Concerns/Pagination.html
118
- - doc/Apes/Concerns/Request.html
119
- - doc/Apes/Concerns/Response.html
120
- - doc/Apes/Controller.html
121
- - doc/Apes/Errors.html
122
- - doc/Apes/Errors/AuthenticationError.html
123
- - doc/Apes/Errors/BadRequestError.html
124
- - doc/Apes/Errors/BaseError.html
125
- - doc/Apes/Errors/InvalidDataError.html
126
- - doc/Apes/Errors/MissingDataError.html
127
- - doc/Apes/Model.html
128
- - doc/Apes/PaginationCursor.html
129
- - doc/Apes/RuntimeConfiguration.html
130
- - doc/Apes/Serializers.html
131
- - doc/Apes/Serializers/JSON.html
132
- - doc/Apes/Serializers/JWT.html
133
- - doc/Apes/Serializers/List.html
134
- - doc/Apes/UrlsParser.html
135
- - doc/Apes/Validators.html
136
- - doc/Apes/Validators/BaseValidator.html
137
- - doc/Apes/Validators/BooleanValidator.html
138
- - doc/Apes/Validators/EmailValidator.html
139
- - doc/Apes/Validators/PhoneValidator.html
140
- - doc/Apes/Validators/ReferenceValidator.html
141
- - doc/Apes/Validators/TimestampValidator.html
142
- - doc/Apes/Validators/UuidValidator.html
143
- - doc/Apes/Validators/ZipCodeValidator.html
144
- - doc/Apes/Version.html
145
- - doc/ApplicationController.html
146
- - doc/Concerns.html
147
- - doc/Concerns/ErrorHandling.html
148
- - doc/Concerns/PaginationHandling.html
149
- - doc/Concerns/RequestHandling.html
150
- - doc/Concerns/ResponseHandling.html
151
- - doc/Errors.html
152
- - doc/Errors/AuthenticationError.html
153
- - doc/Errors/BadRequestError.html
154
- - doc/Errors/BaseError.html
155
- - doc/Errors/InvalidDataError.html
156
- - doc/Errors/MissingDataError.html
157
- - doc/Model.html
158
- - doc/PaginationCursor.html
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.5.1
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.