blacklight-locale_picker 0.4.0 → 1.0.0
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.
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 867cfa0d25df2c9c29140284432cdeca279ca23ebafcd4069458e31d40d2c0bb
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 17ed72613b5a329b93705fcc53a910ea31eaf2f211dbf5bef64762fb62c622d7
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 52c9f881722a0a3016c352e7f65e8aa48c2d8af34abbcd45cb890fbec8e60dfabc76a9f0d88fa84a696fd4d659ab10922f36fce5d1ad9bbc8aac7e2dc58e2c29
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: dd727d5472d29749700a8ead1afab49d2964adb3a4fbee5cb48299b6a72bbb2cd1d0956402ebffe669201c693f314ee0aa208c94d6f02ef2d74fdb6b9ff48d96
         
     | 
    
        data/.github/workflows/ruby.yml
    CHANGED
    
    | 
         @@ -2,22 +2,22 @@ name: CI 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            on:
         
     | 
| 
       4 
4 
     | 
    
         
             
              push:
         
     | 
| 
       5 
     | 
    
         
            -
                branches: [  
     | 
| 
      
 5 
     | 
    
         
            +
                branches: [ main ]
         
     | 
| 
       6 
6 
     | 
    
         
             
              pull_request:
         
     | 
| 
       7 
     | 
    
         
            -
                branches: [  
     | 
| 
      
 7 
     | 
    
         
            +
                branches: [ main ]
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         
             
            jobs:
         
     | 
| 
       10 
10 
     | 
    
         
             
              test:
         
     | 
| 
       11 
11 
     | 
    
         
             
                runs-on: ubuntu-latest
         
     | 
| 
       12 
12 
     | 
    
         
             
                strategy:
         
     | 
| 
       13 
13 
     | 
    
         
             
                  matrix:
         
     | 
| 
       14 
     | 
    
         
            -
                    rails_version: [6.1. 
     | 
| 
       15 
     | 
    
         
            -
                    ruby: [ 
     | 
| 
      
 14 
     | 
    
         
            +
                    rails_version: [6.1.7, 7.0.4]
         
     | 
| 
      
 15 
     | 
    
         
            +
                    ruby: ['3.0']
         
     | 
| 
       16 
16 
     | 
    
         
             
                    include:
         
     | 
| 
       17 
17 
     | 
    
         
             
                      - ruby: 2.7
         
     | 
| 
       18 
     | 
    
         
            -
                         
     | 
| 
       19 
     | 
    
         
            -
                      - ruby:  
     | 
| 
       20 
     | 
    
         
            -
                         
     | 
| 
      
 18 
     | 
    
         
            +
                        rails_version: 6.1.7
         
     | 
| 
      
 19 
     | 
    
         
            +
                      - ruby: 3.1
         
     | 
| 
      
 20 
     | 
    
         
            +
                        rails_version: 7.0.4
         
     | 
| 
       21 
21 
     | 
    
         
             
                env:
         
     | 
| 
       22 
22 
     | 
    
         
             
                  RAILS_VERSION: ${{ matrix.rails_version }}
         
     | 
| 
       23 
23 
     | 
    
         
             
                steps:
         
     | 
| 
         @@ -1,10 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            <% if available_locales.many?  %>
         
     | 
| 
       2 
2 
     | 
    
         
             
              <li class="nav-item dropdown">
         
     | 
| 
       3 
     | 
    
         
            -
                <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="language-dropdown-menu" aria-label="<%= t('blacklight.header_links.locale_switcher') %>">
         
     | 
| 
      
 3 
     | 
    
         
            +
                <a class="nav-link dropdown-toggle" data-toggle="dropdown" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="language-dropdown-menu" aria-label="<%= t('blacklight.header_links.locale_switcher') %>">
         
     | 
| 
       4 
4 
     | 
    
         
             
                  <span><%= t("locales.#{I18n.locale}") %></span>
         
     | 
| 
       5 
5 
     | 
    
         
             
                  <b class="caret"></b>
         
     | 
| 
       6 
6 
     | 
    
         
             
                </a>
         
     | 
| 
       7 
     | 
    
         
            -
                <ul id="language-dropdown-menu" class="dropdown-menu" 
     | 
| 
      
 7 
     | 
    
         
            +
                <ul id="language-dropdown-menu" class="dropdown-menu">
         
     | 
| 
       8 
8 
     | 
    
         
             
                  <li role="presentation" class="divider"></li>
         
     | 
| 
       9 
9 
     | 
    
         
             
                  <% available_locales.each do |locale| %>
         
     | 
| 
       10 
10 
     | 
    
         
             
                    <li role="presentation" lang="<%= locale %>">
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: blacklight-locale_picker
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Camille Villa
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire:
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2022- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2022-10-19 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: rails
         
     | 
| 
         @@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       184 
184 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       185 
185 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       186 
186 
     | 
    
         
             
            requirements: []
         
     | 
| 
       187 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 187 
     | 
    
         
            +
            rubygems_version: 3.3.7
         
     | 
| 
       188 
188 
     | 
    
         
             
            signing_key:
         
     | 
| 
       189 
189 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       190 
190 
     | 
    
         
             
            summary: ''
         
     |