prototype-rails 0.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -4,7 +4,7 @@ Prototype and Scriptaculous are provided via the asset pipeline and you
4
4
  do *not* need to copy their files into your application. Rails will get
5
5
  them from prototype-rails automatically.
6
6
 
7
- You may want to add them to you app/assets/javascripts/application.js:
7
+ You may want to add them to your app/assets/javascripts/application.js:
8
8
 
9
9
  //= require prototype
10
10
  //= require prototype_ujs
@@ -155,7 +155,7 @@ module ActionView
155
155
 
156
156
  private
157
157
  def include_helpers_from_context
158
- extend @context.helpers if @context.respond_to?(:helpers)
158
+ extend @context.helpers if @context.respond_to?(:helpers) && @context.helpers
159
159
  extend GeneratorMethods
160
160
  end
161
161
 
metadata CHANGED
@@ -4,8 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
8
- version: "0.2"
7
+ - 3
8
+ - 0
9
+ version: 0.3.0
9
10
  platform: ruby
10
11
  authors:
11
12
  - Xavier Noria
@@ -13,7 +14,7 @@ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2011-05-03 00:00:00 +02:00
17
+ date: 2011-05-04 00:00:00 +02:00
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency