effective_qb_sync 1.1.4 → 1.1.5

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
  SHA1:
3
- metadata.gz: 5590f2a96cd5f9bb0981330d35489e12ccfbc8e8
4
- data.tar.gz: e5861a2a2a998de19c23b1213720355dbd6e730f
3
+ metadata.gz: 357b14cee13610f77a1ce6db294b842eb1870778
4
+ data.tar.gz: 2afe65aa9344c0ec0ab301b8176b2f7e558d031d
5
5
  SHA512:
6
- metadata.gz: 20917fad109f607b67df04088b2eb115af7bd8ace99a9ba3d4ca3c1ba8c752d3459f6e7a657a84e21199133fef71f8f1edc75e68515028fa32eb91eff78096a1
7
- data.tar.gz: 5f090bb86ec8ea2253d87d530df3d52b0f128db0d90e226142feeeb024f60a8772a7d8cec608e6bf94fc37975d41b5091544e1fd4b08136b3ca9d70aff41b471
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
- skip_before_filter :verify_authenticity_token
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
@@ -19,4 +19,3 @@
19
19
  = render_datatable(@datatable)
20
20
  - else
21
21
  %p There are no Quickbook Syncs present
22
-
@@ -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
-
@@ -1,4 +1,4 @@
1
- class CreateEffectiveQbSync < ActiveRecord::Migration
1
+ class CreateEffectiveQbSync < ActiveRecord::Migration[3.2]
2
2
  def self.up
3
3
  create_table <%= @qb_requests_table_name %> do |t|
4
4
  t.integer :order_id
@@ -1,3 +1,3 @@
1
1
  module EffectiveQbSync
2
- VERSION = '1.1.4'.freeze
2
+ VERSION = '1.1.5'.freeze
3
3
  end
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
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-05-23 00:00:00.000000000 Z
11
+ date: 2017-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails