RubyGems Navigation menu

decc_2050_model 0.0.7

DECC 2050 CALCULATOR TOOL A c version and ruby wrapper for the www.decc.gov.uk 2050 energy and climate change excel calculator Further detail on the project: http://www.decc.gov.uk/2050 Canonical source: http://github.com/decc/decc_2050_model DEPENDENCIES ruby 1.9.2 (including development headers) basic c development headers This has ONLY been tested on OSX and on Ubuntu 64 bit EC2 ami. Grateful for reports from other platforms. INSTALLATION Note that this compiles the underlying c code, which might take 10-20 minutes or so gem install decc_2050_model UPDATING TO NEWER VERSIONS OF EXCEL MODEL First of all, you need to be working on the github version of the code, not the rubygem: git clone http://github.com/decc/decc_2050_model Then put the new spreadsheet in spreadsheet/2050Model.xlsx Then, from the top directory of the gem: bundle rm ext/decc_2050_model.c bundle exec rake The next step is to check whether lib/decc_2050_model/decc_2050_model_result.rb and lib/decc_2050_model/model_structure.rb need to be altered so that they pick up the correct places in the underlying excel. The final stage is to build and install the new gem: gem build decc_2050_model.gemspec gem install decc_2050_model-.gem ... where is the version number of the gem file that was created in the folder.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 3.5.1 - December 04, 2013 x86_64-linux (25.4 MB)
  2. 3.5.1 - November 27, 2013 (2.3 MB)
  3. 3.5.0 - November 19, 2013 (2.3 MB)
  4. 3.5.0 - November 19, 2013 x86_64-linux (25.4 MB)
  5. 3.4.8 - November 12, 2013 x86_64-linux (25.4 MB)
  6. 0.0.7 - June 04, 2012 (2.48 MB)
Show all versions (24 total)

Runtime Dependencies (1):

ffi >= 1.0.11

Development Dependencies (1):

Owners:

Authors:

  • Thomas Counsell, Department of Energy and Climate Change, Her Majesty's Government, UK

SHA 256 checksum:

66d5009430c07981f9ff26d99b5a687a961ec1e0ec9cd4b664d1a442b2d8dfab

Total downloads 83,347

For this version 3,619

Licenses:

N/A

Required Ruby Version: ~> 1.9.1

Links: