Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

release 0.0.7

  • Loading branch information...
commit 022ccae18f9250ec153636ef8178271da9d105a0 1 parent 51011e0
@maccman authored
Showing with 3 additions and 5 deletions.
  1. +1 −3 lib/sprockets/commonjs.rb
  2. +2 −2 sprockets-commonjs.gemspec
View
4 lib/sprockets/commonjs.rb
@@ -3,7 +3,6 @@
module Sprockets
class CommonJS < Tilt::Template
-
WRAPPER = '%s.define({%s:' +
'function(exports, require, module){' +
'%s' +
@@ -47,9 +46,8 @@ def module_name(scope)
chomp('.module'). # Remove module ext
inspect
end
-
end
register_postprocessor 'application/javascript', CommonJS
append_path File.expand_path('../../../assets', __FILE__)
-end
+end
View
4 sprockets-commonjs.gemspec
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "sprockets-commonjs"
- s.version = '0.0.6'
+ s.version = '0.0.7'
s.authors = ["Alex MacCaw"]
s.email = ["info@eribium.org"]
s.homepage = ""
@@ -19,5 +19,5 @@ Gem::Specification.new do |s|
# specify any dependencies here; for example:
# s.add_development_dependency "rspec"
- s.add_runtime_dependency "sprockets", "~>2.9.2"
+ s.add_runtime_dependency "sprockets", "~>2.10.1"
end
Please sign in to comment.
Something went wrong with that request. Please try again.