Skip to content

Commit

Permalink
Bump to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bricker committed Nov 10, 2023
1 parent a6b2d4f commit 49bbc21
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog

## 2.0.1

- Added LICENSE

## 2.0.0

- Added "y" as truthy value for String (Gustav Bertram)
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

Natural coercion into boolean (true / false). Useful for API interaction.


## Installation

`gem "to_bool"`


## Usage

Call `to_bool` or `to_boolean` on any object. It will *usually* return false, except:
Expand All @@ -25,6 +23,6 @@ Yes!

### Running Tests

```
```sh
bundle exec rspec
```
5 changes: 3 additions & 2 deletions to_bool.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |gem|
gem.name = "to_bool"
gem.version = "2.0.0"
gem.version = "2.0.1"
gem.authors = ["Bryan Ricker"]
gem.email = ["bryancricker@gmail.com"]
gem.email = ["rubygems@bryanricker.com"]
gem.description = %q{Super-simple gem that extends some Ruby classes with a "to_bool" method, which converts any object naturally into a boolean.}
gem.summary = %q{Convert any object naturally into a boolean}
gem.homepage = "http://github.com/bricker/to_bool"
gem.license = "MIT"

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
Expand Down

0 comments on commit 49bbc21

Please sign in to comment.