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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f45653cae33c0e70eef0e1f8d9a01f899906185f8a2f3c95019835852df4b7c9
4
- data.tar.gz: 899853213b5b00b72c9603d06499574642c3c82a548b96f588eb041a05a4bcec
3
+ metadata.gz: 6a2c61b266a97ba0013bf0e0dbf66b17917be0a5edcc6630e60c0efaed968542
4
+ data.tar.gz: 0ba6d611b48cb66553b5c24a46dd366c5a565d81639ce8864c2483700d89252d
5
5
  SHA512:
6
- metadata.gz: 884afa649b68adc6829b3c2fa3b5cf5b5a7f21699fff64066f95d8bfde902d75ef85528be2bf391bf15069f2992af54a9b15578bd30f725b0367c398d4b018b8
7
- data.tar.gz: a361f04babc9f7a187a579968033c27061120fe27a6b397495b3d8a79093b5addf75b8a90c4466700768a8feb22057eb355afce425d61913932cfcd7fedd7c48
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
- <div class="snackbar snackbar-left show">
13
- <div class="snackbar-body">
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
- <div class="alert alert-${type} alert-dismissible fade mt-3 show" role="alert">
29
- ${message}
30
- <button aria-label="Close" class="close" data-dismiss="alert" type="button">
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.49'
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!\
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.49
4
+ version: 0.2.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko