zensana 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/Guardfile +55 -0
- data/LICENCE.txt +22 -0
- data/README.md +165 -0
- data/Rakefile +2 -0
- data/bin/zensana +7 -0
- data/lib/zensana/cli.rb +8 -0
- data/lib/zensana/command.rb +7 -0
- data/lib/zensana/commands/project.rb +293 -0
- data/lib/zensana/models/asana/attachment.rb +62 -0
- data/lib/zensana/models/asana/project.rb +84 -0
- data/lib/zensana/models/asana/task.rb +86 -0
- data/lib/zensana/models/asana/user.rb +35 -0
- data/lib/zensana/models/zendesk/attachment.rb +38 -0
- data/lib/zensana/models/zendesk/comment.rb +34 -0
- data/lib/zensana/models/zendesk/ticket.rb +73 -0
- data/lib/zensana/models/zendesk/user.rb +96 -0
- data/lib/zensana/services/asana.rb +48 -0
- data/lib/zensana/services/error.rb +55 -0
- data/lib/zensana/services/response.rb +49 -0
- data/lib/zensana/services/zendesk.rb +54 -0
- data/lib/zensana/validate/key.rb +44 -0
- data/lib/zensana/version.rb +3 -0
- data/lib/zensana.rb +25 -0
- data/zensana.gemspec +31 -0
- metadata +186 -0
data/lib/zensana.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'zensana/version'
|
2
|
+
|
3
|
+
require 'zensana/services/asana'
|
4
|
+
require 'zensana/services/error'
|
5
|
+
require 'zensana/services/response'
|
6
|
+
require 'zensana/services/zendesk'
|
7
|
+
|
8
|
+
require 'zensana/validate/key'
|
9
|
+
|
10
|
+
require 'zensana/models/asana/attachment'
|
11
|
+
require 'zensana/models/asana/project'
|
12
|
+
require 'zensana/models/asana/task'
|
13
|
+
require 'zensana/models/asana/user'
|
14
|
+
require 'zensana/models/zendesk/attachment'
|
15
|
+
require 'zensana/models/zendesk/comment'
|
16
|
+
require 'zensana/models/zendesk/ticket'
|
17
|
+
require 'zensana/models/zendesk/user'
|
18
|
+
|
19
|
+
require 'zensana/command'
|
20
|
+
require 'zensana/commands/project'
|
21
|
+
require 'zensana/cli'
|
22
|
+
|
23
|
+
module Zensana
|
24
|
+
# the code has achieved a state of zensana
|
25
|
+
end
|
data/zensana.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'zensana/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "zensana"
|
8
|
+
spec.version = Zensana::VERSION
|
9
|
+
spec.authors = ["Warren Bain"]
|
10
|
+
spec.email = ["warren@thoughtcroft.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Convert Asana tasks into ZenDesk tickets}
|
13
|
+
spec.description = <<-EOF
|
14
|
+
Command line tool for sending Asana project tasks into ZenDesk using the Ticket Import API
|
15
|
+
EOF
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_runtime_dependency "httmultiparty"
|
23
|
+
spec.add_runtime_dependency "json"
|
24
|
+
spec.add_runtime_dependency "thor"
|
25
|
+
spec.add_runtime_dependency "awesome_print"
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.8"
|
28
|
+
spec.add_development_dependency "guard-rspec", "~> 4.3"
|
29
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
30
|
+
spec.add_development_dependency "rspec", "~> 3.1"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zensana
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Warren Bain
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httmultiparty
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: thor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: awesome_print
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.8'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.8'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.3'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.3'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '10.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '10.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.1'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.1'
|
125
|
+
description: |2
|
126
|
+
Command line tool for sending Asana project tasks into ZenDesk using the Ticket Import API
|
127
|
+
email:
|
128
|
+
- warren@thoughtcroft.com
|
129
|
+
executables:
|
130
|
+
- zensana
|
131
|
+
extensions: []
|
132
|
+
extra_rdoc_files: []
|
133
|
+
files:
|
134
|
+
- ".gitignore"
|
135
|
+
- ".rspec"
|
136
|
+
- ".travis.yml"
|
137
|
+
- Gemfile
|
138
|
+
- Guardfile
|
139
|
+
- LICENCE.txt
|
140
|
+
- README.md
|
141
|
+
- Rakefile
|
142
|
+
- bin/zensana
|
143
|
+
- lib/zensana.rb
|
144
|
+
- lib/zensana/cli.rb
|
145
|
+
- lib/zensana/command.rb
|
146
|
+
- lib/zensana/commands/project.rb
|
147
|
+
- lib/zensana/models/asana/attachment.rb
|
148
|
+
- lib/zensana/models/asana/project.rb
|
149
|
+
- lib/zensana/models/asana/task.rb
|
150
|
+
- lib/zensana/models/asana/user.rb
|
151
|
+
- lib/zensana/models/zendesk/attachment.rb
|
152
|
+
- lib/zensana/models/zendesk/comment.rb
|
153
|
+
- lib/zensana/models/zendesk/ticket.rb
|
154
|
+
- lib/zensana/models/zendesk/user.rb
|
155
|
+
- lib/zensana/services/asana.rb
|
156
|
+
- lib/zensana/services/error.rb
|
157
|
+
- lib/zensana/services/response.rb
|
158
|
+
- lib/zensana/services/zendesk.rb
|
159
|
+
- lib/zensana/validate/key.rb
|
160
|
+
- lib/zensana/version.rb
|
161
|
+
- zensana.gemspec
|
162
|
+
homepage:
|
163
|
+
licenses:
|
164
|
+
- MIT
|
165
|
+
metadata: {}
|
166
|
+
post_install_message:
|
167
|
+
rdoc_options: []
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubyforge_project:
|
182
|
+
rubygems_version: 2.4.5
|
183
|
+
signing_key:
|
184
|
+
specification_version: 4
|
185
|
+
summary: Convert Asana tasks into ZenDesk tickets
|
186
|
+
test_files: []
|