omniauth-qiita-v2 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ebcad1458bccca6309a1362640a151659e5d15fc1087de80cdd04a8c372ed3a
4
- data.tar.gz: ebad76cb61bc98cd14aae9b861cb9a0f5e923996809564e9d123f5dc269ac390
3
+ metadata.gz: 424b52c57a9f6b4c14c26c7a79ed09d330c051c17886e8d74da66b16b6c2ff42
4
+ data.tar.gz: 4de61e6df80dc4eb7f8fb0c68874334103edcc3bc89374e29649a50724d9fb60
5
5
  SHA512:
6
- metadata.gz: 9d72d3a13f0e6c0ef7e364dee30edd17e5b6e0d62f3c5035fe6a18aecac6e53ef7340c2460dec6a30b6bc95f05e54233ff631fa9952043d40bca85443bef23a7
7
- data.tar.gz: ea014bc26d4242b7e26ca4ea7fc3db6be1696f9f8a5391f955c34e844a39a1bb7b391d37ca36e9394b1888807f44f219287577e2a6913a9b55f8189e31674885
6
+ metadata.gz: e03046a56547011c65d3dd0e63158e0a5ac8ad41102bb8f5375fe58f60593640f625b252921ba5a07d16788f707f289e3216880417a69602e21d9238df6869ce
7
+ data.tar.gz: '04533491a11893817248515f945e15df810dba5bf6cdb76b41322a8cbdce801d2d2d128318f5d2a70c04f395584033c59b212e8fed8391e4bf24d9812f990ce6'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.0] - 2025-07-15
4
+
5
+ - New: Add `permanent_id` and `organization` to auth hash
6
+ - Test: Update test
7
+ - Other: Update README.md
8
+
3
9
  ## [1.0.0] - 2025-07-15
4
10
 
5
11
  - New: Use pessimistic versioning and add oauth2 dependency
data/README.md CHANGED
@@ -92,9 +92,11 @@ After successful authentication, the auth hash will be available in `request.env
92
92
  info: {
93
93
  name: 'John Doe',
94
94
  nickname: 'example_qiita_user_john_doe',
95
+ permanent_id: 1234567890,
95
96
  image: 'https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/...',
96
97
  description: 'Software Developer',
97
98
  location: 'Tokyo, Japan',
99
+ organization: 'Example Inc.',
98
100
  followees_count: 50,
99
101
  followers_count: 100,
100
102
  items_count: 30,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module QiitaV2
5
- VERSION = '1.0.0'
5
+ VERSION = '1.1.0'
6
6
  end
7
7
  end
@@ -28,10 +28,12 @@ module OmniAuth
28
28
  prune!({
29
29
  name: raw_info['name'],
30
30
  nickname: raw_info['id'],
31
+ permanent_id: raw_info['permanent_id'],
31
32
  email: nil, # Qiita API v2 does not provide email
32
33
  description: raw_info['description'],
33
34
  image: raw_info['profile_image_url'],
34
35
  location: raw_info['location'],
36
+ organization: raw_info['organization'],
35
37
  followees_count: raw_info['followees_count'],
36
38
  followers_count: raw_info['followers_count'],
37
39
  items_count: raw_info['items_count'],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-qiita-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro
@@ -66,15 +66,15 @@ files:
66
66
  - lib/omniauth-qiita-v2.rb
67
67
  - lib/omniauth/qiita_v2/version.rb
68
68
  - lib/omniauth/strategies/qiita_v2.rb
69
- homepage: https://github.com/cadenza-tech/omniauth-qiita-v2/tree/v1.0.0
69
+ homepage: https://github.com/cadenza-tech/omniauth-qiita-v2/tree/v1.1.0
70
70
  licenses:
71
71
  - MIT
72
72
  metadata:
73
- homepage_uri: https://github.com/cadenza-tech/omniauth-qiita-v2/tree/v1.0.0
74
- source_code_uri: https://github.com/cadenza-tech/omniauth-qiita-v2/tree/v1.0.0
75
- changelog_uri: https://github.com/cadenza-tech/omniauth-qiita-v2/blob/v1.0.0/CHANGELOG.md
73
+ homepage_uri: https://github.com/cadenza-tech/omniauth-qiita-v2/tree/v1.1.0
74
+ source_code_uri: https://github.com/cadenza-tech/omniauth-qiita-v2/tree/v1.1.0
75
+ changelog_uri: https://github.com/cadenza-tech/omniauth-qiita-v2/blob/v1.1.0/CHANGELOG.md
76
76
  bug_tracker_uri: https://github.com/cadenza-tech/omniauth-qiita-v2/issues
77
- documentation_uri: https://rubydoc.info/gems/omniauth-qiita-v2/1.0.0
77
+ documentation_uri: https://rubydoc.info/gems/omniauth-qiita-v2/1.1.0
78
78
  funding_uri: https://patreon.com/CadenzaTech
79
79
  rubygems_mfa_required: 'true'
80
80
  rdoc_options: []