roger_yuicompressor 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.gitignore +1 -0
- data/Rakefile +2 -1
- data/lib/roger_yuicompressor/processor.rb +3 -2
- data/roger_yuicompressor.gemspec +1 -1
- data/test/unit/processor_test.rb +2 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NTgzMjk3NTZiYThlZGY1MmY3MTM5MzJiZmU0Mzg0ZDhkOTg2ZGEzNQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b9091fc33858f99fc4eb1739146af024d35ffccb
|
4
|
+
data.tar.gz: 79aa83ce26fa09fb3a1ca6fcfbc609b1093a7797
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZDM2ODVhNDkxMmJlODVkNGNmNjQ5MDYwZTQ3MzkwMGI5M2Q3ZjM5NzdhZjJm
|
11
|
-
MjRlOGEyMThmOWQ0MTYzNjVhYjc4YjI4NzQzYTI4YjA5YTQxZDY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ODQxMDI0OTBhZTQ3NjEyODAyNzFiNDI2MDUyYWU5NzRiODg3MmZhYTQ4NDVi
|
14
|
-
NTUzNmJhNTQ0ZWNlYzY0NmQ4MTY0YmNhOWEzZjk2YTMyZDFkODhmZGNmNzIy
|
15
|
-
NGQ5NzZkMTViMzRhMzgwMDE4NGMzNDU2YzBjYjI4MjRjYjM3YTE=
|
6
|
+
metadata.gz: 4ecd72ae6340297f658a17a26d34e2a5f09bec7cf87a26e948fa10565fc20d1bfe61a862c49515aa9e49eb0d9c58485048aa9cb7230841eb2168bfc390b12566
|
7
|
+
data.tar.gz: cbbacf087f017fe13749427fbda18802e73d4f21aff153fd11adc17b290a19fcdd12f2e70ff3d28073017a27222d613612d554af3fdaf825f8e8c2a47f72bd22
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Gemfile.lock
|
data/Rakefile
CHANGED
@@ -33,12 +33,13 @@ module RogerYuicompressor
|
|
33
33
|
def call(release, options={})
|
34
34
|
@options.update(options)
|
35
35
|
|
36
|
-
release.log self, "
|
36
|
+
release.log self, "Processing files matching #{@options[:match].inspect}"
|
37
37
|
|
38
38
|
raise(RuntimeError, "The given suffix #{@options[:suffix]} is invalid.") unless valid_suffix?(@options[:suffix])
|
39
39
|
|
40
40
|
# Add version numbers and minify the files
|
41
41
|
release.get_files(@options[:match], @options[:skip]).each do |filename|
|
42
|
+
release.debug(self, " Minifying #{filename}")
|
42
43
|
minify_file(filename, release)
|
43
44
|
end
|
44
45
|
end
|
@@ -93,4 +94,4 @@ module RogerYuicompressor
|
|
93
94
|
end
|
94
95
|
end
|
95
96
|
|
96
|
-
::Roger::Release::Processors.register(:yuicompressor, RogerYuicompressor::Yuicompressor)
|
97
|
+
::Roger::Release::Processors.register(:yuicompressor, RogerYuicompressor::Yuicompressor)
|
data/roger_yuicompressor.gemspec
CHANGED
data/test/unit/processor_test.rb
CHANGED
@@ -62,6 +62,7 @@ class ProcessorTest < Test::Unit::TestCase
|
|
62
62
|
|
63
63
|
# Expectations
|
64
64
|
expect(release).to receive(:log)
|
65
|
+
expect(release).to receive(:debug)
|
65
66
|
expect(release).to receive(:get_files).with(processor.options[:match], processor.options[:skip]).and_return(processor.options[:match])
|
66
67
|
|
67
68
|
# Call method
|
@@ -76,4 +77,4 @@ class ProcessorTest < Test::Unit::TestCase
|
|
76
77
|
File.delete(file)
|
77
78
|
end
|
78
79
|
end
|
79
|
-
end
|
80
|
+
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roger_yuicompressor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flurin Egger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: roger
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: yui-compressor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description:
|
@@ -46,6 +46,7 @@ executables: []
|
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
|
+
- .gitignore
|
49
50
|
- .travis.yml
|
50
51
|
- CHANGELOG.md
|
51
52
|
- Gemfile
|
@@ -66,17 +67,17 @@ require_paths:
|
|
66
67
|
- lib
|
67
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
69
|
requirements:
|
69
|
-
- -
|
70
|
+
- - '>='
|
70
71
|
- !ruby/object:Gem::Version
|
71
72
|
version: '0'
|
72
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
74
|
requirements:
|
74
|
-
- -
|
75
|
+
- - '>='
|
75
76
|
- !ruby/object:Gem::Version
|
76
77
|
version: '0'
|
77
78
|
requirements: []
|
78
79
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.
|
80
|
+
rubygems_version: 2.0.14
|
80
81
|
signing_key:
|
81
82
|
specification_version: 4
|
82
83
|
summary: Processor for using yuicompressor to minify CSS/JS
|