to_bool 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +1 -0
  2. data/to_bool.gemspec +2 -2
  3. metadata +3 -3
data/README.md CHANGED
@@ -14,6 +14,7 @@ Call `to_bool` on any object. It will *usually* return false, except:
14
14
 
15
15
  * String: `"true"`, `"1"`, and `"yes"` are true
16
16
  * Integer: `1` is true
17
+ * TrueClass: `true` is true
17
18
 
18
19
  See the spec, it pretty much maps it out.
19
20
 
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "to_bool"
7
- gem.version = "1.0.0"
7
+ gem.version = "1.0.1"
8
8
  gem.authors = ["Bryan Ricker"]
9
9
  gem.email = ["bricker88@gmail.com"]
10
10
  gem.description = %q{Super-simple gem that extends some Ruby classes with a "to_bool" method, which converts any object naturally into a boolean.}
11
11
  gem.summary = %q{Convert any object naturally into a boolean}
12
- gem.homepage = "http://github.com/bricker88/to_bool"
12
+ gem.homepage = "http://github.com/bricker/to_bool"
13
13
 
14
14
  gem.files = `git ls-files`.split($/)
15
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: to_bool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-15 00:00:00.000000000 Z
12
+ date: 2012-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -42,7 +42,7 @@ files:
42
42
  - lib/to_bool.rb
43
43
  - spec/to_bool_spec.rb
44
44
  - to_bool.gemspec
45
- homepage: http://github.com/bricker88/to_bool
45
+ homepage: http://github.com/bricker/to_bool
46
46
  licenses: []
47
47
  post_install_message:
48
48
  rdoc_options: []