kablam 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/kablam.gemspec +1 -1
  3. data/lib/kablam/forms.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d765765916edafb4d11648810d2dc55d32137d54add36271ae0d5e66a260d7c
4
- data.tar.gz: d6447eebb70f69c6bd9a5748ef62ec0f722e7bf713d457b8d553af7b05c8770d
3
+ metadata.gz: 765246fca2f0d90ce4e6a55f245be6669cf15e4e1dc76859489fbc6136f2a014
4
+ data.tar.gz: b0bdbaa3b909f30af00e8817fc49093461bc5a686a166025e150aacbed36abf6
5
5
  SHA512:
6
- metadata.gz: 439a46ac7756e5cfde003748b8103e74fd7b1e3b2995cffeaf20f7ada50e0211a3d9bf4717a686ab859cda0fe05eed3be40366e87e1e944e962bb0d3361826c5
7
- data.tar.gz: ba188eab98b5aca99ba1886dd2de6a28cc00bdef9971398b54b6ad05284146f5aac955d054f0cdf0d83dea602d8ed2b0421f4cefae5a17f1a3a47d4d6ba8fc02
6
+ metadata.gz: d4f9c9eee56ba9777add4dc062f360deed3dee1a38d8458f409a76ca93095d112e451d876f5c758f9897cbdc6d96e8f85ca0fdec8edf9d7b510c55dce9064cbc
7
+ data.tar.gz: b3034e8d9d2e7ddffc3101c5e170f1fb2a916112c84c73e6d289de00640acc00892260260cb0f08281cba5285c29c334cc9b8dd4cfd0cdba0115f908fa405e6d
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'kablam'
3
- s.version = '0.2.1'
3
+ s.version = '0.2.2'
4
4
  s.date = '2018-09-14'
5
5
  s.summary = "Kablam! All the things you hate. But Faster."
6
6
  s.description = "Gem to make development of everything in rails faster. Form creation & styling, all the resource routes, even actioncable messaging!\n {NOTE: In Development. NOT READY FOR TESTING.}"
@@ -1,7 +1,7 @@
1
1
  module Kablam
2
2
  class Forms
3
3
  def self.render_edit(obj, target_id, table_id, opt={})
4
- "<a class='#{opt[:class]}' onclick='event.preventDefault();load('#{target_id}', '/kablam/#{obj.class.table_name}/form?id=#{obj.id}&target=#{table_id}')' href='#'>#{opt[:text] || "Edit"}</a>"
4
+ "<a class='#{opt[:class]}' onclick='event.preventDefault();load(\"#{target_id}\", \"/kablam/#{obj.class.table_name}/form?id=#{obj.id}&target=#{table_id}\")' href='#'>#{opt[:text] || "Edit"}</a>"
5
5
  end
6
6
 
7
7
  def self.render_destroy(obj, opt={})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kablam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas