quaff 0.7.2pre2 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sip_parser.rb +6 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9eaf99d0da196e8187aeb2712628d18d949ed4a
4
- data.tar.gz: 5726d03cdf5a14ed4d1b782c6a894c52aa5c876f
3
+ metadata.gz: 193de3492377eb5632711a50d13544aed7d6cdee
4
+ data.tar.gz: f4248258e480b0205f3724ae7da0c0b725868414
5
5
  SHA512:
6
- metadata.gz: a7eb337bbef23a65cec7c00040d83ceaa67c1c9919ca7eeeba3916116e5c0225dc8e9c1166663ab02c15b06ab355a314b902c8746d1f306921aacaa0626076b1
7
- data.tar.gz: 8cc3364bd636720b87649f847c080f81ed54f17c9a9a3b615799ab124a97779c84b24ea33f7e64637b9b1150415d3e5777835edaef6a2713d7dd8d4349dd3d4b
6
+ metadata.gz: 2bbf17a26f376dfe1808efc86de556bf4ee539df9d120d7b721c2b5912d5fb3acdbc609d1662a48adcd3b67e61aec4c513bb971f478e01931084fa080c03a9fd
7
+ data.tar.gz: dd93aa1e370a11157ee17179922c46b42c73cb7f9109a2158f4fa35f13a402e04c0808adb5a6e39d85294b065b8ed4bb5669a0e56f664d544cd9182abbe2bcbc
@@ -195,8 +195,13 @@ module Quaff
195
195
  uri_parameters)
196
196
  end
197
197
 
198
+ def tel_uri
199
+ Concat.new(Literal.new("tel:"),
200
+ Repetition.new([:at_least, 1], Digit.new))
201
+ end
202
+
198
203
  def addr_spec
199
- sip_uri
204
+ Alternate.new(sip_uri, tel_uri)
200
205
  end
201
206
 
202
207
  def wsp
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quaff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2pre2
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Day
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: system-getifaddrs
@@ -82,9 +82,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - '>'
85
+ - - '>='
86
86
  - !ruby/object:Gem::Version
87
- version: 1.3.1
87
+ version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
90
  rubygems_version: 2.1.11