shopapp 0.2.49 → 0.2.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/shopapp3.js +7 -15
- data/app/controllers/concerns/shoplift_client.rb +0 -3
- data/shopapp.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a2c61b266a97ba0013bf0e0dbf66b17917be0a5edcc6630e60c0efaed968542
|
4
|
+
data.tar.gz: 0ba6d611b48cb66553b5c24a46dd366c5a565d81639ce8864c2483700d89252d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d796c0f62b35906191774817eae2388fc8a6fa797c844affee1331ff9a8e63787a0f5a2fe922215b32bcfbd8900c811a8057aed01581e9df3ddcd8fa3199a005
|
7
|
+
data.tar.gz: 18c8d12450c67a5fb05ba70ef3cf02ecb70957854635bcaffe822a2d482c7ffa97cd83ddf840390070a6c61a80668d9097a23c9475bc3daa76d90273c217a1fe
|
@@ -8,13 +8,9 @@ function shopappSnackbar(message, timeout) {
|
|
8
8
|
if(timeout === undefined) {
|
9
9
|
timeout = 5000;
|
10
10
|
}
|
11
|
-
$('body').append(
|
12
|
-
|
13
|
-
|
14
|
-
${message}
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
`);
|
11
|
+
$('body').append("<div class=\"snackbar snackbar-left show\"><div class=\"snackbar-body\">" +
|
12
|
+
message +
|
13
|
+
"</div></div>");
|
18
14
|
setTimeout(function() {
|
19
15
|
$('.snackbar').removeClass('show');
|
20
16
|
}, timeout);
|
@@ -24,12 +20,8 @@ function shopappAlert(message, type) {
|
|
24
20
|
if(type === undefined) {
|
25
21
|
type = 'danger';
|
26
22
|
}
|
27
|
-
$('main > div:nth-child(2) > div:first-child').append(
|
28
|
-
|
29
|
-
|
30
|
-
<button aria-label
|
31
|
-
<span aria-hidden="true">×</span>
|
32
|
-
</button>
|
33
|
-
</div>
|
34
|
-
`);
|
23
|
+
$('main > div:nth-child(2) > div:first-child').append(
|
24
|
+
"<div class=\"alert alert-" + type + " alert-dismissible fade mt-3 show\" role=\"alert\">" +
|
25
|
+
message +
|
26
|
+
"<button aria-label=\"Close\" class=\"close\" data-dismiss=\"alert\" type=\"button\"><span aria-hidden=\"true\">×</span></button></div>");
|
35
27
|
}
|
@@ -51,11 +51,8 @@ module ShopliftClient
|
|
51
51
|
partner[:company] = Company.find_or_create_by! code: partner['code']
|
52
52
|
partner[:company].name = partner['name']
|
53
53
|
partner[:company].info ||= {}
|
54
|
-
binding.pry
|
55
54
|
partner[:company].info['company_info'] = partner['info']
|
56
55
|
partner[:company].save!
|
57
|
-
rescue
|
58
|
-
binding.pry
|
59
56
|
end
|
60
57
|
end
|
61
58
|
@company_info[company_id]
|
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.50'
|
4
4
|
s.date = '2019-05-02'
|
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!\
|