Releases: kwilczynski/ruby-fizzbuzz
Releases · kwilczynski/ruby-fizzbuzz
FizzBuzz, version 0.8.0.
Added
- Added new
stepsingleton method to the FizzBuzz class. - Added Code of Conduct to the project.
- Added new
--linecommand line switch to thefizzbuzzscript, 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.,
LIKELYandUNLIKELYmacros, and improved theINTEGER_Pmacro. - 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
CFLAGStoextconf.rbfile. - Added definition of
_DEFAULT_SOURCEsince_BSD_SOURCEand_SVID_SOURCEare deprecated. - Added friendly error message when the
ruby-fizzbuzzRuby gem is missing. - Added
.editorconfigfile for Ruby. - Added very basic
.gitattributesfile. - Added
.mailmapfile to be used by Git. - Added
NOTICEfile to the project.
Changed
- Moved to Ubuntu Xenial on Travis CI.
- Re-factored Array class integration.
- Re-factored custom
typedeftypes and some other small changes. - Replaced
File.exists?withFile.exist?. - Replaced usage of the
volatilekeyword with theRB_GC_GUARDmacro. - 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 simplerwhile-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
RuntimeErrorcaused 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.
FizzBuzz, version 0.7.0.
Added
- Added
to_hash,as_json,to_jsonandfrom_json(singleton) to the FizzBuzz class. - Added rudimentary
Vagrantfilethat can be used to build a development environment. - Added the
GuardRuby gem for convenience, with an appropriateGuardfile. - Added LLVM (
clang) compiler to build with to Travis CI.
Changed
- Re-factored
fizzbuzz(singleton) from the FizzBuzz class to speed it up. - Re-factored tests to utilise modern version of the
test-unitRuby gem. - Re-factored and cleaned up small portions of code and documentation.
- Updated
Rakefileto no longer runtestbeforebenchmark.
Fixed
- Correctly return
Enumeratorwhen integrating with the Range class. - Fixed benchmarks concerning Array and Range integration.
- Fixed Travis CI build against Rubinius.
- Fixed build to make it work with C++ compilers.
- Fixed version number to comply with Semantic Versioning.
Deprecated
- No longer use of
Enumerable#entriesin the Array integration, achieving
better performance. - Retired testing with Ruby 1.9.2 and 2.1.0, and added 2.1.5 on Travis CI.
FizzBuzz, version 0.6.0.
Added
- Added Ruby 2.1.0 to Travis CI.
- Added BitDeli and Gemnasium integration.
Changed
- Updated development dependencies.
- Re-factored and cleaned up small portions of code.
- Made Rake
testtask to be the default tasks. - Updated the
.gitignorefile to cover Bundler, rbenv, etc.
Fixed
- Fixed issue reported by LLVM (
clang).
FizzBuzz, version 0.5.0.
Added
- Added integration with Array and Range types.
- Added simple benchmark.
FizzBuzz, version 0.4.0.
Added
- Added Coveralls and Code Climate integration (and hence improved code test coverage).
Changed
- Improved error handling and made code more resilient to errors.
Fixed
- Fixed formatting and white spaces.
Deprecated
- Retired support for Ruby 1.8.x (no support for MRI, Ruby Enterprise Edition and Rubinius).
FizzBuzz, version 0.3.0.
Added
- Added custom exceptions and improved error handling.
- Added more variety of Rubies on which tests are being run with Travis CI.
- Added project to RubyGems so it can be installed with
justgem install ruby-fizzbuzzcommand.
Changed
- Renamed project from fizzbuzz to ruby-fizzbuzz to avoid clashes with other
Ruby gems hosted on RubyGems web site. - Made
mkmfinextconf.rbmore user-friendly (it now reports missing build-time
dependencies better). - Split Ruby gem specification (or gemspec if you wish) away from Rakefile
into its own file (namelyruby-fizzbuzz.gemspec). - Improved documentation and removed bunch of small code smells.
FizzBuzz, version 0.2.0.
Added
- Added
is_fizz?,is_buzz?andis_fizzbuzz?singleton methods to FizzBuzz class. - Added
fizz?,buzz?andfizzbuzz?methods to the Integer class via a monkey-patch
for convenience. (#2)
Changed
- Changed behaviour of the
FizzBuzz#[]singleton method, so it will yield a FizzBuzz
result for a given arbitrary Integer value. (#1) - Re-factored code to make it cleaner, and added more tests and improved coverage.
- Re-factored
FizzBuzzso it now does not assume that we always want to calculate
results from1ton-- it is now possible to calculate FizzBuzz results for
givenn,mvalues, wherendenotes start andmdenotes stop value.
FizzBuzz, version 0.1.0.
Added
- First version of FizzBuzz.