neorails-view_fu 0.1.20080705 → 0.2.20080705

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,13 +19,13 @@ module Javascripter
19
19
  # returns an entire directory of javascripts recursively
20
20
  def javascript_folder(path)
21
21
  if use_cache?
22
- return stylesheet "min/#{path}.js"
22
+ return javascript "min/#{path}.js"
23
23
  else
24
24
  result = []
25
25
  Dir["#{Rails.public_path}/javascripts/#{path}/**/*.js"].each do |item|
26
26
  result << item.gsub("#{Rails.public_path}/javascripts/", "")
27
27
  end
28
- return stylesheet result
28
+ return javascript result
29
29
  end
30
30
  end
31
31
 
data/view_fu.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'view_fu'
3
- s.version = '0.1.20080705'
3
+ s.version = '0.2.20080705'
4
4
  s.date = '2008-07-05'
5
5
 
6
6
  s.summary = "Lots of handy Rails View helpers. Includes the functionality of Headliner, Styler, and Javascripter"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neorails-view_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20080705
4
+ version: 0.2.20080705
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Crocker