eac 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rvmrc +1 -1
- data/Gemfile.lock +4 -0
- data/eac.gemspec +1 -0
- data/lib/eac/version.rb +1 -1
- data/lib/eac.rb +4 -0
- data/spec/eac_spec.rb +7 -2
- metadata +25 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d71fdf67c5de19fc783272af78e10ec02616bb2
|
4
|
+
data.tar.gz: 9daeaf3ea41cfd33d6ee01b750497b497d3c457c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfc8a9c966cbe72a91ee36c5b984994b449d972eae010aff89901ad7ffa90b33f9801fa307e307244fa0ed98306284c11e12ed091ebb028f5f927bf50da9871c
|
7
|
+
data.tar.gz: fc492c99759f6d84f8098457f6d760b148eb1601eb018aa1da7beb24b0e9823cf03b92e6065c8a1d28720c7d60f515f0cf79a1f44c20a41404e0cbacc228f7f7
|
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm use 2.1.
|
1
|
+
rvm use 2.1.2@eac --create
|
data/Gemfile.lock
CHANGED
@@ -7,6 +7,9 @@ GEM
|
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
diff-lcs (1.2.5)
|
10
|
+
mini_portile (0.5.2)
|
11
|
+
nokogiri (1.6.1)
|
12
|
+
mini_portile (~> 0.5.0)
|
10
13
|
rake (10.1.0)
|
11
14
|
rspec (2.14.1)
|
12
15
|
rspec-core (~> 2.14.0)
|
@@ -23,5 +26,6 @@ PLATFORMS
|
|
23
26
|
DEPENDENCIES
|
24
27
|
bundler (~> 1.6)
|
25
28
|
eac!
|
29
|
+
nokogiri
|
26
30
|
rake
|
27
31
|
rspec
|
data/eac.gemspec
CHANGED
data/lib/eac/version.rb
CHANGED
data/lib/eac.rb
CHANGED
data/spec/eac_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require './eac'
|
1
|
+
require './lib/eac'
|
2
2
|
|
3
3
|
describe EAC do
|
4
4
|
context "reads file" do
|
@@ -26,7 +26,6 @@ describe EAC do
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
|
30
29
|
context "Person create" do
|
31
30
|
let(:person) do
|
32
31
|
person = nil
|
@@ -36,6 +35,12 @@ describe EAC do
|
|
36
35
|
person
|
37
36
|
end
|
38
37
|
|
38
|
+
describe "attributes" do
|
39
|
+
it "should have 'record_id'" do
|
40
|
+
expect(person.record_id).to eq("RU007004")
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
39
44
|
describe "with name" do
|
40
45
|
it "finds all names" do
|
41
46
|
person.names.length.should == 5
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sarah Allen
|
@@ -15,42 +15,56 @@ dependencies:
|
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.6'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.6'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: nokogiri
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
54
68
|
- !ruby/object:Gem::Version
|
55
69
|
version: '0'
|
56
70
|
description: The initial focus is to read EAC-CPF files that represent an individual
|
@@ -64,8 +78,8 @@ executables: []
|
|
64
78
|
extensions: []
|
65
79
|
extra_rdoc_files: []
|
66
80
|
files:
|
67
|
-
- .gitignore
|
68
|
-
- .rvmrc
|
81
|
+
- ".gitignore"
|
82
|
+
- ".rvmrc"
|
69
83
|
- Gemfile
|
70
84
|
- Gemfile.lock
|
71
85
|
- LICENSE.txt
|
@@ -91,12 +105,12 @@ require_paths:
|
|
91
105
|
- lib
|
92
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
112
|
requirements:
|
99
|
-
- -
|
113
|
+
- - ">="
|
100
114
|
- !ruby/object:Gem::Version
|
101
115
|
version: '0'
|
102
116
|
requirements: []
|