str_to_bool 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/str_to_bool.rb +5 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7159aeefb5d6e01f9a3d061ba81804e0f8e8832e
4
+ data.tar.gz: c46fe66c140ba68f9bb2e66d1bd053646e18f9bc
5
+ SHA512:
6
+ metadata.gz: 8844084b44c09e630e0648c5b056daaa95ce5254b5fe235b0c9e20dae78c6015c340e1678764a387544a371f8b1dda25743122d1eb9127e4a790f0b5260af6c0
7
+ data.tar.gz: 8269f727e58224e38e106f19ce86874eaed0ccad742e7d37283fff56ffc18b2d499656828d062563ba7c6b21ac96d319c8c7b467ae1470f2fde3a6f2468cc0d5
@@ -0,0 +1,5 @@
1
+ class String
2
+ def to_bool
3
+ self == "true" ? true : false
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: str_to_bool
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Mohan Chhalotre
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple convert String to boolean type gem
14
+ email: mohan.chhalotre@clecotech.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/str_to_bool.rb
20
+ homepage: http://rubygems.org/gems/str_to_bool
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.5.1
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: String to boolean type
44
+ test_files: []