ssci_inc 0.1.24 → 0.1.26

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fde892a9a992afd74d50d88253456241239a1165
4
- data.tar.gz: 4031114de2f61b290f5d69f04b365646633131e7
3
+ metadata.gz: 841612f324ca605ff16aefaecac641ea76608584
4
+ data.tar.gz: fd3df8cecd67154509b4039e06721e2441ded4ff
5
5
  SHA512:
6
- metadata.gz: 290a68d9fc9643e2d5260cdc4978fbcaf737acb1a444f2884f80c58a48c53eeb7b4c28f3813068aa521de4de000e02bab19cbdcefdf5d4df9c9d893340ba609c
7
- data.tar.gz: 871f877fd3261e442ad22712f600396a7d2136dde4390bb005fa7b89368708d2fe381c503d64ae42d09c009ec524542a1851ce1f0b4c08a4ec3cf90aa1ec6da2
6
+ metadata.gz: 1b82fb16f61591e527747ede718196b6286b1d7def285311710a0502f544d76a4b9d5cf104d678afc8ccf75cf1ad87fa62f1145286fd322534b8ec38726d434a
7
+ data.tar.gz: 6b65bc01dc04bb4560a2d4c68b5541cee49dffa899eafcabb085c3076ec8493e6284ce82f630918e2a1479ab4dbb3a20787d635dd2de6ed5901d8d73878f072e
data/.gitignore CHANGED
@@ -1,7 +1,6 @@
1
1
  *.gem
2
2
  .bundle
3
3
  pkg/*
4
- Gemfile.lock
5
4
 
6
5
  # Mac
7
6
  .DS_Store
data/Gemfile.lock ADDED
@@ -0,0 +1,62 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ssci_inc (0.1.26)
5
+ activesupport (> 3.0.0, < 5.0)
6
+ httparty
7
+ i18n
8
+ nokogiri
9
+
10
+ GEM
11
+ remote: http://rubygems.org/
12
+ specs:
13
+ activesupport (4.2.8)
14
+ i18n (~> 0.7)
15
+ minitest (~> 5.1)
16
+ thread_safe (~> 0.3, >= 0.3.4)
17
+ tzinfo (~> 1.1)
18
+ coderay (1.1.1)
19
+ httparty (0.15.5)
20
+ multi_xml (>= 0.5.2)
21
+ i18n (0.8.1)
22
+ metaclass (0.0.4)
23
+ method_source (0.8.2)
24
+ mini_portile2 (2.1.0)
25
+ minitest (5.10.1)
26
+ mocha (0.14.0)
27
+ metaclass (~> 0.0.1)
28
+ multi_xml (0.6.0)
29
+ nokogiri (1.7.2)
30
+ mini_portile2 (~> 2.1.0)
31
+ power_assert (1.0.2)
32
+ pry (0.10.4)
33
+ coderay (~> 1.1.0)
34
+ method_source (~> 0.8.1)
35
+ slop (~> 3.4)
36
+ rake (12.0.0)
37
+ shoulda (3.5.0)
38
+ shoulda-context (~> 1.0, >= 1.0.1)
39
+ shoulda-matchers (>= 1.4.1, < 3.0)
40
+ shoulda-context (1.2.2)
41
+ shoulda-matchers (2.8.0)
42
+ activesupport (>= 3.0.0)
43
+ slop (3.6.0)
44
+ test-unit (3.2.4)
45
+ power_assert
46
+ thread_safe (0.3.6)
47
+ tzinfo (1.2.3)
48
+ thread_safe (~> 0.1)
49
+
50
+ PLATFORMS
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ mocha (~> 0.10)
55
+ pry
56
+ rake
57
+ shoulda (~> 3.0)
58
+ ssci_inc!
59
+ test-unit
60
+
61
+ BUNDLED WITH
62
+ 1.15.0
@@ -81,8 +81,6 @@ module SsciInc
81
81
  xml.RecordCount 1
82
82
  }
83
83
  xml.BackgroundSearchPackage {
84
- xml.ReferenceId reference_id
85
- xml.Reference reference
86
84
  xml.PersonalData {
87
85
  xml.PersonName {
88
86
  xml.GivenName given_name
@@ -108,6 +106,9 @@ module SsciInc
108
106
  xml.Municipality municipality
109
107
  xml.AddressLine street_name
110
108
  } # AddressSummary
109
+ xml.RequestIdData {
110
+ xml.ReferenceID reference_id
111
+ }
111
112
  xml.SpecialRequestInfo {
112
113
  xml.ApplicantPhone telephone
113
114
  xml.ApplicantEmail email_address
@@ -1,3 +1,3 @@
1
1
  module SsciInc
2
- VERSION = '0.1.24'
2
+ VERSION = '0.1.26'
3
3
  end
data/test/test_helper.rb CHANGED
@@ -48,8 +48,7 @@ class Test::Unit::TestCase
48
48
  TEST_HASH = {
49
49
  :user_name => "username",
50
50
  :password => "password",
51
- :reference_id => 112233,
52
- :reference => "ABC Company Inc.",
51
+ :reference_id => "ABC Company Inc.",
53
52
  :given_name => "HANK",
54
53
  :family_name => "MESS",
55
54
  :ssn => "333221111",
@@ -25,8 +25,7 @@ module SsciInc
25
25
  assert_xml_attr_equal root_node, :password
26
26
 
27
27
  assert_xml_text_equal root_node, :ssn
28
- assert_xml_text_equal root_node, :reference_id
29
- assert_xml_text_equal root_node, :reference
28
+ assert_xml_text_equal root_node, :reference_id, 'ReferenceID'
30
29
  assert_xml_text_equal root_node, :email_address
31
30
  assert_xml_text_equal root_node, :telephone
32
31
  assert_xml_text_equal root_node, :given_name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssci_inc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Alme
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -158,6 +158,7 @@ files:
158
158
  - ".travis.yml"
159
159
  - CHANGELOG.markdown
160
160
  - Gemfile
161
+ - Gemfile.lock
161
162
  - README.md
162
163
  - Rakefile
163
164
  - lib/ssci_inc.rb