effective_qb_sync 1.1.4 → 1.1.5
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/controllers/admin/qb_syncs_controller.rb +0 -3
- data/app/controllers/effective/qb_sync_controller.rb +1 -1
- data/app/views/admin/qb_syncs/index.html.haml +0 -1
- data/app/views/admin/qb_syncs/show.html.haml +0 -9
- data/db/migrate/01_create_effective_qb_sync.rb.erb +1 -1
- data/lib/effective_qb_sync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 357b14cee13610f77a1ce6db294b842eb1870778
|
4
|
+
data.tar.gz: 2afe65aa9344c0ec0ab301b8176b2f7e558d031d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d50312065f5de11a306ac1b20366b401de3e66e1483b7941f584c603f82f1be669aba24c4be8fafd2e2c94be0394e48b746f3dab1fa9700a55aed3db6e9e6429
|
7
|
+
data.tar.gz: cdebb3a09b61ac63a07d92bea5ac39065dd383f76eb744a4b201ba96fe88ac671e145a35c6544b1add38ba9ef650ca50018c685bd23d791619a7495db9f23647
|
@@ -6,7 +6,6 @@ module Admin
|
|
6
6
|
layout (EffectiveQbSync.layout.kind_of?(Hash) ? EffectiveQbSync.layout[:admin_qb_tickets] : EffectiveQbSync.layout)
|
7
7
|
|
8
8
|
def index
|
9
|
-
|
10
9
|
if Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
|
11
10
|
@datatable = Effective::Datatables::QbSyncs.new()
|
12
11
|
else
|
@@ -60,7 +59,5 @@ module Admin
|
|
60
59
|
def permitted_qb_order_items_params
|
61
60
|
params.require(:effective_qb_order_items_form).permit(:id, qb_order_items_attributes: [:name, :id, :order_item_id])
|
62
61
|
end
|
63
|
-
|
64
|
-
|
65
62
|
end
|
66
63
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Effective
|
2
2
|
class QbSyncController < ApplicationController
|
3
3
|
skip_authorization_check if defined?(CanCan)
|
4
|
-
|
4
|
+
respond_to?(:skip_before_action) ? skip_before_action(:verify_authenticity_token) : skip_before_filter(:verify_authenticity_token)
|
5
5
|
|
6
6
|
def api
|
7
7
|
# respond successfully to a GET which some versions of the Web Connector send to verify the url
|
@@ -29,8 +29,6 @@
|
|
29
29
|
|
30
30
|
%p= f.button :submit, 'Save Quickbooks Item Names', data: { disable_with: 'Saving...' }
|
31
31
|
|
32
|
-
|
33
|
-
|
34
32
|
%h3 Sync Log
|
35
33
|
|
36
34
|
%table.table
|
@@ -43,10 +41,3 @@
|
|
43
41
|
%tr
|
44
42
|
%th= qb_log.created_at.strftime("%H:%M:%S").html_safe
|
45
43
|
%td= qb_log.message
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_qb_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|