skylark 0.0.0.alpha.1 → 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/skylark/cli.rb +3 -2
- data/lib/skylark/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b28f5eb4fcaa47c79ca72f7589353bd1858b26c
|
4
|
+
data.tar.gz: 5a61bb683d57d22026b132db68dbabaa8a970ba8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e455b755eff4f3d6f95029d5e0399e72a452f1e919d74daba4b767aeade33a730973a3b22101461c6a6f337ab7ab6314c6bbcd498b0e4305df96b8a09429118
|
7
|
+
data.tar.gz: 76ef32884d68736bfd1faff5f1cf9abbdaf0e3a5cad2fd7ba68d89742c98eea6bb2d4ebd6047ec2cba5fbca82c6fedd31fdf2aff48a0aa5fcfbac31b9f6db383
|
data/lib/skylark/cli.rb
CHANGED
@@ -21,7 +21,7 @@ module Skylark
|
|
21
21
|
|
22
22
|
if spec_configuration['searches'].is_a? Array
|
23
23
|
spec_configuration['searches'].each do |search|
|
24
|
-
dump_root_directory = File.join(
|
24
|
+
dump_root_directory = File.join(File.dirname(spec_file), search['dump_directory'])
|
25
25
|
|
26
26
|
auth = {method: :simple, username: spec_configuration['server']['auth']['username'], password: spec_configuration['server']['auth']['password']}
|
27
27
|
encryption = {method: :simple_tls, tls_options: {verify_mode: OpenSSL::SSL::VERIFY_NONE}}
|
@@ -60,7 +60,8 @@ module Skylark
|
|
60
60
|
filename = File.join(dump_directory, "#{entry[:cn].first || ('_OU=' + entry[:ou].first if !entry[:ou].empty?) || ('_' + entry[:dn].first if !entry[:dn].empty?)}.json")
|
61
61
|
|
62
62
|
open(filename, 'wb') do |io|
|
63
|
-
io.write JSON.pretty_generate(hash)
|
63
|
+
io.write JSON.pretty_generate(hash)
|
64
|
+
io.write '\n'
|
64
65
|
end
|
65
66
|
end
|
66
67
|
end
|
data/lib/skylark/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0
|
4
|
+
version: 0.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kristofer Rye
|
@@ -122,9 +122,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '2.5'
|
123
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
|
-
- - "
|
125
|
+
- - ">="
|
126
126
|
- !ruby/object:Gem::Version
|
127
|
-
version:
|
127
|
+
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
130
|
rubygems_version: 2.4.5
|