rails_translation_manager 1.5.0 → 1.5.1

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: 2d04ae993002360fe42edbf1b2fe1793e06c9c7adf9688975c07532290b3efd9
4
- data.tar.gz: c6e504c5f2a89eae9b75cd7d5e4a68617cfeac7fe9d1f652967eb6371a8c03a6
3
+ metadata.gz: 2a65778c39b278103e8338f32392a62d043fe00cbe5d17e6f6022430535fe49e
4
+ data.tar.gz: e6bb43c0f68cf6d11d2da6299119e6c25f1a7164df0e6bf6314f8c3f32b08e6a
5
5
  SHA512:
6
- metadata.gz: f4b3059c3908f6622d99b88bb2587275005084f72c5fb67e7623c04117e8159ae1c169633eb23232ff89009aa81066f4a1f212026430c8c3a36cd87861a467ba
7
- data.tar.gz: c03ec40b44ccbfbe924a15f5efea3c9ff6e8469f56f638edacf4f24601f8ab40f4db181a09db46e119f103997ab481f8bdca1d09884bdde5a3aef8afaaabe236
6
+ metadata.gz: 8c0ef6580950126127bede40d39a56b4702bafbd177c43a22e74d8e1761ab3564a27614e66c26fd8d8d1e6cb3c0ab8cbc0359b295f014fe28b2a07dd27878259
7
+ data.tar.gz: f289ee8695990b0e1561fc8cab17abf99ecb7aa0f9b63136179d08e0a1ae4b19f5d4fd01100b1d03b8afcf9336016c2b4034e6bd29b5eadf36b66a37c8dba1e5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.5.1
2
+
3
+ Fixes uppercase bug when comparing actual vs available locales. https://github.com/alphagov/rails_translation_manager/pull/43
4
+
1
5
  # 1.5.0
2
6
 
3
7
  Allow configuring the locale files directory with `RAILS_TRANSLATION_MANAGER_LOCALE_ROOT`. https://github.com/alphagov/rails_translation_manager/pull/38
@@ -25,6 +25,6 @@ class MissingDeclaredLocales < BaseChecker
25
25
  end
26
26
 
27
27
  def compare
28
- I18n.available_locales - actual_locales
28
+ I18n.available_locales.map(&:downcase) - actual_locales
29
29
  end
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module RailsTranslationManager
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
@@ -18,7 +18,7 @@ RSpec.describe MissingDeclaredLocales do
18
18
 
19
19
  context "when there are missing locales" do
20
20
  before do
21
- I18n.available_locales = [:en, :cy, :pt]
21
+ I18n.available_locales = [:en, :CY, :pt]
22
22
  end
23
23
 
24
24
  it "outputs the missing locales" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_translation_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edd Sowden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-22 00:00:00.000000000 Z
11
+ date: 2022-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -160,7 +160,6 @@ files:
160
160
  - ".gitignore"
161
161
  - ".ruby-version"
162
162
  - CHANGELOG.md
163
- - CONTRIBUTING.md
164
163
  - Gemfile
165
164
  - Jenkinsfile
166
165
  - LICENSE.txt
data/CONTRIBUTING.md DELETED
@@ -1,7 +0,0 @@
1
- ## Contributing
2
-
3
- 1. Fork it
4
- 2. Create your feature branch (`git checkout -b my-new-feature`)
5
- 3. Commit your changes (`git commit -am 'Add some feature'`)
6
- 4. Push to the branch (`git push origin my-new-feature`)
7
- 5. Create a new Pull Request