actionpack 4.0.6.rc2 → 4.0.6.rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of actionpack might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -17
- data/lib/action_pack/version.rb +1 -1
- metadata +6 -6
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 7145956f00f8a642053c0a0bef07a5a53db06fff
         | 
| 4 | 
            +
              data.tar.gz: 50db73802f7df8eaacb1786128fccad6e51974ad
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7e5a65e52fe43a3a85363f3b5059755aa0b709fb6668f57b84dabb2f8e7f79f7bf0522b803e54f87dd67af93ef6f90a89185f7400f4761b7454a78d3f35e9562
         | 
| 7 | 
            +
              data.tar.gz: 59db5902d1d8c898d66963d86459080832fc634fe3d018766866d55a27babf46f0992466d8aa3a622553a96fb48e9b6d3525787bf54fddd754fb64f4ba8d99fc
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            ## Rails 4.0.6 (June  | 
| 1 | 
            +
            ## Rails 4.0.6 (June 23, 2014) ##
         | 
| 2 2 |  | 
| 3 3 | 
             
            *   Fix URL generation with `:trailing_slash` such that it does not add
         | 
| 4 4 | 
             
                a trailing slash after `.:format`
         | 
| @@ -28,14 +28,14 @@ | |
| 28 28 |  | 
| 29 29 | 
             
                *Peter Schröder*
         | 
| 30 30 |  | 
| 31 | 
            -
            *   Returns null type format when format is not  | 
| 31 | 
            +
            *   Returns null type format when format is not known and controller is using `any`
         | 
| 32 32 | 
             
                format block.
         | 
| 33 33 |  | 
| 34 34 | 
             
                Fixes #14462.
         | 
| 35 35 |  | 
| 36 36 | 
             
                *Rafael Mendonça França*
         | 
| 37 37 |  | 
| 38 | 
            -
            *   `collection_check_boxes` respects `:index` option for the hidden  | 
| 38 | 
            +
            *   `collection_check_boxes` respects `:index` option for the hidden field name.
         | 
| 39 39 |  | 
| 40 40 | 
             
                Fixes #14147.
         | 
| 41 41 |  | 
| @@ -51,8 +51,8 @@ | |
| 51 51 |  | 
| 52 52 | 
             
                *Izumi Wong-Horiuchi*
         | 
| 53 53 |  | 
| 54 | 
            -
            *    | 
| 55 | 
            -
                proper values  | 
| 54 | 
            +
            *   Swaps the parameters of `assert_equal` in `assert_select` so that the
         | 
| 55 | 
            +
                proper values are printed correctly.
         | 
| 56 56 |  | 
| 57 57 | 
             
                Fixes #14422.
         | 
| 58 58 |  | 
| @@ -116,11 +116,11 @@ | |
| 116 116 |  | 
| 117 117 | 
             
            *   Unique the segment keys array for non-optimized url helpers
         | 
| 118 118 |  | 
| 119 | 
            -
                In Rails 3.2 you only needed pass an argument for dynamic segment once so
         | 
| 119 | 
            +
                In Rails 3.2 you only needed to pass an argument for a dynamic segment once so
         | 
| 120 120 | 
             
                unique the segment keys array to match the number of args. Since the number
         | 
| 121 | 
            -
                of args is less than required parts the non-optimized code path is selected.
         | 
| 122 | 
            -
                 | 
| 123 | 
            -
                 | 
| 121 | 
            +
                of args is less than required parts, the non-optimized code path is selected.
         | 
| 122 | 
            +
                To benefit from optimized url generation, the arg needs to be specified as
         | 
| 123 | 
            +
                many times as it appears in the path.
         | 
| 124 124 |  | 
| 125 125 | 
             
                Fixes #12808.
         | 
| 126 126 |  | 
| @@ -148,7 +148,7 @@ | |
| 148 148 |  | 
| 149 149 | 
             
                This now redirects to the path `/blog`, whereas before it would redirect
         | 
| 150 150 | 
             
                to the application root path. In the case of a path redirect or a custom
         | 
| 151 | 
            -
                redirect if the path returned contains a host then the path is treated as
         | 
| 151 | 
            +
                redirect, if the path returned contains a host then the path is treated as
         | 
| 152 152 | 
             
                absolute. Similarly for option redirects, if the options hash returned
         | 
| 153 153 | 
             
                contains a `:host` or `:domain` key then the path is treated as absolute.
         | 
| 154 154 |  | 
| @@ -159,9 +159,9 @@ | |
| 159 159 | 
             
            *   Fix `Encoding::CompatibilityError` when public path is UTF-8
         | 
| 160 160 |  | 
| 161 161 | 
             
                In #5337 we forced the path encoding to ASCII-8BIT to prevent static file handling
         | 
| 162 | 
            -
                from blowing up before an application has had chance to deal with possibly | 
| 163 | 
            -
                urls. However this has a negative side effect of making it an incompatible | 
| 164 | 
            -
                if the application's public path has UTF-8 characters in it.
         | 
| 162 | 
            +
                from blowing up before an application has had a chance to deal with possibly
         | 
| 163 | 
            +
                invalid urls. However this has a negative side effect of making it an incompatible
         | 
| 164 | 
            +
                encoding if the application's public path has UTF-8 characters in it.
         | 
| 165 165 |  | 
| 166 166 | 
             
                To work around the problem we check to see if the path has a valid encoding once
         | 
| 167 167 | 
             
                it has been unescaped. If it is not valid then we can return early since it will
         | 
| @@ -186,7 +186,7 @@ | |
| 186 186 | 
             
                *Ryunosuke SATO*
         | 
| 187 187 |  | 
| 188 188 | 
             
            *   Label tags generated by collection helpers only inherit the `:index` and
         | 
| 189 | 
            -
                `:namespace` from the input, because only these attributes  | 
| 189 | 
            +
                `:namespace` from the input, because only these attributes modify the
         | 
| 190 190 | 
             
                `for` attribute of the label. Also, the input attributes don't have
         | 
| 191 191 | 
             
                precedence over the label attributes anymore.
         | 
| 192 192 |  | 
| @@ -217,7 +217,7 @@ | |
| 217 217 |  | 
| 218 218 | 
             
                *Shota Fukumori (sora_h)*
         | 
| 219 219 |  | 
| 220 | 
            -
            *   Fix  | 
| 220 | 
            +
            *   Fix rendering localized templates without an explicit format using wrong
         | 
| 221 221 | 
             
                content header and not passing correct formats to template due to the
         | 
| 222 222 | 
             
                introduction of the `NullType` for mimes.
         | 
| 223 223 |  | 
| @@ -325,7 +325,7 @@ | |
| 325 325 |  | 
| 326 326 | 
             
                *kennyj*
         | 
| 327 327 |  | 
| 328 | 
            -
            *   Fix custom flash type definition.  | 
| 328 | 
            +
            *   Fix custom flash type definition. Misuse of the `_flash_types` class variable
         | 
| 329 329 | 
             
                caused an error when reloading controllers with custom flash types.
         | 
| 330 330 |  | 
| 331 331 | 
             
                Fixes #12057.
         | 
| @@ -457,7 +457,7 @@ | |
| 457 457 |  | 
| 458 458 | 
             
                *Murahashi Sanemat Kenichi*
         | 
| 459 459 |  | 
| 460 | 
            -
            *   Fix "Stack Level Too Deep" error when  | 
| 460 | 
            +
            *   Fix "Stack Level Too Deep" error when rendering recursive partials.
         | 
| 461 461 |  | 
| 462 462 | 
             
                Fixes #11340.
         | 
| 463 463 |  | 
    
        data/lib/action_pack/version.rb
    CHANGED
    
    
    
        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.6. | 
| 4 | 
            +
              version: 4.0.6.rc3
         | 
| 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-06- | 
| 11 | 
            +
            date: 2014-06-23 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.6. | 
| 19 | 
            +
                    version: 4.0.6.rc3
         | 
| 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.6. | 
| 26 | 
            +
                    version: 4.0.6.rc3
         | 
| 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.6. | 
| 89 | 
            +
                    version: 4.0.6.rc3
         | 
| 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.6. | 
| 96 | 
            +
                    version: 4.0.6.rc3
         | 
| 97 97 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 98 98 | 
             
              name: tzinfo
         | 
| 99 99 | 
             
              requirement: !ruby/object:Gem::Requirement
         |