google_directory 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google_directory/connection.rb +6 -1
- data/lib/google_directory/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: 9818097fe34668cd39dc6ef720cf127ba5fbc2538bf89ee72ce9f65f585ed0f7
|
4
|
+
data.tar.gz: 12a8026b64acb4d5f30416bb4904f89f5463ce1b880663e725e946f4bb20c2f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13c4dd4666a71ad46397c6c298f6ee7d3db374b0bac46d83bb6de540f20dae966e1098b3a0b78474bfaa889ece9ca0fc2c99e7417267523d052f3f45a96e9633
|
7
|
+
data.tar.gz: ebfa0eae70d15e7de9fa9c6ca89148824f8052d7bce27d368dc66852fd9c62450948c4f4cb2df9c656339d82f76e89d5a7bc6ef5e437c22cc52eac7b21af9ae3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
require 'google/apis/admin_directory_v1'
|
2
2
|
require 'googleauth'
|
3
3
|
require 'googleauth/stores/file_token_store'
|
4
|
-
|
5
4
|
require 'fileutils'
|
6
5
|
|
6
|
+
require "google_directory/version"
|
7
7
|
require "google_directory/user_commands"
|
8
8
|
|
9
9
|
module GoogleDirectory
|
@@ -15,6 +15,7 @@ module GoogleDirectory
|
|
15
15
|
# @note You can also use environment variables to override google defaults as wanted.
|
16
16
|
class Connection
|
17
17
|
|
18
|
+
include GoogleDirectory::Version
|
18
19
|
include GoogleDirectory::UserCommands
|
19
20
|
|
20
21
|
# default settings from google for all users
|
@@ -44,6 +45,10 @@ module GoogleDirectory
|
|
44
45
|
@service.authorization = authorize
|
45
46
|
end
|
46
47
|
|
48
|
+
def version
|
49
|
+
VERSION
|
50
|
+
end
|
51
|
+
|
47
52
|
# @note Run a command against Google Directory
|
48
53
|
#
|
49
54
|
# @param command [Symbol] choose command to perform these include: :user_get, :user_exists? (t/f), :user_create, :user_delete, :user_update & convience commands :user_suspend, :user_reactivate, :user_change_password
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google_directory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Tihen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-06-
|
12
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-api-client
|