vcard_parser 0.0.7 → 0.0.8

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: 31f4bb56578d60423c5bb534f3995abf21cbbf86
4
- data.tar.gz: bd369eb37cd9395ec8a901dbde9c4369c45ccded
3
+ metadata.gz: 1fb8ca3e77cb134ecd1160e1108aa69798272e00
4
+ data.tar.gz: 7417e4b1672428d1e46707b662efb820648634e3
5
5
  SHA512:
6
- metadata.gz: 3f2a0b9dfbfd9ed97cec5b4fa195a885085d392fa6beec29fc5bdc3a198af3ee70f850e508ad62177961eb1a921380eaee665eb253dac3373f78d1e365336b2e
7
- data.tar.gz: 3ce6d864c0af73acdab5248ce17a5acc420eedd60ef89992762ce102439992146da7533824041ad5b8a7f7f41f2587dc558a3f8c76386074ddbd50145119e1a7
6
+ metadata.gz: e06178ffde2dbe9290374725d53e69992c883a3fca49633d9c79b2c1febf0c2d1d7b4dc354492951f064e81e8efa0a605922d8fe1a394d745f9d7cbca532f54b
7
+ data.tar.gz: 6810158a55bb849486765fa8e6855c2b3ef8f55c4e58fee44a847742d9fbc261fc66bd97fb92327196c3b907ae498472f3d4b6beb9d2edc3bc802d30369ea650
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.0.8
2
+ - fixed field regexp (- not escaped)
3
+
1
4
  # 0.0.7
2
5
  - fixed parsing for field name with / (X-HomeState/Prov)
3
6
 
@@ -7,8 +7,8 @@ module VCardParser
7
7
  attr_reader :name, :group, :value, :params
8
8
 
9
9
  FORMAT = /^
10
- (?:(?<group>[a-zA-Z0-9-]+)\.)?
11
- (?<name>[a-zA-Z0-9-\/]+)
10
+ (?:(?<group>[a-zA-Z0-9\-]+)\.)?
11
+ (?<name>[a-zA-Z0-9\-\/]+)
12
12
  (?<params> (?:;[A-Za-z]+=[^;]+)+ )?
13
13
  :(?<value>.*)
14
14
  $/x
@@ -1,3 +1,3 @@
1
1
  module VcardParser
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcard_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Ammous
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-16 00:00:00.000000000 Z
11
+ date: 2013-05-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A vCard parser
14
14
  email: