railties 3.1.2 → 3.1.3
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.
- data/CHANGELOG.md +4 -0
 - data/guides/source/i18n.textile +1 -1
 - data/lib/rails/generators/app_base.rb +1 -1
 - data/lib/rails/version.rb +1 -1
 - metadata +10 -10
 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/guides/source/i18n.textile
    CHANGED
    
    | 
         @@ -231,7 +231,7 @@ end 
     | 
|
| 
       231 
231 
     | 
    
         | 
| 
       232 
232 
     | 
    
         
             
            Now, when you call the +books_path+ method you should get +"/en/books"+ (for the default locale). An URL like +http://localhost:3001/nl/books+ should load the Netherlands locale, then, and following calls to +books_path+ should return +"/nl/books"+ (because the locale changed).
         
     | 
| 
       233 
233 
     | 
    
         | 
| 
       234 
     | 
    
         
            -
            If you don't want to force the use of a locale in your routes you can use an optional path scope ( 
     | 
| 
      
 234 
     | 
    
         
            +
            If you don't want to force the use of a locale in your routes you can use an optional path scope (denoted by the parentheses) like so:
         
     | 
| 
       235 
235 
     | 
    
         | 
| 
       236 
236 
     | 
    
         
             
            <ruby>
         
     | 
| 
       237 
237 
     | 
    
         
             
            # config/routes.rb
         
     | 
| 
         @@ -209,7 +209,7 @@ module Rails 
     | 
|
| 
       209 
209 
     | 
    
         
             
                      # Gems used only for assets and not required
         
     | 
| 
       210 
210 
     | 
    
         
             
                      # in production environments by default.
         
     | 
| 
       211 
211 
     | 
    
         
             
                      group :assets do
         
     | 
| 
       212 
     | 
    
         
            -
                        gem 'sass-rails', #{options.dev? || options.edge? ? "  :git => 'git://github.com/rails/sass-rails.git', :branch => '3-1-stable'" : "  '~> 3.1.5 
     | 
| 
      
 212 
     | 
    
         
            +
                        gem 'sass-rails', #{options.dev? || options.edge? ? "  :git => 'git://github.com/rails/sass-rails.git', :branch => '3-1-stable'" : "  '~> 3.1.5'"}
         
     | 
| 
       213 
213 
     | 
    
         
             
                        gem 'coffee-rails', #{options.dev? || options.edge? ? ":git => 'git://github.com/rails/coffee-rails.git', :branch => '3-1-stable'" : "'~> 3.1.1'"}
         
     | 
| 
       214 
214 
     | 
    
         
             
                        gem 'uglifier', '>= 1.0.3'
         
     | 
| 
       215 
215 
     | 
    
         
             
                      end
         
     | 
    
        data/lib/rails/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: railties
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 5
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 3
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 1
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 3.1. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 3
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 3.1.3
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - David Heinemeier Hansson
         
     | 
| 
         @@ -15,7 +15,7 @@ autorequire: 
     | 
|
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2011-11- 
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2011-11-20 00:00:00 Z
         
     | 
| 
       19 
19 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       20 
20 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       21 
21 
     | 
    
         
             
              name: rake
         
     | 
| 
         @@ -89,12 +89,12 @@ dependencies: 
     | 
|
| 
       89 
89 
     | 
    
         
             
                requirements: 
         
     | 
| 
       90 
90 
     | 
    
         
             
                - - "="
         
     | 
| 
       91 
91 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       92 
     | 
    
         
            -
                    hash:  
     | 
| 
      
 92 
     | 
    
         
            +
                    hash: 5
         
     | 
| 
       93 
93 
     | 
    
         
             
                    segments: 
         
     | 
| 
       94 
94 
     | 
    
         
             
                    - 3
         
     | 
| 
       95 
95 
     | 
    
         
             
                    - 1
         
     | 
| 
       96 
     | 
    
         
            -
                    -  
     | 
| 
       97 
     | 
    
         
            -
                    version: 3.1. 
     | 
| 
      
 96 
     | 
    
         
            +
                    - 3
         
     | 
| 
      
 97 
     | 
    
         
            +
                    version: 3.1.3
         
     | 
| 
       98 
98 
     | 
    
         
             
              requirement: *id005
         
     | 
| 
       99 
99 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       100 
100 
     | 
    
         
             
              name: actionpack
         
     | 
| 
         @@ -105,12 +105,12 @@ dependencies: 
     | 
|
| 
       105 
105 
     | 
    
         
             
                requirements: 
         
     | 
| 
       106 
106 
     | 
    
         
             
                - - "="
         
     | 
| 
       107 
107 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       108 
     | 
    
         
            -
                    hash:  
     | 
| 
      
 108 
     | 
    
         
            +
                    hash: 5
         
     | 
| 
       109 
109 
     | 
    
         
             
                    segments: 
         
     | 
| 
       110 
110 
     | 
    
         
             
                    - 3
         
     | 
| 
       111 
111 
     | 
    
         
             
                    - 1
         
     | 
| 
       112 
     | 
    
         
            -
                    -  
     | 
| 
       113 
     | 
    
         
            -
                    version: 3.1. 
     | 
| 
      
 112 
     | 
    
         
            +
                    - 3
         
     | 
| 
      
 113 
     | 
    
         
            +
                    version: 3.1.3
         
     | 
| 
       114 
114 
     | 
    
         
             
              requirement: *id006
         
     | 
| 
       115 
115 
     | 
    
         
             
            description: "Rails internals: application bootup, plugins, generators, and rake tasks."
         
     | 
| 
       116 
116 
     | 
    
         
             
            email: david@loudthinking.com
         
     |