microsoft-graph-client 0.1.1 → 0.1.2

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: cce39a488f62563071a0c446d883316c3eaee74495ffd4926c6b5ebdb27affb5
4
- data.tar.gz: 233e29d9367041595252d3b57374102becb10798670acd025611407ea8cea18f
3
+ metadata.gz: 7eb6c7f45e60d02c0a205561bcf9def0d3938429fa807bbb22280824e9c7d78c
4
+ data.tar.gz: 118ccaadd27f7edd93a2a6bb1aef90fa269b28ac79ffe6e79e079afac338edf2
5
5
  SHA512:
6
- metadata.gz: 5db950f6f9c895608d7aa79fbad8e6e418e82db0bcfbed24f6476e4ef1c2a41744359fd6bf12aad760771ba14fb351615cbce7d5dab59cef829fe9a834967390
7
- data.tar.gz: a0fbc109d2c8475fd984f310e1a8f744deacc9e6acd5ce035a99b475eab9c1d926fbf9b7b0f7d5ff0fad583b106c19dad5e8da0a454a198a226969833cb49902
6
+ metadata.gz: d2f6bede12bf538f81fb26f6431dc6ca6ef70435363151d6ca2b05fbbe5ba5a1910ee293ea8217459c4c85a79cb251fea119d5500e6fca8d1df72e8324fb3067
7
+ data.tar.gz: 57c446d324c4cdc977d75cdb17992d81fa84c64a9d7fff0b8722cc50554c39bb3643cac28b608fc7c4f79f971c4443b1445e329f9c11cf01c924632b9deaf008
data/CHANGELOG.md CHANGED
@@ -6,3 +6,6 @@
6
6
 
7
7
  ## [0.1.1] - 2021-09-22
8
8
  - Added homepage to the gemspec
9
+
10
+ ## [0.1.2] - 2021-09-22
11
+ - Make the gem easier to require
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- microsoft-graph-client (0.1.1)
4
+ microsoft-graph-client (0.1.2)
5
5
  httparty
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -18,6 +18,12 @@ Or install it yourself as:
18
18
 
19
19
  $ gem install microsoft-graph
20
20
 
21
+ Once you have installed it, require it via:
22
+
23
+ ```ruby
24
+ require 'microsoft-graph-client'
25
+ ```
26
+
21
27
  ## Usage
22
28
 
23
29
  The gem supports both individual calls to the API. To issue either of these calls, it's important to initialize the Graph
@@ -29,6 +35,8 @@ You will have to [register the app](https://docs.microsoft.com/en-us/azure/activ
29
35
  Here's some sample code to get you started:
30
36
 
31
37
  ```ruby
38
+ require 'microsoft-graph-client'
39
+
32
40
  username = 'admin@tenant.onmicrosoft.com'
33
41
  password = 'xxxxxxxxxxxx'
34
42
  client_id = 'xxxxx-xxxx-xxx-xxxxxx-xxxxxxx'
data/bin/console CHANGED
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "bundler/setup"
5
- require "microsoft/graph"
5
+ require "microsoft-graph-client"
6
6
 
7
7
  # You can add fixtures and/or initialization code here to make experimenting
8
8
  # with your gem easier. You can also use a different console, if you like.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Microsoft
4
4
  class Graph
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "microsoft/graph"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microsoft-graph-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Klimuk
@@ -45,6 +45,7 @@ files:
45
45
  - Rakefile
46
46
  - bin/console
47
47
  - bin/setup
48
+ - lib/microsoft-graph-client.rb
48
49
  - lib/microsoft/graph.rb
49
50
  - lib/microsoft/graph/batch.rb
50
51
  - lib/microsoft/graph/body_formatter.rb