Skip to content

Commit 05b69da

Browse files
committed
FizzBuzz, version 0.8.0
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
1 parent 696b194 commit 05b69da

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,54 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [0.8.0] - 2020-02-05
11+
### Added
12+
13+
- Added new `step` singleton method to the _FizzBuzz_ class.
14+
- Added **Code of Conduct** to the project.
15+
- Added new `--line` command line switch to the `fizzbuzz` script, which allows for printing values in a single line.
16+
- Added support for the _Integer Unification_ in Ruby version **2.4** onwards.
17+
- Added few optimisations e.g., `LIKELY` and `UNLIKELY` macros, and improved the `INTEGER_P` macro.
18+
- Added support for installing and building on _Windows_ has been confirmed with an environment set by _Ruby Installer_
19+
and _DevKit_ (which is _MinGW_ under the hood).
20+
- Added more `CFLAGS` to `extconf.rb` file.
21+
- Added definition of `_DEFAULT_SOURCE` since `_BSD_SOURCE` and `_SVID_SOURCE` are deprecated.
22+
- Added friendly error message when the `ruby-fizzbuzz` Ruby gem is missing.
23+
- Added `.editorconfig` file for Ruby.
24+
- Added very basic `.gitattributes` file.
25+
- Added `.mailmap` file to be used by Git.
26+
- Added NOTICE file to the project.
27+
28+
### Changed
29+
30+
- Moved to _Ubuntu Xenial_ on _Travis CI_.
31+
- Re-factored _Array_ class integration.
32+
- Re-factored custom `typedef` types and some other small changes.
33+
- Replaced `File.exists?` with `File.exist?`.
34+
- Replaced usage of the `volatile` keyword with the `RB_GC_GUARD` macro.
35+
- Moved to using module constants for the _FizzBuzz_ specific strings values e.g., _Fizz_, _Buzz_ and _FizzBuzz_ to
36+
improve performance since constants are allocated only once.
37+
- Updated public GPG key.
38+
- Updated public signing key.
39+
- Updated Ruby gem dependencies.
40+
- Removed surplus `for`-loop replacing it with a simpler `while`-loop.
41+
- Removed surplus license headers from each file.
42+
- Removed deprecated `Gem::Specification#has_rdoc=`.
43+
- Removed integration with services like _Coveralls_, _Code Climate_ and _Gemnasium_.
44+
- Addressed some of the _GCC_ compiler warnings.
45+
46+
### Fixed
47+
48+
- Resolved Bundler issues by updating its version prior to installing Ruby gems when on _Travis CI_.
49+
- Fixed pattern for test files in `Guardfile`.
50+
- Addressed `RuntimeError` caused by modification of a frozen string.
51+
52+
### Deprecated
53+
54+
- 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_.
55+
- Retired support and testing for _Rubinius_ on _Travis CI_.
56+
- Retried testing with Ruby _head_ on _Travis CI_.
57+
1058
## [0.7.0] - 2014-12-15
1159
### Added
1260

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.0
1+
0.8.0

lib/fizzbuzz/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ class FizzBuzz
44
#
55
# Current version of _FizzBuzz_.
66
#
7-
VERSION = '0.7.0'.freeze
7+
VERSION = '0.8.0'.freeze
88
end

0 commit comments

Comments
 (0)