mirador_rails 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: 679bf3fdaa9d65a617d66b8200f1c7171524c44e
4
- data.tar.gz: f0e4ab8e8614570b837de736a0dad548ba4a4e18
3
+ metadata.gz: 8f5ef99bea15b813081f91b4bae2283f1911641f
4
+ data.tar.gz: d4e415082b5ac2e0bbf75c0c33e4465454ca3c44
5
5
  SHA512:
6
- metadata.gz: d73aab219e38369f8c9a7b0c7fce392a8cbf3812e51dd170c9471b47ecc4896f3210f626a3645cb03c98e6278af60f8618756a08d0dcd4025e369c99992ac6f4
7
- data.tar.gz: 59fbe2b01f083c7283eff5187ef0de444ff16e5ff6f3292181dd204e0c37e9bfd1bfec9f86fb423a095a4f6b72e6bb96834217fdf1f59c30158c3f76ca264769
6
+ metadata.gz: 50d989244ab2bfeb270f0d7eb01c3537d8a98e9d45ddcc972abc5f28bb3e5b674c655c60adcfd31f8c3b665bf13ad490a1f66a65e9672ee00d28979ff7a8030c
7
+ data.tar.gz: b9f59ae584848f3e3f4a765f773461cb186a004a3b249a6e28142283a940c04f24dfcb2a77cb48155b433d8de4268cc7e8b8498965073da92c45f7b90147a762
@@ -5,6 +5,8 @@ module MiradorRails
5
5
  language = params.fetch(:locale) { I18n.default_locale.to_s }
6
6
  locale = MiradorRails::Locale.new(language)
7
7
  render json: locale.file_source
8
+ rescue MiradorRails::Exceptions::LocaleNotFound
9
+ raise ActionController::RoutingError.new('Not Found')
8
10
  end
9
11
  end
10
12
  end
@@ -1,3 +1,3 @@
1
1
  module MiradorRails
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mirador_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed