mno-enterprise-frontend 3.0.7 → 3.1.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
  SHA1:
3
- metadata.gz: 3a7dddf26895c347e31b14eda6ee2e82a00c7b9f
4
- data.tar.gz: d4e89a56e86440cd1bbe2e285a64560cf1051e8c
3
+ metadata.gz: 5bdda7571868cc82e7d03440138e6337b4c4ae66
4
+ data.tar.gz: fccacc4ede6e6a8a3417f3d2bf0ad1f1cd9951a6
5
5
  SHA512:
6
- metadata.gz: ef02710ce23e1e7b53ab022dc77a2bab5d5b36da2f6b488421889e9e15503e548233c9f00acd83a6b891c90dac276cfa7d7f4b0d050756ee0bc33b34a7192989
7
- data.tar.gz: 2ddae7aca7e408347f3ccf7228f047976059fd593c111ef70673e84d09732360bad183cd3d9bf1c74786cbeb414a122ac426173ca3a6f7fda1bdb40b9ed0a739
6
+ metadata.gz: c3f60360a971a5107b94f66088f38775eabb3d80ddd2baac7e5dc9dc3ae44646492c172021695a865bc5835deca115a8323dbb5456e75f8f65665165be8111f0
7
+ data.tar.gz: 2adfc0a4431932de30ab643e7f425217ddcb510f27b864bcbed0635f7ea1974d27319cc07a78e8b0744ea231eeafc98b133268f38e940023ed619f383a127512
@@ -22,17 +22,23 @@
22
22
  }
23
23
 
24
24
  // Default style
25
+
26
+ .registration when (isstring(@login-bg-img)) {
27
+ background-image: asset-url(@login-bg-img);
28
+ background-size: cover;
29
+ }
30
+
25
31
  .registration {
26
32
  height: 100%;
27
33
  width: 100%;
28
34
  position: absolute;
29
35
  background-color: @login-bg-color;
30
-
36
+
31
37
  .login-box-wrapper {
32
38
  text-align: center;
33
39
  @login-box-grid-position();
34
40
  }
35
-
41
+
36
42
  .login-box-wrapper md-input-container {
37
43
  text-align: left;
38
44
  }
@@ -6,10 +6,6 @@ module MnoEnterprise
6
6
  render_views
7
7
  routes { MnoEnterprise::Engine.routes }
8
8
 
9
- # Freeze time (JWT are time dependent)
10
- before { Timecop.freeze }
11
- after { Timecop.return }
12
-
13
9
  # Stub controller ability
14
10
  let!(:ability) { stub_ability }
15
11
  let(:extra_params) { {some: 'param'} }
@@ -34,7 +30,7 @@ module MnoEnterprise
34
30
  it_behaves_like "a user protected resource"
35
31
 
36
32
  it { subject; expect(response).to be_success }
37
- it { subject; expect(assigns(:redirect_to)).to eq(redirect_url) }
33
+ it { Timecop.freeze { subject; expect(assigns(:redirect_to)).to eq(redirect_url) } }
38
34
 
39
35
  Webhook::OAuthController::PROVIDERS_WITH_OPTIONS.each do |provider|
40
36
  describe "#{provider.capitalize} provider" do
@@ -43,7 +39,7 @@ module MnoEnterprise
43
39
 
44
40
  context 'with perform=true' do
45
41
  let(:extra_params) { {perform: true} }
46
- it { subject; expect(assigns(:redirect_to)).to eq(redirect_url) }
42
+ it { Timecop.freeze { subject; expect(assigns(:redirect_to)).to eq(redirect_url) } }
47
43
  end
48
44
  end
49
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mno-enterprise-frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.7
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-05 00:00:00.000000000 Z
12
+ date: 2016-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mno-enterprise-core
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 3.0.7
20
+ version: 3.1.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 3.0.7
27
+ version: 3.1.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: mno-enterprise-api
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 3.0.7
34
+ version: 3.1.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 3.0.7
41
+ version: 3.1.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: less-rails
44
44
  requirement: !ruby/object:Gem::Requirement