jquery-modal-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -10,7 +10,7 @@ In your Gemfile, add:
10
10
  ```ruby
11
11
  group :assets do
12
12
  gem 'jquery-ui-rails'
13
- gem 'jquery-modal-rails', :git => 'git://github.com/dei79/jquery-modal-rails.git'
13
+ gem 'jquery-modal-rails'
14
14
  end
15
15
  ```
16
16
 
@@ -13,7 +13,7 @@ module Jquery
13
13
  if block_given?
14
14
  options = args.first || {}
15
15
  html_options = args.second
16
- block_result = yield(*args)
16
+ block_result = capture(&block)
17
17
  link_to_modal(block_result, options, html_options)
18
18
  else
19
19
  name = args[0]
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Modal
3
3
  module Rails
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  JQUERY_MODAL_VERSION = "0.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-modal-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-14 00:00:00.000000000 Z
12
+ date: 2012-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties