wss_agent 18.10.2 → 18.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +15 -15
- data/.rspec +2 -2
- data/.travis.yml +6 -6
- data/Gemfile +4 -4
- data/LICENSE.txt +201 -201
- data/README.md +88 -88
- data/Rakefile +8 -8
- data/bin/wss_agent +13 -13
- data/lib/config/custom_default.yml +5 -5
- data/lib/config/default.yml +14 -14
- data/lib/data/ca-certificates.crt +4049 -4049
- data/lib/wss_agent.rb +50 -50
- data/lib/wss_agent/cli.rb +56 -56
- data/lib/wss_agent/client.rb +108 -108
- data/lib/wss_agent/configure.rb +115 -115
- data/lib/wss_agent/gem_sha1.rb +73 -73
- data/lib/wss_agent/project.rb +39 -39
- data/lib/wss_agent/response.rb +57 -57
- data/lib/wss_agent/response_inventory.rb +28 -28
- data/lib/wss_agent/response_policies.rb +77 -77
- data/lib/wss_agent/specifications.rb +202 -202
- data/lib/wss_agent/version.rb +4 -4
- data/spec/fixtures/vcr_cassettes/WssAgent_CLI/update/when_not_found_token/should_display_error_message.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/response_should_be_success.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/should_response_json_data.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/should_return_message_response.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/should_return_status_of_response.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/response_should_be_success.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/should_response_json_data.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/should_return_message_response.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/should_return_status_of_response.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/response_should_be_success.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/should_response_json_data.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/should_return_message_response.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/should_return_status_of_response.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Specifications/_check_policies/should_check_policies.yml +50 -50
- data/spec/fixtures/vcr_cassettes/WssAgent_Specifications/_update/should_update_list_gems_on_server.yml +50 -50
- data/spec/fixtures/vcr_cassettes/WssAgent_Specifications/_update/when_check_policies_is_true/and_check_policies_return_a_violation/should_not_update_inventory.yml +2984 -2984
- data/spec/fixtures/vcr_cassettes/WssAgent_Specifications/_update/when_check_policies_is_true/and_check_policies_returns_without_a_violation/should_update_inventory.yml +2984 -2984
- data/spec/spec_helper.rb +36 -36
- data/spec/support/exit_code_matches.rb +37 -37
- data/spec/wss_agent/cli_spec.rb +58 -58
- data/spec/wss_agent/client_spec.rb +151 -151
- data/spec/wss_agent/configure_spec.rb +180 -180
- data/spec/wss_agent/specifications_spec.rb +162 -162
- data/wss_agent.gemspec +38 -38
- metadata +3 -3
data/wss_agent.gemspec
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
lib = File.expand_path('../lib', __FILE__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'wss_agent/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'wss_agent'
|
7
|
-
spec.version = WssAgent::VERSION
|
8
|
-
spec.authors = ['Maxim Pechnikov']
|
9
|
-
spec.email = ['parallel588@gmail.com']
|
10
|
-
spec.summary = 'White Source agent.'
|
11
|
-
spec.description = 'White Source agent to sync gems'
|
12
|
-
spec.homepage = 'https://github.com/whitesource/ruby-plugin'
|
13
|
-
spec.license = 'Apache-2.0'
|
14
|
-
|
15
|
-
spec.files = `git ls-files -z`.split("\x0")
|
16
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
-
spec.require_paths = ['lib']
|
19
|
-
|
20
|
-
spec.executables = %w[wss_agent]
|
21
|
-
spec.add_development_dependency 'bundler', '~> 1.7'
|
22
|
-
spec.add_development_dependency 'pry', '~> 0.11.3'
|
23
|
-
spec.add_development_dependency 'rake', '~> 12.3'
|
24
|
-
spec.add_development_dependency 'rspec', '~> 3.5'
|
25
|
-
spec.add_development_dependency 'timecop', '~> 0.9.1'
|
26
|
-
spec.add_development_dependency 'vcr', '~> 4.0'
|
27
|
-
spec.add_development_dependency 'webmock', '~> 3.1'
|
28
|
-
spec.add_development_dependency 'yard', '~> 0.9', '~> 0.9.12'
|
29
|
-
|
30
|
-
spec.add_dependency 'awesome_print', '~> 1.6', '>= 1.6.1'
|
31
|
-
spec.add_dependency 'excon', '~> 0.45'
|
32
|
-
spec.add_dependency 'faraday', '~> 0.12'
|
33
|
-
spec.add_dependency 'faraday_middleware', '~> 0.12'
|
34
|
-
spec.add_dependency 'multi_json', '~> 1.12', '>= 1.12.1'
|
35
|
-
spec.add_dependency 'psych', '~> 3.0'
|
36
|
-
spec.add_dependency 'thor', '~> 0.19', '>= 0.19.1'
|
37
|
-
spec.add_dependency 'yell', '~> 2.0', '>= 2.0.5'
|
38
|
-
end
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'wss_agent/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'wss_agent'
|
7
|
+
spec.version = WssAgent::VERSION
|
8
|
+
spec.authors = ['Maxim Pechnikov']
|
9
|
+
spec.email = ['parallel588@gmail.com']
|
10
|
+
spec.summary = 'White Source agent.'
|
11
|
+
spec.description = 'White Source agent to sync gems'
|
12
|
+
spec.homepage = 'https://github.com/whitesource/ruby-plugin'
|
13
|
+
spec.license = 'Apache-2.0'
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ['lib']
|
19
|
+
|
20
|
+
spec.executables = %w[wss_agent]
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.7'
|
22
|
+
spec.add_development_dependency 'pry', '~> 0.11.3'
|
23
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
24
|
+
spec.add_development_dependency 'rspec', '~> 3.5'
|
25
|
+
spec.add_development_dependency 'timecop', '~> 0.9.1'
|
26
|
+
spec.add_development_dependency 'vcr', '~> 4.0'
|
27
|
+
spec.add_development_dependency 'webmock', '~> 3.1'
|
28
|
+
spec.add_development_dependency 'yard', '~> 0.9', '~> 0.9.12'
|
29
|
+
|
30
|
+
spec.add_dependency 'awesome_print', '~> 1.6', '>= 1.6.1'
|
31
|
+
spec.add_dependency 'excon', '~> 0.45'
|
32
|
+
spec.add_dependency 'faraday', '~> 0.12'
|
33
|
+
spec.add_dependency 'faraday_middleware', '~> 0.12'
|
34
|
+
spec.add_dependency 'multi_json', '~> 1.12', '>= 1.12.1'
|
35
|
+
spec.add_dependency 'psych', '~> 3.0'
|
36
|
+
spec.add_dependency 'thor', '~> 0.19', '>= 0.19.1'
|
37
|
+
spec.add_dependency 'yell', '~> 2.0', '>= 2.0.5'
|
38
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wss_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 18.10.
|
4
|
+
version: 18.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxim Pechnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -339,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
339
|
version: '0'
|
340
340
|
requirements: []
|
341
341
|
rubyforge_project:
|
342
|
-
rubygems_version: 2.7.
|
342
|
+
rubygems_version: 2.7.7
|
343
343
|
signing_key:
|
344
344
|
specification_version: 4
|
345
345
|
summary: White Source agent.
|