Releases: nsrr/spout
Releases · nsrr/spout
v1.0.0 (February 1, 2019)
Enhancements
- Gem Changes
- Updated to ruby 2.6.1
Bug Fix
- Deploying a dataset that contains strings with special characters (accents ñ,
emojis 😃, etc) now correctly encodes those characters
v0.14.1 (July 19, 2018)
Bug Fix
- Variable names that clash with certain ruby class methods no longer crash
spout coverage
v0.14.0 (June 26, 2018)
Enhancements
- Framework Changes
- Spout data dictionaries can now specify gem dependencies using
gems.rb
instead ofGemfile
- Removed dependency on colorize gem
- Spout data dictionaries can now specify gem dependencies using
- Test Changes
- Improved the spout testing framework
- Tests are now run excusively using
spout t
command - Tests no longer spawn an extra process to run
- Rake dependency has been removed
- Failing tests no longer include an unnecessary rake backtrace
- Tests are now run excusively using
- Improved the spout testing framework
v0.13.0 (June 21, 2018)
Enhancements
- General Changes
- Updated to ruby 2.5.1
- Updated to simplecov 0.16.1
- Improved memory management reading large CSVs
- Importer Changes
- Added option to preserve case of input using the
--preserve-case
flagspout import <variables.csv> --preserve-case
- Added option to preserve case of input using the
v0.12.1 (April 3, 2017)
Bug Fix
- Fixed a bug that prevented
spout deploy
from uploading data dictionaries
v0.12.0 (March 29, 2017)
Enhancements
- General Changes
- Spout now provides a warning and skips columns in CSVs with blank headers
spout new
command now generatesCHANGELOG.md
,README.md
, andVERSION
placeholder files- Integer and numeric variables can now reference a domain for missing values
- Update Command Added
- Check for the latest version available using
spout update
- The update command provides steps to upgrade the data dictionary to the
latest version Spout
- Check for the latest version available using
- Exporter Changes
- The export command now exports the variable forms attribute
- Dictionary exports now are in
exports
instead ofdd
folder
- Importer Changes
- The import command now reads in the
commonly_used
column - The import command now imports the variable forms attribute
- CSVs of forms can now be imported using
spout import <forms.csv> --forms
- The import command now reads in the
- Gem Changes
- Updated to Ruby 2.4.1
- Updated to bundler 1.13
- Updated to colorize 0.8.1
- Updated to simplecov 0.14.1
Refactoring
- General code cleanup based on Rubocop recommendations
Bug Fixes
- The
test_units
example method now works ifnil
is defined inVALID_UNITS
v0.11.1 (February 4, 2016)
Bug Fix
- Fixed a bug that prevented variables without graphs from being pushed to server
v0.11.0 (January 19, 2016)
Deprecations
- Image Command
- Spout variable graphs are no longer required as images by the NSRR webserver and have been removed
Enhancements
- Deploy Command
- The deploy command can now accept flags and arguments that modify and scope graphs and images
- ex:
spout deploy WEBSERVER var1 var2 --rows=100 --clean
- This pushes a clean version of graphs and images based on the first 100 rows in the CSVs for var1 and var2
- ex:
- Spout now provides detailed information when deploying variables, forms, and domains
- CSVs can now be grouped into subfolders within their version folders, ex:
<project_name>/csvs/<VERSION>/dataset-main.csv
<project_name>/csvs/<VERSION>/subfolder/dataset-extra-a.csv
<project_name>/csvs/<VERSION>/subfolder/dataset-extra-b.csv
CHANGELOG.md
andKNOWNISSUES.md
are now uploaded alongside datasets during a deploy
- The deploy command can now accept flags and arguments that modify and scope graphs and images
- Graph Command
- Tables no longer include unknown values for variables that don't exist across other CSVs with the same subject and visit
- Tables still track unknown values if the CSV contains a column for the variable, but the cell for subject is blank
- Histograms of variables that only contain a small range (less than 12) of integers now use discrete buckets of size 1 instead of creating fractional buckets
- Numbers less than one now respect the precision of the number when computing means and related statistics
- Export Command
- Commonly Used attribute is now included in data dictionary exports
- Tests Added
- New tests were added to check the format of variable names, form names, and domain names
- Help Command
- The help command now allows users to learn more about individual commands
- ex:
spout help deploy
- ex:
- The help command now allows users to learn more about individual commands
- Gem Changes
- Updated to Ruby 2.3.0
- Bundler is now a required dependency
Refactoring
- Started refactoring code base to better adhere to RuboCop style recommendations
- Replaced dependency on
ansi/code
with colorize for better compatibility with Windows
v0.10.2 (December 29, 2014)
Bug Fix
- Fixed an issue that flooded test output with uninitialized string class instance variable
@disable_colorization
v0.10.1 (December 1, 2014)
Bug Fix
- Fixed an issue that prevented
spout deploy
from searching for non-annotated/lightweight tags