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 ADDED
@@ -0,0 +1,8 @@
1
+ == 0.1.1
2
+
3
+ * bugfix
4
+ * fixed tags in ticket
5
+ * removed gem dependencies
6
+
7
+ * enhancements
8
+ * set tags as attributes in ticket
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = zendesk
2
2
 
3
- Description goes here.
3
+ Ruby wrapper around the Zendesk API
4
4
 
5
5
  == Contributing to zendesk
6
6
 
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.0
1
+ 0.1.1
@@ -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.0"
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 = [%q{Andrey Deryabin}]
12
- s.date = %q{2011-05-18}
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 = [%q{MIT}]
41
- s.require_paths = [%q{lib}]
42
- s.rubygems_version = %q{1.8.2}
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: 27
5
- prerelease:
4
+ hash: 25
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
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 00:00:00 Z
18
+ date: 2011-05-19 00:00:00 +04:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- requirement: &id001 !ruby/object:Gem::Requirement
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
- version_requirements: *id001
33
- type: :development
34
- name: bundler
35
- prerelease: false
36
+ requirement: *id001
36
37
  - !ruby/object:Gem::Dependency
37
- requirement: &id002 !ruby/object:Gem::Requirement
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
- version_requirements: *id002
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.8.2
112
+ rubygems_version: 1.3.7
110
113
  signing_key:
111
114
  specification_version: 3
112
115
  summary: Ruby wrapper around the Zendesk API