bright 1.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bright/sis_apis/focus.rb +3 -1
- data/lib/bright/sis_apis/power_school.rb +4 -1
- data/lib/bright/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b40a86733b8e9731616433228146a6c4c8f05ae6ea9a3e6c5674bc5e217bfa56
|
4
|
+
data.tar.gz: a99d79f1a3d472e2c53cb2a6bdaf541d75f75435791d1af99b4b3a428278dc6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1e360e8df79dbfbeb06b2a3746a841932fd6e969739f4e4d76b50964952479fbf58833e26280cb230fb4f07c5d209272fdb62aab3bbe72c13f64caff71c3b6d
|
7
|
+
data.tar.gz: 5a654e27949c09573c0024c543363c50e512249a6ea8078c14c8301fb9a426fe7639dd2f439aa75af36df8166f418b2308da68322382362bb32fe71f543630c5
|
@@ -10,6 +10,8 @@ module Bright
|
|
10
10
|
|
11
11
|
attr_accessor :connection_options, :schools_cache, :school_years_cache
|
12
12
|
|
13
|
+
DEFAULT_NO_THREADS = 2
|
14
|
+
|
13
15
|
DEMOGRAPHICS_CONVERSION = {
|
14
16
|
"americanIndianOrAlaskaNative"=>"American Indian Or Alaska Native",
|
15
17
|
"asian"=>"Asian",
|
@@ -66,7 +68,7 @@ module Bright
|
|
66
68
|
:total => total_results,
|
67
69
|
:per_page => params[:limit],
|
68
70
|
:load_more_call => load_more_call,
|
69
|
-
:no_threads => options[:no_threads]
|
71
|
+
:no_threads => options[:no_threads] || DEFAULT_NO_THREADS
|
70
72
|
})
|
71
73
|
else
|
72
74
|
students
|
@@ -247,7 +247,10 @@ module Bright
|
|
247
247
|
end
|
248
248
|
|
249
249
|
if !attrs.dig("ethnicity_race", "federal_ethnicity").nil?
|
250
|
-
|
250
|
+
begin
|
251
|
+
cattrs[:hispanic_ethnicity] = attrs.dig("ethnicity_race", "federal_ethnicity").to_bool
|
252
|
+
rescue
|
253
|
+
end
|
251
254
|
end
|
252
255
|
end
|
253
256
|
|
data/lib/bright/version.rb
CHANGED
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arux Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpi
|