yui-on-rails 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -1,11 +1,11 @@
1
1
  module YuiOnRails
2
2
  module PrototypeHelper
3
- alias :original_link_to_remote :link_to_remote
3
+ #alias :original_link_to_remote :link_to_remote
4
4
 
5
- def link_to_remote(name, options = {}, html_options = nil)
5
+ def link_to_remote_with_yui(name, options = {}, html_options = nil)
6
6
  options.merge!(:before=>"alert('blah blah')")
7
- original_link_to_remote name, options, html_options
7
+ link_to_remote_without_yui(name, options, html_options)
8
8
  end
9
-
9
+ alias_method_chain :link_to_remote, :yui
10
10
  end
11
11
  end
data/rails/init.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  require File.join(File.dirname(__FILE__), *%w[.. lib yui-on-rails])
2
2
  ActionView::Base.send :include, YuiOnRails::Tabs
3
- ActionView::Helpers::PrototypeHelper.send :include, YuiOnRails::PrototypeHelper
3
+ #ActionView::Helpers::PrototypeHelper.send :include, YuiOnRails::PrototypeHelper
data/yui-on-rails.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{yui-on-rails}
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jeff durand"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 7
9
- version: 0.1.7
8
+ - 8
9
+ version: 0.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand