rake-minify 0.1.0 → 0.1.1

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.
Files changed (4) hide show
  1. data/README.rdoc +8 -5
  2. data/VERSION +1 -1
  3. data/rake-minify.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -29,8 +29,10 @@ Open your Rakefile and add:
29
29
 
30
30
  Rake::Minify.new(:minify_multiple) do
31
31
  dir("path/to/your/dir") do # we specify only the source directory
32
- add("output-multi.js", "first.js") # the output file name is full path
33
- add("output-multi.js", "second.js")
32
+ group("output-multi.js") do
33
+ add("first.js") # the output file name is full path
34
+ add("second.js")
35
+ end
34
36
  end
35
37
  end
36
38
 
@@ -40,12 +42,13 @@ Open your Rakefile and add:
40
42
 
41
43
  Rake::Minify.new(:minify_and_combine) do
42
44
  dir("path/to/your/dir") do # we specify only the source directory
43
- add("output-first-second.js", "first.js", :minify => false) # this file is not minified
44
- add("output-first-second.js", "second.js") # this file is minified
45
+ group("output-first-second.js") do
46
+ add("first.js", :minify => false) # this file is not minified
47
+ add("second.js")
48
+ end
45
49
  end
46
50
  end
47
51
 
48
-
49
52
  == Contributing to rake-minify
50
53
 
51
54
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/rake-minify.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rake-minify}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matteo Collina"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-minify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matteo Collina