motr 0.0.9 → 0.1.0

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.
@@ -32,14 +32,16 @@ module Motr
32
32
  end
33
33
 
34
34
  response = ""
35
-
35
+
36
36
  unless source.nil?
37
37
  options.stringify_keys!.each do |lib|
38
- response << javascript_include_tag(js_load_path(*lib), :cache => false)
38
+ response << content_tag(:script, "", :src => js_load_path(*lib), :type => 'text/javascript')
39
39
  end
40
- end
41
- response << javascript_include_tag(*args.map(&:to_s), :cache => cache)
40
+ end
41
+
42
+ args.map(&:to_s).each{ |lib| response << content_tag(:script, "", :src => "/javascripts/#{lib}.js", :type => 'text/javascript') }
42
43
  response.html_safe
44
+
43
45
  end
44
46
 
45
47
  ##
@@ -1,3 +1,3 @@
1
1
  module Motr #:nodoc:
2
- VERSION = "0.0.9".freeze
2
+ VERSION = "0.1.0".freeze
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: motr
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.9
5
+ version: 0.1.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brent Kirby
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-25 00:00:00 -04:00
13
+ date: 2011-05-30 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
- hash: 2612295616320464071
168
+ hash: -270941401150251946
169
169
  segments:
170
170
  - 0
171
171
  version: "0"