bright 1.2 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c82ee5f6425fcb5502b799753f6c58748f13bba3cbb829c81c5b36f79986526e
4
- data.tar.gz: e220dad592f23ba583f75135f4ced2aa2f4c47a8cfa9fea89b7d32bcbb819245
3
+ metadata.gz: ed9189d57c0583da9fe8c388390b5fdfe7d1219ec1aa7f705c8d5bdcb86a380d
4
+ data.tar.gz: 114e30a3f065134cd467aeb5186662cc0b296dff3b35ea276d790661bfc3ed58
5
5
  SHA512:
6
- metadata.gz: 835186a8b148d9133b474af00ace4d9edbdb8e9a82e216f9f987ea164e8de78488664d6a5fcd6f16bdded954cc423e6f8cd24662222eddeb51831127dc2c6362
7
- data.tar.gz: 928d4a06cb9e335eabce0b18579909f000deb88aeba9ffd0d5433c0880fa848f5d586214f49f858d3cee90605905d9308a5d68e53e13644388706d5848a74523
6
+ metadata.gz: bcf315c80eb63fa3c4b27e92255721f92d79ed1bc1593cddb75c635e59b8d77d01ddf4e95a6dd4184524e174c2a5f9e2ad310f66c3228fad779bd8c94d8de73b
7
+ data.tar.gz: 764e099470d73800e6ee90fdbc8cd38e20aac97e65226a8caee377d306f959870637e7e7526bbc54bcd7ff644d3e343a580c805ef299a3cfbcf88d968c696b4d
data/bright.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["hello@arux.software"]
11
11
  spec.summary = "Framework and tools for dealing with Student Information Systems"
12
12
  spec.description = "Bright is a simple Student Information System API abstraction library used in and sponsored by Arux Software. It is written by Stephen Heuer, Steven Novotny, and contributors. The aim of the project is to abstract as many parts as possible away from the user to offer a consistent interface across all supported Student Information System APIs."
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/Arux-Software/Bright"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -214,7 +214,7 @@ module Bright
214
214
  end
215
215
 
216
216
  ["PhoneNumber", "PhoneNumber2", "PhoneNumber3"].each do |phone_param|
217
- if !user_params[phone_param].blank?
217
+ if user_params[phone_param].present? && user_params["#{phone_param}Type"].present?
218
218
  user_data_hsh[:phone_numbers] ||= []
219
219
  user_data_hsh[:phone_numbers] << {
220
220
  :phone_number => user_params[phone_param],
@@ -1,3 +1,3 @@
1
1
  module Bright
2
- VERSION = "1.2"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bright
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arux Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-09 00:00:00.000000000 Z
11
+ date: 2022-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpi
@@ -136,7 +136,7 @@ files:
136
136
  - lib/bright/sis_apis/tsis.rb
137
137
  - lib/bright/student.rb
138
138
  - lib/bright/version.rb
139
- homepage: ''
139
+ homepage: https://github.com/Arux-Software/Bright
140
140
  licenses:
141
141
  - MIT
142
142
  metadata: {}