shopapp 0.2.10 → 0.2.11
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 +4 -4
- data/app/views/shopapp/_shopapp_alerts.html.haml +19 -0
- data/shopapp.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47eeb7f79ba150148fc2f5ddd12490191c3df6ad7098c2978f9ba6419e8cdca5
|
|
4
|
+
data.tar.gz: d5013a0698aa23ff521b0da82e344ed8d6916cd76be5be64a512e21589773fda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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
|