meibo 0.25.1 → 0.25.3

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: 417a05d59791c055bc369d37c6090bf98415dc5eedeb30e4dc90ee599c281b5a
4
- data.tar.gz: 0a85ffa046d4b09ceb65b8f610cc85496e6d4e00888e04c3c2bd75814d45d61b
3
+ metadata.gz: 3b4170bea30498f0091ba982247d4f9a97cac8f740ae5c6080bb9e5c04c2bc70
4
+ data.tar.gz: a9035c251da1ccb1aff600c8c21c91860b543e7c852934e0aac8027b3442b86c
5
5
  SHA512:
6
- metadata.gz: 40f237fb1522c4dd583d6888f338010bf30baab627bc2b2627fe0e4434bf98c751e6b3b7ffc10a8828bd681ecf81a57bcb1f3687ffefc126031e980415101a9d
7
- data.tar.gz: 0ea9ab746af1807bb28879a68bae54fbb7e074b533a0f76b127d8d5ad81d4a17d215f6c69ab1502e5451b87cfebd96d6a6fa36ca821df92c74fc2ecd061917e8
6
+ metadata.gz: 1cb4cf9b78b825a4fc626e8bd69035435a3d7c1228745cc562676b44de8294f3b3934008360697278539709f78843a1da9d2fdbe97162a5bbb5028c6d57e14ba
7
+ data.tar.gz: 7fe4f4a9dd50597f75544c69b2c15e67c3c71111669e5c15df4c47f6d96990c816fc57ddd70fc9cf86c094cdb08e90fbf3f0f9970ab18d394703c6b303805987
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- meibo (0.25.1)
4
+ meibo (0.25.3)
5
5
  csv (>= 3.1.4)
6
6
  rubyzip
7
7
  zeitwerk
@@ -146,7 +146,7 @@ module Meibo
146
146
  return field unless field
147
147
 
148
148
  enum = enum_definition[field_info.index]
149
- raise InvalidDataTypeError if enum&.none? { |e| e.match?(field) }
149
+ raise InvalidDataTypeError if enum&.none? { |pat| field.match?(pat) }
150
150
 
151
151
  field
152
152
  end
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
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.1"
4
+ VERSION = "0.25.3"
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.1
4
+ version: 0.25.3
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-08 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.1/CHANGELOG.md
145
+ changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.25.3/CHANGELOG.md
146
146
  rubygems_mfa_required: 'true'
147
147
  post_install_message:
148
148
  rdoc_options: []