pragma 1.2.5 → 1.2.6

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
  SHA1:
3
- metadata.gz: 762f63614c685f5f04f2fb23ec8422db81005cbe
4
- data.tar.gz: ff163f93e1a59a62fb8d4fdd8e59cb5072f1e47f
3
+ metadata.gz: a231e9c37711edada72361aff42676d8713903b1
4
+ data.tar.gz: a43091b07a58d402f346abe79abbc9fb88b086a5
5
5
  SHA512:
6
- metadata.gz: ba723b301dafb8b3a32e7e82a1957f9f4586312ae8713b1e45f6aa16bc45618f8816164d6a3f14bb5eb65373d38bcc42cfd66de647e95b90c627accbde3aaafb
7
- data.tar.gz: aedd2643aa40f70e5d0734989755cd6effee7c7383005289b46c6f6f08e51a3147cfd29816a74381a87282b0d93560d3d81a927bb5b1778728b561dababc00c8
6
+ metadata.gz: 97a24156d5da33359875dfdd96f96d04e8c3243e727915036a9b72ddb4a964340ee5d648260a8718f63f75078e0da1849ed7a7c2100f6de9bc20a09897bbbd0c
7
+ data.tar.gz: dab8c7acf8751282f8f8fa2a89c5e01afbe8e44a1bc45262fb7c3d8813e41b7080a8938f2311b792e9f643539f511e5066f6acad0705e2214c8d9824ee978eab
@@ -16,8 +16,10 @@ module Pragma
16
16
  rescue RangeError => e
17
17
  respond_with!(
18
18
  status: :bad_request,
19
- error_type: :invalid_page,
20
- error_message: e.message
19
+ resource: {
20
+ error_type: :invalid_page,
21
+ error_message: e.message
22
+ }
21
23
  )
22
24
  end
23
25
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Pragma
3
- VERSION = '1.2.5'
3
+ VERSION = '1.2.6'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pragma
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-07 00:00:00.000000000 Z
11
+ date: 2017-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pragma-operation