zendesk_api 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7eacab227fdeda83941a012a0a38142c537fcb1
4
- data.tar.gz: 0b769440fbf2eff40d35c08b6c64e70c33b2d9bb
3
+ metadata.gz: b708ede7536d57bf478b3996a2fe60e120467cdf
4
+ data.tar.gz: 41b1c164d771677c0fce17aa20ed777b171876a8
5
5
  SHA512:
6
- metadata.gz: 0fa32d648a8f99343386d56cbe7799d05c1612fdb03d30a0d4394caca7576054d2f12759076f908b65b8fdbea9edf9ffa5d7afb0ef6759d3ece6b3d909d03ada
7
- data.tar.gz: f5d56662a1a312e0542542a31379b3b56e9107264fd2e7746f47f2bdefdb7cafce122841e1b284b431da8b38befa00b5aa5b2644d4c9f0bee1177bf30e7a4dcb
6
+ metadata.gz: 39907df667359d40f0cb235a24893997795858f927fb70418142eb4834cafa2ba76dffad2ec128fab7a31f943232b92a181c83303b7550320d3676041a6e5e9c
7
+ data.tar.gz: 36b3afeeee9c2688016f15188d2a414c5915c3dc38fe60a01728718890c673981deeb4f93dfa4a51ba9f7bb72713314f3fffa3a6877d2dda738df804c3eba299
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- zendesk_api (1.2.6)
10
+ zendesk_api (1.2.7)
11
11
  faraday (~> 0.8.0)
12
12
  faraday_middleware (~> 0.8.7)
13
13
  hashie (>= 1.2)
@@ -542,6 +542,14 @@ module ZendeskAPI
542
542
  class PhoneNumber < Resource
543
543
  namespace "channels/voice"
544
544
  end
545
+
546
+ class Greeting < Resource
547
+ namespace "channels/voice"
548
+ end
549
+
550
+ class GreetingCategory < Resource
551
+ namespace "channels/voice"
552
+ end
545
553
  end
546
554
 
547
555
  class TicketForm < Resource
@@ -1,3 +1,3 @@
1
1
  module ZendeskAPI
2
- VERSION = "1.2.6"
2
+ VERSION = "1.2.7"
3
3
  end
@@ -240,7 +240,9 @@ describe ZendeskAPI::Client do
240
240
  end
241
241
 
242
242
  it "manages namespace correctly" do
243
- ZendeskAPI::Voice::PhoneNumber.new(subject, {}).path.should match(/channels\/voice\/phone_numbers/)
243
+ client.phone_numbers.path.should match(/channels\/voice\/phone_numbers/)
244
+ client.greetings.path.should match(/channels\/voice\/greetings/)
245
+ client.greeting_categories.path.should match(/channels\/voice\/greeting_categories/)
244
246
  end
245
247
  end
246
248
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Davidovitz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-13 00:00:00.000000000 Z
12
+ date: 2014-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bump
@@ -521,7 +521,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
521
521
  version: 1.3.6
522
522
  requirements: []
523
523
  rubyforge_project:
524
- rubygems_version: 2.2.0.rc.1
524
+ rubygems_version: 2.2.2
525
525
  signing_key:
526
526
  specification_version: 4
527
527
  summary: Zendesk REST API Client