compass-jquery-plugin 0.2.4.100 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/compass-jquery-plugin.gemspec +4 -6
- data/gem_tasks/jrails.rake +8 -53
- data/templates/dynatree/jquery.dynatree.js +2018 -1975
- data/templates/dynatree/jquery.dynatree.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +128 -0
- data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +128 -127
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +1 -121
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sp.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +127 -117
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +1 -1
- data/templates/jqgrid/jquery.jqGrid.js +10185 -9921
- data/templates/jqgrid/jquery.jqGrid.min.js +1 -1
- data/templates/jqgrid/jquery.ui/jqGrid.sass +761 -746
- data/templates/jqgrid/manifest.rb +64 -62
- data/templates/jrails/config/initializers/jrails.rb +24 -29
- data/templates/jrails/jquery.js +7644 -9557
- data/templates/jrails/jquery.min.js +19 -23
- data/templates/jrails/manifest.rb +457 -463
- metadata +4 -6
- data/templates/jrails/jquery.1.3.2.js +0 -7645
- data/templates/jrails/jquery.1.3.2.min.js +0 -19
- data/templates/jrails/jquery.compat-1.3.js +0 -288
- data/templates/jrails/jquery.compat-1.3.min.js +0 -1
data/VERSION.yml
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{compass-jquery-plugin}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kosmas Schuetz"]
|
12
|
-
s.date = %q{2010-01-
|
12
|
+
s.date = %q{2010-01-29}
|
13
13
|
s.description = %q{A compass plugin that integrates jRails, jQuery, jQuery UI and Themes, jqGrid and more into the Compass Sass framework.}
|
14
14
|
s.email = %q{kosmas.schuetz@gmx.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -191,6 +191,8 @@ Gem::Specification.new do |s|
|
|
191
191
|
"templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js",
|
192
192
|
"templates/jqgrid/i18n/jqgrid/locale-cat.js",
|
193
193
|
"templates/jqgrid/i18n/jqgrid/locale-cat.min.js",
|
194
|
+
"templates/jqgrid/i18n/jqgrid/locale-cn.js",
|
195
|
+
"templates/jqgrid/i18n/jqgrid/locale-cn.min.js",
|
194
196
|
"templates/jqgrid/i18n/jqgrid/locale-cs.js",
|
195
197
|
"templates/jqgrid/i18n/jqgrid/locale-cs.min.js",
|
196
198
|
"templates/jqgrid/i18n/jqgrid/locale-de.js",
|
@@ -368,10 +370,6 @@ Gem::Specification.new do |s|
|
|
368
370
|
"templates/jrails/i18n/jquery.ui/datepicker-zh-TW.min.js",
|
369
371
|
"templates/jrails/jquery-ui.js",
|
370
372
|
"templates/jrails/jquery-ui.min.js",
|
371
|
-
"templates/jrails/jquery.1.3.2.js",
|
372
|
-
"templates/jrails/jquery.1.3.2.min.js",
|
373
|
-
"templates/jrails/jquery.compat-1.3.js",
|
374
|
-
"templates/jrails/jquery.compat-1.3.min.js",
|
375
373
|
"templates/jrails/jquery.js",
|
376
374
|
"templates/jrails/jquery.min.js",
|
377
375
|
"templates/jrails/jquery.pngFix.js",
|
data/gem_tasks/jrails.rake
CHANGED
@@ -5,10 +5,8 @@ require 'lib/handle_js_files'
|
|
5
5
|
JRAILS_SRC = File.join(GEM_ROOT, 'src', 'jrails')
|
6
6
|
JRAILS_SRC_SCRIPTS = JRAILS_SRC + "/*.js"
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
JQUERY_14_SRC = File.join(GEM_ROOT, 'src', 'jquery-1.4')
|
11
|
-
JQUERY_14_SRC_SCRIPTS = JQUERY_14_SRC + "/*.js"
|
8
|
+
JQUERY_SRC = File.join(GEM_ROOT, 'src', 'jquery-1.3.2')
|
9
|
+
JQUERY_SRC_SCRIPTS = JQUERY_SRC + "/*.js"
|
12
10
|
|
13
11
|
JQUERY_UI_SRC = File.join(GEM_ROOT, 'src', 'jquery.ui-1.7.2')
|
14
12
|
JQUERY_UI_SRC_SCRIPTS = File.join(JQUERY_UI_SRC, 'js') + "/*.js"
|
@@ -50,68 +48,25 @@ namespace :build do
|
|
50
48
|
f.print compress_js(all_files(JRAILS_SRC_SCRIPTS))
|
51
49
|
end
|
52
50
|
manifest.print "javascript 'jrails.min.js'\n"
|
53
|
-
|
54
|
-
# jQuery 1.
|
51
|
+
|
52
|
+
# jQuery 1.3
|
55
53
|
|
56
54
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.js'), 'w' do |f|
|
57
|
-
f.print concat_files(all_files(
|
55
|
+
f.print concat_files(all_files(JQUERY_SRC_SCRIPTS))
|
58
56
|
end
|
59
57
|
manifest.print "javascript 'jquery.js'\n"
|
60
58
|
|
61
59
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.min.js'), 'w' do |f|
|
62
|
-
f.print compress_js(all_files(
|
60
|
+
f.print compress_js(all_files(JQUERY_SRC_SCRIPTS))
|
63
61
|
end
|
64
62
|
manifest.print "javascript 'jquery.min.js'\n"
|
65
63
|
|
66
|
-
# jQuery 1.3 compatibility
|
67
|
-
|
68
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.compat-1.3.js'), 'w' do |f|
|
69
|
-
f.print concat_files(all_files(JQUERY_14_SRC + "/jquery.compat-1.3.js"))
|
70
|
-
end
|
71
|
-
manifest.print "javascript 'jquery.compat-1.3.js'\n"
|
72
|
-
|
73
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.compat-1.3.min.js'), 'w' do |f|
|
74
|
-
f.print compress_js(all_files(JQUERY_14_SRC + "/jquery.compat-1.3.js"))
|
75
|
-
end
|
76
|
-
manifest.print "javascript 'jquery.compat-1.3.min.js'\n"
|
77
|
-
|
78
|
-
|
79
|
-
# jQuery 1.4 Plugins
|
80
|
-
|
81
|
-
['plugins'].each do |path|
|
82
|
-
Dir.foreach File.join(JQUERY_14_SRC, path) do |file|
|
83
|
-
next unless /\.js$/ =~ file
|
84
|
-
js = File.read File.join(JQUERY_14_SRC, path, file)
|
85
|
-
manifest.print "javascript '#{file}'\n"
|
86
|
-
open File.join(JRAILS_DEST_TEMPLATES, file), 'w' do |f|
|
87
|
-
f.write js
|
88
|
-
end
|
89
|
-
file.gsub!(/\.js$/, '.min.js')
|
90
|
-
manifest.print "javascript '#{file}'\n"
|
91
|
-
open File.join(JRAILS_DEST_TEMPLATES, file), 'w' do |f|
|
92
|
-
f.write compress_js(js)
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
96
|
-
|
97
|
-
# jQuery 1.3
|
98
|
-
|
99
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.1.3.2.js'), 'w' do |f|
|
100
|
-
f.print concat_files(all_files(JQUERY_13_SRC_SCRIPTS))
|
101
|
-
end
|
102
|
-
manifest.print "javascript 'jquery.1.3.2.js'\n"
|
103
|
-
|
104
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.1.3.2.min.js'), 'w' do |f|
|
105
|
-
f.print compress_js(all_files(JQUERY_13_SRC_SCRIPTS))
|
106
|
-
end
|
107
|
-
manifest.print "javascript 'jquery.1.3.2.min.js'\n"
|
108
|
-
|
109
64
|
# jQuery 1.3 Plugins
|
110
65
|
|
111
66
|
['plugins'].each do |path|
|
112
|
-
Dir.foreach File.join(
|
67
|
+
Dir.foreach File.join(JQUERY_SRC, path) do |file|
|
113
68
|
next unless /\.js$/ =~ file
|
114
|
-
js = File.read File.join(
|
69
|
+
js = File.read File.join(JQUERY_SRC, path, file)
|
115
70
|
manifest.print "javascript '#{file}'\n"
|
116
71
|
open File.join(JRAILS_DEST_TEMPLATES, file), 'w' do |f|
|
117
72
|
f.write js
|