sprockets-rails 2.0.0.rc3 → 2.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d7e4219d086080ce19e5b2e2f2366a0757cf2abe
4
+ data.tar.gz: 5a79b2f569b27e8417b68fa9af82ce53f5c7d385
5
+ SHA512:
6
+ metadata.gz: de3da76c296f34d97645d42dcd9a334da9f320c976328dc750e7e508222c350be57b99ac8274e68fc1a4373967547c8c715710fae05cabde61b1e03db294249a
7
+ data.tar.gz: 49b99c15fb9409df7b66eadb8af11b17fc4a5427edd8af4554747927b5caf2d42d468dc988422d6bb8bbb1aa91b247689f811cc4979c9c2ca254113eae0e334c
@@ -12,8 +12,6 @@ module Sprockets
12
12
  # Override this task change the loaded dependencies
13
13
  desc "Load asset compile environment"
14
14
  task :environment do
15
- # Load gems in assets group of Gemfile
16
- Bundler.require(:assets) if defined?(Bundler)
17
15
  # Load full Rails environment by default
18
16
  Rake::Task['environment'].invoke
19
17
  end
@@ -19,9 +19,7 @@ module Rails
19
19
 
20
20
  # Returns Sprockets::Environment for app config.
21
21
  def assets
22
- return @assets if defined? @assets
23
-
24
- @assets = Sprockets::Environment.new(root.to_s) do |env|
22
+ @assets ||= Sprockets::Environment.new(root.to_s) do |env|
25
23
  env.version = ::Rails.env
26
24
 
27
25
  path = "#{config.root}/tmp/cache/assets/#{::Rails.env}"
@@ -83,7 +81,7 @@ module Sprockets
83
81
  app.assets.append_path path
84
82
  end
85
83
 
86
- ActiveSupport.on_load(:action_view) do
84
+ ActionView::Base.instance_eval do
87
85
  include Sprockets::Rails::Helper
88
86
 
89
87
  # Copy relevant config to AV context
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc3
5
- prerelease: 6
4
+ version: 2.0.0.rc4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Joshua Peek
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-24 00:00:00.000000000 Z
11
+ date: 2013-04-18 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: sprockets
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,49 +27,43 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: actionpack
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '3.0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '3.0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: activesupport
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '3.0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '3.0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description:
@@ -90,26 +81,25 @@ files:
90
81
  - lib/sprockets/railtie.rb
91
82
  homepage: https://github.com/rails/sprockets-rails
92
83
  licenses: []
84
+ metadata: {}
93
85
  post_install_message:
94
86
  rdoc_options: []
95
87
  require_paths:
96
88
  - lib
97
89
  required_ruby_version: !ruby/object:Gem::Requirement
98
- none: false
99
90
  requirements:
100
- - - ! '>='
91
+ - - '>='
101
92
  - !ruby/object:Gem::Version
102
93
  version: '0'
103
94
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
95
  requirements:
106
- - - ! '>'
96
+ - - '>'
107
97
  - !ruby/object:Gem::Version
108
98
  version: 1.3.1
109
99
  requirements: []
110
100
  rubyforge_project:
111
- rubygems_version: 1.8.23
101
+ rubygems_version: 2.0.2
112
102
  signing_key:
113
- specification_version: 3
103
+ specification_version: 4
114
104
  summary: Sprockets Rails integration
115
105
  test_files: []