ssci_inc 0.1.6 → 0.1.7

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: 2b4e497ff06092fab843420828cdc06d09645e0c
4
- data.tar.gz: 7bed019fedb26b833395508e1e90df0c5fe7a3fa
3
+ metadata.gz: 0bc8d6f07ff6c751227eb74dd34133040ac5dc0a
4
+ data.tar.gz: 2db55fe8aa2ec50529586d01f424474cbf89ffe8
5
5
  SHA512:
6
- metadata.gz: b363e99f9d241abbc13c506d1a347753e8a905b1e1c80d86f2ca2a70b4c5645d913925d1acaeb755c3630825ade70c65c12197803df056f43d8d54c62c2a1754
7
- data.tar.gz: d0f8b44cb12c0f0becb8d02d9c424ffdb93874a88e5438ad39f4db6f383cad67378be58e58b2f3b0a4325153854da2cd4110c9aa1d0bf9b4d81fb69fba855445
6
+ metadata.gz: f99868859edbb2e68abb43f0a291ddad43e38e386f4dfa412e6208b81f4fccba2a93b2cf2a878f3f7eda712e0e17123638bf3cf6f2db34328b0535ded95203b3
7
+ data.tar.gz: 1fb5080928c138ae1ec20e8d22ab73983bd6a4ad365ece6c80fd3bd9a98965604f9f0eac2387a5e84c40c4e6c7cf540ad07f39d806a8cfbfcf78172c00d0c8ad
@@ -92,7 +92,7 @@ module SsciInc
92
92
  xml.BatchID 1
93
93
  xml.RecordCount 1
94
94
  }
95
- xml.BackgroundSearchPackage(:type => type, :action => action) {
95
+ xml.BackgroundSearchPackage {
96
96
  xml.ReferenceId reference_id
97
97
  xml.Reference reference
98
98
  xml.PersonalData {
@@ -123,7 +123,7 @@ module SsciInc
123
123
  } # DeliveryAddress
124
124
  } # PostalAddress
125
125
  } # PersonalData
126
- xml.Screenings(:useConfigurationDefaults => yes_or_no(use_defaults)) {
126
+ xml.Screenings {
127
127
  screenings.each do |s|
128
128
  xml.parent << s.as_xml
129
129
  end
@@ -200,13 +200,9 @@ module SsciInc
200
200
 
201
201
  def init_defaults
202
202
  @action = "submit"
203
- @screenings = []
203
+ @screenings = @screenings = %w[CivilCounty Credit CriminalCounty CriminalFederal CriminalSecurity CriminalState PersonSearch]
204
204
  @aliases = []
205
205
  end
206
206
 
207
- def yes_or_no(v)
208
- !!v ? "yes" : "no"
209
- end
210
-
211
207
  end
212
208
  end
@@ -1,3 +1,3 @@
1
1
  module SsciInc
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
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.6
4
+ version: 0.1.7
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-04-03 00:00:00.000000000 Z
11
+ date: 2017-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty