meibo 0.1.0 → 0.3.0

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: 72db5b95c8207a9f74cc5930da8103632a2f6c51e3d59243fc452ac4ffefa010
4
- data.tar.gz: bd156f3a9ffb5a367d490b1d755f44ce5af13ec5ca69ed4341fbf6ecfc44fdeb
3
+ metadata.gz: 30d0a69e4f0c29d2454a59deeac497b6315ad82e927c1eb30dfcd9d764807d1b
4
+ data.tar.gz: fb1883792099051fa89c6f7a66689bc661ddbd3fdb21b157d91d559368383b2f
5
5
  SHA512:
6
- metadata.gz: 7263fac70bb046b9a85088530e8a822e59d15f47ef7d1c809ff4fd8fa26c9927bbf5313db7979fd7613292bf7aa05cce0103659ea4686e39eb8eb21f0f7a2ffe
7
- data.tar.gz: 1befb3a9401a3d92000282e576b75914c4bffd67788b5ba8853385b85eb691676e9e42cad7e5acf3b65a79cc8a20604be9f2ae574eebb5301dcc715fb60fc365
6
+ metadata.gz: 201f65ec64a3066ea7b594aad1638c3edc6b9868c351d1f1b8cc479070820dedac5435cec4a30fa450daa71d1e5a5caa3a2d0c1318c5522aa4a9902ec2eb2e70
7
+ data.tar.gz: d423b6be73f4d365dd9de6fe97ea9bc4ce3c2373086db58dc2958aa0fae967db20fa153f39371c3b63ab4735ccc355cc6ef2e78f7bcb25187d38a3df1055d164
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- meibo (0.1.0)
4
+ meibo (0.3.0)
5
5
  rubyzip
6
6
  zeitwerk
7
7
 
@@ -67,7 +67,7 @@ GEM
67
67
  tzinfo (2.0.5)
68
68
  concurrent-ruby (~> 1.0)
69
69
  unicode-display_width (2.3.0)
70
- zeitwerk (2.6.1)
70
+ zeitwerk (2.6.4)
71
71
 
72
72
  PLATFORMS
73
73
  x86_64-linux
@@ -8,7 +8,7 @@ module Meibo
8
8
  each do |academic_session|
9
9
  next unless academic_session.parent_sourced_id
10
10
 
11
- find_by_sourced_id(academic_session.parent_sourced_id)
11
+ find(academic_session.parent_sourced_id)
12
12
  end
13
13
  end
14
14
  end
data/lib/meibo/builder.rb CHANGED
@@ -6,12 +6,12 @@ module Meibo
6
6
  class Builder
7
7
  extend Forwardable
8
8
 
9
- attr_reader :package, :profile
9
+ attr_reader :roster, :profile
10
10
 
11
- def_delegators :@package, :academic_sessions, :classes, :courses, :demographics, :enrollments, :organizations, :roles, :users, :user_profiles
11
+ def_delegators :@roster, :academic_sessions, :classes, :courses, :demographics, :enrollments, :organizations, :roles, :users, :user_profiles
12
12
 
13
- def initialize(package:, profile: BaseProfile)
14
- @package = package
13
+ def initialize(roster:, profile: Profile.new)
14
+ @roster = roster
15
15
  @profile = profile
16
16
  end
17
17
 
@@ -2,26 +2,19 @@
2
2
 
3
3
  module Meibo
4
4
  class ClassroomSet < DataSet
5
- def initialize(data, academic_session_set:, course_set:, organization_set:)
6
- super(data)
7
- @academic_session_set = academic_session_set
8
- @course_set = course_set
9
- @organization_set = organization_set
10
- end
11
-
12
5
  def check_semantically_consistent
13
6
  super
14
7
 
15
8
  each do |classroom|
16
- @organization_set.find_by_sourced_id(classroom.school_sourced_id)
17
- @course_set.find_by_sourced_id(classroom.course_sourced_id)
9
+ roster.organizations.find(classroom.school_sourced_id)
10
+ roster.courses.find(classroom.course_sourced_id)
18
11
 
19
12
  if classroom.term_sourced_ids.empty?
20
13
  raise DataNotFoundError, "termSourcedIdは1つ以上指定してください"
21
14
  end
22
15
 
23
16
  classroom.term_sourced_ids.each do |term_sourced_id|
24
- @academic_session_set.find_by_sourced_id(term_sourced_id)
17
+ roster.academic_sessions.find(term_sourced_id)
25
18
  end
26
19
  end
27
20
  end
@@ -2,21 +2,15 @@
2
2
 
3
3
  module Meibo
4
4
  class CourseSet < DataSet
5
- def initialize(data, academic_session_set:, organization_set:)
6
- super(data)
7
- @academic_session_set = academic_session_set
8
- @organization_set = organization_set
9
- end
10
-
11
5
  def check_semantically_consistent
12
6
  super
13
7
 
14
8
  each do |course|
15
9
  if course.school_year_sourced_id
16
- @academic_session_set.find_by_sourced_id(course.school_year_sourced_id)
10
+ roster.academic_sessions.find(course.school_year_sourced_id)
17
11
  end
18
12
 
19
- @organization_set.find_by_sourced_id(course.org_sourced_id)
13
+ roster.organizations.find(course.org_sourced_id)
20
14
  end
21
15
  end
22
16
  end
@@ -1,8 +1,11 @@
1
1
  module Meibo
2
2
  class DataSet
3
- def initialize(data)
3
+ attr_reader :roster
4
+
5
+ def initialize(data, roster:)
4
6
  @data = data
5
7
  @data_hash = data.to_h {|datum| [datum.sourced_id, datum] }
8
+ @roster = roster
6
9
  end
7
10
 
8
11
  def <<(new_data)
@@ -31,7 +34,7 @@ module Meibo
31
34
  @data.empty?
32
35
  end
33
36
 
34
- def find_by_sourced_id(sourced_id)
37
+ def find(sourced_id)
35
38
  @data_hash.fetch(sourced_id)
36
39
  rescue KeyError
37
40
  raise DataNotFoundError, "sourcedId: #{sourced_id} が見つかりません"
@@ -2,16 +2,11 @@
2
2
 
3
3
  module Meibo
4
4
  class DemographicSet < DataSet
5
- def initialize(data, user_set:)
6
- super(data)
7
- @user_set = user_set
8
- end
9
-
10
5
  def check_semantically_consistent
11
6
  super
12
7
 
13
8
  each do |demographic|
14
- @user_set.find_by_sourced_id(demographic.sourced_id)
9
+ roster.users.find(demographic.sourced_id)
15
10
  end
16
11
  end
17
12
  end
@@ -2,20 +2,13 @@
2
2
 
3
3
  module Meibo
4
4
  class EnrollmentSet < DataSet
5
- def initialize(data, classroom_set:, organization_set:, user_set:)
6
- super(data)
7
- @classroom_set = classroom_set
8
- @organization_set = organization_set
9
- @user_set = user_set
10
- end
11
-
12
5
  def check_semantically_consistent
13
6
  super
14
7
 
15
8
  each do |enrollment|
16
- @classroom_set.find_by_sourced_id(enrollment.class_sourced_id)
17
- @organization_set.find_by_sourced_id(enrollment.school_sourced_id)
18
- @user_set.find_by_sourced_id(enrollment.user_sourced_id)
9
+ roster.classes.find(enrollment.class_sourced_id)
10
+ roster.organizations.find(enrollment.school_sourced_id)
11
+ roster.users.find(enrollment.user_sourced_id)
19
12
  end
20
13
  end
21
14
  end
@@ -6,8 +6,8 @@ require 'meibo/factory_bot/course'
6
6
  require 'meibo/factory_bot/demographic'
7
7
  require 'meibo/factory_bot/enrollment'
8
8
  require 'meibo/factory_bot/manifest'
9
- require 'meibo/factory_bot/memory_package'
10
9
  require 'meibo/factory_bot/organization'
11
10
  require 'meibo/factory_bot/role'
11
+ require 'meibo/factory_bot/roster'
12
12
  require 'meibo/factory_bot/user_profile'
13
13
  require 'meibo/factory_bot/user'
@@ -3,9 +3,7 @@
3
3
  require 'factory_bot'
4
4
 
5
5
  FactoryBot.define do
6
- factory :meibo_memory_package, class: 'Meibo::MemoryPackage' do
6
+ factory :meibo_roster, class: 'Meibo::Roster' do
7
7
  initialize_with { new(**attributes) }
8
-
9
- manifest { build(:meibo_manifest) }
10
8
  end
11
9
  end
@@ -19,4 +19,12 @@ FactoryBot.define do
19
19
  agent_sourced_ids { agents&.map(&:sourced_id) }
20
20
  primary_org_sourced_id { primary_organization&.sourced_id }
21
21
  end
22
+
23
+ factory :meibo_jp_user, class: 'Meibo::JapanProfile::User', parent: :meibo_user do
24
+ transient do
25
+ homeroom { nil }
26
+ end
27
+
28
+ home_class { homeroom&.sourced_id }
29
+ end
22
30
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class AcademicSession < ::Meibo::AcademicSession
6
6
  TYPES = { school_year: 'schoolYear' }.freeze
7
7
 
@@ -1,11 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class Classroom < ::Meibo::Classroom
6
6
  DataModel.define(
7
7
  self,
8
- attribute_name_to_header_field_map: superclass.attribute_name_to_header_field_map.merge(special_needs: 'metadata.jp.specialNeeds').freeze,
8
+ attribute_name_to_header_field_map: superclass.attribute_name_to_header_field_map.merge(
9
+ special_needs: 'metadata.jp.specialNeeds'
10
+ ).freeze,
9
11
  converters: superclass.converters.merge(
10
12
  boolean: [:special_needs].freeze,
11
13
  enum: { class_type: TYPES.values.freeze }.freeze
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class Course < ::Meibo::Course
6
6
  DataModel.define(
7
7
  self,
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class Demographic < ::Meibo::Demographic
6
6
  DataModel.define(
7
7
  self,
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class Enrollment < ::Meibo::Enrollment
6
6
  ROLES = {
7
7
  student: 'student',
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class Organization < ::Meibo::Organization
6
6
  TYPES = {
7
7
  district: 'district',
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class Role < ::Meibo::Role
6
6
  # NOTE: roleは固定
7
7
  # - 児童生徒の場合student
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
4
+ class JapanProfile < ::Meibo::Profile
5
5
  class User < ::Meibo::User
6
6
  DataModel.define(
7
7
  self,
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Meibo
4
+ class JapanProfile < ::Meibo::Profile
5
+ class UserSet < ::Meibo::UserSet
6
+ def check_semantically_consistent
7
+ super
8
+ each do |user|
9
+ if user.home_class
10
+ roster.classes.find(user.home_class)
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,9 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module JapanProfile
5
- include BaseProfile
6
-
4
+ class JapanProfile < ::Meibo::Profile
7
5
  BUILDERS = {
8
6
  academic_session: Builder::AcademicSessionBuilder.create(AcademicSession),
9
7
  class: Builder::ClassroomBuilder.create(Classroom),
@@ -17,23 +15,23 @@ module Meibo
17
15
  }
18
16
 
19
17
  DATA_MODELS = {
20
- file_academic_sessions: Meibo::JapanProfile::AcademicSession,
21
- file_classes: Meibo::JapanProfile::Classroom,
22
- file_courses: Meibo::JapanProfile::Course,
23
- file_demographics: Meibo::JapanProfile::Demographic,
24
- file_enrollments: Meibo::JapanProfile::Enrollment,
25
- file_orgs: Meibo::JapanProfile::Organization,
26
- file_roles: Meibo::JapanProfile::Role,
27
- file_user_profiles: Meibo::JapanProfile::UserProfile,
28
- file_users: Meibo::JapanProfile::User
18
+ file_academic_sessions: AcademicSession,
19
+ file_classes: Classroom,
20
+ file_courses: Course,
21
+ file_demographics: Demographic,
22
+ file_enrollments: Enrollment,
23
+ file_orgs: Organization,
24
+ file_roles: Role,
25
+ file_user_profiles: UserProfile,
26
+ file_users: User
29
27
  }
30
28
 
31
- def self.builder_for(key)
32
- BUILDERS[key]
33
- end
29
+ DATA_SET = ::Meibo::Profile::DATA_SET.merge(
30
+ users: UserSet
31
+ )
34
32
 
35
- def self.data_model_for(file_attribute)
36
- DATA_MODELS[file_attribute]
33
+ def initialize(builders: BUILDERS, data_models: DATA_MODELS, data_set: DATA_SET)
34
+ super
37
35
  end
38
36
  end
39
37
  end
@@ -8,7 +8,7 @@ module Meibo
8
8
  each do |organization|
9
9
  next unless organization.parent_sourced_id
10
10
 
11
- find_by_sourced_id(organization.parent_sourced_id)
11
+ find(organization.parent_sourced_id)
12
12
  end
13
13
  end
14
14
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meibo
4
- module BaseProfile
4
+ class Profile
5
5
  BUILDERS = {
6
6
  academic_session: Builder::AcademicSessionBuilder.create(AcademicSession),
7
7
  class: Builder::ClassroomBuilder.create(Classroom),
@@ -26,12 +26,36 @@ module Meibo
26
26
  file_users: Meibo::User
27
27
  }
28
28
 
29
- def self.builder_for(key)
30
- BUILDERS[key]
29
+ DATA_SET = {
30
+ academic_sessions: Meibo::AcademicSessionSet,
31
+ classes: Meibo::ClassroomSet,
32
+ courses: Meibo::CourseSet,
33
+ demographics: Meibo::DemographicSet,
34
+ enrollments: Meibo::EnrollmentSet,
35
+ orgs: Meibo::OrganizationSet,
36
+ roles: Meibo::RoleSet,
37
+ user_profiles: Meibo::UserProfileSet,
38
+ users: Meibo::UserSet
39
+ }
40
+
41
+ attr_reader :builders, :data_models, :data_set
42
+
43
+ def initialize(builders: BUILDERS, data_models: DATA_MODELS, data_set: DATA_SET)
44
+ @builders = builders
45
+ @data_models = data_models
46
+ @data_set = data_set
47
+ end
48
+
49
+ def builder_for(key)
50
+ builders[key]
51
+ end
52
+
53
+ def data_model_for(file_attribute)
54
+ data_models[file_attribute]
31
55
  end
32
56
 
33
- def self.data_model_for(file_attribute)
34
- DATA_MODELS[file_attribute]
57
+ def data_set_for(name)
58
+ data_set[name]
35
59
  end
36
60
  end
37
61
  end
data/lib/meibo/reader.rb CHANGED
@@ -5,7 +5,7 @@ require 'zip'
5
5
 
6
6
  module Meibo
7
7
  class Reader
8
- def self.open(file_path, profile: BaseProfile)
8
+ def self.open(file_path, profile: Profile.new)
9
9
  Zip::File.open(file_path) do |zipfile|
10
10
  yield new(zipfile: zipfile, profile: profile)
11
11
  end
data/lib/meibo/role.rb CHANGED
@@ -61,5 +61,13 @@ module Meibo
61
61
  @user_profile_sourced_id = user_profile_sourced_id
62
62
  @extension_fields = extension_fields
63
63
  end
64
+
65
+ def primary?
66
+ @role_type == TYPES['primary']
67
+ end
68
+
69
+ def secondary?
70
+ @role_type == TYPES['secondary']
71
+ end
64
72
  end
65
73
  end
@@ -2,22 +2,15 @@
2
2
 
3
3
  module Meibo
4
4
  class RoleSet < DataSet
5
- def initialize(data, organization_set:, user_set:, user_profile_set:)
6
- super(data)
7
- @organization_set = organization_set
8
- @user_set = user_set
9
- @user_profile_set = user_profile_set
10
- end
11
-
12
5
  def check_semantically_consistent
13
6
  super
14
7
 
15
8
  each do |role|
16
- @organization_set.find_by_sourced_id(role.org_sourced_id)
17
- @user_set.find_by_sourced_id(role.user_sourced_id)
9
+ roster.organizations.find(role.org_sourced_id)
10
+ roster.users.find(role.user_sourced_id)
18
11
 
19
12
  if role.user_profile_sourced_id
20
- @user_profile_set.find_by_sourced_id(role.user_profile_sourced_id)
13
+ roster.user_profiles.find(role.user_profile_sourced_id)
21
14
  end
22
15
  end
23
16
  end
data/lib/meibo/roster.rb CHANGED
@@ -6,7 +6,7 @@ require 'csv'
6
6
  module Meibo
7
7
  class Roster
8
8
  class << self
9
- def from_file(file_path, profile: BaseProfile)
9
+ def from_file(file_path, profile: Profile.new)
10
10
  Reader.open(file_path, profile: profile) do |reader|
11
11
  begin
12
12
  manifest = reader.manifest
@@ -66,18 +66,22 @@ module Meibo
66
66
 
67
67
  attr_reader :profile, :manifest_properties, :academic_sessions, :classes, :courses, :demographics, :enrollments, :organizations, :roles, :user_profiles, :users
68
68
 
69
- def initialize(profile: BaseProfile, manifest_properties: {}, academic_sessions: [], classes: [], courses: [], demographics: [], enrollments: [], organizations: [], roles: [], user_profiles: [], users: [])
69
+ def initialize(profile: Profile.new, manifest_properties: {}, academic_sessions: [], classes: [], courses: [], demographics: [], enrollments: [], organizations: [], roles: [], user_profiles: [], users: [])
70
70
  @profile = profile
71
71
  @manifest_properties = manifest_properties
72
- @academic_sessions = AcademicSessionSet.new(academic_sessions)
73
- @organizations = OrganizationSet.new(organizations)
74
- @courses = CourseSet.new(courses, academic_session_set: @academic_sessions, organization_set: @organizations)
75
- @classes = ClassroomSet.new(classes, academic_session_set: @academic_sessions, course_set: @courses, organization_set: @organizations)
76
- @users = UserSet.new(users, organization_set: @organizations)
77
- @demographics = DemographicSet.new(demographics, user_set: @users)
78
- @user_profiles = UserProfileSet.new(user_profiles, user_set: @users)
79
- @roles = RoleSet.new(roles, organization_set: @organizations, user_set: @users, user_profile_set: @user_profiles)
80
- @enrollments = EnrollmentSet.new(enrollments, classroom_set: @classes, organization_set: @organizations, user_set: @users)
72
+ @academic_sessions = AcademicSessionSet.new(academic_sessions, roster: self)
73
+ @organizations = OrganizationSet.new(organizations, roster: self)
74
+ @courses = CourseSet.new(courses, roster: self)
75
+ @classes = ClassroomSet.new(classes, roster: self)
76
+ @users = UserSet.new(users, roster: self)
77
+ @demographics = DemographicSet.new(demographics, roster: self)
78
+ @user_profiles = UserProfileSet.new(user_profiles, roster: self)
79
+ @roles = RoleSet.new(roles, roster: self)
80
+ @enrollments = EnrollmentSet.new(enrollments, roster: self)
81
+ end
82
+
83
+ def builder
84
+ Builder.new(roster: self, profile: profile)
81
85
  end
82
86
 
83
87
  def check_semantically_consistent
data/lib/meibo/user.rb CHANGED
@@ -41,7 +41,7 @@ module Meibo
41
41
  }.freeze
42
42
  )
43
43
 
44
- def initialize(sourced_id:, status: nil, date_last_modified: nil, enabled_user: nil, username:, user_ids: nil, given_name:, family_name:, middle_name: nil, identifier: nil, email: nil, sms: nil, phone: nil, agent_sourced_ids: [], grades: nil, password: nil, user_master_identifier: nil, resource_sourced_ids: nil, preferred_given_name: nil, preferred_middle_name: nil, preferred_family_name: nil, primary_org_sourced_id: nil, pronouns: nil, kana_given_name: nil, kana_family_name: nil, kana_middle_name: nil, home_class: nil, **extension_fields)
44
+ def initialize(sourced_id:, status: nil, date_last_modified: nil, enabled_user: nil, username:, user_ids: nil, given_name:, family_name:, middle_name: nil, identifier: nil, email: nil, sms: nil, phone: nil, agent_sourced_ids: [], grades: nil, password: nil, user_master_identifier: nil, resource_sourced_ids: nil, preferred_given_name: nil, preferred_middle_name: nil, preferred_family_name: nil, primary_org_sourced_id: nil, pronouns: nil, **extension_fields)
45
45
  @sourced_id = sourced_id
46
46
  @status = status
47
47
  @date_last_modified = date_last_modified
@@ -2,16 +2,11 @@
2
2
 
3
3
  module Meibo
4
4
  class UserProfileSet < DataSet
5
- def initialize(data, user_set:)
6
- super(data)
7
- @user_set = user_set
8
- end
9
-
10
5
  def check_semantically_consistent
11
6
  super
12
7
 
13
8
  each do |user_profile|
14
- @user_set.find_by_sourced_id(user_profile.user_sourced_id)
9
+ roster.users.find(user_profile.user_sourced_id)
15
10
  end
16
11
  end
17
12
  end
@@ -2,21 +2,16 @@
2
2
 
3
3
  module Meibo
4
4
  class UserSet < DataSet
5
- def initialize(data, organization_set:)
6
- super(data)
7
- @organization_set = organization_set
8
- end
9
-
10
5
  def check_semantically_consistent
11
6
  super
12
7
 
13
8
  each do |user|
14
9
  if user.primary_org_sourced_id
15
- @organization_set.find_by_sourced_id(user.primary_org_sourced_id)
10
+ roster.organizations.find(user.primary_org_sourced_id)
16
11
  end
17
12
 
18
13
  user.agent_sourced_ids.each do |agent_sourced_id|
19
- find_by_sourced_id(agent_sourced_id)
14
+ find(agent_sourced_id)
20
15
  end
21
16
  end
22
17
  end
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.1.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meibo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi
@@ -57,7 +57,6 @@ files:
57
57
  - lib/meibo.rb
58
58
  - lib/meibo/academic_session.rb
59
59
  - lib/meibo/academic_session_set.rb
60
- - lib/meibo/base_profile.rb
61
60
  - lib/meibo/builder.rb
62
61
  - lib/meibo/builder/academic_session_builder.rb
63
62
  - lib/meibo/builder/base_builder.rb
@@ -88,9 +87,9 @@ files:
88
87
  - lib/meibo/factory_bot/demographic.rb
89
88
  - lib/meibo/factory_bot/enrollment.rb
90
89
  - lib/meibo/factory_bot/manifest.rb
91
- - lib/meibo/factory_bot/memory_package.rb
92
90
  - lib/meibo/factory_bot/organization.rb
93
91
  - lib/meibo/factory_bot/role.rb
92
+ - lib/meibo/factory_bot/roster.rb
94
93
  - lib/meibo/factory_bot/user.rb
95
94
  - lib/meibo/factory_bot/user_profile.rb
96
95
  - lib/meibo/japan_profile.rb
@@ -102,11 +101,12 @@ files:
102
101
  - lib/meibo/japan_profile/organization.rb
103
102
  - lib/meibo/japan_profile/role.rb
104
103
  - lib/meibo/japan_profile/user.rb
105
- - lib/meibo/japan_profile/user_profile.rb
104
+ - lib/meibo/japan_profile/user_set.rb
106
105
  - lib/meibo/manifest.rb
107
106
  - lib/meibo/manifest/processing_mode.rb
108
107
  - lib/meibo/organization.rb
109
108
  - lib/meibo/organization_set.rb
109
+ - lib/meibo/profile.rb
110
110
  - lib/meibo/reader.rb
111
111
  - lib/meibo/role.rb
112
112
  - lib/meibo/role_set.rb
@@ -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.1.0/CHANGELOG.md
128
+ changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.3.0/CHANGELOG.md
129
129
  post_install_message:
130
130
  rdoc_options: []
131
131
  require_paths:
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Meibo
4
- module JapanProfile
5
- UserProfile = ::Meibo::UserProfile
6
- end
7
- end