meibo 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/meibo/converter.rb +1 -1
- data/lib/meibo/enrollment.rb +1 -3
- data/lib/meibo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7ec1a7d1a8c34fa253f9a4ae09ea61bbfded807fcf143c26ff7c930f525cd3c
|
4
|
+
data.tar.gz: 919e2f91e2285e2929effe06fcf058faf99c30ea49cf4988aaa1b29cdeaea029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4a214012d4add05ccb58867be705ba46760396efa39f4d256e13b682f5aa37de0c3902286d5e31c047764aa488c40d335a3e379a43c28fc7be2fd0a998e17e3
|
7
|
+
data.tar.gz: 43d4eade2396cfa108e80889b0f00f25669560158210e8eaa48876f704230829d74afdf46aaf9ceb6961c91d31ea15331a215e9a1426c9e028105e13d0247de8
|
data/Gemfile.lock
CHANGED
data/lib/meibo/converter.rb
CHANGED
@@ -23,7 +23,7 @@ module Meibo
|
|
23
23
|
header_field_to_attribute_name_map = attribute_name_to_header_field_map.to_h {|attribute, header_field|
|
24
24
|
[header_field, attribute]
|
25
25
|
}.freeze
|
26
|
-
lambda {|field| header_field_to_attribute_name_map.fetch(field) }
|
26
|
+
lambda {|field| header_field_to_attribute_name_map.fetch(field, field) }
|
27
27
|
end
|
28
28
|
|
29
29
|
def build_parser_converter(fields:, converters:)
|
data/lib/meibo/enrollment.rb
CHANGED
@@ -33,7 +33,7 @@ module Meibo
|
|
33
33
|
}
|
34
34
|
)
|
35
35
|
|
36
|
-
def initialize(sourced_id:, status: nil, date_last_modified: nil, class_sourced_id:, school_sourced_id:, user_sourced_id:, role:, primary: nil, begin_date: nil, end_date: nil,
|
36
|
+
def initialize(sourced_id:, status: nil, date_last_modified: nil, class_sourced_id:, school_sourced_id:, user_sourced_id:, role:, primary: nil, begin_date: nil, end_date: nil, **extension_fields)
|
37
37
|
@sourced_id = sourced_id
|
38
38
|
@status = status
|
39
39
|
@date_last_modified = date_last_modified
|
@@ -43,8 +43,6 @@ module Meibo
|
|
43
43
|
@role = role
|
44
44
|
@begin_date = begin_date
|
45
45
|
@end_date = end_date
|
46
|
-
@shusseki_no = shusseki_no
|
47
|
-
@public_flg = public_flg
|
48
46
|
@extension_fields = extension_fields
|
49
47
|
end
|
50
48
|
|
data/lib/meibo/version.rb
CHANGED
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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seiei Miyagi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -125,7 +125,7 @@ metadata:
|
|
125
125
|
allowed_push_host: https://rubygems.org/
|
126
126
|
homepage_uri: https://github.com/hanachin/meibo
|
127
127
|
source_code_uri: https://github.com/hanachin/meibo
|
128
|
-
changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.
|
128
|
+
changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.7.0/CHANGELOG.md
|
129
129
|
post_install_message:
|
130
130
|
rdoc_options: []
|
131
131
|
require_paths:
|