padrino-sprockets 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Padrino
2
2
  module Sprockets
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
- end
5
+ end
@@ -8,7 +8,7 @@ module Sprockets
8
8
  end
9
9
 
10
10
  def evaluate(context, locals, &block)
11
- JSMin.minify(data)
11
+ Uglifier.compile(data, :comments => :none)
12
12
  end
13
13
  end
14
14
  end
@@ -69,10 +69,10 @@ module Padrino
69
69
  else
70
70
  puts "Add yui-compressor to your Gemfile to enable css compression"
71
71
  end
72
- if defined?(JSMin)
72
+ if defined?(Uglifier)
73
73
  @environment.register_postprocessor "application/javascript", ::Sprockets::JSMinifier
74
74
  else
75
- puts "Add jsmin to your Gemfile to enable minification"
75
+ puts "Add uglifier to your Gemfile to enable js minification"
76
76
  end
77
77
  end
78
78
 
@@ -97,4 +97,4 @@ module Padrino
97
97
  end
98
98
  end
99
99
  end #Sprockets
100
- end #Padrino
100
+ end #Padrino
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-sprockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Night Sailer
8
+ - Night Sailer, Matthias Günther
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-08 00:00:00.000000000 Z
12
+ date: 2013-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
16
- requirement: &70143262763320 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70143262763320
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  description: Padrino with Sprockets
26
31
  email:
27
- - nightsailer@gmail.com
32
+ - nightsailer@gmail.com, matthias.guenther@wikimatze.de
28
33
  executables: []
29
34
  extensions: []
30
35
  extra_rdoc_files: []
@@ -32,7 +37,8 @@ files:
32
37
  - lib/padrino/sprockets-version.rb
33
38
  - lib/padrino/sprockets.rb
34
39
  homepage: https://github.com/nightsailer/padrino-sprockets
35
- licenses: []
40
+ licenses:
41
+ - MIT
36
42
  post_install_message:
37
43
  rdoc_options: []
38
44
  require_paths:
@@ -51,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
57
  version: '0'
52
58
  requirements: []
53
59
  rubyforge_project:
54
- rubygems_version: 1.8.16
60
+ rubygems_version: 1.8.23
55
61
  signing_key:
56
62
  specification_version: 3
57
63
  summary: Padrino with Sprockets