blacklight-locale_picker 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 999b2994ad6653ced30bab3c5057c10b4f8d40d9d405207c5f46ed8a0ffc2ada
4
- data.tar.gz: 302dbd601e28b9197477e5f04f7c842ab2b0fe679874e2fd8405c54ecf286eb2
3
+ metadata.gz: 734d65128b103b07d88b6659afc9c709bb7aaa42f78d9fe86d465b4007dc734c
4
+ data.tar.gz: 1507222e98812f1a5966ee1c44b8f587b2f8e7a7b3a19cae516cce3a7a2167fe
5
5
  SHA512:
6
- metadata.gz: 77ff6ca4eea04407bc887a97023321a685dffddd14c8eabc1868c35a5a4bb0c13d53b610fc11aa258bf808e0d45aab50e08bbd67953dc849a777619b1919be23
7
- data.tar.gz: ffb437cd3181ef2944fe8509e64be3ea4de6a23618dceb44d31dab16e2491f3b98d9bcf2573894a16182ba70028116a0f0d46c948334e8456aa24a75343418c3
6
+ metadata.gz: a413ca591656dfba6903de9e109b442a00e56f2f0033731105e26d1344d88b36f1ef2496bfba917514af736e479125126935ebb759c4c422393a781fc3f4173b
7
+ data.tar.gz: cc882ccd79dac7c6245ace66edea1cf1f80fd702cf6385875f9c9f80f069ca839c2161dce0a154a8372724677777db62b6d1806e8073833a0687ea9dc93a645b
@@ -0,0 +1,32 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ rails_version: [6.1.4.7, 7.0.2.3]
15
+ ruby: [2.7, '3.0']
16
+ include:
17
+ - ruby: 2.7
18
+ rails: 5.2.6.3
19
+ - ruby: 2.7
20
+ rails: 6.0.3.7
21
+ env:
22
+ RAILS_VERSION: ${{ matrix.rails_version }}
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - name: Set up Ruby ${{ matrix.ruby }}
26
+ uses: ruby/setup-ruby@v1
27
+ with:
28
+ ruby-version: ${{ matrix.ruby }}
29
+ - name: Install dependencies with Rails ${{ matrix.rails_version }}
30
+ run: bundle install
31
+ - name: Run tests
32
+ run: bundle exec rake
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![Build Status](https://github.com/projectblacklight/blacklight-locale_picker/workflows/CI/badge.svg)
2
+
1
3
  # Blacklight::LocalePicker
2
4
  A dropdown locale switcher for Blacklight apps
3
5
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ['lib']
23
23
 
24
24
  spec.required_ruby_version = '>= 2.5.0'
25
- spec.add_dependency "rails", ">= 5.2.3", "< 6.1"
25
+ spec.add_dependency "rails", ">= 5.2.3", "< 7.1"
26
26
 
27
27
  spec.add_development_dependency "capybara"
28
28
  spec.add_development_dependency "engine_cart"
@@ -3,7 +3,7 @@
3
3
  # The "main" locale.
4
4
  # base_locale: en
5
5
  ## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
6
- locales: [ar, de, en, es, fr, hu, it, nl, pt-BR, sq, zh]
6
+ locales: [ar, ca, de, en, es, fr, hu, it, nl, pt-BR, sq, zh]
7
7
  ## Reporting locale, default: en. Available: en, ru.
8
8
  # internal_locale: en
9
9
 
@@ -5,6 +5,7 @@ ar:
5
5
  locale_switcher: لغة
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -0,0 +1,18 @@
1
+ ---
2
+ ca:
3
+ blacklight:
4
+ header_links:
5
+ locale_switcher: Idioma
6
+ locales:
7
+ ar: العربية
8
+ ca: Català
9
+ de: Deutsch
10
+ en: English
11
+ es: Español
12
+ fr: Français
13
+ hu: Magyar
14
+ it: Italiano
15
+ nl: Nederlands
16
+ pt-BR: Português braileiro
17
+ sq: Shqip
18
+ zh: 中文
@@ -5,6 +5,7 @@ de:
5
5
  locale_switcher: Sprache
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ en:
5
5
  locale_switcher: Language
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ es:
5
5
  locale_switcher: Idioma
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ fr:
5
5
  locale_switcher: Langue
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ hu:
5
5
  locale_switcher: Nyelv
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ it:
5
5
  locale_switcher: Lingua
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ nl:
5
5
  locale_switcher: Taal
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ pt-BR:
5
5
  locale_switcher: Idioma
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ sq:
5
5
  locale_switcher: Gjuhë
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -5,6 +5,7 @@ zh:
5
5
  locale_switcher: 语言
6
6
  locales:
7
7
  ar: العربية
8
+ ca: Català
8
9
  de: Deutsch
9
10
  en: English
10
11
  es: Español
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module LocalePicker
3
- VERSION = '0.2.0'
3
+ VERSION = '0.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-locale_picker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camille Villa
8
8
  - Chris Beer
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-07-24 00:00:00.000000000 Z
12
+ date: 2022-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: 5.2.3
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '6.1'
23
+ version: '7.1'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: 5.2.3
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '6.1'
33
+ version: '7.1'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: capybara
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -137,8 +137,8 @@ executables: []
137
137
  extensions: []
138
138
  extra_rdoc_files: []
139
139
  files:
140
+ - ".github/workflows/ruby.yml"
140
141
  - ".gitignore"
141
- - ".travis.yml"
142
142
  - Gemfile
143
143
  - LICENSE
144
144
  - README.md
@@ -149,6 +149,7 @@ files:
149
149
  - blacklight-locale_picker.gemspec
150
150
  - config/i18n-tasks.yml
151
151
  - config/locales/locale_picker.ar.yml
152
+ - config/locales/locale_picker.ca.yml
152
153
  - config/locales/locale_picker.de.yml
153
154
  - config/locales/locale_picker.en.yml
154
155
  - config/locales/locale_picker.es.yml
@@ -168,7 +169,7 @@ homepage: https://github.com/projectblacklight/blacklight-locale_picker
168
169
  licenses:
169
170
  - Apache-2.0
170
171
  metadata: {}
171
- post_install_message:
172
+ post_install_message:
172
173
  rdoc_options: []
173
174
  require_paths:
174
175
  - lib
@@ -183,8 +184,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
184
  - !ruby/object:Gem::Version
184
185
  version: '0'
185
186
  requirements: []
186
- rubygems_version: 3.1.2
187
- signing_key:
187
+ rubygems_version: 3.2.32
188
+ signing_key:
188
189
  specification_version: 4
189
190
  summary: ''
190
191
  test_files: []
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- notifications:
4
- email: false
5
-
6
- matrix:
7
- include:
8
- - env: RAILS_VERSION=6.0.3.2
9
- - env: RAILS_VERSION=5.2.4.3
10
-
11
- rvm:
12
- - 2.7.1
13
- jdk:
14
- - oraclejdk9