Skip to content

FizzBuzz, version 0.8.0.

Latest
Compare
Choose a tag to compare
@kwilczynski kwilczynski released this 04 Feb 23:32
v0.8.0
05b69da

Added

  • Added new step singleton method to the FizzBuzz class.
  • Added Code of Conduct to the project.
  • Added new --line command line switch to the fizzbuzz script, which allows for printing values in a single line.
  • Added support for the Integer Unification in Ruby version 2.4 onwards.
  • Added few optimisations e.g., LIKELY and UNLIKELY macros, and improved the INTEGER_P macro.
  • Added support for installing and building on Windows has been confirmed with an environment set by Ruby Installer and DevKit (which is MinGW under the hood).
  • Added more CFLAGS to extconf.rb file.
  • Added definition of _DEFAULT_SOURCE since _BSD_SOURCE and _SVID_SOURCE are deprecated.
  • Added friendly error message when the ruby-fizzbuzz Ruby gem is missing.
  • Added .editorconfig file for Ruby.
  • Added very basic .gitattributes file.
  • Added .mailmap file to be used by Git.
  • Added NOTICE file to the project.

Changed

  • Moved to Ubuntu Xenial on Travis CI.
  • Re-factored Array class integration.
  • Re-factored custom typedef types and some other small changes.
  • Replaced File.exists? with File.exist?.
  • Replaced usage of the volatile keyword with the RB_GC_GUARD macro.
  • Moved to using module constants for the FizzBuzz specific strings values e.g., Fizz, Buzz and FizzBuzz to improve performance since constants are allocated only once.
  • Updated public GPG key.
  • Updated public signing key.
  • Updated Ruby gem dependencies.
  • Removed surplus for-loop replacing it with a simpler while-loop.
  • Removed surplus license headers from each file.
  • Removed deprecated Gem::Specification#has_rdoc=.
  • Removed integration with services like Coveralls, Code Climate and Gemnasium.
  • Addressed some of the GCC compiler warnings.

Fixed

  • Resolved Bundler issues by updating its version prior to installing Ruby gems when on Travis CI.
  • Fixed pattern for test files in Guardfile.
  • Addressed RuntimeError caused by modification of a frozen string.

Deprecated

  • Retired support and testing with Ruby 1.9.x, 2.0.x, 2.1.x, 2.2.x and 2.3.x on Travis CI.
  • Retired support and testing for Rubinius on Travis CI.
  • Retried testing with Ruby head on Travis CI.