open_directory_utils 0.1.4 → 0.1.5
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/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/open_directory_utils/connection.rb +6 -0
- data/lib/open_directory_utils/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: f89ec752b44434bacf48efcf1446327f5e6a6cc60ea03a765bb517132c7e1e10
|
|
4
|
+
data.tar.gz: 1ed7f7d3251df048455c7f5d0041aa032e6da99fc493c1925444765e845eb9bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5eaddadceb38877104e406edd5db58e945b6eda158ad680e4aec12864e0fcdd4be9884852dea5a80b2c8b85b5156790a5d53c8aa2661053b2118d10019e5f46f
|
|
7
|
+
data.tar.gz: e601168bc891ed5a9d1f3294acdf5d2c36800b943c7b5c062396b1f74838b089e52408203b8e1d693e27c50c99742d4d75b2950be2e5b62893b2cc2c75c89d7a
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -7,6 +7,7 @@ One can also build custom DSCL commands and send them to the server as needed to
|
|
|
7
7
|
|
|
8
8
|
## Change Log
|
|
9
9
|
|
|
10
|
+
* **v0.1.5** - 2018-06-14 - add version number to connection for easy checking
|
|
10
11
|
* **v0.1.4** - 2018-06-13 - changed the return hash to {response: xxx, status: 'success'}
|
|
11
12
|
* **v0.1.3** - 2018-06-13 - able to sync all fields in typcial OD
|
|
12
13
|
- refactored results code (ssh_cmds have redacted passwords)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require 'net/ssh'
|
|
2
|
+
require "open_directory_utils/version"
|
|
2
3
|
require "open_directory_utils/commands_base"
|
|
3
4
|
require "open_directory_utils/commands_user_attribs"
|
|
4
5
|
# require "open_directory_utils/commands_user_attribs_ldap"
|
|
@@ -10,6 +11,7 @@ module OpenDirectoryUtils
|
|
|
10
11
|
|
|
11
12
|
attr_reader :srv_info, :dir_info
|
|
12
13
|
|
|
14
|
+
include OpenDirectoryUtils::Version
|
|
13
15
|
include OpenDirectoryUtils::CommandsBase
|
|
14
16
|
include OpenDirectoryUtils::CommandsUserAttribs
|
|
15
17
|
# include OpenDirectoryUtils::CommandsUserAttribsLdap
|
|
@@ -38,6 +40,10 @@ module OpenDirectoryUtils
|
|
|
38
40
|
srv_info[:username].empty?
|
|
39
41
|
end
|
|
40
42
|
|
|
43
|
+
def version
|
|
44
|
+
VERSION
|
|
45
|
+
end
|
|
46
|
+
|
|
41
47
|
# after configuring a connection with .new - send commands via ssh to open directory
|
|
42
48
|
# @command [Symbol] - required -- to choose the action wanted
|
|
43
49
|
# @params [Hash] - required -- necessary information to accomplish action
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: open_directory_utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
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: net-ssh
|