autosign 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +35 -47
- data/autosign.gemspec +0 -1
- data/lib/autosign/config.rb +1 -3
- data/lib/autosign/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d792889d01d92456bb7687c3b4e27f351ed5a7
|
4
|
+
data.tar.gz: 5d11c2071f3f6ed59cc06ae5f1144f8a8d911c22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db2b67dbcb2237976ca6e27c744b0f961f6be7b56bdf2467fc3b6ac52d6d8c36476980e20faf412ab2fc0f9f588a41e738c6b62186a2bf1bd547160819100242
|
7
|
+
data.tar.gz: 8ea21269155612a7c1020e5760e52edd16aa842e900a38bf1e7bf28532411a3471a40551c8e0c700e166d127b89c880d330855cc4d974eac0dc6301efdd38936
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
autosign (0.1.
|
4
|
+
autosign (0.1.1)
|
5
5
|
deep_merge (~> 1)
|
6
6
|
gli (~> 2)
|
7
7
|
iniparse (~> 1)
|
@@ -9,85 +9,78 @@ PATH
|
|
9
9
|
jwt (~> 1)
|
10
10
|
logging (~> 2)
|
11
11
|
require_all (~> 1)
|
12
|
-
safe_yaml (~> 1)
|
13
12
|
yard (~> 0.8)
|
14
13
|
|
15
14
|
GEM
|
16
15
|
remote: https://rubygems.org/
|
17
16
|
specs:
|
18
17
|
CFPropertyList (2.2.8)
|
19
|
-
aruba (0.
|
20
|
-
childprocess (
|
21
|
-
|
22
|
-
|
18
|
+
aruba (0.10.0)
|
19
|
+
childprocess (~> 0.5.6)
|
20
|
+
contracts (~> 0.9)
|
21
|
+
cucumber (>= 1.3.19)
|
22
|
+
ffi (~> 1.9.10)
|
23
|
+
rspec-expectations (>= 2.99)
|
24
|
+
thor (~> 0.19)
|
23
25
|
builder (3.2.2)
|
24
|
-
childprocess (0.5.
|
26
|
+
childprocess (0.5.7)
|
25
27
|
ffi (~> 1.0, >= 1.0.11)
|
26
28
|
coderay (1.1.0)
|
27
|
-
|
29
|
+
contracts (0.12.0)
|
30
|
+
coveralls (0.8.3)
|
28
31
|
json (~> 1.8)
|
29
32
|
rest-client (>= 1.6.8, < 2)
|
30
33
|
simplecov (~> 0.10.0)
|
31
34
|
term-ansicolor (~> 1.3)
|
32
35
|
thor (~> 0.19.1)
|
33
|
-
cucumber (2.
|
36
|
+
cucumber (2.1.0)
|
34
37
|
builder (>= 2.1.2)
|
35
|
-
cucumber-core (~> 1.
|
38
|
+
cucumber-core (~> 1.3.0)
|
36
39
|
diff-lcs (>= 1.1.3)
|
37
|
-
|
40
|
+
gherkin3 (~> 3.1.0)
|
38
41
|
multi_json (>= 1.7.5, < 2.0)
|
39
42
|
multi_test (>= 0.1.2)
|
40
|
-
cucumber-core (1.
|
41
|
-
|
43
|
+
cucumber-core (1.3.0)
|
44
|
+
gherkin3 (~> 3.1.0)
|
42
45
|
deep_merge (1.0.1)
|
43
46
|
diff-lcs (1.2.5)
|
44
47
|
docile (1.1.5)
|
45
|
-
domain_name (0.5.
|
48
|
+
domain_name (0.5.25)
|
46
49
|
unf (>= 0.0.5, < 1.0.0)
|
47
|
-
facter (2.
|
50
|
+
facter (2.4.4)
|
48
51
|
CFPropertyList (~> 2.2.6)
|
49
|
-
ffi (1.9.
|
50
|
-
|
51
|
-
|
52
|
-
multi_json (~> 1.3)
|
53
|
-
gherkin (2.12.2-java)
|
54
|
-
multi_json (~> 1.3)
|
55
|
-
gli (2.13.1)
|
52
|
+
ffi (1.9.10)
|
53
|
+
gherkin3 (3.1.2)
|
54
|
+
gli (2.13.2)
|
56
55
|
hiera (1.3.4)
|
57
56
|
json_pure
|
58
57
|
http-cookie (1.0.2)
|
59
58
|
domain_name (~> 0.5)
|
60
|
-
iniparse (1.4.
|
59
|
+
iniparse (1.4.1)
|
61
60
|
json (1.8.3)
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
little-plugger (1.1.3)
|
61
|
+
json_pure (1.8.3)
|
62
|
+
jwt (1.5.2)
|
63
|
+
little-plugger (1.1.4)
|
66
64
|
logging (2.0.0)
|
67
65
|
little-plugger (~> 1.1)
|
68
66
|
multi_json (~> 1.10)
|
69
67
|
method_source (0.8.2)
|
70
|
-
mime-types (2.6.
|
71
|
-
multi_json (1.11.
|
68
|
+
mime-types (2.6.2)
|
69
|
+
multi_json (1.11.2)
|
72
70
|
multi_test (0.1.2)
|
73
|
-
netrc (0.
|
74
|
-
pry (0.10.
|
71
|
+
netrc (0.11.0)
|
72
|
+
pry (0.10.3)
|
75
73
|
coderay (~> 1.1.0)
|
76
74
|
method_source (~> 0.8.1)
|
77
75
|
slop (~> 3.4)
|
78
|
-
|
79
|
-
coderay (~> 1.1.0)
|
80
|
-
method_source (~> 0.8.1)
|
81
|
-
slop (~> 3.4)
|
82
|
-
spoon (~> 0.0)
|
83
|
-
puppet (3.7.0)
|
76
|
+
puppet (3.8.3)
|
84
77
|
facter (> 1.6, < 3)
|
85
78
|
hiera (~> 1.0)
|
86
79
|
json_pure
|
87
80
|
rake (10.4.2)
|
88
81
|
rdoc (4.2.0)
|
89
82
|
json (~> 1.4)
|
90
|
-
require_all (1.3.
|
83
|
+
require_all (1.3.3)
|
91
84
|
rest-client (1.8.0)
|
92
85
|
http-cookie (>= 1.0.2, < 2.0)
|
93
86
|
mime-types (>= 1.16, < 3.0)
|
@@ -96,36 +89,31 @@ GEM
|
|
96
89
|
rspec-core (~> 3.3.0)
|
97
90
|
rspec-expectations (~> 3.3.0)
|
98
91
|
rspec-mocks (~> 3.3.0)
|
99
|
-
rspec-core (3.3.
|
92
|
+
rspec-core (3.3.2)
|
100
93
|
rspec-support (~> 3.3.0)
|
101
|
-
rspec-expectations (3.3.
|
94
|
+
rspec-expectations (3.3.1)
|
102
95
|
diff-lcs (>= 1.2.0, < 2.0)
|
103
96
|
rspec-support (~> 3.3.0)
|
104
|
-
rspec-mocks (3.3.
|
97
|
+
rspec-mocks (3.3.2)
|
105
98
|
diff-lcs (>= 1.2.0, < 2.0)
|
106
99
|
rspec-support (~> 3.3.0)
|
107
100
|
rspec-support (3.3.0)
|
108
|
-
safe_yaml (1.0.4)
|
109
101
|
simplecov (0.10.0)
|
110
102
|
docile (~> 1.1.0)
|
111
103
|
json (~> 1.8)
|
112
104
|
simplecov-html (~> 0.10.0)
|
113
105
|
simplecov-html (0.10.0)
|
114
106
|
slop (3.6.0)
|
115
|
-
spoon (0.0.4)
|
116
|
-
ffi
|
117
107
|
term-ansicolor (1.3.2)
|
118
108
|
tins (~> 1.0)
|
119
109
|
thor (0.19.1)
|
120
|
-
tins (1.
|
110
|
+
tins (1.6.0)
|
121
111
|
unf (0.1.4)
|
122
112
|
unf_ext
|
123
|
-
unf (0.1.4-java)
|
124
113
|
unf_ext (0.0.7.1)
|
125
114
|
yard (0.8.7.6)
|
126
115
|
|
127
116
|
PLATFORMS
|
128
|
-
java
|
129
117
|
ruby
|
130
118
|
|
131
119
|
DEPENDENCIES
|
data/autosign.gemspec
CHANGED
data/lib/autosign/config.rb
CHANGED
@@ -2,7 +2,6 @@ require 'rbconfig'
|
|
2
2
|
require 'securerandom'
|
3
3
|
require 'deep_merge'
|
4
4
|
require 'yaml'
|
5
|
-
require 'safe_yaml'
|
6
5
|
|
7
6
|
module Autosign
|
8
7
|
# Exceptions namespace for Autosign class
|
@@ -39,7 +38,6 @@ module Autosign
|
|
39
38
|
# set up logging
|
40
39
|
@log = Logging.logger['Autosign::Config']
|
41
40
|
@log.debug "initializing Autosign::Config"
|
42
|
-
SafeYAML::OPTIONS[:default_mode] = :safe
|
43
41
|
# validate parameter
|
44
42
|
raise 'settings is not a hash' unless settings_param.is_a?(Hash)
|
45
43
|
|
@@ -99,7 +97,7 @@ module Autosign
|
|
99
97
|
if File.file?(file)
|
100
98
|
@log.debug "Reading config file from: " + file
|
101
99
|
config_file = File.read(file)
|
102
|
-
parsed_config_file = YAML.
|
100
|
+
parsed_config_file = YAML.load(config_file)
|
103
101
|
#parsed_config_file = IniParse.parse(config_file).to_hash
|
104
102
|
@log.debug "configuration read from config file: " + parsed_config_file.to_s
|
105
103
|
return parsed_config_file if parsed_config_file.is_a?(Hash)
|
data/lib/autosign/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosign
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Dreier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -234,20 +234,6 @@ dependencies:
|
|
234
234
|
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0.8'
|
237
|
-
- !ruby/object:Gem::Dependency
|
238
|
-
name: safe_yaml
|
239
|
-
requirement: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - "~>"
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: '1'
|
244
|
-
type: :runtime
|
245
|
-
prerelease: false
|
246
|
-
version_requirements: !ruby/object:Gem::Requirement
|
247
|
-
requirements:
|
248
|
-
- - "~>"
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
version: '1'
|
251
237
|
description:
|
252
238
|
email: ddreier@thinkplango.com
|
253
239
|
executables:
|