yammdesk 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +674 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/TODO +8 -0
- data/bin/SyncTicketing.rb +132 -0
- data/lib/yammdesk.rb +15 -0
- data/lib/yammdesk/version.rb +3 -0
- data/lib/yammdesk/whd.rb +158 -0
- data/lib/yammdesk/yammer.rb +97 -0
- data/templates/config.yml +10 -0
- data/templates/create_ticket.json +32 -0
- data/templates/update_ticket.json +25 -0
- data/yammdesk.gemspec +29 -0
- metadata +165 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
yammdesk:
|
2
|
+
clientID: "NOT NEEDED"
|
3
|
+
clientSec: "NOT NEEDED"
|
4
|
+
token: "PLACE YOUR YAMMER APP TOKEN HERE"
|
5
|
+
tokenSec: "NOT NEEDED"
|
6
|
+
url: "https://www.yammer.com/api/v1"
|
7
|
+
whd:
|
8
|
+
url: "URL FOR WEB HELP DESK. E.G.: http://whd.yammer.com/helpdesk/WebObjects/Helpdesk.woa/ra/"
|
9
|
+
token: "PLACE YOUR WHD TOKEN HERE"
|
10
|
+
tech_token: "NOT NEEDED"
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"room": "",
|
3
|
+
"emailClient": true,
|
4
|
+
"emailTech": true,
|
5
|
+
"emailTechGroupLevel": false,
|
6
|
+
"emailGroupManager": false,
|
7
|
+
"emailCc": false,
|
8
|
+
"ccAddressesForTech": "",
|
9
|
+
"emailBcc": false,
|
10
|
+
"bccAddresses": "",
|
11
|
+
"subject": "",
|
12
|
+
"detail": "",
|
13
|
+
"assignToCreatingTech": false,
|
14
|
+
"problemtype": {
|
15
|
+
"type": "ProblemType",
|
16
|
+
"id": 1
|
17
|
+
},
|
18
|
+
"isPrivate": false,
|
19
|
+
"sendEmail": false,
|
20
|
+
"location": {
|
21
|
+
"type": "Location",
|
22
|
+
"id": 1
|
23
|
+
},
|
24
|
+
"clientReporter": {
|
25
|
+
"type": "Client",
|
26
|
+
"id": 1
|
27
|
+
},
|
28
|
+
"prioritytype": {
|
29
|
+
"type": "PriorityType",
|
30
|
+
"id": 1
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"noteText": "",
|
3
|
+
"statusTypeId": 1,
|
4
|
+
"hours": "",
|
5
|
+
"minutes": "0",
|
6
|
+
"isHidden": false,
|
7
|
+
"isSolution": false,
|
8
|
+
"fullDetails": false,
|
9
|
+
"currentRecipients": "Client; Tech",
|
10
|
+
"emailClient": false,
|
11
|
+
"emailTech": false,
|
12
|
+
"emailCc": false,
|
13
|
+
"ccAddressesForTech": "",
|
14
|
+
"emailBcc": false,
|
15
|
+
"bccAddresses": "",
|
16
|
+
"workTime": "0",
|
17
|
+
"ticketId": "",
|
18
|
+
"id": 0,
|
19
|
+
"jobticket": {
|
20
|
+
"type": "JobTicket",
|
21
|
+
"id": 1
|
22
|
+
},
|
23
|
+
"emailTechGroupLevel": false,
|
24
|
+
"emailGroupManager": false
|
25
|
+
}
|
data/yammdesk.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'yammdesk/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'yammdesk'
|
8
|
+
spec.version = Yammdesk::VERSION
|
9
|
+
spec.authors = ["Afraz Ahmadzadeh"]
|
10
|
+
spec.email = ['afrazkhan@gmail.com']
|
11
|
+
spec.date = '2013-03-25'
|
12
|
+
spec.summary = "Yammer <=> Ticketing System Gem"
|
13
|
+
spec.description = "Yammer <=> Ticketing System Gem"
|
14
|
+
spec.homepage = ""
|
15
|
+
spec.license = "GPL 3"
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib", "templates"]
|
20
|
+
|
21
|
+
spec.add_dependency "http"
|
22
|
+
spec.add_dependency "json"
|
23
|
+
spec.add_dependency "nokogiri"
|
24
|
+
spec.add_dependency "colorize"
|
25
|
+
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
27
|
+
spec.add_development_dependency "rake"
|
28
|
+
end
|
29
|
+
|
metadata
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yammdesk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Afraz Ahmadzadeh
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-03-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: http
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: json
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: nokogiri
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: colorize
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: bundler
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '1.3'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.3'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rake
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
description: Yammer <=> Ticketing System Gem
|
111
|
+
email:
|
112
|
+
- afrazkhan@gmail.com
|
113
|
+
executables:
|
114
|
+
- SyncTicketing.rb
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- .gitignore
|
119
|
+
- Gemfile
|
120
|
+
- LICENSE.txt
|
121
|
+
- README.md
|
122
|
+
- Rakefile
|
123
|
+
- TODO
|
124
|
+
- bin/SyncTicketing.rb
|
125
|
+
- lib/yammdesk.rb
|
126
|
+
- lib/yammdesk/version.rb
|
127
|
+
- lib/yammdesk/whd.rb
|
128
|
+
- lib/yammdesk/yammer.rb
|
129
|
+
- templates/config.yml
|
130
|
+
- templates/create_ticket.json
|
131
|
+
- templates/update_ticket.json
|
132
|
+
- yammdesk.gemspec
|
133
|
+
homepage: ''
|
134
|
+
licenses:
|
135
|
+
- GPL 3
|
136
|
+
post_install_message:
|
137
|
+
rdoc_options: []
|
138
|
+
require_paths:
|
139
|
+
- lib
|
140
|
+
- templates
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
143
|
+
requirements:
|
144
|
+
- - ! '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
hash: 325151376190827938
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
152
|
+
requirements:
|
153
|
+
- - ! '>='
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '0'
|
156
|
+
segments:
|
157
|
+
- 0
|
158
|
+
hash: 325151376190827938
|
159
|
+
requirements: []
|
160
|
+
rubyforge_project:
|
161
|
+
rubygems_version: 1.8.24
|
162
|
+
signing_key:
|
163
|
+
specification_version: 3
|
164
|
+
summary: Yammer <=> Ticketing System Gem
|
165
|
+
test_files: []
|