zendesk 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +8 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/zendesk/ticket.rb +2 -1
- data/zendesk.gemspec +8 -6
- metadata +19 -16
data/CHANGELOG.rdoc
ADDED
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'bundler'
|
5
|
+
require 'rake/rdoctask'
|
6
|
+
|
5
7
|
begin
|
6
8
|
Bundler.setup(:default, :development)
|
7
9
|
rescue Bundler::BundlerError => e
|
@@ -13,7 +15,6 @@ require 'rake'
|
|
13
15
|
|
14
16
|
require 'jeweler'
|
15
17
|
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
18
|
gem.name = "zendesk"
|
18
19
|
gem.homepage = "http://github.com/aderyabin/zendesk"
|
19
20
|
gem.license = "MIT"
|
@@ -21,5 +22,4 @@ Jeweler::Tasks.new do |gem|
|
|
21
22
|
gem.description = %Q{Ruby wrapper around the Zendesk API}
|
22
23
|
gem.email = "deriabin@gmail.com"
|
23
24
|
gem.authors = ["Andrey Deryabin"]
|
24
|
-
# dependencies defined in Gemfile
|
25
25
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/zendesk/ticket.rb
CHANGED
@@ -14,6 +14,7 @@ class Zendesk::Ticket < Zendesk::Resource
|
|
14
14
|
def initialize(attrs = {})
|
15
15
|
@comments = []
|
16
16
|
load_fields
|
17
|
+
self.tags= attrs[:tags] || attrs['tags']
|
17
18
|
super
|
18
19
|
end
|
19
20
|
|
@@ -67,7 +68,7 @@ class Zendesk::Ticket < Zendesk::Resource
|
|
67
68
|
end
|
68
69
|
|
69
70
|
def tags
|
70
|
-
@current_tags.split
|
71
|
+
@current_tags.try(:split)
|
71
72
|
end
|
72
73
|
|
73
74
|
def tags=(tags)
|
data/zendesk.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{zendesk}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-05-
|
11
|
+
s.authors = ["Andrey Deryabin"]
|
12
|
+
s.date = %q{2011-05-19}
|
13
13
|
s.description = %q{Ruby wrapper around the Zendesk API}
|
14
14
|
s.email = %q{deriabin@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
+
"CHANGELOG.rdoc",
|
20
21
|
"Gemfile",
|
21
22
|
"LICENSE.txt",
|
22
23
|
"README.rdoc",
|
@@ -37,12 +38,13 @@ Gem::Specification.new do |s|
|
|
37
38
|
"zendesk.gemspec"
|
38
39
|
]
|
39
40
|
s.homepage = %q{http://github.com/aderyabin/zendesk}
|
40
|
-
s.licenses = [
|
41
|
-
s.require_paths = [
|
42
|
-
s.rubygems_version = %q{1.
|
41
|
+
s.licenses = ["MIT"]
|
42
|
+
s.require_paths = ["lib"]
|
43
|
+
s.rubygems_version = %q{1.3.7}
|
43
44
|
s.summary = %q{Ruby wrapper around the Zendesk API}
|
44
45
|
|
45
46
|
if s.respond_to? :specification_version then
|
47
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
46
48
|
s.specification_version = 3
|
47
49
|
|
48
50
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zendesk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 25
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrey Deryabin
|
@@ -15,10 +15,14 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-19 00:00:00 +04:00
|
19
|
+
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
+
prerelease: false
|
23
|
+
type: :development
|
24
|
+
name: bundler
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
22
26
|
none: false
|
23
27
|
requirements:
|
24
28
|
- - ~>
|
@@ -29,12 +33,12 @@ dependencies:
|
|
29
33
|
- 0
|
30
34
|
- 0
|
31
35
|
version: 1.0.0
|
32
|
-
|
33
|
-
type: :development
|
34
|
-
name: bundler
|
35
|
-
prerelease: false
|
36
|
+
requirement: *id001
|
36
37
|
- !ruby/object:Gem::Dependency
|
37
|
-
|
38
|
+
prerelease: false
|
39
|
+
type: :development
|
40
|
+
name: jeweler
|
41
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
42
|
none: false
|
39
43
|
requirements:
|
40
44
|
- - ~>
|
@@ -45,10 +49,7 @@ dependencies:
|
|
45
49
|
- 6
|
46
50
|
- 0
|
47
51
|
version: 1.6.0
|
48
|
-
|
49
|
-
type: :development
|
50
|
-
name: jeweler
|
51
|
-
prerelease: false
|
52
|
+
requirement: *id002
|
52
53
|
description: Ruby wrapper around the Zendesk API
|
53
54
|
email: deriabin@gmail.com
|
54
55
|
executables: []
|
@@ -59,6 +60,7 @@ extra_rdoc_files:
|
|
59
60
|
- LICENSE.txt
|
60
61
|
- README.rdoc
|
61
62
|
files:
|
63
|
+
- CHANGELOG.rdoc
|
62
64
|
- Gemfile
|
63
65
|
- LICENSE.txt
|
64
66
|
- README.rdoc
|
@@ -77,6 +79,7 @@ files:
|
|
77
79
|
- spec/spec_helper.rb
|
78
80
|
- spec/ticket_spec.rb
|
79
81
|
- zendesk.gemspec
|
82
|
+
has_rdoc: true
|
80
83
|
homepage: http://github.com/aderyabin/zendesk
|
81
84
|
licenses:
|
82
85
|
- MIT
|
@@ -106,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
109
|
requirements: []
|
107
110
|
|
108
111
|
rubyforge_project:
|
109
|
-
rubygems_version: 1.
|
112
|
+
rubygems_version: 1.3.7
|
110
113
|
signing_key:
|
111
114
|
specification_version: 3
|
112
115
|
summary: Ruby wrapper around the Zendesk API
|