railties 3.2.9.rc2 → 3.2.9.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,5 @@
1
1
  ## Rails 3.2.9 (unreleased)
2
2
 
3
- * Don't eager-load app/assets and app/views *Elia Schito*
4
-
5
3
  * Update supported ruby versions error message in ruby_version_check.rb *Lihan Li*
6
4
 
7
5
  ## Rails 3.2.8 (Aug 9, 2012) ##
@@ -87,15 +87,14 @@ module Rails
87
87
  protected
88
88
 
89
89
  def filter_by(constraint)
90
- yes = []
91
- no = []
92
-
90
+ all = []
93
91
  all_paths.each do |path|
94
- paths = path.existent + path.existent_base_paths
95
- path.send(constraint) ? yes.concat(paths) : no.concat(paths)
92
+ if path.send(constraint)
93
+ paths = path.existent
94
+ paths -= path.children.map { |p| p.send(constraint) ? [] : p.existent }.flatten
95
+ all.concat(paths)
96
+ end
96
97
  end
97
-
98
- all = yes - no
99
98
  all.uniq!
100
99
  all
101
100
  end
@@ -195,10 +194,6 @@ module Rails
195
194
  expanded.select { |d| File.directory?(d) }
196
195
  end
197
196
 
198
- def existent_base_paths
199
- map { |p| File.expand_path(p, @root.path) }.select{ |f| File.exist? f }
200
- end
201
-
202
197
  alias to_a expanded
203
198
 
204
199
  private
@@ -3,7 +3,7 @@ module Rails
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  TINY = 9
6
- PRE = "rc2"
6
+ PRE = "rc3"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.9.rc2
4
+ version: 3.2.9.rc3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-01 00:00:00.000000000 Z
12
+ date: 2012-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -88,7 +88,7 @@ dependencies:
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 3.2.9.rc2
91
+ version: 3.2.9.rc3
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
@@ -96,7 +96,7 @@ dependencies:
96
96
  requirements:
97
97
  - - '='
98
98
  - !ruby/object:Gem::Version
99
- version: 3.2.9.rc2
99
+ version: 3.2.9.rc3
100
100
  - !ruby/object:Gem::Dependency
101
101
  name: actionpack
102
102
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +104,7 @@ dependencies:
104
104
  requirements:
105
105
  - - '='
106
106
  - !ruby/object:Gem::Version
107
- version: 3.2.9.rc2
107
+ version: 3.2.9.rc3
108
108
  type: :runtime
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
@@ -112,7 +112,7 @@ dependencies:
112
112
  requirements:
113
113
  - - '='
114
114
  - !ruby/object:Gem::Version
115
- version: 3.2.9.rc2
115
+ version: 3.2.9.rc3
116
116
  description: ! 'Rails internals: application bootup, plugins, generators, and rake
117
117
  tasks.'
118
118
  email: david@loudthinking.com