jammit 0.5.0 → 0.5.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/jammit.gemspec +4 -4
  2. data/lib/jammit.rb +1 -1
  3. data/rails/routes.rb +7 -0
  4. metadata +4 -3
data/jammit.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jammit'
3
- s.version = '0.5.0' # Keep version in sync with jammit.rb
4
- s.date = '2010-2-19'
3
+ s.version = '0.5.1' # Keep version in sync with jammit.rb
4
+ s.date = '2010-7-15'
5
5
 
6
6
  s.homepage = "http://documentcloud.github.com/jammit/"
7
7
  s.summary = "Industrial Strength Asset Packaging for Rails"
@@ -30,5 +30,5 @@ Gem::Specification.new do |s|
30
30
  s.add_dependency 'yui-compressor', ['>= 0.9.1']
31
31
  s.add_dependency 'closure-compiler', ['>= 0.1.0']
32
32
 
33
- s.files = Dir['lib/**/*', 'bin/*', 'jammit.gemspec', 'LICENSE', 'README']
34
- end
33
+ s.files = Dir['lib/**/*', 'bin/*', 'rails/*', 'jammit.gemspec', 'LICENSE', 'README']
34
+ end
data/lib/jammit.rb CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path(File.dirname(__FILE__))
4
4
  # to all of the configuration options.
5
5
  module Jammit
6
6
 
7
- VERSION = "0.5.0"
7
+ VERSION = "0.5.1"
8
8
 
9
9
  ROOT = File.expand_path(File.dirname(__FILE__) + '/..')
10
10
 
data/rails/routes.rb ADDED
@@ -0,0 +1,7 @@
1
+ if defined?(Rails::Application)
2
+ # Rails3 routes
3
+ Rails::Application.routes.draw do |map|
4
+ match "/#{Jammit.package_path}/:package.:extension",
5
+ :to => 'jammit#package', :as => :jammit
6
+ end
7
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
8
+ - 1
9
+ version: 0.5.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeremy Ashkenas
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-02-19 00:00:00 -05:00
17
+ date: 2010-07-15 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -65,6 +65,7 @@ files:
65
65
  - lib/jammit/routes.rb
66
66
  - lib/jammit.rb
67
67
  - bin/jammit
68
+ - rails/routes.rb
68
69
  - jammit.gemspec
69
70
  - LICENSE
70
71
  - README