sirportly 1.3.9 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/sirportly.rb +1 -1
- data/lib/sirportly/data_objects/ticket_update.rb +4 -4
- metadata +10 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b663c3779c4cdf3e373bc9c407d3b3f9e0f77590
|
4
|
+
data.tar.gz: 82a2dfc6204fbf73cf87b5f6a76efc3f59de7ba6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5d503ae4ccb222724740c727147acfeff06044cab21b959d0fbb927ed29889b9403e9fae5113819fee1d5a23cb7d1967ebd278bc46809a7968b5cb42fff1392b
|
7
|
+
data.tar.gz: de44849947207001b07bd0cd703ead77c8d323a3ce7b5500499919ab9d7882d251c98e4fd6d3334aed68cdd04451cfb14cbaf4216a609725ea2fa60f04353807
|
data/lib/sirportly.rb
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
module Sirportly
|
2
2
|
class TicketUpdate < DataObject
|
3
|
-
|
3
|
+
|
4
4
|
def author
|
5
5
|
if author = self.attributes['author']
|
6
6
|
if author.keys.include?('reference') && author.keys.include?('abbreviated_name') && author.keys.include?('pin')
|
7
|
-
Customer.new(author)
|
7
|
+
Customer.new(client, author)
|
8
8
|
else
|
9
|
-
User.new(author)
|
9
|
+
User.new(client, author)
|
10
10
|
end
|
11
11
|
else
|
12
12
|
nil
|
13
13
|
end
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
end
|
17
17
|
end
|
metadata
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sirportly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Adam Cooke
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: multipart-post
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.2.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.2.0
|
30
27
|
description: A Ruby library for interacting with the Sirportly API.
|
@@ -59,26 +56,26 @@ files:
|
|
59
56
|
- lib/sirportly/spql_query.rb
|
60
57
|
homepage: http://www.sirportly.com
|
61
58
|
licenses: []
|
59
|
+
metadata: {}
|
62
60
|
post_install_message:
|
63
61
|
rdoc_options: []
|
64
62
|
require_paths:
|
65
63
|
- lib
|
66
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
65
|
requirements:
|
69
|
-
- -
|
66
|
+
- - ">="
|
70
67
|
- !ruby/object:Gem::Version
|
71
68
|
version: '0'
|
72
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
70
|
requirements:
|
75
|
-
- -
|
71
|
+
- - ">="
|
76
72
|
- !ruby/object:Gem::Version
|
77
73
|
version: '0'
|
78
74
|
requirements: []
|
79
75
|
rubyforge_project:
|
80
|
-
rubygems_version:
|
76
|
+
rubygems_version: 2.4.5.1
|
81
77
|
signing_key:
|
82
|
-
specification_version:
|
78
|
+
specification_version: 4
|
83
79
|
summary: Easy to use client library for Sirportly.
|
84
80
|
test_files: []
|
81
|
+
has_rdoc: false
|