apes 1.0.2 → 1.0.3

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 (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +6 -15
  3. data/lib/apes/version.rb +1 -1
  4. metadata +3 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8e1899be0283d188caf4e5a3dac48e38c0eacbd6
4
- data.tar.gz: 0fa44609c3c9877863bee1a1c791ba6c52144dae
2
+ SHA256:
3
+ metadata.gz: 2ef9a48fce78826a551766ce6091bfe2b7bb4cf77d7629b6506664533299def9
4
+ data.tar.gz: faa432f731cacf7bbbb0438551ce7b5a2fe7a2a4377c5d5b72113435445ea27e
5
5
  SHA512:
6
- metadata.gz: d668964061552af1590172260a16c075000677c08b7a0f16964d6516feadd0ea7cecc239285f97fce1fd231fa835b9fb10d201f50ce9b90f9a0fa39df8b47a5c
7
- data.tar.gz: c86f6bf779b39c817ce28f241830a444f7a730e0d89dde9383223567fc8e8214182379ba5982d115b2c2464a1be22f8f6eb828adfef34151dc305a5f13b0c8dc
6
+ metadata.gz: 41fc4333a3c0fb4e6b2f5d64fba2320320c1b9be9089ce75b5129a4e2305847dc4237a0ca69956196f5c7d3108b060b1d961ff16633f5504faa26037ee731581
7
+ data.tar.gz: 1a486e5e847793ee7e7fe3c23362c0fcb8479013967eabdc0af92a1023b6bf584a20379aeee0eb5aba22bb99b65e5059beb184d4f8bb56c1d53cb00447791604
data/README.md CHANGED
@@ -1,23 +1,14 @@
1
1
  # apes
2
2
 
3
- [![Gem Version](https://img.shields.io/gem/v/apes.svg)](https://rubygems.org/gems/apes)
4
- [![Dependency Status](https://img.shields.io/gemnasium/ShogunPanda/apes.svg)](https://gemnasium.com/ShogunPanda/apes)
5
- [![Build Status](https://img.shields.io/travis/ShogunPanda/apes.svg)](http://travis-ci.org/ShogunPanda/apes)
6
- [![Coverage Status](https://img.shields.io/coveralls/github/ShogunPanda/apes.svg)](https://coveralls.io/github/ShogunPanda/apes)
7
-
8
- ## END OF DEVELOPMENT NOTICE
9
-
10
- # This gem has been discontinued.
3
+ ## END OF DEVELOPMENT NOTICE - This gem has been discontinued
11
4
 
12
5
  A tiny JSON API framework for Ruby on Rails.
13
6
 
14
- https://sw.cowtech.it/apes
15
-
16
- # Introduction
7
+ ## Usage
17
8
 
18
9
  Apes makes it easy to deal with [JSON API](http://jsonapi.org/) by abstracting all the oddities of the specification.
19
10
 
20
- ## Routes
11
+ ### Routes
21
12
 
22
13
  There's no requirement at all here, but a good start point for your routes might be the following:
23
14
 
@@ -34,7 +25,7 @@ Rails.application.routes.draw do
34
25
  end
35
26
  ```
36
27
 
37
- ## Controller
28
+ ### Controller
38
29
 
39
30
  Once your controller inherits from `Apes::Controller`, you can implement a CRUD in virtually no time:
40
31
 
@@ -85,7 +76,7 @@ class Appointment < ApplicationRecord
85
76
  end
86
77
  ```
87
78
 
88
- ## Model
79
+ ### Model
89
80
 
90
81
  If your model imports `Apes::Model`, it will earn two extra nice things: additional validations and enhanced search.
91
82
 
@@ -123,7 +114,7 @@ You can customize which fields is searching on by defining the constants `SECOND
123
114
 
124
115
  Note that UUID are always matched against the `id` column.
125
116
 
126
- ## View
117
+ ### View
127
118
 
128
119
  There's nothing much to say here. `Apes::Controller` handles views and error rendering.
129
120
 
@@ -16,7 +16,7 @@ module Apes
16
16
  MINOR = 0
17
17
 
18
18
  # The patch version.
19
- PATCH = 2
19
+ PATCH = 3
20
20
 
21
21
  # The current version of apes.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shogun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-18 00:00:00.000000000 Z
11
+ date: 2019-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lazier
@@ -214,8 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubyforge_project: apes
218
- rubygems_version: 2.6.8
217
+ rubygems_version: 3.0.3
219
218
  signing_key:
220
219
  specification_version: 4
221
220
  summary: A tiny JSON API framework for Ruby on Rails.
@@ -233,4 +232,3 @@ test_files:
233
232
  - spec/apes/urls_parser_spec.rb
234
233
  - spec/apes/validators_spec.rb
235
234
  - spec/spec_helper.rb
236
- has_rdoc: