pantograph/lib/pantograph/actions/cloc.rb in pantograph-0.1.8 vs pantograph/lib/pantograph/actions/cloc.rb in pantograph-0.1.10
- old
+ new
@@ -36,25 +36,25 @@
[
PantographCore::ConfigItem.new(key: :binary_path,
env_name: "FL_CLOC_BINARY_PATH",
description: "Where the cloc binary lives on your system (full path including 'cloc')",
optional: true,
- is_string: true,
+ type: String,
default_value: '/usr/local/bin/cloc'),
PantographCore::ConfigItem.new(key: :exclude_dir,
env_name: "FL_CLOC_EXCLUDE_DIR",
description: "Comma separated list of directories to exclude", # a short description of this parameter
optional: true,
- is_string: true),
+ type: String),
PantographCore::ConfigItem.new(key: :output_directory,
env_name: "FL_CLOC_OUTPUT_DIRECTORY",
description: "Where to put the generated report file",
- is_string: true,
+ type: String,
default_value: "build"),
PantographCore::ConfigItem.new(key: :source_directory,
env_name: "FL_CLOC_SOURCE_DIRECTORY",
description: "Where to look for the source code (relative to the project root folder)",
- is_string: true,
+ type: String,
default_value: ""),
PantographCore::ConfigItem.new(key: :xml,
env_name: "FL_CLOC_XML",
description: "Should we generate an XML File (if false, it will generate a plain text file)?",
is_string: false,