api-blocks 0.5.1 → 0.5.2

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: bb1ad9391f72b911e88c22cd1a4e499ce0e66a3c2adddd538fe4efd8a644823d
4
- data.tar.gz: 1476196c825f6096d90d60844145f92eb6efbeca56edf786805f90fea7c61609
3
+ metadata.gz: 0b72da3ebf264ac4c4c6738030a77b3f8dc341fe667a682462eddac78708db71
4
+ data.tar.gz: 1c6861ac8878c6e3e88615b321415498e2e39403cbf069c2ba1665aedba4871e
5
5
  SHA512:
6
- metadata.gz: d7ecf6130b74a07bf7e0be3d2d0d02122f8a33d04c8391b519706b3b5ed90e850acaa541961e9c97662a3170761cf1f62799e36a656bade77e32508f634f8c18
7
- data.tar.gz: af9740a29417e248b15b4804982ce7932ee8f43c05d95baa12e1b1bb9a05c2457c4837c1c23c16a50ff954961b926e54942122597b45a7f14d1e38c27dc18f25
6
+ metadata.gz: b0d201ce944c970e15ee00a5664d1ab05e466bd04db0f21abfd654d3ea871e0c4f9c2bb39420540a14cb099d56462b86d4709e70020881799e3d91ef328e3ac1
7
+ data.tar.gz: b7d6f2b7fd9493392983d23d8f3760e50449ac0d376e99f0e8e97c2f376d3048daff135d6ce7515c655e1d03c3582ee22d5681f9f2c56813895109ea1cc33da6
@@ -67,7 +67,7 @@ class ApiBlocks::Responder < ActionController::Responder
67
67
  super
68
68
  end
69
69
 
70
- def json_sesource_errors
70
+ def json_resource_errors
71
71
  [{ errors: resource.errors }, :unprocessable_entity]
72
72
  end
73
73
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module ApiBlocks
4
4
  # Current version of ApiBlocks
5
- VERSION = "0.5.1"
5
+ VERSION = "0.5.2"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api-blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul d'Hubert