skinny_controllers 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -8
- data/lib/skinny_controllers/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f9c02facf2a390b5d23ca3f70c5740bf649f3bc
|
4
|
+
data.tar.gz: ee725724fdf275ea1740c6641d1207b5ed9949f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5011b18d544388bfb015a4223a0777a926d95540341d0f7107461d658406cbd4cceb535dabe8bb77de5e235ddd1ed28920bf8b74fcd2e252ff7448fa283ddce3
|
7
|
+
data.tar.gz: 9d70c6dd3cdecc598afc7dc49c5f522c09e1fcf1f801ab533488801bf49a747b79815c00af86890f009d8dc67dc50ce6959498b2679f9eaa63271c71ed5ecbd5
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
# skinny_controllers
|
2
|
+
|
3
|
+
[![Join the chat at https://gitter.im/NullVoxPopuli/skinny_controllers](https://badges.gitter.im/NullVoxPopuli/skinny_controllers.svg)](https://gitter.im/NullVoxPopuli/skinny_controllers?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
2
4
|
[![Gem Version](https://badge.fury.io/rb/skinny_controllers.svg)](https://badge.fury.io/rb/skinny_controllers)
|
3
5
|
[![Build Status](https://travis-ci.org/NullVoxPopuli/skinny_controllers.svg?branch=master)](https://travis-ci.org/NullVoxPopuli/skinny_controllers)
|
4
6
|
[![Code Climate](https://codeclimate.com/github/NullVoxPopuli/skinny_controllers/badges/gpa.svg)](https://codeclimate.com/github/NullVoxPopuli/skinny_controllers)
|
@@ -270,11 +272,11 @@ The following options are available:
|
|
270
272
|
|
271
273
|
This may not be horribly apparent, but here is a table overviewing some highlevel differences
|
272
274
|
|
273
|
-
| Feature |
|
274
|
-
|
275
|
-
| Purpose
|
276
|
-
| Added Layers
|
277
|
-
| Validation
|
278
|
-
| Additional objects|
|
279
|
-
| Rendering |
|
280
|
-
| App Structure |
|
275
|
+
| Feature | skinny_controllers | [trailblazer](https://github.com/apotonick/trailblazer) |
|
276
|
+
|--|--|--|
|
277
|
+
| Purpose | API - works very well with [ActiveModel::Serializers](https://github.com/rails-api/active_model_serializers)| General - additional featers for server-side rendered views |
|
278
|
+
| Added Layers | Operations, Policies | Operations, Policies, Forms |
|
279
|
+
| Validation | stay in models | moved to operations via contract block |
|
280
|
+
| Additional objects| none | contacts, representers, callbacks, cells |
|
281
|
+
| Rendering | done in the controller, and up to the dev to decide how that is done. `ActiveModel::Serializers` with JSON-API is highly recommended | representers provide a way to define serializers for json, xml, json-api, etc |
|
282
|
+
| App Structure | same as rails. `app/operations` and `app/policies` are added | encourages a new structure 'concepts', where cells, view templates, assets, operations, etc are all under `concepts/{model-name}` |
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skinny_controllers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- L. Preston Sego III
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02
|
11
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -222,8 +222,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: '0'
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.
|
225
|
+
rubygems_version: 2.4.8
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
|
-
summary: SkinnyControllers-0.7.
|
228
|
+
summary: SkinnyControllers-0.7.4
|
229
229
|
test_files: []
|