bright 1.2.1 → 1.2.2

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: ed9189d57c0583da9fe8c388390b5fdfe7d1219ec1aa7f705c8d5bdcb86a380d
4
- data.tar.gz: 114e30a3f065134cd467aeb5186662cc0b296dff3b35ea276d790661bfc3ed58
3
+ metadata.gz: de7901ebf33e66211a693655cdc779ee6b83c16bff185346353223a4cd341bbc
4
+ data.tar.gz: 7ac84e02b7f1baa8f07e9fa535a301d80056e01a0aa990fcee59f30d4824178a
5
5
  SHA512:
6
- metadata.gz: bcf315c80eb63fa3c4b27e92255721f92d79ed1bc1593cddb75c635e59b8d77d01ddf4e95a6dd4184524e174c2a5f9e2ad310f66c3228fad779bd8c94d8de73b
7
- data.tar.gz: 764e099470d73800e6ee90fdbc8cd38e20aac97e65226a8caee377d306f959870637e7e7526bbc54bcd7ff644d3e343a580c805ef299a3cfbcf88d968c696b4d
6
+ metadata.gz: 2ed30fdd165dbd371110be06d19d572a5d993283c50e542b8e64dfb16d05199fa42007303fc2d528f7d29cb5fc52160e1971ffc3d8a3f4a125a15c2a46d36d92
7
+ data.tar.gz: 4e051f28636fba5f24bdbd5b0027a59e672fd2b40433098118ee4a85c1f61d1bdf9c24332b8baad0b1063551126df6ce253cd2d5bb315a23e3535cdcbf145200
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Bright
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
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.1
4
+ version: 1.2.2
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-10-10 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpi
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.3.7
158
+ rubygems_version: 3.3.26
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Framework and tools for dealing with Student Information Systems