shopapp 0.2.53 → 0.2.54

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: a30afca49fda517eafc4b447cb1d129b5e24bd1c0032fc10b72a48417cdfc09d
4
- data.tar.gz: 9f752cffdac7abd7d8653b92e9a505c8f318102cc7ebc56cedf072f7597f6607
3
+ metadata.gz: 642a636c6b685b0cfd3b4446f0d6daee763aabd3b3ccf18b0e76ce3d7da394f0
4
+ data.tar.gz: f5c8f655c88fce4405ebdc59ce20ce57c41dd32cbd69d2b7f1997a5166ed8ee7
5
5
  SHA512:
6
- metadata.gz: f3b04d72743747addd710ec30b1bb4badc1ed26262ebc770fff1c7bd63010dcb2dff5357f3e297c683a659198355bbca08441ff094b96bd8cfd9135571c34f2f
7
- data.tar.gz: f8d37df060088735307f00351a1d8be5f9d1e3f451a97f5c08ae61579e519dce6e5ff83d8fd0952bffb22554a943db39a01d0b9e83eb2c257afc06a1562d4d8c
6
+ metadata.gz: 423be0d0498f97ca88cfc57fac24e3be6aa5d5c589024fca33055fa482c81dcbb3b9e651cc3c4d9eef8f6738e4597cb1b2fbdaa8d19564a42261bd6eb995643d
7
+ data.tar.gz: 6f3172c3eccfc9060fc330e0e5b319a769da837c81b853e2a4c7dc4d27e711cccc78d5c88164b901c111d3a19029cd814909f082aa5eea231aaa9907d0ab38cd
data/README.md CHANGED
@@ -66,4 +66,4 @@ Following creates default remote (zwr/demolift), but does not push:
66
66
 
67
67
  To build new version of this gem, change the version in shopapp.gemspec and run:
68
68
 
69
- git push; gem build shopapp.gemspec ; gem push shopapp-0.2.53.gem; gem install shopapp
69
+ git push; gem build shopapp.gemspec ; gem push shopapp-0.2.54.gem; gem install shopapp
@@ -217,6 +217,10 @@ module ShopliftClient
217
217
  current_user.to_json
218
218
  end
219
219
 
220
+ def current_auditor
221
+ current_user.to_h['email']
222
+ end
223
+
220
224
  def current_user
221
225
  return @current_user if @current_user.present?
222
226
 
@@ -5,11 +5,11 @@ module Shopapp3Helper
5
5
  'active'
6
6
  end
7
7
  <<~HTML
8
- <li class="nav-item py-3 #{active}">
8
+ <li class="nav-item p-1 #{active}">
9
9
  <a class="nav-link d-flex flex-column justify-content-start align-items-center" href="#{sidebar_action[:path]}">
10
- #{image_tag sidebar_action[:icon].to_s, width: '20', class: 'img-fluid' if sidebar_action[:icon].present?}
11
- #{mdi_tag sidebar_action[:mdi].to_s, class: 'mdi-36px' if sidebar_action[:mdi].present?}
12
- <label class="text-light mt-2 text-center">#{ sidebar_action[:tooltip]}</label>
10
+ #{image_tag sidebar_action[:icon].to_s, width: '20', class: 'img-fluid mb-1' if sidebar_action[:icon].present?}
11
+ #{mdi_tag sidebar_action[:mdi].to_s, class: 'mdi-36px text-light' if sidebar_action[:mdi].present?}
12
+ <label class="text-light mt-0 text-center">#{ sidebar_action[:tooltip]}</label>
13
13
  </a>
14
14
  </li>
15
15
  HTML
@@ -3,7 +3,7 @@
3
3
  .sidebar-heading.d-flex.align-items-center.justify-content-center.bg-dark
4
4
  = link_to home_link_path do
5
5
  = image_tag company_logo_path_defined, width: '55'
6
- %ul.nav.flex-column.mt-5
6
+ %ul.nav.flex-column.mt-3
7
7
  = shopapp3_sidebar_icons
8
8
  #page-content-wrapper
9
9
  %nav.navbar.d-flex.justify-content-between.bg-white(style="z-index: 2;")
@@ -1 +1 @@
1
- Audited.current_user_method = :current_user_json
1
+ Audited.current_user_method = :current_auditor
data/shopapp.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shopapp'
3
- s.version = '0.2.53'
3
+ s.version = '0.2.54'
4
4
  s.date = '2019-05-03'
5
5
  s.summary = 'Do a shoplift.'
6
6
  s.description = 'Ha! Art thou Bedlam? Dost thou thirst base Trojan, to have me fold up Parca\'s fatal web? Hence!\
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.53
4
+ version: 0.2.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko