instedd-pigeon 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,10 @@ module Pigeon
31
31
 
32
32
  validates_presence_of :call_flow
33
33
 
34
+ def limit
35
+ config[:limit].to_i || 1
36
+ end
37
+
34
38
  def save
35
39
  return false unless valid?
36
40
 
@@ -12,6 +12,10 @@ callcentric:
12
12
  type: password
13
13
  - name: number
14
14
  type: string
15
+ - name: limit
16
+ type: integer
17
+ value: 1
18
+ user: false
15
19
 
16
20
  custom:
17
21
  humanized_name: 'Custom channel'
@@ -20,6 +24,9 @@ custom:
20
24
  attributes:
21
25
  - name: dial_string
22
26
  type: string
27
+ - name: limit
28
+ type: integer
29
+ value: 1
23
30
 
24
31
  sip:
25
32
  humanized_name: 'SIP channel'
@@ -33,7 +40,7 @@ sip:
33
40
  - name: number
34
41
  type: string
35
42
  - name: limit
36
- type: string
43
+ type: integer
37
44
  - name: domain
38
45
  type: string
39
46
  - name: direction
@@ -62,6 +69,10 @@ skype:
62
69
  type: password
63
70
  - name: number
64
71
  type: string
72
+ - name: limit
73
+ type: integer
74
+ value: 1
75
+ user: false
65
76
 
66
77
  voxeo:
67
78
  humanized_name: 'Voxeo channel'
@@ -72,5 +83,9 @@ voxeo:
72
83
  type: string
73
84
  - name: url
74
85
  type: string
86
+ - name: limit
87
+ type: integer
88
+ value: 1
89
+ user: false
75
90
 
76
91
 
@@ -1,3 +1,3 @@
1
1
  module Pigeon
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instedd-pigeon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-15 00:00:00.000000000 Z
13
+ date: 2013-04-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
189
  version: '0'
190
190
  segments:
191
191
  - 0
192
- hash: -1061998481
192
+ hash: 1050241999
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  none: false
195
195
  requirements:
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  version: '0'
199
199
  segments:
200
200
  - 0
201
- hash: -1061998481
201
+ hash: 1050241999
202
202
  requirements: []
203
203
  rubyforge_project:
204
204
  rubygems_version: 1.8.25