meibo 0.26.0 → 0.27.1

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: eba37b50b98d947b9bdc5912ae9f25ea71f57e81797f8b08756f031935cc62bd
4
- data.tar.gz: d97317ead377eba9e18eb7df2876e7f132cdf09f1bae4a931047dd980b9ce6f0
3
+ metadata.gz: 64f9d6b81dd4774c1c17bc9f459636b4557117dfbec450f607a6ec5115d211d4
4
+ data.tar.gz: 3d0e55832b713ebeb4734708aa7652d3be7e2e2919f4cc34bf05603e562ed88f
5
5
  SHA512:
6
- metadata.gz: 721e920151cf6ad03d369f77320abd9ba98822cc1e614259432422a323fd3af59104f0e9b20f9162f9cbe525a1f95d1d3efe75383294013ed7fcdad16a34ed33
7
- data.tar.gz: 46e733cf816e857a8fe8804801d7253f84c9bc9a8d4d59d876ec9fb216989712ff430a0d2995d8eacf1b83206fc8a4fab4d6d043f4c8fbb1aaac44ba6ee18399
6
+ metadata.gz: 0cc54e27f03731076d8326ad23ad0ed2e54125511a60fdff5beaf7c1c0ce49ea2350a6f203f2057659e87829394699552af2c8d636b07db34974bccc34924487
7
+ data.tar.gz: 5693fa25285dc06788eaa463c5418661cf06b6bbce118d16d1a8f94a8d880ca2aed47039985d8eb3dc2093045197eabc33915455164f42c4dd46437267c0a622
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- meibo (0.26.0)
4
+ meibo (0.27.1)
5
5
  csv (>= 3.1.4)
6
6
  rubyzip
7
7
  zeitwerk
@@ -49,5 +49,9 @@ FactoryBot.define do
49
49
  trait :private do
50
50
  public_flg { false }
51
51
  end
52
+
53
+ trait :eportal do
54
+ primary { false }
55
+ end
52
56
  end
53
57
  end
@@ -27,6 +27,10 @@ FactoryBot.define do
27
27
  agent_sourced_ids { agents&.map(&:sourced_id) }
28
28
  primary_org_sourced_id { primary_organization&.sourced_id }
29
29
 
30
+ trait :id do
31
+ user_master_identifier { SecureRandom.uuid }
32
+ end
33
+
30
34
  trait :jp do
31
35
  initialize_with do
32
36
  case oneroster_version
@@ -43,5 +47,14 @@ FactoryBot.define do
43
47
 
44
48
  home_class { homeroom&.sourced_id }
45
49
  end
50
+
51
+ trait :eportal do
52
+ id
53
+ jp
54
+ sequence(:preferred_given_name) { |n| "山田#{n}" }
55
+ sequence(:preferred_family_name) { |n| "太郎#{n}" }
56
+ kana_given_name { "ヤマダ" }
57
+ kana_family_name { "タロウ" }
58
+ end
46
59
  end
47
60
  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.26.0"
4
+ VERSION = "0.27.1"
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.26.0
4
+ version: 0.27.1
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-08 00:00:00.000000000 Z
11
+ date: 2023-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: csv
@@ -149,7 +149,7 @@ metadata:
149
149
  allowed_push_host: https://rubygems.org/
150
150
  homepage_uri: https://github.com/hanachin/meibo
151
151
  source_code_uri: https://github.com/hanachin/meibo
152
- changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.26.0/CHANGELOG.md
152
+ changelog_uri: https://github.com/hanachin/meibo/blob/meibo/v0.27.1/CHANGELOG.md
153
153
  rubygems_mfa_required: 'true'
154
154
  post_install_message:
155
155
  rdoc_options: []