wcc-data 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/wcc/data/nucleus/campus.rb +5 -1
- data/lib/wcc/data/version.rb +1 -1
- data/spec/wcc/data/nucleus/campus_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c7b33dc551ef4cfcf077dd1cd034a03b988000
|
4
|
+
data.tar.gz: 8328780be7f3b99ac8c14a9899e1e16fda22dca0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ec04ded3ce055bf9bc34dbc9cce85bb90bac2b6752a447b6f14ba2d7b383a4f837fa953e1da83c759a27038b5486d67b1e033b0ba25ee5f2a065668482b21ab
|
7
|
+
data.tar.gz: 7357cb8d975af17773b9c39986dc5590e950b9e5506b25afd89487221895815b7c8bacb03af2f614052ee0b44dfb51f0317e144b8134425ce1d4012493ccbd07
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module WCC::Data::Nucleus
|
4
4
|
class Campus < WCC::Data::EnumeratedType
|
5
|
-
attributes :id, :name, :key
|
5
|
+
attributes :id, :name, :key, :code
|
6
6
|
attributes :street, :city, :state, :zip, :geo
|
7
7
|
|
8
8
|
def matches?(value)
|
@@ -13,6 +13,7 @@ module WCC::Data::Nucleus
|
|
13
13
|
[
|
14
14
|
{
|
15
15
|
id: 1,
|
16
|
+
code: 'DAL',
|
16
17
|
name: 'Dallas',
|
17
18
|
key: :dallas,
|
18
19
|
street: '7540 LBJ Freeway',
|
@@ -23,6 +24,7 @@ module WCC::Data::Nucleus
|
|
23
24
|
},
|
24
25
|
{
|
25
26
|
id: 2,
|
27
|
+
code: 'FTW',
|
26
28
|
name: 'Fort Worth',
|
27
29
|
key: :ft_worth,
|
28
30
|
street: '3345 Winthrop Avenue',
|
@@ -33,6 +35,7 @@ module WCC::Data::Nucleus
|
|
33
35
|
},
|
34
36
|
{
|
35
37
|
id: 3,
|
38
|
+
code: 'PLA',
|
36
39
|
name: 'Plano',
|
37
40
|
key: :plano,
|
38
41
|
street: '6400 K Avenue',
|
@@ -43,6 +46,7 @@ module WCC::Data::Nucleus
|
|
43
46
|
},
|
44
47
|
{
|
45
48
|
id: 4,
|
49
|
+
code: 'FRS',
|
46
50
|
name: 'Frisco',
|
47
51
|
key: :frisco,
|
48
52
|
street: '6401 Parkwood Blvd',
|
data/lib/wcc/data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|