gaku_helpers 0.0.6 → 0.0.7

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: bb2eca5835dfde917f1c95763f493a6180964e1c
4
- data.tar.gz: 8b12ab30b3cec7fd261d05c41880776726952c10
3
+ metadata.gz: 3accf140a0f31f2d71d4f8b644702f096eef5ceb
4
+ data.tar.gz: 37e86295ecff305723390d9bd21c87696e72f095
5
5
  SHA512:
6
- metadata.gz: 9fa20891fb5f921379c646e6a6b2af1640d8c2e91814162b3251b9527afd3537c121613cfc3b8f03e93af351aae6ebefc068ee8df0babc406fe0a7eea41e2ae4
7
- data.tar.gz: 9b552e0376c385c74f554717f0bd7a43ab31873adf8a8b39fc52c90ce39483f7dbb629a748a4e86992d131df6ba38786dafa1b5aefee9e783530dd4c7f0b265b
6
+ metadata.gz: 2eae0a6e15249da4f82fea82bd4799cbca94e2e8f4e80ff369a0afd6c1224e53dd44b26b7be5f6f1dea8e04a79d60f6c199f5718d670b3e9c1e84d89bed13c09
7
+ data.tar.gz: 5afe870e24402c98a79120effcf3a658eef8e74362d1803404294f462e1b4ec779c88542d64fc5d06ffa021811c2876fbfabc525bf83788fbc5698bc830fb7ce
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'gaku_helpers'
5
- s.version = '0.0.6'
5
+ s.version = '0.0.7'
6
6
  s.summary = 'Gaku View Helpers'
7
7
  s.description = ''
8
8
  s.required_ruby_version = '>= 1.8.7'
@@ -115,6 +115,7 @@ module GakuHelpers
115
115
  name = ("<i class='icon-white icon-remove'></i>").html_safe
116
116
  attributes = {
117
117
  :remote => true,
118
+ :method => :patch,
118
119
  :data => { :confirm => t(:'gaku_helpers.are_you_sure') },
119
120
  :class => 'btn btn-mini btn-danger delete-link'
120
121
  }.merge(options)
@@ -139,7 +140,7 @@ module GakuHelpers
139
140
  name = ("<i class='icon-white icon-pencil'></i>").html_safe
140
141
  attributes = {
141
142
  :remote => true,
142
- :class => "mr-xs btn btn-mini btn-warning edit-link"
143
+ :class => "mr-xs btn btn-mini btn-warning js-edit-link"
143
144
  }.merge(options)
144
145
  link_to name, resource, attributes
145
146
  end
@@ -49,7 +49,7 @@ module GakuHelpers
49
49
  def th_actions(num)
50
50
  size = case num
51
51
  when 1 then 40
52
- when 2 then 62
52
+ when 2 then 67
53
53
  when 3 then 99
54
54
  else num
55
55
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaku_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassil Kalkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-09 00:00:00.000000000 Z
11
+ date: 2013-10-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: ''
14
14
  email: vassilkalkov@gmail.com