railspp 0.2.7 → 0.2.8

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: 517e702540a5b51072c0990ce8db30bfd7b05cf95c7201763bad4bcf295303ca
4
- data.tar.gz: 5b3ee44ec775458339eab499682d61e043ba4f064f25184cc9463bcc24893ed7
3
+ metadata.gz: 4422113dc3df9c46fc0c19a7b07a8150ed10d6d564f5d841850c3cf6418db559
4
+ data.tar.gz: 16cf824a3394fdc8c482a273e4f80cc6365027b28f72fbcd0986f32911714168
5
5
  SHA512:
6
- metadata.gz: d0ee0cd730181a438321c4709454a92847b1945e7b90d448db2c6f06c207a09a5ff72b5896d9286e8fe906b8e3cab7860596c73e06db31d86f27ffc2c435084b
7
- data.tar.gz: ec76eb3b0a04bb8b932254f3469aa27610f749526811e7c28eb041b646d11e4ce7db836716ee17cf08ff9ea1192ad05ed4b1a255ee7fa044c14e82462d10cc35
6
+ metadata.gz: 516298b5ebd4d7482f2ca093745aa398a672dc47087bd9c361a55af9aaed62db562c9eff24fecf40d67382c7e6610d8e350bab23a40c1941dc3d101fb5a79787
7
+ data.tar.gz: 57a7756715542ca67f3a8fb0643433d1cdccdf04c16a16f183c8ff99f054e3807735c35fe48bbeb56ecd58b89fe09c60d2bac9de3fd63e07f9933199e8e739c1
@@ -17,7 +17,7 @@ class GlobalController < ApplicationController
17
17
  error = { error: 'Past the amount of pages available' }
18
18
  status = past_pages ? 400 : 200
19
19
  data = past_pages ? error : index_response
20
- data = handle_includes(data) if params[:include]
20
+ data = handle_includes(data) if params[:include] && status == 200
21
21
  render_json(data, status)
22
22
  end
23
23
 
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.2.7"
24
+ "0.2.8"
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.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Layne Faler