rest_rails 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f34a3f063c923fe7ed51083edea1a342f91ba07db8ac6d5051bd4a4bc5668107
4
- data.tar.gz: 62a9a39f8dcf5df212e4f47c91f5ddb7c8dbe9cc5268c3b60206aa49ec40ae49
3
+ metadata.gz: 81948eac89af4c4791ed9dc755bef3da9c247f131ba516ec441b411d76192e61
4
+ data.tar.gz: 1ca64d35ae1b5dbdf326b1f97e19ffadae14ebe392dbbcd36e668600c3741474
5
5
  SHA512:
6
- metadata.gz: 2bba16fa4d46018a0f80e1bff7623590969370c82255c8514ec96ce00f02578d0b3d1a1166d876d04bf3afb2e50763ad09bb354d217dd4175ab996db7f6de6a3
7
- data.tar.gz: 2d900e87b15c70444004aa41aa48fc968ceb99eff88fa3ccb686c23c2c2013b1135aa950d3d7d0e998191bd908f6cc804ecedb9152e6cb25493d1b0aa32ad1ff
6
+ metadata.gz: 7e44cd7f9047bd5dfbc4e7b485716a7669056aa24c1da2b29e830831009010d83691d81cb71066bb997cf7989d3cc129d130b16ab60650aaf7652b13f67e3b89
7
+ data.tar.gz: b2b64cd6d7f29786d74e5ab98b417aed413ff8151277f212e97f4e8fa16d0ad6204423b4447d87e75010f0925dd7eadcd8d6eec7e4c6f227e561878dd955c15a
@@ -16,7 +16,7 @@ module RestRails
16
16
  base_query = p_hash.blank? ? @model.all : @model.where(p_hash)
17
17
 
18
18
  @objects = base_query.order(:id).limit(ppage).offset(off)
19
- @objects.map!{|x| standardize_json(x) }
19
+ @objects = @objects.map{|x| standardize_json(x) }
20
20
 
21
21
  render json: {code: 200, objects: @objects, count: @objects.count, total: @model.count}
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module RestRails
2
- VERSION = '1.1.6'
2
+ VERSION = '1.1.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2020-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails