freeswitcher 0.6.10 → 0.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,6 +30,12 @@ module FSR
30
30
  ["list", queue].compact
31
31
  end
32
32
 
33
+ def list_tiers(queue=nil)
34
+ @listing = true
35
+ @cmd = ["list tiers", queue].compact
36
+ self
37
+ end
38
+
33
39
  def list(*args)
34
40
  @listing = true
35
41
  @cmd = case @config_type
data/lib/fsr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FSR
2
- VERSION = "0.6.10"
2
+ VERSION = "0.6.11"
3
3
  end
@@ -36,8 +36,8 @@ describe "Testing FSR::Cmd::Callcenter" do
36
36
  end
37
37
 
38
38
  it "FSR::Cmd::Callcenter should list tiers " do
39
- cmd = FSR::Cmd::CallCenter.new nil, :tier
40
- cmd.list("helpdesk@default").raw.should == "callcenter_config tier list helpdesk@default"
39
+ cmd = FSR::Cmd::CallCenter.new nil, :queue
40
+ cmd.list_tiers("helpdesk@default").raw.should == "callcenter_config queue list tiers helpdesk@default"
41
41
  end
42
42
 
43
43
  it "FSR::Cmd::Callcenter should add a tier " do
metadata CHANGED
@@ -1,8 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freeswitcher
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.6.10
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 6
8
+ - 11
9
+ version: 0.6.11
6
10
  platform: ruby
7
11
  authors:
8
12
  - Jayson Vaughn
@@ -13,7 +17,7 @@ autorequire:
13
17
  bindir: bin
14
18
  cert_chain: []
15
19
 
16
- date: 2011-03-15 00:00:00 -05:00
20
+ date: 2011-04-22 00:00:00 -05:00
17
21
  default_executable:
18
22
  dependencies:
19
23
  - !ruby/object:Gem::Dependency
@@ -24,6 +28,8 @@ dependencies:
24
28
  requirements:
25
29
  - - ">="
26
30
  - !ruby/object:Gem::Version
31
+ segments:
32
+ - 0
27
33
  version: "0"
28
34
  type: :runtime
29
35
  version_requirements: *id001
@@ -368,17 +374,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
368
374
  requirements:
369
375
  - - ">="
370
376
  - !ruby/object:Gem::Version
377
+ segments:
378
+ - 0
371
379
  version: "0"
372
380
  required_rubygems_version: !ruby/object:Gem::Requirement
373
381
  none: false
374
382
  requirements:
375
383
  - - ">="
376
384
  - !ruby/object:Gem::Version
385
+ segments:
386
+ - 0
377
387
  version: "0"
378
388
  requirements: []
379
389
 
380
390
  rubyforge_project: freeswitcher
381
- rubygems_version: 1.6.2
391
+ rubygems_version: 1.3.7
382
392
  signing_key:
383
393
  specification_version: 3
384
394
  summary: A library for interacting with the "FreeSWITCH":http://freeswitch.org telephony platform