crush 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module Crush
10
10
  self.default_mime_type = "application/javascript"
11
11
 
12
12
  def self.engine_initialized?
13
- !!(defined? ::Closure && defined? ::Closure::Compiler)
13
+ !!(defined?(::Closure) && defined?(::Closure::Compiler))
14
14
  end
15
15
 
16
16
  def initialize_engine
@@ -1,3 +1,3 @@
1
1
  module Crush
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -10,7 +10,7 @@ module Crush
10
10
  self.default_mime_type = "application/javascript"
11
11
 
12
12
  def self.engine_initialized?
13
- !!(defined? ::YUI && defined? ::YUI::JavaScriptCompressor)
13
+ !!(defined?(::YUI) && defined?(::YUI::JavaScriptCompressor))
14
14
  end
15
15
 
16
16
  def initialize_engine
@@ -35,7 +35,7 @@ module Crush
35
35
  self.default_mime_type = "text/css"
36
36
 
37
37
  def self.engine_initialized?
38
- !!(defined? ::YUI && defined? ::YUI::CssCompressor)
38
+ !!(defined?(::YUI) && defined?(::YUI::CssCompressor))
39
39
  end
40
40
 
41
41
  def initialize_engine
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: crush
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Pete Browne