microsoft-graph-client 0.1.2 → 0.1.3

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: 7eb6c7f45e60d02c0a205561bcf9def0d3938429fa807bbb22280824e9c7d78c
4
- data.tar.gz: 118ccaadd27f7edd93a2a6bb1aef90fa269b28ac79ffe6e79e079afac338edf2
3
+ metadata.gz: 3291411679dfeb0264e2d1ba5eca9fbb2262c2f2c5bf538bd06f85f1221656f3
4
+ data.tar.gz: 5ffbc611799f5e8fba6d486eda3ce5e8e872f8a91573add98bd85950e09f3061
5
5
  SHA512:
6
- metadata.gz: d2f6bede12bf538f81fb26f6431dc6ca6ef70435363151d6ca2b05fbbe5ba5a1910ee293ea8217459c4c85a79cb251fea119d5500e6fca8d1df72e8324fb3067
7
- data.tar.gz: 57c446d324c4cdc977d75cdb17992d81fa84c64a9d7fff0b8722cc50554c39bb3643cac28b608fc7c4f79f971c4443b1445e329f9c11cf01c924632b9deaf008
6
+ metadata.gz: a5592598abec6a24fb557a10a3deeb265b6b6b4e56f88af814d6d209c15c8a5aca9e2b1b520ea3fb8817429881ab207bd581cafb619c382f5ab74856da43f22e
7
+ data.tar.gz: 614b743c7428b05ac88398d53c049993d9a1fbadf6103278f739a4ef99d03c3fcddeb5f2a86f282cc81edd288db00290dfa2d156ba62bb5e2502cf48ea2eb2a9
data/.overcommit.yml ADDED
@@ -0,0 +1,33 @@
1
+ # Use this file to configure the Overcommit hooks you wish to use. This will
2
+ # extend the default configuration defined in:
3
+ # https://github.com/sds/overcommit/blob/master/config/default.yml
4
+ #
5
+ # At the topmost level of this YAML file is a key representing type of hook
6
+ # being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7
+ # customize each hook, such as whether to only run it on certain files (via
8
+ # `include`), whether to only display output if it fails (via `quiet`), etc.
9
+ #
10
+ # For a complete list of hooks, see:
11
+ # https://github.com/sds/overcommit/tree/master/lib/overcommit/hook
12
+ #
13
+ # For a complete list of options that you can use to customize hooks, see:
14
+ # https://github.com/sds/overcommit#configuration
15
+ #
16
+ # Uncomment the following lines to make the configuration take effect.
17
+
18
+ PreCommit:
19
+ RuboCop:
20
+ enabled: true
21
+ command: ['bundle', 'exec', 'rubocop']
22
+ #
23
+ # TrailingWhitespace:
24
+ # enabled: true
25
+ # exclude:
26
+ # - '**/db/structure.sql' # Ignore trailing whitespace in generated files
27
+ #
28
+ #PostCheckout:
29
+ # ALL: # Special hook name that customizes all hooks of this type
30
+ # quiet: true # Change all post-checkout hooks to only display output on failure
31
+ #
32
+ # IndexTags:
33
+ # enabled: true # Generate a tags file with `ctags` each time HEAD changes
data/.rubocop.yml CHANGED
@@ -29,6 +29,10 @@ Metrics/MethodLength:
29
29
  Max: 30
30
30
  CountAsOne: ['array', 'hash', 'heredoc']
31
31
 
32
+ Naming/FileName:
33
+ Exclude:
34
+ - lib/microsoft-graph-client.rb
35
+
32
36
  Layout/FirstArgumentIndentation:
33
37
  EnforcedStyle: consistent
34
38
 
data/.travis.yml CHANGED
@@ -1,6 +1,4 @@
1
1
  ---
2
2
  language: ruby
3
3
  cache: bundler
4
- rvm:
5
- - 3.0.1
6
4
  before_install: gem install bundler -v 2.2.15
data/CHANGELOG.md CHANGED
@@ -9,3 +9,7 @@
9
9
 
10
10
  ## [0.1.2] - 2021-09-22
11
11
  - Make the gem easier to require
12
+
13
+ ## [0.1.3] - 2021-09-22
14
+ - Add CI pipeline and precommit hooks
15
+ - Rename gemspec
data/Gemfile CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in microsoft-graph.gemspec
5
+ # Specify your gem's dependencies in microsoft-graph-client.gemspec
6
6
  gemspec
7
7
 
8
+ gem "overcommit"
8
9
  gem "rake", "~> 13.0"
9
10
  gem "rspec", "~> 3.0"
10
11
  gem "rubocop", "~> 1.7"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- microsoft-graph-client (0.1.2)
4
+ microsoft-graph-client (0.1.3)
5
5
  httparty
6
6
 
7
7
  GEM
@@ -11,6 +11,7 @@ GEM
11
11
  public_suffix (>= 2.0.2, < 5.0)
12
12
  ast (2.4.2)
13
13
  awesome_print (1.9.2)
14
+ childprocess (4.1.0)
14
15
  crack (0.4.5)
15
16
  rexml
16
17
  diff-lcs (1.4.4)
@@ -18,10 +19,15 @@ GEM
18
19
  httparty (0.19.0)
19
20
  mime-types (~> 3.0)
20
21
  multi_xml (>= 0.5.2)
22
+ iniparse (1.5.0)
21
23
  mime-types (3.3.1)
22
24
  mime-types-data (~> 3.2015)
23
25
  mime-types-data (3.2021.0901)
24
26
  multi_xml (0.6.0)
27
+ overcommit (0.58.0)
28
+ childprocess (>= 0.6.3, < 5)
29
+ iniparse (~> 1.4)
30
+ rexml (~> 3.2)
25
31
  parallel (1.21.0)
26
32
  parser (3.0.2.0)
27
33
  ast (~> 2.4.1)
@@ -64,10 +70,12 @@ GEM
64
70
 
65
71
  PLATFORMS
66
72
  x86_64-darwin-20
73
+ x86_64-linux
67
74
 
68
75
  DEPENDENCIES
69
76
  awesome_print
70
77
  microsoft-graph-client!
78
+ overcommit
71
79
  rake (~> 13.0)
72
80
  rspec (~> 3.0)
73
81
  rubocop (~> 1.7)
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # Microsoft::Graph
1
+ # Microsoft::Graph
2
+ [![Build Status](https://app.travis-ci.com/kklimuk/microsoft-graph-client.svg?branch=main)](https://app.travis-ci.com/kklimuk/microsoft-graph-client)
2
3
 
3
4
  This is a [Microsoft Graph](https://docs.microsoft.com/en-us/graph/overview) client gem, since the official client library is [not supported](https://github.com/microsoftgraph/msgraph-sdk-ruby).
4
5
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Microsoft
4
4
  class Graph
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = "Access the Microsoft Graph API."
12
12
  spec.homepage = "https://github.com/kklimuk/microsoft-graph"
13
13
  spec.license = "MIT"
14
- spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
14
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.0")
15
15
 
16
16
  # Specify which files should be added to the gem when it is released.
17
17
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Klimuk
@@ -32,6 +32,7 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - ".gitignore"
35
+ - ".overcommit.yml"
35
36
  - ".rspec"
36
37
  - ".rubocop.yml"
37
38
  - ".ruby-gemset"
@@ -50,7 +51,7 @@ files:
50
51
  - lib/microsoft/graph/batch.rb
51
52
  - lib/microsoft/graph/body_formatter.rb
52
53
  - lib/microsoft/graph/version.rb
53
- - microsoft-graph.gemspec
54
+ - microsoft-graph-client.gemspec
54
55
  homepage: https://github.com/kklimuk/microsoft-graph
55
56
  licenses:
56
57
  - MIT
@@ -63,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
64
  requirements:
64
65
  - - ">="
65
66
  - !ruby/object:Gem::Version
66
- version: 2.4.0
67
+ version: '3.0'
67
68
  required_rubygems_version: !ruby/object:Gem::Requirement
68
69
  requirements:
69
70
  - - ">="