ahc 0.3.4 → 0.3.5

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 +2 -2
  4. data/lib/ahc_helper.rb +2 -0
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2248d0ad4753bd718150bff1f224b47a75aa4e35
4
- data.tar.gz: 5bd7ee1798bd075a711e6c95f3cc4d101b974eb9
3
+ metadata.gz: 8958f1162cef85726c3f53f93107275191db340f
4
+ data.tar.gz: 610c2eca0837eedbce911c84270e95c4e21bff5b
5
5
  SHA512:
6
- metadata.gz: 1027fd1422a47259c784dd6765771765f2bac9f78db15c650072857787ff8737e0c9177af940105116bb98d74d8fc672ea6fe4558e82424f554c925000014333
7
- data.tar.gz: 32d1036752b8c61181f555b0499bcc0e09d424bba90e18440f1946175e45f104196847ba2b0811b388ed15a9a5e01b9e226c310032379f2312ba9e948d9e9661
6
+ metadata.gz: 2e3069138aae9782d4938be5fc79411454cbee1b0ba46d11ccfdc71b2a775a86b140db87ca8146a69008fa01245f5a7aef773f3881d85a2117ffc8d3490037e3
7
+ data.tar.gz: 928bb0dbed45d3f3338b514775ac97d4f607e5d0c48aa72aa5aff28f940acbc046171bdc6b3047e4fac3769a5335e6aa7872dcb911ded9355ecfd40fad97b8e7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
data/ahc.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ahc"
8
- s.version = "0.3.4"
8
+ s.version = "0.3.5"
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"]
12
- s.date = "2013-12-15"
12
+ s.date = "2014-01-11"
13
13
  s.description = "Ahc allows you to move all your client side code to ahc server"
14
14
  s.email = "judo.ras@gmail.com"
15
15
  s.extra_rdoc_files = [
data/lib/ahc_helper.rb CHANGED
@@ -36,6 +36,8 @@ module AhcInheritedResourcesHelper
36
36
  else
37
37
  @data['errors'] = resource.errors
38
38
  end
39
+ when 'destroy'
40
+ return render json: {success: !resource.persisted?}
39
41
  end
40
42
  render_ahc("#{controller}/#{action}")
41
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andriy Romanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-15 00:00:00.000000000 Z
11
+ date: 2014-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec