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.
- data/CHANGELOG.md +0 -2
- data/lib/rails/paths.rb +6 -11
- data/lib/rails/version.rb +1 -1
- metadata +6 -6
data/CHANGELOG.md
CHANGED
data/lib/rails/paths.rb
CHANGED
@@ -87,15 +87,14 @@ module Rails
|
|
87
87
|
protected
|
88
88
|
|
89
89
|
def filter_by(constraint)
|
90
|
-
|
91
|
-
no = []
|
92
|
-
|
90
|
+
all = []
|
93
91
|
all_paths.each do |path|
|
94
|
-
|
95
|
-
|
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
|
data/lib/rails/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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
|