pg_array_parser 0.0.8pre3-java → 0.0.9-java
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pg_array_parser/version.rb +1 -1
- data/spec/parser_spec.rb +4 -0
- metadata +19 -17
data/spec/parser_spec.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
1
2
|
require 'spec_helper'
|
2
3
|
|
3
4
|
class Parser
|
@@ -51,6 +52,9 @@ describe 'PgArrayParser' do
|
|
51
52
|
parser.parse_pg_array(%[{1,"",3,""}]).should eq ['1', '', '3', '']
|
52
53
|
end
|
53
54
|
|
55
|
+
it 'returns an array containing unicode strings' do
|
56
|
+
parser.parse_pg_array(%[{"Paragraph 399(b)(i) – “valid leave” – meaning"}]).should eq(['Paragraph 399(b)(i) – “valid leave” – meaning'])
|
57
|
+
end
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_array_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.0.
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.9
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Dan McClain
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
16
|
version_requirements: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 2.11.0
|
21
21
|
none: false
|
22
22
|
requirement: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.11.0
|
27
27
|
none: false
|
@@ -31,13 +31,13 @@ dependencies:
|
|
31
31
|
name: rake
|
32
32
|
version_requirements: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- - ~>
|
34
|
+
- - "~>"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 0.9.2.2
|
37
37
|
none: false
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - ~>
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 0.9.2.2
|
43
43
|
none: false
|
@@ -47,15 +47,17 @@ dependencies:
|
|
47
47
|
name: rake-compiler
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
52
|
+
version: !binary |-
|
53
|
+
MA==
|
53
54
|
none: false
|
54
55
|
requirement: !ruby/object:Gem::Requirement
|
55
56
|
requirements:
|
56
|
-
- -
|
57
|
+
- - ">="
|
57
58
|
- !ruby/object:Gem::Version
|
58
|
-
version:
|
59
|
+
version: !binary |-
|
60
|
+
MA==
|
59
61
|
none: false
|
60
62
|
prerelease: false
|
61
63
|
type: :development
|
@@ -86,15 +88,17 @@ require_paths:
|
|
86
88
|
- lib
|
87
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
88
90
|
requirements:
|
89
|
-
- -
|
91
|
+
- - ">="
|
90
92
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
93
|
+
version: !binary |-
|
94
|
+
MA==
|
92
95
|
none: false
|
93
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
97
|
requirements:
|
95
|
-
- -
|
98
|
+
- - ">="
|
96
99
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
100
|
+
version: !binary |-
|
101
|
+
MA==
|
98
102
|
none: false
|
99
103
|
requirements: []
|
100
104
|
rubyforge_project:
|
@@ -105,5 +109,3 @@ summary: Converts PostgreSQL array strings into arrays of strings
|
|
105
109
|
test_files:
|
106
110
|
- spec/parser_spec.rb
|
107
111
|
- spec/spec_helper.rb
|
108
|
-
has_rdoc:
|
109
|
-
...
|