connectwise_sdk 0.1.0 → 0.2.0

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: 7c496eabc57d7fe1e9df44d89ccd55b7cc86f1f6
4
- data.tar.gz: a239f7fe73a2973a0609396c58d50aee687bc29d
3
+ metadata.gz: 771b0b23319ad9e72ac583be0f12cc107b6d30ea
4
+ data.tar.gz: ec5e31eff69e846a9a9f389382f0ae2f9cff27e0
5
5
  SHA512:
6
- metadata.gz: 33eb89be5d8001bf092894a3bec732e49e4dd51e293cbcb0dfbf6a573f80e896afa9bcf7545bab4a9577b9363134aee155a64e78acd8fc7bbf6f2d75131c3223
7
- data.tar.gz: a32dfd67e4ced046e5ea00a8c750b81361987b85154b7dfe64a7b3dde2b60c62547f72342b1459449fe687aff3f7b4c2a13d783a65bd780fd1d72369a53a6832
6
+ metadata.gz: 86105e1e3b17492bc8a371386107df2087f284bfbb5514e558bf6e78007c2545d71244ce319a43d973426b8f598ed284a95531325beb70e50c438ed96765d91e
7
+ data.tar.gz: 456b644c4318453cb5ce7afc4e02bda379a28b84f9efe7b0e1ead8d9d3cfb7b0ce760830febc41f7705a309441e134aa7b33535a7cd4a5f3ab72b02eeac0c7b9
@@ -35,7 +35,7 @@ module Connectwise
35
35
 
36
36
  private
37
37
  def default_options
38
- defaults = { convert_request_keys_to: :none, ssl_verify_mode: :none }
38
+ defaults = { convert_request_keys_to: :none, ssl_verify_mode: :none, follow_redirects: true }
39
39
  defaults = defaults.merge({ log: true, pretty_print_xml: true }) if @log
40
40
  defaults
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module Connectwise
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -63,6 +63,14 @@ describe Connectwise::Ticket do
63
63
  expect(ticket_note.external?).to eq true
64
64
  end
65
65
 
66
+ it 'adds a note to the found ticket' do
67
+ subject.company = company.save
68
+ new_ticket = subject.save
69
+ found_ticket = Connectwise::Ticket.find(conn, new_ticket.id)
70
+ ticket_note = found_ticket.add_note('Message of some kind')
71
+ expect(ticket_note.persisted?).to eq true
72
+ end
73
+
66
74
  it 'adds an internal note to the ticket' do
67
75
  subject.company = company.save
68
76
  new_ticket = subject.save
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: connectwise_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emery A. Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-20 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.2.2
126
+ rubygems_version: 2.5.1
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: A Connectwise SDK for Ruby