ahc 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/ahc.gemspec +1 -1
  4. data/lib/ahc_helper.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1e615cd4bc83ae89c7a962979e2164877fd9123
4
- data.tar.gz: 1956e0abdd72e403d26af83d5a52a155c7626b2e
3
+ metadata.gz: 2248d0ad4753bd718150bff1f224b47a75aa4e35
4
+ data.tar.gz: 5bd7ee1798bd075a711e6c95f3cc4d101b974eb9
5
5
  SHA512:
6
- metadata.gz: fc25b31f5bf2a7e6e7603e2c223c017b1d6e837500d55a9fa02c5f1033d68c83b03ec72dc02fc5ea97ba94ad337ce3d282dcf25e35e0736293a834b5f1fb29a0
7
- data.tar.gz: 36e2447e6256445821700ce0779980d7a5bd6589c2707083683d7216ee3052661bb9feecc68a17cf0153209f711a4a078e19aefc21b54e992814e1f0e329b896
6
+ metadata.gz: 1027fd1422a47259c784dd6765771765f2bac9f78db15c650072857787ff8737e0c9177af940105116bb98d74d8fc672ea6fe4558e82424f554c925000014333
7
+ data.tar.gz: 32d1036752b8c61181f555b0499bcc0e09d424bba90e18440f1946175e45f104196847ba2b0811b388ed15a9a5e01b9e226c310032379f2312ba9e948d9e9661
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.3.4
data/ahc.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ahc"
8
- s.version = "0.3.3"
8
+ s.version = "0.3.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andriy Romanov"]
data/lib/ahc_helper.rb CHANGED
@@ -28,7 +28,7 @@ module AhcInheritedResourcesHelper
28
28
  when 'show'
29
29
  @data['resource'] = resource
30
30
  when 'index'
31
- @data['resources'] = resources
31
+ @data['resources'] = resources[0]
32
32
  when 'create', 'update'
33
33
  params[:format] = 'json'
34
34
  if resource.valid?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andriy Romanov