railspp 0.1.2 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a53edb8e7f6d285127a63c28572ac7b90b8067164c823a3737bc9b9fb4629cf6
4
- data.tar.gz: 767b6dc11d386579aaa57ea41ea17a14144e5330c884a1013a67fbb3a78b6a77
3
+ metadata.gz: 9aabb85d275505864921821849392734bcd6093bd584f85aeb81ad8f1830cc06
4
+ data.tar.gz: 5a51552a0403dbba4fd3cbda6fb4ecd470be7fa160f5be796acabff6fcabca6f
5
5
  SHA512:
6
- metadata.gz: 529248e00025c528f567ef3cce15f034f218991ccb150c59ddca75032d65595685c1c41ebd4aea7082788b4741121a0e44c3ad509ae22ba0f03860e993115a4f
7
- data.tar.gz: '05586d03c4feeea8aa7962e65bd8a377be1ed6fe9064b8dfc43ab442e7a60840a07290b6f9c277f175e81b9c309044a299e6037e15b3fab0c502ffe44d8061f0'
6
+ metadata.gz: fc61119de9640b19a1b6f1221f5b9675df47e1a426471fce036e69d378c989ee8865791daa4781d126c5b4663fa1c28c49008e22e41c7ebf9c21c68dbe08d083
7
+ data.tar.gz: 576a3197ed5efe8822235336302dde66cdaed4d805b802545c7701ea50affd52842869fa7e4dde832aa88f0e35d7099d2a9a4bfc0a8de559710fb61154f01095
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Rails++
2
2
 
3
- Autogenerate your CRUD operations with Swagger like API documentation
3
+ Autogenerate your CRUD operations with Swagger like API documentation without extra configuration
4
+ and generate mini test unit tests.
4
5
 
5
6
  ## Requirements
6
7
 
@@ -20,6 +20,7 @@ class GlobalController < ApplicationController
20
20
 
21
21
  def show
22
22
  data = model.find(params[:id] || 0)
23
+ data = data.includes(*get_includes) if params[:include]
23
24
  render_json(data, 200)
24
25
  end
25
26
 
data/lib/utils/strings.rb CHANGED
@@ -21,7 +21,7 @@ class MoreUtils
21
21
  class << self
22
22
 
23
23
  def gem_version
24
- "0.1.2"
24
+ "0.1.3"
25
25
  end
26
26
 
27
27
  def get_file_str path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railspp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Layne Faler