meibo 0.2.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: 21b36f34e47cc0cf3e7ec35cf14f2e0ec6e9b3ba42f12286b18b72f2d7c680fe
4
- data.tar.gz: e576cb1930c7e2df3aac74b0a3810c7cf7013f25238fbe16ab763b87f66d6046
3
+ metadata.gz: 30d0a69e4f0c29d2454a59deeac497b6315ad82e927c1eb30dfcd9d764807d1b
4
+ data.tar.gz: fb1883792099051fa89c6f7a66689bc661ddbd3fdb21b157d91d559368383b2f
5
5
  SHA512:
6
- metadata.gz: de81e72cff7f4fc8817d818fe211e3d7a6e83966b20bfde5de6c579d059d122ced9a98709acf37e7e997b1b3aeea5ac7f62a29b07bc7b3d9300744ce48f3a56d
7
- data.tar.gz: 58c35c5ae0e31e6981816219fe893cc294336b6c58bb99a3c62227d77e063c86bf29c536165ccd7eaa22643db1d280ab85cf17cd511d8a9deb13e45c0f822adb
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.2.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
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
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.2.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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi
@@ -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.2.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: