engine-assets 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/TODO.md CHANGED
@@ -1,6 +1,4 @@
1
1
 
2
2
  * support@coolerator.net
3
3
  * Visit http://github.com/coreyti/engine-assets/edit and click 'Enable RubyGems'
4
- * from AssetTagHelper:
5
- `collect_asset_files(JAVASCRIPTS_DIR, ('**' if recursive), '*.js')`
6
4
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
@@ -1,6 +1,4 @@
1
- class EngineAssets::AssetsController < ApplicationController
2
- unloadable
3
-
1
+ class EngineAssets::AssetsController < ActionController::Base
4
2
  layout nil
5
3
  before_filter :expire, :set_headers
6
4
  after_filter :cache
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{engine-assets}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corey Innis"]
12
- s.date = %q{2009-12-28}
12
+ s.date = %q{2010-08-11}
13
13
  s.description = %q{A Rails Engine, which enables Rails Engines to provide assets (javascript, css and images)}
14
14
  s.email = %q{support@coolerator.net}
15
15
  s.extra_rdoc_files = [
@@ -55,7 +55,7 @@ Gem::Specification.new do |s|
55
55
  s.homepage = %q{http://github.com/coreyti/engine-assets}
56
56
  s.rdoc_options = ["--charset=UTF-8"]
57
57
  s.require_paths = ["lib"]
58
- s.rubygems_version = %q{1.3.5}
58
+ s.rubygems_version = %q{1.3.7}
59
59
  s.summary = %q{Rails Engines with assets.}
60
60
  s.test_files = [
61
61
  "spec/controllers/javascripts_controller_spec.rb",
@@ -75,7 +75,7 @@ Gem::Specification.new do |s|
75
75
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
76
76
  s.specification_version = 3
77
77
 
78
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
78
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
79
79
  s.add_development_dependency(%q<rspec>, [">= 1.2.8"])
80
80
  else
81
81
  s.add_dependency(%q<rspec>, [">= 1.2.8"])
data/spec/spec_helper.rb CHANGED
@@ -11,8 +11,10 @@ unless defined?(RAILS_PATH)
11
11
  ENV["RAILS_ENV"] = "test"
12
12
 
13
13
  require "#{File.join(RAILS_PATH, 'config', 'environment')}"
14
- require 'engine-assets'
15
- require 'spec'
14
+ require "#{File.join(File.dirname(__FILE__), '..', 'lib', 'engine-assets')}"
15
+ require "#{File.join(File.dirname(__FILE__), '..', 'app', 'controllers', 'engine_assets', 'assets_controller.rb')}"
16
+ require "#{File.join(File.dirname(__FILE__), '..', 'app', 'controllers', 'engine_assets', 'javascripts_controller.rb')}"
17
+ require "#{File.join(File.dirname(__FILE__), '..', 'app', 'controllers', 'engine_assets', 'stylesheets_controller.rb')}"
16
18
  require 'spec/autorun'
17
19
  require 'spec/rails'
18
20
 
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engine-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ hash: 11
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - 2
10
+ version: 0.4.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Corey Innis
@@ -9,19 +15,25 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-12-28 00:00:00 -08:00
18
+ date: 2010-08-11 00:00:00 -04:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 1
32
+ - 2
33
+ - 8
23
34
  version: 1.2.8
24
- version:
35
+ type: :development
36
+ version_requirements: *id001
25
37
  description: A Rails Engine, which enables Rails Engines to provide assets (javascript, css and images)
26
38
  email: support@coolerator.net
27
39
  executables: []
@@ -76,21 +88,27 @@ rdoc_options:
76
88
  require_paths:
77
89
  - lib
78
90
  required_ruby_version: !ruby/object:Gem::Requirement
91
+ none: false
79
92
  requirements:
80
93
  - - ">="
81
94
  - !ruby/object:Gem::Version
95
+ hash: 3
96
+ segments:
97
+ - 0
82
98
  version: "0"
83
- version:
84
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
+ none: false
85
101
  requirements:
86
102
  - - ">="
87
103
  - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
106
+ - 0
88
107
  version: "0"
89
- version:
90
108
  requirements: []
91
109
 
92
110
  rubyforge_project:
93
- rubygems_version: 1.3.5
111
+ rubygems_version: 1.3.7
94
112
  signing_key:
95
113
  specification_version: 3
96
114
  summary: Rails Engines with assets.