friendly_id_globalize3 3.2.1 → 3.2.1.1
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.
| 
         @@ -6,7 +6,7 @@ module FriendlyId 
     | 
|
| 
       6 
6 
     | 
    
         
             
                    base.class_eval do
         
     | 
| 
       7 
7 
     | 
    
         
             
                      has_many :slugs, :order => 'id DESC', :as => :sluggable, :dependent => :destroy
         
     | 
| 
       8 
8 
     | 
    
         
             
                      has_one :slug, :order => 'id DESC', :as => :sluggable, :dependent => :destroy,
         
     | 
| 
       9 
     | 
    
         
            -
                              :conditions => ({:locale => (Thread.current[:globalize_locale] || ::I18n.locale)} if friendly_id_config.class.locales_used?)
         
     | 
| 
      
 9 
     | 
    
         
            +
                              :conditions => (proc{ {:locale => (Thread.current[:globalize_locale] || ::I18n.locale)} } if friendly_id_config.class.locales_used?)
         
     | 
| 
       10 
10 
     | 
    
         
             
                      before_save :build_a_slug
         
     | 
| 
       11 
11 
     | 
    
         
             
                      after_save :set_slug_cache
         
     | 
| 
       12 
12 
     | 
    
         
             
                      after_update :update_scope
         
     | 
| 
         @@ -119,4 +119,4 @@ module FriendlyId 
     | 
|
| 
       119 
119 
     | 
    
         
             
                  end
         
     | 
| 
       120 
120 
     | 
    
         
             
                end
         
     | 
| 
       121 
121 
     | 
    
         
             
              end
         
     | 
| 
       122 
     | 
    
         
            -
            end
         
     | 
| 
      
 122 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/friendly_id/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -2,7 +2,7 @@ 
     | 
|
| 
       2 
2 
     | 
    
         
             
            name: friendly_id_globalize3
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
4 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       5 
     | 
    
         
            -
              version: 3.2.1
         
     | 
| 
      
 5 
     | 
    
         
            +
              version: 3.2.1.1
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors: 
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Norman Clarke
         
     | 
| 
         @@ -12,7 +12,7 @@ autorequire: 
     | 
|
| 
       12 
12 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       13 
13 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            date: 2011- 
     | 
| 
      
 15 
     | 
    
         
            +
            date: 2011-03-26 00:00:00 +13:00
         
     | 
| 
       16 
16 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       17 
17 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       18 
18 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
         @@ -23,7 +23,7 @@ dependencies: 
     | 
|
| 
       23 
23 
     | 
    
         
             
                requirements: 
         
     | 
| 
       24 
24 
     | 
    
         
             
                - - ~>
         
     | 
| 
       25 
25 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       26 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 26 
     | 
    
         
            +
                    version: 0.3.0
         
     | 
| 
       27 
27 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       28 
28 
     | 
    
         
             
              version_requirements: *id001
         
     | 
| 
       29 
29 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
         @@ -49,14 +49,14 @@ dependencies: 
     | 
|
| 
       49 
49 
     | 
    
         
             
              type: :development
         
     | 
| 
       50 
50 
     | 
    
         
             
              version_requirements: *id003
         
     | 
| 
       51 
51 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       52 
     | 
    
         
            -
              name: sqlite3 
     | 
| 
      
 52 
     | 
    
         
            +
              name: sqlite3
         
     | 
| 
       53 
53 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       54 
54 
     | 
    
         
             
              requirement: &id004 !ruby/object:Gem::Requirement 
         
     | 
| 
       55 
55 
     | 
    
         
             
                none: false
         
     | 
| 
       56 
56 
     | 
    
         
             
                requirements: 
         
     | 
| 
       57 
57 
     | 
    
         
             
                - - ~>
         
     | 
| 
       58 
58 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       59 
     | 
    
         
            -
                    version: "1"
         
     | 
| 
      
 59 
     | 
    
         
            +
                    version: "1.3"
         
     | 
| 
       60 
60 
     | 
    
         
             
              type: :development
         
     | 
| 
       61 
61 
     | 
    
         
             
              version_requirements: *id004
         
     | 
| 
       62 
62 
     | 
    
         
             
            description: "    FriendlyId is the \"Swiss Army bulldozer\" of slugging and permalink plugins\n    for Ruby on Rails. It allows you to create pretty URL's and work with\n    human-friendly strings as if they were numeric ids for ActiveRecord models.\n"
         
     | 
| 
         @@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       153 
153 
     | 
    
         
             
            requirements: []
         
     | 
| 
       154 
154 
     | 
    
         | 
| 
       155 
155 
     | 
    
         
             
            rubyforge_project: friendly-id
         
     | 
| 
       156 
     | 
    
         
            -
            rubygems_version: 1. 
     | 
| 
      
 156 
     | 
    
         
            +
            rubygems_version: 1.6.1
         
     | 
| 
       157 
157 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       158 
158 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       159 
159 
     | 
    
         
             
            summary: A comprehensive slugging and pretty-URL plugin. Fork for globalize3 support.
         
     |