WhiteSource bundle plugin

__          ___     _ _        _____                          _
\ \        / / |   (_) |      / ____|                        | |
 \ \  /\  / /| |__  _| |_ ___| (___   ___  _   _ _ __ ___ ___| |
  \ \/  \/ / | '_ \| | __/ _ \\___ \ / _ \| | | | '__/ __/ _ \ |
   \  /\  /  | | | | | ||  __/____) | (_) | |_| | | | (_|  __/_|
    \/  \/   |_| |_|_|\__\___|_____/ \___/ \__,_|_|  \___\___(_)

More about the White Source service : http://www.whitesourcesoftware.com/

View documentation here: http://docs.whitesourcesoftware.com/display/serviceDocs/Ruby+Plugin

Getting Started:

1) Install WhiteSource gem.

$ gem install wss_agent

2) Initial configuration

$ wss_agent config

add your token in 'wss_agent.yml' file in your project root directory

3) Command list

Commands:
  wss_agent check_policies  # checking dependencies that they conforms with company policy.
  wss_agent config          # create config file
  wss_agent help [COMMAND]  # Describe available commands or one specific command
  wss_agent list            # display list dependencies
  wss_agent update          # update open source inventory
  wss_agent version         # Agent version

4) update open source inventory

$ wss_agent update
force update
$ wss_agent update --force-update

or add 'force_update: true' to 'wss_agent.yml'

5) checking dependencies that they conforms with company policy.

$ wss_agent check_policies

6) checking all dependencies that they conforms with company policy (force).

$ wss_agent check_policies -f

or add 'force_check_all_dependencies: true' to 'wss_agent.yml'

Debug

1) show additional messages

$ wss_agent [command] -v

2) display http request

linux

$ EXCON_DEBUG=true wss_agent [command]

windows

$ SET EXCON_DEBUG=true &&  wss_agent [command]