shopapp 0.2.10 → 0.2.11

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: bf8d5c3b77de5ca23ab5aa062d9f3c40eb5a5e7a9c903e1e9f6bc002bc2af61f
4
- data.tar.gz: 6313e43d905e06827ef8665eddd0fc66caedbc3bb698ae33364a9ed91413e37b
3
+ metadata.gz: 47eeb7f79ba150148fc2f5ddd12490191c3df6ad7098c2978f9ba6419e8cdca5
4
+ data.tar.gz: d5013a0698aa23ff521b0da82e344ed8d6916cd76be5be64a512e21589773fda
5
5
  SHA512:
6
- metadata.gz: d25e96a6f20c33001f4150e5ef23d1d36ec5a81316df7e11e9f89d2452fc77dab56845b83a0a759c379a5f99511ffff74f2f5b08d572a365b164e13c637e3bb6
7
- data.tar.gz: f44b72455e08923f786bb384c4cec802599a3b928722f99c7a33ffa406bedab938beeb78e71137f3f2067571d5f0468902b3dd9475418a8aa4bdc1de7f681dba
6
+ metadata.gz: 76c237dbcc0d45cb458e0dba9f9bf186a20611e45e091b4c2c3661cb3d0045415ab0d18824af61e0a65aa57f9609ce013811dde9b1b8faa00fade5bd7bc5c590
7
+ data.tar.gz: 4157299fabd9eefce7944efaa6077432aff714b87987a1696b78ae9bbafb98b70bfcaab9f6c3483ed4c187afe799c377ab22da45f023b7fe999bfc89abbb1893
@@ -0,0 +1,19 @@
1
+ - flashes = {
2
+ primary: :primary,
3
+ secondary: :secondary,
4
+ success: :success,
5
+ notice: :info,
6
+ alert: :danger,
7
+ danger: :danger,
8
+ warning: :warning,
9
+ info: :info,
10
+ light: :light,
11
+ dark: :dark
12
+ }
13
+
14
+ - flashes.keys.each do |flash_type|
15
+ - if flash[flash_type].present?
16
+ .alert.alert-dismissible.mt-3(role="alert" class="alert-#{flashes[flash_type]}")
17
+ = flash[flash_type].html_safe
18
+ %button.close(type="button" data-dismiss="alert" aria-label="Close")
19
+ %i.fa.fa-times(aria-hidden="true")
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.10'
3
+ s.version = '0.2.11'
4
4
  s.date = '2018-10-01'
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.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko
@@ -166,6 +166,7 @@ files:
166
166
  - app/views/layouts/_header_menu.html.haml
167
167
  - app/views/shopapp/403.html.haml
168
168
  - app/views/shopapp/_shopapp.html.haml
169
+ - app/views/shopapp/_shopapp_alerts.html.haml
169
170
  - bin/shopitapp
170
171
  - config/initializers/active_settings.rb
171
172
  - lib/shopapp.rb