motr 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/motr/helpers/layout_helpers.rb +6 -4
- data/lib/motr/version.rb +1 -1
- metadata +3 -3
@@ -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 <<
|
38
|
+
response << content_tag(:script, "", :src => js_load_path(*lib), :type => 'text/javascript')
|
39
39
|
end
|
40
|
-
end
|
41
|
-
|
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
|
##
|
data/lib/motr/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: motr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0
|
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-
|
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:
|
168
|
+
hash: -270941401150251946
|
169
169
|
segments:
|
170
170
|
- 0
|
171
171
|
version: "0"
|