usman 0.3.37 → 0.3.38

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: f477c71db3e74b6ca0eadf181cb570369ebf8d4edacec5a991e9c31c3b6ca97b
4
- data.tar.gz: 304cda4627bc8ef1c33a128823bbdb93bd2df17f86c005e93e613e44727744b9
3
+ metadata.gz: a4ee3168d52a0a6676df6a80532cd3ba8fa6c7d76c330237575599f7566b7be4
4
+ data.tar.gz: 0a9ed3c330e9274996e86b8037714a72e389e98284aad608b90d00a65af92478
5
5
  SHA512:
6
- metadata.gz: 42a4b2ac554ba3680c2419a1ec095ed17cbf7679d0aa7519856c6ed228f61719a6b8aa0956f8b9771fb19201cb613ccc61db6f8f2408bb426f8a9809ef000e71
7
- data.tar.gz: 46611cf13c7622d7fdf3ec845be1a24bc08b9f5641ce88cd82f5181a2e23636ebe5cda064f62559206aecd9cf177c939defd05b892590ebe3a7046eb915eec6c
6
+ metadata.gz: 28037f6c77fb6eeaae467ae000732a1dffebca9ee49fbbddd202d5cbe9712d47bd03fa93daba81ef887ffd63f53c0afb2639f4425909caea09f2a658f48fb908
7
+ data.tar.gz: c5fc360c18c4c210bde3972418c6d9064c418e8d05b0c1b0759c2af884fd336791a1b2f6619f849e8067253f9c3d35ff5fe90d2b2e5daa4d08f4d43ab466672c
@@ -460,7 +460,7 @@ class User < Usman::ApplicationRecord
460
460
  end
461
461
 
462
462
  def default_image_url(size="small")
463
- "/assets/kuppayam/defaults/user-#{size}.png"
463
+ "kuppayam/defaults/user-#{size}.png"
464
464
  end
465
465
 
466
466
  def generate_username_and_password
@@ -67,8 +67,12 @@
67
67
  <header class="logo-env">
68
68
  <!-- logo -->
69
69
  <div class="logo">
70
- <a href="/" class="logo-expanded"><img src="/assets/logo.png" width="180" alt="" /></a>
71
- <a href="/" class="logo-collapsed"><img src="/assets/logo-small.png" width="40" alt="" /></a>
70
+ <a href="/" class="logo-expanded">
71
+ <%= image_tag("logo-white.png", width: "180") %>
72
+ </a>
73
+ <a href="/" class="logo-collapsed">
74
+ <%= image_tag("logo-small.png", width: "40") %>
75
+ </a>
72
76
  </div>
73
77
 
74
78
  <!-- This will toggle the mobile menu and will be visible only on mobile devices -->
@@ -8,7 +8,7 @@
8
8
  ").
9
9
  joins("RIGHT JOIN permissions p on users.id = p.user_id").where("p.feature_id = ?", @feature.id).all %>
10
10
 
11
- <% @users = User.normal_users.page(@current_page).per(@per_page) %>
11
+ <% @users = User.normal_users.approved.page(@current_page).per(@per_page) %>
12
12
 
13
13
  <div class="table-responsive">
14
14
  <table class="table table-hover members-table middle-align">
@@ -20,7 +20,7 @@
20
20
 
21
21
  <div class="row pt-10">
22
22
  <div class="col-sm-offset-3 col-sm-4">
23
- <img src="/assets/logo-on-white.png" alt="" width="180" />
23
+ <%= image_tag("logo-on-white.png", alt: "#{@title}", width: "180") %>
24
24
  </div>
25
25
  </div>
26
26
 
@@ -1,3 +1,3 @@
1
1
  module Usman
2
- VERSION = '0.3.37'
2
+ VERSION = '0.3.38'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.37
4
+ version: 0.3.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - kpvarma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-27 00:00:00.000000000 Z
11
+ date: 2018-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -107,7 +107,7 @@ dependencies:
107
107
  version: '0.1'
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 0.1.35
110
+ version: 0.1.39
111
111
  type: :runtime
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
@@ -117,7 +117,7 @@ dependencies:
117
117
  version: '0.1'
118
118
  - - ">="
119
119
  - !ruby/object:Gem::Version
120
- version: 0.1.35
120
+ version: 0.1.39
121
121
  - !ruby/object:Gem::Dependency
122
122
  name: pattana
123
123
  requirement: !ruby/object:Gem::Requirement
@@ -127,7 +127,7 @@ dependencies:
127
127
  version: '0.1'
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: 0.1.23
130
+ version: 0.1.25
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
@@ -137,7 +137,7 @@ dependencies:
137
137
  version: '0.1'
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
- version: 0.1.23
140
+ version: 0.1.25
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: bcrypt
143
143
  requirement: !ruby/object:Gem::Requirement