meibo 0.25.0 → 0.25.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: 7d13051f54e9e4f678df529710d8241c5d1222772775484c3e6febce4dce309e
4
- data.tar.gz: 347825b32f8c292f8de1857e40bc33ab58452d1e1b4429205835e2e785ef48a5
3
+ metadata.gz: dbb41ba6150c14e53fa63daa4cca32543e1ab394345fc69224543e566c3af129
4
+ data.tar.gz: 0f433d844789058490011265b14c13cff98c78f97d50c9575e9ce0eb057b5089
5
5
  SHA512:
6
- metadata.gz: a13bf3cf70f6a21ecad8d1c9f5ad555fa31f80cb4189035e985eb3328637644449c23b5498699581b639823f1d66ac7832fe211979545a33963fdae551162c30
7
- data.tar.gz: 7b4cdd9a43409053306a461660212dee2c74646ddbc998b8a11929b1e9c6e1bb44a9b80552da038f5f0b3aaa02710386b099a157bc5d3549839b930aa83ce6f4
6
+ metadata.gz: 9e211816ce477c9de76c3101545d0815c2271d0112f3f7ef378188d84d3136525973da8cbe6da8b9abcf0a65af381305fa54a87a74f1f1af33c75b458b714e6f
7
+ data.tar.gz: bf4f803d4670ea84751fb47cafda087679955863af971abcb2335df3b319488be153ea0c8641e6042af27e416a53a8a9b4d22ec9de70709d641fbebabb4c626d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- meibo (0.25.0)
4
+ meibo (0.25.2)
5
5
  csv (>= 3.1.4)
6
6
  rubyzip
7
7
  zeitwerk
data/lib/meibo/course.rb CHANGED
@@ -50,7 +50,7 @@ module Meibo
50
50
  end
51
51
 
52
52
  def school_year
53
- Meibo.current_roster.academic_sessions.find(school_year_sourced_id)
53
+ Meibo.current_roster.academic_sessions.find(school_year_sourced_id) if school_year_sourced_id
54
54
  end
55
55
 
56
56
  def classes
@@ -30,8 +30,7 @@ module Meibo
30
30
  }
31
31
  )
32
32
 
33
- def initialize(sourced_id:, name:, type:, status: nil, date_last_modified: nil, identifier: nil,
34
- parent_sourced_id: (type == TYPES[:district] ? "NULL" : nil), **extension_fields)
33
+ def initialize(sourced_id:, name:, type:, status: nil, date_last_modified: nil, identifier: nil, parent_sourced_id: nil, **extension_fields)
35
34
  @sourced_id = sourced_id
36
35
  @status = status
37
36
  @date_last_modified = date_last_modified
data/lib/meibo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- VERSION = "0.25.0"
4
+ VERSION = "0.25.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meibo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.25.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: csv
@@ -142,7 +142,7 @@ metadata:
142
142
  allowed_push_host: https://rubygems.org/
143
143
  homepage_uri: https://github.com/hanachin/meibo
144
144
  source_code_uri: https://github.com/hanachin/meibo
145
- changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.25.0/CHANGELOG.md
145
+ changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.25.2/CHANGELOG.md
146
146
  rubygems_mfa_required: 'true'
147
147
  post_install_message:
148
148
  rdoc_options: []