que-view 0.2.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38f9f8ac4b062389e01cec98fee2320a8c8e59f29d8edd86aa2be02cec38e1af
4
- data.tar.gz: 1768c7efe2e99b73707f1fa869ea30e36b988423193dad3ddd92754cf5831099
3
+ metadata.gz: 9576dbcacaced63da0924a3315af1dede11887b6dcfdbca1029356691cd1dd02
4
+ data.tar.gz: abb8d73cfb96eda19ce45fe767edb91e57b9be595242c0a802503d0e16c3dc31
5
5
  SHA512:
6
- metadata.gz: d3e47f14f62dfad432f2a172199c32635f1095770bcf81184845848f3464e2e414b5640db774cd35ba800dbe873ecdddb7530e56128a8697b32c7b63c15a9681
7
- data.tar.gz: 15f29072e2fc6d31b8b675f52c1210821645f3180e1190b0d48b918a949f6a2dae61f1102afe59c84f800e792f06dc194b196c0c5a7e571ed684e968919e1e4f
6
+ metadata.gz: e44bde7cb0ffd37a3f7ec82dd85639c961a5cf10aab179b75a7f1ea02edc5e432cd1f9655a204f6d16e6d3addeb9d50ffc79df5b8b51d8b01d335433f8d1587a
7
+ data.tar.gz: fe3ada013eff8f6660126c56975e68e663f5c85ab2cd32957c4306e0c419d2285156604262677e02039c289cb22cf0921ca5541781dbb7b2efed1feec186c60e
@@ -3,14 +3,14 @@
3
3
  module Que
4
4
  module View
5
5
  class ApplicationController < ActionController::Base
6
- http_basic_authenticate_with name: ::Que::Web.configuration.ui_username,
7
- password: ::Que::Web.configuration.ui_password,
6
+ http_basic_authenticate_with name: ::Que::View.configuration.ui_username,
7
+ password: ::Que::View.configuration.ui_password,
8
8
  if: -> { basic_auth_enabled? }
9
9
 
10
10
  private
11
11
 
12
12
  def basic_auth_enabled?
13
- configuration = ::Que::Web.configuration
13
+ configuration = ::Que::View.configuration
14
14
 
15
15
  return false if configuration.ui_username.blank?
16
16
  return false if configuration.ui_password.blank?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Que
4
4
  module View
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: que-view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdanov Anton