actionpack 1.12.4 → 1.12.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionpack might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ *1.12.5* (August 10th, 2006)
2
+
3
+ * Updated security fix
4
+
5
+
1
6
  *1.12.4* (August 8th, 2006)
2
7
 
3
8
  * Documentation fix: integration test scripts don't require integration_test. #4914 [Frederick Ros <sl33p3r@free.fr>]
data/README CHANGED
@@ -469,7 +469,3 @@ And as Jim from Rake says:
469
469
 
470
470
  For other information, feel free to ask on the ruby-talk mailing list (which
471
471
  is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com.
472
-
473
-
474
-
475
- ...
data/Rakefile CHANGED
@@ -77,7 +77,7 @@ spec = Gem::Specification.new do |s|
77
77
  s.require_path = 'lib'
78
78
  s.autorequire = 'action_controller'
79
79
 
80
- s.files = [ "filler", "Rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG", "MIT-LICENSE", "examples/.htaccess" ]
80
+ s.files = [ "Rakefile", "install.rb", "filler.txt", "README", "RUNNING_UNIT_TESTS", "CHANGELOG", "MIT-LICENSE", "examples/.htaccess" ]
81
81
  dist_dirs.each do |dir|
82
82
  s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
83
83
  end
@@ -0,0 +1,50 @@
1
+ abCdefGhIjklmNopQrstuVWxyz
2
+ abcdeFGHIjklmnOpqrstuvwXyz
3
+ abcdeFghijKlmNopqrStUVWxYz
4
+ AbCdefghIJklmNopQRsTUvwXyz
5
+ abCdefgHijkLmnopqrstuVWxyZ
6
+ abCDEfgHijklMNOpQrStUVWXyZ
7
+ AbCdefGhiJklmNOpQRsTuvwxyz
8
+ abcdefGhijKlMnopQrsTUVwxyz
9
+ abcdEfgHiJkLmnopQrStUVwXyz
10
+ abcdefghijklMNopqRStuvWxyz
11
+ AbcDeFghIJkLmnopQrsTuvwXyZ
12
+ abcdefGhiJKLmNOpQRSTuvwXYz
13
+ AbcdefghijKlmnOpqrStuvWXyZ
14
+ abcDEfghIJklMnOpqrstuvWxyz
15
+ abcdefGhijklMnopqrstuvwxYz
16
+ abcDeFGhijKlmnoPqRstuVwXyz
17
+ AbcDefghijklmnopQrsTUvWXYz
18
+ abcdefGhijKlmnOpqrstUvWxyz
19
+ aBCdEfGhiJklmnOpqrstuvwXYZ
20
+ aBcdefGhijklMnOpQrStuvwxYZ
21
+ abcdeFghijklMnopqrStuvwxYZ
22
+ aBcdefghiJklmnOPqrstuvwxyz
23
+ abcDEFghijKLmNoPqrsTUvwxYz
24
+ aBCdEfghijKlmNOpqrstUvwxyz
25
+ abCDEfghijklMnopqrstuvwXYz
26
+ aBcDeFghijklmnopqRstuvwxyz
27
+ abcdEfghIjkLMNOpqRstuvwxYz
28
+ ABcDefGHijKlmNopQrstUvwxYz
29
+ abcDefGhijklMnOPQrstuVwXyZ
30
+ AbcdefghijKlmNoPqrsTuvwXYZ
31
+ AbcdeFGhiJklmnopQrsTuvWxYz
32
+ AbCdEfgHiJKlMNoPQrsTUVwXyz
33
+ aBcDefGhijkLMnOpqrsTuVwxyz
34
+ abcdeFGhijKlmNOPqrStuVWxyz
35
+ AbCdEfghijKlmnopqrstuvwxyz
36
+ AbcdefGHijkLmnOPQRSTuVwXyZ
37
+ aBcdeFghiJkLMnoPqrSTuvwxyZ
38
+ abCDeFghijKlmnOpqRstUvwxyz
39
+ aBcDefghIjKLMnoPQrStuVwXyz
40
+ abcDEfgHijkLmNopqrstUVwXyz
41
+ AbCDeFghijKLmnopQrStuvwxyz
42
+ abcDefGhIjKlmnOPQrsTuvWxyz
43
+ ABCdEfghijklmnopqrSTuVwxYz
44
+ ABcdEfGhijKlmnOpqRsTUVWxyZ
45
+ ABCdeFgHIjklMNOpqrstUvwxYz
46
+ aBcdefghiJkLMNopqrstuVWxYz
47
+ abCdEFgHIjKlmnopqrsTUVwXYZ
48
+ AbcdefGhijklmnopQRsTuVwxYZ
49
+ abcdeFgHijklMNopQrstuvWxyz
50
+ abCdeFgHijKlmnOpqrsTuvwXyz
@@ -218,11 +218,7 @@ module ActionController
218
218
  expr = "::#{controller.split('/').collect {|c| c.camelize}.join('::')}Controller"
219
219
  g.result :controller, expr, true
220
220
  end
221
-
222
- def file_kinds(kind)
223
- ((@file_kinds ||= []) << kind).uniq! || @file_kinds
224
- end
225
-
221
+
226
222
  def traverse_to_controller(segments, start_at = 0)
227
223
  mod = ::Object
228
224
  length = segments.length
@@ -232,7 +228,6 @@ module ActionController
232
228
  return nil unless /\A[A-Za-z][A-Za-z\d_]*\Z/ =~ (segment = segments[index])
233
229
  index += 1
234
230
 
235
- file_kinds :app
236
231
  mod_name = segment.camelize
237
232
  controller_name = "#{mod_name}Controller"
238
233
  path_suffix = File.join(segments[start_at..(index - 1)])
@@ -273,7 +268,8 @@ module ActionController
273
268
  $LOAD_PATH.select do |base|
274
269
  base = File.expand_path(base)
275
270
  extended_root = File.expand_path(RAILS_ROOT)
276
- base.match(/\A#{Regexp.escape(extended_root)}\/*#{file_kinds(:lib) * '|'}/) || base =~ %r{rails-[\d.]+/builtin}
271
+ # Exclude all paths that are not nested within app, lib, or components.
272
+ base.match(/\A#{Regexp.escape(extended_root)}\/*(app|lib|components)\/[a-z]/) || base =~ %r{rails-[\d.]+/builtin}
277
273
  end
278
274
  else
279
275
  $LOAD_PATH
@@ -2,7 +2,7 @@ module ActionPack #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 12
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: actionpack
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.12.4
7
- date: 2006-08-09 00:00:00 -06:00
6
+ version: 1.12.5
7
+ date: 2006-08-10 00:00:00 -05:00
8
8
  summary: Web-flow and rendering framework putting the VC in MVC.
9
9
  require_paths:
10
10
  - lib
@@ -25,13 +25,12 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: ruby
26
26
  signing_key:
27
27
  cert_chain:
28
- post_install_message:
29
28
  authors:
30
29
  - David Heinemeier Hansson
31
30
  files:
32
- - filler
33
31
  - Rakefile
34
32
  - install.rb
33
+ - filler.txt
35
34
  - README
36
35
  - RUNNING_UNIT_TESTS
37
36
  - CHANGELOG
data/filler DELETED
@@ -1,53 +0,0 @@
1
- this is just a filler file to try and work around the zlib error when unpacking the gem. Please ignore it, thanks.
2
-
3
- abcDEfgHijkLMNopqrStUVWxyz
4
- AbcdefgHIjklMnOpqrsTUvwxYZ
5
- AbCDEfghIjKLmnoPQrstuVwxyz
6
- abcDefGhijKlmnopQrstuvWXYz
7
- AbCdefGhiJKlmnoPqrstuVwxYz
8
- aBcdefGHijKlmnOpQrStUvwxYz
9
- AbcdEfGhIJklmnOPQrSTuvwxyZ
10
- AbcDeFGHijkLmnopqrstuVwxYZ
11
- ABcdefgHIjkLmnOpqrStuVwxyZ
12
- aBcdEFGhiJklmnopQrstuVwxyz
13
- abcDefgHijKlmnoPQrSTuvwxYz
14
- AbcdefGhiJklmnOpqrstuVwxYZ
15
- abcdefgHIjKlMNoPqRsTuvwxYz
16
- ABcDeFghIjklMnopQrstUVwxyZ
17
- AbcdefGhijkLmNopQRstuVWxYZ
18
- aBcdefGhijklMNOpqRsTUvwxyz
19
- abcdEFGhiJKlmnOPQrStUVwxyz
20
- abcDefghIJklmnOPqRStuVWxyz
21
- abcdefGhIjklmnoPQrStUVwXyZ
22
- abcDefghIjkLmnopQrstuVwxyz
23
- AbcdefGhIjklMNOPqrstuvWXyz
24
- AbCdEfGHijkLmnopqrstuvwxyz
25
- abCdEFghijKlmnopqRstuvwXYz
26
- abCdEfghIJklmnOPqrsTUvwxyz
27
- AbcdeFghijklmnoPqrStUvWxyZ
28
- aBcDEFghIJKlmnopqrstuvWXyz
29
- abcdEfghiJKlmNopqrstuvwXyz
30
- AbcdEFGHIJKlmnopqRsTuvwxYz
31
- abcdeFgHiJklmnoPQRsTuvwXYz
32
- abcdEfGhijkLmnOPqrstUvwXYZ
33
- abCDeFGhijklmNopQrstUvwxYz
34
- abCdeFGhIjklmnOpQrstUvwxyZ
35
- aBcDEFgHijKlmNOPQrsTUvwxYz
36
- aBcDefghijklmNoPqrstUvWXyz
37
- AbcDefgHiJklmnOPqRStuvwxYz
38
- aBcdefGHijklMnopqRstUvwxyz
39
- AbCdefghijKLmnopqRstuvWXyz
40
- aBCdefGhiJkLMnopQrsTUvwxyz
41
- ABcdefGHijKlmnOPqrSTUvWXyz
42
- aBCdEfGHIJklMnopqRsTUvWxyz
43
- ABcDEFGHIJklMnopqrSTuVwxyz
44
- abcdEfghijklMnopqrstuvwxyz
45
- AbCDEFghIjkLmNOpQRstUVwxyZ
46
- abCdEFghIJklMNOPqrstUvwXYZ
47
- abCdefghijklmnoPQrstuVwxyz
48
- AbcdEfghijkLMnopqRSTUvWxYz
49
- ABcDEfGhIjKLmNopqrStuVwxyZ
50
- abCdefgHijklmnOpQRStuvwxYz
51
- abCdeFghijKLmNopQrstuvwxyZ
52
- abcdEFGHijKlmnopqrstuvwxYZ
53
-