actionpack 4.0.11 → 4.0.11.1

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8ad3b1bdb98fa865651bc6e2949405151e855cf
4
- data.tar.gz: 99b0804b51477f6f0a243bb3df8ede5b14740149
3
+ metadata.gz: 85e2e9ad79e9b2427ae0b54b59e7cdb44e980bf1
4
+ data.tar.gz: 19b79c1f9d98ece539c158f365bd072a135ca0dc
5
5
  SHA512:
6
- metadata.gz: 32f460f6cc690796cc64183fdd363a6f468dfcf121e7bba07e182d5f395b4e75cb2da4b55de98591ad20a6e8bf39f25c62bb4c7f72e2e036af81377bafe52f53
7
- data.tar.gz: 978c48587c63a2a03782135e08d40e106d5b7bd3fa2f012d4d74bab17aa992f047280d25f42437c1822ca55ff1f1746b6d2ab50ad9923d5232384340486fdc28
6
+ metadata.gz: f6989a33921f43e1a56ec26131995d906e677012e053d9e002c4c1d08529c56f99645fdc919e0f0f7655e80878106004e3b540222deb1a400dee7055e7ff4a4b
7
+ data.tar.gz: c335d5d026310d285e794fc67b03f5273e7e4a0adf8779a4a71b9c89687ff22f9cd3cb3f46ae592f26e177cc3cb7231d6231942f5cfcf15c1b7906f990329b09
@@ -19,7 +19,7 @@ module ActionDispatch
19
19
  paths = "#{full_path}#{ext}"
20
20
 
21
21
  matches = Dir[paths]
22
- match = matches.detect { |m| File.file?(m) }
22
+ match = matches.detect { |m| File.file?(m) && File.readable?(m) }
23
23
  if match
24
24
  match.sub!(@compiled_root, '')
25
25
  ::Rack::Utils.escape(match)
@@ -42,7 +42,7 @@ module ActionDispatch
42
42
  end
43
43
 
44
44
  def escape_glob_chars(path)
45
- path.gsub(/[*?{}\[\]]/, "\\\\\\&")
45
+ path.gsub(/[*?{}\[\]\\]/, "\\\\\\&")
46
46
  end
47
47
 
48
48
  private
@@ -1,7 +1,7 @@
1
1
  module ActionPack
2
2
  # Returns the version of the currently loaded ActionPack as a Gem::Version
3
3
  def self.version
4
- Gem::Version.new "4.0.11"
4
+ Gem::Version.new "4.0.11.1"
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.11
4
+ version: 4.0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-29 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.11
19
+ version: 4.0.11.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.11
26
+ version: 4.0.11.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 4.0.11
89
+ version: 4.0.11.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 4.0.11
96
+ version: 4.0.11.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: tzinfo
99
99
  requirement: !ruby/object:Gem::Requirement