ymdp 0.7.3 → 0.7.4
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 +1 -1
- data/lib/ymdp/view/application_view.rb +9 -1
- data/ymdp.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.4
|
@@ -78,6 +78,13 @@ module YMDP
|
|
78
78
|
"<script src='#{filename}' type='text/javascript' charset='utf-8'></script>"
|
79
79
|
end
|
80
80
|
|
81
|
+
def combo(filenames, options={})
|
82
|
+
paths = filenames.map do |filename|
|
83
|
+
"javascripts/#{filename}"
|
84
|
+
end.join("&")
|
85
|
+
"<script src=\"/yahoo/mail/combo?#{paths}\"></script>"
|
86
|
+
end
|
87
|
+
|
81
88
|
# Renders a link to include Firebug Lite for debugging JavaScript in Internet Explorer.
|
82
89
|
#
|
83
90
|
def include_firebug_lite
|
@@ -148,7 +155,7 @@ module YMDP
|
|
148
155
|
# combined file only exists on disc while it's being compressed and/or validated, but
|
149
156
|
# in the future this may be expanded to save multiple files as a single external asset.
|
150
157
|
#
|
151
|
-
# render :javascript
|
158
|
+
# render :javascript => ['application', 'flash', 'debug'], :filename => 'javascripts'
|
152
159
|
#
|
153
160
|
# Currently the <tt>:filename</tt> parameter is simply a convenience.
|
154
161
|
#
|
@@ -291,6 +298,7 @@ module YMDP
|
|
291
298
|
end
|
292
299
|
|
293
300
|
output = []
|
301
|
+
|
294
302
|
# Render a JavaScript partial.
|
295
303
|
#
|
296
304
|
if params[:javascript]
|
data/ymdp.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ymdp}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Isaac Priestley"]
|
12
|
-
s.date = %q{2011-06-
|
12
|
+
s.date = %q{2011-06-10}
|
13
13
|
s.description = %q{Framework for developing applications in the Yahoo! Mail Development Platform.}
|
14
14
|
s.email = %q{progressions@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ymdp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 4
|
10
|
+
version: 0.7.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Isaac Priestley
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-10 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|