jzip 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/CHANGELOG +74 -0
- data/MIT-LICENSE +20 -0
- data/README.textile +159 -0
- data/Rakefile +42 -0
- data/VERSION +1 -0
- data/init.rb +1 -0
- data/install.rb +3 -0
- data/jzip.gemspec +143 -0
- data/lib/jzip.rb +7 -0
- data/lib/jzip/actionpack.rb +2 -0
- data/lib/jzip/actionpack/action_controller/base.rb +18 -0
- data/lib/jzip/assets.rb +28 -0
- data/lib/jzip/core.rb +4 -0
- data/lib/jzip/core/string.rb +6 -0
- data/lib/jzip/core/string/analyzation.rb +22 -0
- data/lib/jzip/engine.rb +82 -0
- data/lib/jzip/engine/requirement.rb +46 -0
- data/lib/jzip/engine/support/jsmin.rb +205 -0
- data/lib/jzip/engine/support/minifier.rb +31 -0
- data/lib/jzip/engine/support/notifier.rb +21 -0
- data/lib/jzip/engine/template.rb +141 -0
- data/lib/jzip/plugin.rb +12 -0
- data/rails/init.rb +1 -0
- data/tasks/jzip.rake +11 -0
- data/test/actionpack/action_controller/base_test.rb +74 -0
- data/test/core/string/analyzation_test.rb +31 -0
- data/test/engine_test.rb +17 -0
- data/test/javascripts/after/compressed/public/javascripts/backend.js +34 -0
- data/test/javascripts/after/compressed/public/javascripts/defaults.js +461 -0
- data/test/javascripts/after/compressed/public/javascripts/frontend.js +34 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/code_heroes/backend.js +2 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/code_heroes/frontend.js +2 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/code_heroes.js +3 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/code_heroes/ajaxify.js +2 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/ajax_setup.js +4 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/class.js +5 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/components/core.js +6 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/extensions/core.js +5 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/extensions/deparam.js +4 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/seat_holder.js +12 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/native/extensions/array.js +4 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/native/extensions/string.js +2 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/native/log.js +2 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/application.js +0 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/controls.js +66 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/dragdrop.js +68 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/effects.js +49 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/prototype.js +278 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/tmp/jzip/public/javascripts/shared/_shared.js +32 -0
- data/test/javascripts/after/compressed/tmp/jzip/_minified_/tmp/jzip/public/javascripts/shared/jquery/_core.js +6 -0
- data/test/javascripts/after/compressed/tmp/jzip/public/javascripts/shared/_shared.js +49 -0
- data/test/javascripts/after/compressed/tmp/jzip/public/javascripts/shared/jquery/_core.js +6 -0
- data/test/javascripts/after/uncompressed/public/javascripts/backend.js +826 -0
- data/test/javascripts/after/uncompressed/public/javascripts/defaults.js +7389 -0
- data/test/javascripts/after/uncompressed/public/javascripts/frontend.js +826 -0
- data/test/javascripts/after/uncompressed/tmp/jzip/public/javascripts/shared/_shared.js +811 -0
- data/test/javascripts/after/uncompressed/tmp/jzip/public/javascripts/shared/jquery/_core.js +158 -0
- data/test/javascripts/assets/jzip/backend.jz +3 -0
- data/test/javascripts/assets/jzip/code_heroes/backend.js +15 -0
- data/test/javascripts/assets/jzip/code_heroes/frontend.js +15 -0
- data/test/javascripts/assets/jzip/defaults.jz +2 -0
- data/test/javascripts/assets/jzip/frontend.jz +3 -0
- data/test/javascripts/assets/jzip/shared/_shared.jz +15 -0
- data/test/javascripts/assets/jzip/shared/code_heroes.js +25 -0
- data/test/javascripts/assets/jzip/shared/code_heroes/ajaxify.js +15 -0
- data/test/javascripts/assets/jzip/shared/jquery/_all.jz +4 -0
- data/test/javascripts/assets/jzip/shared/jquery/_core.fxc-clip.jz +3 -0
- data/test/javascripts/assets/jzip/shared/jquery/_core.jz +2 -0
- data/test/javascripts/assets/jzip/shared/jquery/_core.uic-resizable.jz +3 -0
- data/test/javascripts/assets/jzip/shared/jquery/_fxc-clip.jz +2 -0
- data/test/javascripts/assets/jzip/shared/jquery/_fxc-clip.uic-resizable.jz +3 -0
- data/test/javascripts/assets/jzip/shared/jquery/_uic-resizable.jz +2 -0
- data/test/javascripts/assets/jzip/shared/jquery/ajax_setup.js +23 -0
- data/test/javascripts/assets/jzip/shared/jquery/class.js +213 -0
- data/test/javascripts/assets/jzip/shared/jquery/components/core.js +157 -0
- data/test/javascripts/assets/jzip/shared/jquery/components/fxc-clip.js +16 -0
- data/test/javascripts/assets/jzip/shared/jquery/components/uic-resizable.js +16 -0
- data/test/javascripts/assets/jzip/shared/jquery/extensions/core.js +36 -0
- data/test/javascripts/assets/jzip/shared/jquery/extensions/deparam.js +113 -0
- data/test/javascripts/assets/jzip/shared/jquery/seat_holder.js +184 -0
- data/test/javascripts/assets/jzip/shared/native/extensions/array.js +28 -0
- data/test/javascripts/assets/jzip/shared/native/extensions/string.js +4 -0
- data/test/javascripts/assets/jzip/shared/native/log.js +8 -0
- data/test/javascripts/before/application.js +2 -0
- data/test/javascripts/before/controls.js +963 -0
- data/test/javascripts/before/dragdrop.js +973 -0
- data/test/javascripts/before/effects.js +1128 -0
- data/test/javascripts/before/prototype.js +4320 -0
- data/test/rails_root/compressed/assets/jzip/foo.js +0 -0
- data/test/rails_root/compressed/public/javascripts/foo.js +0 -0
- data/test/rails_root/uncompressed/assets/jzip/foo.js +0 -0
- data/test/rails_root/uncompressed/public/javascripts/foo.js +0 -0
- data/test/setup.rb +12 -0
- data/test/test_helper.rb +5 -0
- data/uninstall.rb +1 -0
- metadata +177 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/setup.rb
ADDED
data/test/test_helper.rb
ADDED
data/uninstall.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Uninstall hook code here
|
metadata
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jzip
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
version: 1.0.7
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Paul Engel
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-06-27 00:00:00 +02:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: formtastic
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
type: :runtime
|
32
|
+
version_requirements: *id001
|
33
|
+
description: |-
|
34
|
+
Jzip was created due to the need of simply merging and minifying Javascript files to reduce HTTP requests and file size of application assets. Using sprites for images and SASS for stylesheets only left javascripts not be optimized.
|
35
|
+
AssetPackager almost suited the solution, but it hasn't got enough flexibility in configuration. So using AssetPackager and SASS for inspriration the Jzip gem was created.
|
36
|
+
email: paul.engel@holder.nl
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- README.textile
|
43
|
+
files:
|
44
|
+
- .gitignore
|
45
|
+
- CHANGELOG
|
46
|
+
- MIT-LICENSE
|
47
|
+
- README.textile
|
48
|
+
- Rakefile
|
49
|
+
- VERSION
|
50
|
+
- init.rb
|
51
|
+
- install.rb
|
52
|
+
- jzip.gemspec
|
53
|
+
- lib/jzip.rb
|
54
|
+
- lib/jzip/actionpack.rb
|
55
|
+
- lib/jzip/actionpack/action_controller/base.rb
|
56
|
+
- lib/jzip/assets.rb
|
57
|
+
- lib/jzip/core.rb
|
58
|
+
- lib/jzip/core/string.rb
|
59
|
+
- lib/jzip/core/string/analyzation.rb
|
60
|
+
- lib/jzip/engine.rb
|
61
|
+
- lib/jzip/engine/requirement.rb
|
62
|
+
- lib/jzip/engine/support/jsmin.rb
|
63
|
+
- lib/jzip/engine/support/minifier.rb
|
64
|
+
- lib/jzip/engine/support/notifier.rb
|
65
|
+
- lib/jzip/engine/template.rb
|
66
|
+
- lib/jzip/plugin.rb
|
67
|
+
- rails/init.rb
|
68
|
+
- tasks/jzip.rake
|
69
|
+
- test/actionpack/action_controller/base_test.rb
|
70
|
+
- test/core/string/analyzation_test.rb
|
71
|
+
- test/engine_test.rb
|
72
|
+
- test/javascripts/after/compressed/public/javascripts/backend.js
|
73
|
+
- test/javascripts/after/compressed/public/javascripts/defaults.js
|
74
|
+
- test/javascripts/after/compressed/public/javascripts/frontend.js
|
75
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/code_heroes/backend.js
|
76
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/code_heroes/frontend.js
|
77
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/code_heroes.js
|
78
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/code_heroes/ajaxify.js
|
79
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/ajax_setup.js
|
80
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/class.js
|
81
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/components/core.js
|
82
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/extensions/core.js
|
83
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/extensions/deparam.js
|
84
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/jquery/seat_holder.js
|
85
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/native/extensions/array.js
|
86
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/native/extensions/string.js
|
87
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/assets/jzip/shared/native/log.js
|
88
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/application.js
|
89
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/controls.js
|
90
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/dragdrop.js
|
91
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/effects.js
|
92
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/public/javascripts/prototype.js
|
93
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/tmp/jzip/public/javascripts/shared/_shared.js
|
94
|
+
- test/javascripts/after/compressed/tmp/jzip/_minified_/tmp/jzip/public/javascripts/shared/jquery/_core.js
|
95
|
+
- test/javascripts/after/compressed/tmp/jzip/public/javascripts/shared/_shared.js
|
96
|
+
- test/javascripts/after/compressed/tmp/jzip/public/javascripts/shared/jquery/_core.js
|
97
|
+
- test/javascripts/after/uncompressed/public/javascripts/backend.js
|
98
|
+
- test/javascripts/after/uncompressed/public/javascripts/defaults.js
|
99
|
+
- test/javascripts/after/uncompressed/public/javascripts/frontend.js
|
100
|
+
- test/javascripts/after/uncompressed/tmp/jzip/public/javascripts/shared/_shared.js
|
101
|
+
- test/javascripts/after/uncompressed/tmp/jzip/public/javascripts/shared/jquery/_core.js
|
102
|
+
- test/javascripts/assets/jzip/backend.jz
|
103
|
+
- test/javascripts/assets/jzip/code_heroes/backend.js
|
104
|
+
- test/javascripts/assets/jzip/code_heroes/frontend.js
|
105
|
+
- test/javascripts/assets/jzip/defaults.jz
|
106
|
+
- test/javascripts/assets/jzip/frontend.jz
|
107
|
+
- test/javascripts/assets/jzip/shared/_shared.jz
|
108
|
+
- test/javascripts/assets/jzip/shared/code_heroes.js
|
109
|
+
- test/javascripts/assets/jzip/shared/code_heroes/ajaxify.js
|
110
|
+
- test/javascripts/assets/jzip/shared/jquery/_all.jz
|
111
|
+
- test/javascripts/assets/jzip/shared/jquery/_core.fxc-clip.jz
|
112
|
+
- test/javascripts/assets/jzip/shared/jquery/_core.jz
|
113
|
+
- test/javascripts/assets/jzip/shared/jquery/_core.uic-resizable.jz
|
114
|
+
- test/javascripts/assets/jzip/shared/jquery/_fxc-clip.jz
|
115
|
+
- test/javascripts/assets/jzip/shared/jquery/_fxc-clip.uic-resizable.jz
|
116
|
+
- test/javascripts/assets/jzip/shared/jquery/_uic-resizable.jz
|
117
|
+
- test/javascripts/assets/jzip/shared/jquery/ajax_setup.js
|
118
|
+
- test/javascripts/assets/jzip/shared/jquery/class.js
|
119
|
+
- test/javascripts/assets/jzip/shared/jquery/components/core.js
|
120
|
+
- test/javascripts/assets/jzip/shared/jquery/components/fxc-clip.js
|
121
|
+
- test/javascripts/assets/jzip/shared/jquery/components/uic-resizable.js
|
122
|
+
- test/javascripts/assets/jzip/shared/jquery/extensions/core.js
|
123
|
+
- test/javascripts/assets/jzip/shared/jquery/extensions/deparam.js
|
124
|
+
- test/javascripts/assets/jzip/shared/jquery/seat_holder.js
|
125
|
+
- test/javascripts/assets/jzip/shared/native/extensions/array.js
|
126
|
+
- test/javascripts/assets/jzip/shared/native/extensions/string.js
|
127
|
+
- test/javascripts/assets/jzip/shared/native/log.js
|
128
|
+
- test/javascripts/before/application.js
|
129
|
+
- test/javascripts/before/controls.js
|
130
|
+
- test/javascripts/before/dragdrop.js
|
131
|
+
- test/javascripts/before/effects.js
|
132
|
+
- test/javascripts/before/prototype.js
|
133
|
+
- test/rails_root/compressed/assets/jzip/foo.js
|
134
|
+
- test/rails_root/compressed/public/javascripts/foo.js
|
135
|
+
- test/rails_root/uncompressed/assets/jzip/foo.js
|
136
|
+
- test/rails_root/uncompressed/public/javascripts/foo.js
|
137
|
+
- test/setup.rb
|
138
|
+
- test/test_helper.rb
|
139
|
+
- uninstall.rb
|
140
|
+
has_rdoc: true
|
141
|
+
homepage: http://github.com/archan937/jzip
|
142
|
+
licenses: []
|
143
|
+
|
144
|
+
post_install_message:
|
145
|
+
rdoc_options:
|
146
|
+
- --charset=UTF-8
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
segments:
|
155
|
+
- 0
|
156
|
+
version: "0"
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
+
none: false
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
segments:
|
163
|
+
- 0
|
164
|
+
version: "0"
|
165
|
+
requirements: []
|
166
|
+
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 1.3.7
|
169
|
+
signing_key:
|
170
|
+
specification_version: 3
|
171
|
+
summary: Javascript merging and compression for Rails Apps
|
172
|
+
test_files:
|
173
|
+
- test/actionpack/action_controller/base_test.rb
|
174
|
+
- test/core/string/analyzation_test.rb
|
175
|
+
- test/engine_test.rb
|
176
|
+
- test/setup.rb
|
177
|
+
- test/test_helper.rb
|