Project

bcl

0.01
Low commit activity in last 3 years
There's a lot of open issues
A long-lived project that still receives updates
This gem contains helper methods for generating the Component XML file needed to upload files to the Building Component Library. It also contains the classes needed for logging in via the api and uploading generating components and measures.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 2.4.10
~> 13.0
~> 3.9

Runtime

= 3.2.4
~> 1.0.1
~> 0.9
~> 2.3.9
= 0.1.0
= 0.0.5
= 3.2.5
~> 2.3.2
 Project Readme

BCL Gem

All the methods to build, test, and release the gem available as rake tasks via bundler/gem_tasks. Note that you can see all the rake tasks by calling rake -T at the command line.

Building BCL Gem

If this is a new version that will be release first edit the ./lib/bcl/version.rb file and increment the version number. This will automatically propagate through the build process.

rake build

To install:

rake install

Releasing Gem

Note: Releasing the gem will call the build command, tag it in Git, and push to rubygems.

run rake release

Testing

rake spec

Uninstall

run gem uninstall bcl -a

Workflow for pushing content to BCL

run rake bcl:stage_and_upload[/path/to/content, resetFlag]

where path/to/content is a path to the directory of measures or components to upload and resetFlag is a boolean flag indicating whether to clear already staged content and receipt files (true), or to keep the staged content and receipt files (false).

Staging and Uploading tasks can be called separately:

rake bcl:stage_content[/path/to/content, resetFlag]

rake bcl:upload_content[resetFlag]