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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +15 -15
  3. data/.rspec +2 -2
  4. data/.travis.yml +6 -6
  5. data/Gemfile +4 -4
  6. data/LICENSE.txt +201 -201
  7. data/README.md +88 -88
  8. data/Rakefile +8 -8
  9. data/bin/wss_agent +13 -13
  10. data/lib/config/custom_default.yml +5 -5
  11. data/lib/config/default.yml +14 -14
  12. data/lib/data/ca-certificates.crt +4049 -4049
  13. data/lib/wss_agent.rb +50 -50
  14. data/lib/wss_agent/cli.rb +56 -56
  15. data/lib/wss_agent/client.rb +108 -108
  16. data/lib/wss_agent/configure.rb +115 -115
  17. data/lib/wss_agent/gem_sha1.rb +73 -73
  18. data/lib/wss_agent/project.rb +39 -39
  19. data/lib/wss_agent/response.rb +57 -57
  20. data/lib/wss_agent/response_inventory.rb +28 -28
  21. data/lib/wss_agent/response_policies.rb +77 -77
  22. data/lib/wss_agent/specifications.rb +202 -202
  23. data/lib/wss_agent/version.rb +4 -4
  24. data/spec/fixtures/vcr_cassettes/WssAgent_CLI/update/when_not_found_token/should_display_error_message.yml +2984 -2984
  25. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/response_should_be_success.yml +2984 -2984
  26. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/should_response_json_data.yml +2984 -2984
  27. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/should_return_message_response.yml +2984 -2984
  28. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_error/should_return_status_of_response.yml +2984 -2984
  29. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/response_should_be_success.yml +2984 -2984
  30. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/should_response_json_data.yml +2984 -2984
  31. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/should_return_message_response.yml +2984 -2984
  32. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/server_timeout/should_return_status_of_response.yml +2984 -2984
  33. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/response_should_be_success.yml +2984 -2984
  34. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/should_response_json_data.yml +2984 -2984
  35. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/should_return_message_response.yml +2984 -2984
  36. data/spec/fixtures/vcr_cassettes/WssAgent_Client/_update/success/should_return_status_of_response.yml +2984 -2984
  37. data/spec/fixtures/vcr_cassettes/WssAgent_Specifications/_check_policies/should_check_policies.yml +50 -50
  38. data/spec/fixtures/vcr_cassettes/WssAgent_Specifications/_update/should_update_list_gems_on_server.yml +50 -50
  39. 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
  40. 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
  41. data/spec/spec_helper.rb +36 -36
  42. data/spec/support/exit_code_matches.rb +37 -37
  43. data/spec/wss_agent/cli_spec.rb +58 -58
  44. data/spec/wss_agent/client_spec.rb +151 -151
  45. data/spec/wss_agent/configure_spec.rb +180 -180
  46. data/spec/wss_agent/specifications_spec.rb +162 -162
  47. data/wss_agent.gemspec +38 -38
  48. metadata +3 -3
@@ -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.2
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-07 00:00:00.000000000 Z
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.6
342
+ rubygems_version: 2.7.7
343
343
  signing_key:
344
344
  specification_version: 4
345
345
  summary: White Source agent.