lean-microsoft-graph 0.2.4 → 0.3.4
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 +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +6 -6
- data/README.md +10 -0
- data/lib/lean_microsoft_graph/resources/users_resource.rb +6 -0
- data/lib/lean_microsoft_graph/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f088b4cc86b80443bf94dc5045b676cbecaa485d3fc893c544942f55ec8f6f8
|
4
|
+
data.tar.gz: 459f4f51f07da3eca5668c142ce513464b78b809763b9f06348fe797ec5040e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c57fbfb13aecb8e6d46fb4a77031e6798fb5aaaa86f9d569c5bd4135f9619ca9f07e3ef15a72fad531cdb60014db7988ca85c4a06f6c40209a99c2fed5cba40
|
7
|
+
data.tar.gz: 55109146b709de115b203734143c1d32af702af0f935adee43b47e457ceb200742b4e4194452e4a65558e3ba9153be90004de0b41c75097c47e60410cc82810a
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
6
6
|
|
7
|
+
## [0.3.4] - 2024-08-30
|
8
|
+
|
9
|
+
### Added
|
10
|
+
|
11
|
+
- Ability to retrieve users by id with `client.users.get_by_id('id')`.
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
|
15
|
+
- Upgrade dependencies: faraday, mocha and minitest.
|
16
|
+
|
7
17
|
## [0.2.4] - 2024-05-23
|
8
18
|
|
9
19
|
### Changed
|
@@ -60,6 +70,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
60
70
|
|
61
71
|
- Initial release
|
62
72
|
|
73
|
+
[0.3.4]: https://github.com/betogrun/lean_microsoft_graph/releases/tag/v0.3.4
|
63
74
|
[0.2.4]: https://github.com/betogrun/lean_microsoft_graph/releases/tag/v0.2.4
|
64
75
|
[0.2.3]: https://github.com/betogrun/lean_microsoft_graph/releases/tag/v0.2.3
|
65
76
|
[0.2.2]: https://github.com/betogrun/lean_microsoft_graph/releases/tag/v0.2.2
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lean-microsoft-graph (0.
|
4
|
+
lean-microsoft-graph (0.3.4)
|
5
5
|
faraday (~> 1.10)
|
6
6
|
faraday_middleware (~> 1.0)
|
7
7
|
|
@@ -26,15 +26,15 @@ GEM
|
|
26
26
|
faraday-httpclient (1.0.1)
|
27
27
|
faraday-multipart (1.0.4)
|
28
28
|
multipart-post (~> 2)
|
29
|
-
faraday-net_http (1.0.
|
29
|
+
faraday-net_http (1.0.2)
|
30
30
|
faraday-net_http_persistent (1.2.0)
|
31
31
|
faraday-patron (1.0.0)
|
32
32
|
faraday-rack (1.0.0)
|
33
33
|
faraday-retry (1.0.3)
|
34
34
|
faraday_middleware (1.2.0)
|
35
35
|
faraday (~> 1.0)
|
36
|
-
minitest (5.
|
37
|
-
mocha (2.
|
36
|
+
minitest (5.25.1)
|
37
|
+
mocha (2.4.5)
|
38
38
|
ruby2_keywords (>= 0.0.5)
|
39
39
|
multipart-post (2.4.1)
|
40
40
|
rake (13.2.1)
|
@@ -46,8 +46,8 @@ PLATFORMS
|
|
46
46
|
|
47
47
|
DEPENDENCIES
|
48
48
|
lean-microsoft-graph!
|
49
|
-
minitest (~> 5.
|
50
|
-
mocha (~> 2.
|
49
|
+
minitest (~> 5.25)
|
50
|
+
mocha (~> 2.4)
|
51
51
|
rake (~> 13.2)
|
52
52
|
|
53
53
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -52,6 +52,16 @@ users.each do |user|
|
|
52
52
|
end
|
53
53
|
```
|
54
54
|
|
55
|
+
### Retrieving a user by id
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
user_id = 'your_user_id' # Replace 'your_user_id' with the actual user id
|
59
|
+
user = client.users.get_by_id(user_id)
|
60
|
+
|
61
|
+
puts "User ID: #{user.id}"
|
62
|
+
puts "User Display Name: #{user.display_name}"
|
63
|
+
```
|
64
|
+
|
55
65
|
## Development
|
56
66
|
|
57
67
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lean-microsoft-graph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alberto Rocha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|