boolean_class 0.0.1 → 0.0.2
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.
- data/.travis.yml +6 -0
- data/README.md +2 -0
- data/boolean_class.gemspec +3 -6
- data/lib/boolean_class/version.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- metadata +22 -11
data/.travis.yml
ADDED
data/README.md
CHANGED
data/boolean_class.gemspec
CHANGED
@@ -10,12 +10,8 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.version = BooleanClass::VERSION
|
11
11
|
gem.summary = %q{Performs type conversion from anything to true:TrueClass / false:FalseClass}
|
12
12
|
gem.description = <<-DESC
|
13
|
-
Performs type conversion from anything to true:TrueClass / false:FalseClass
|
14
|
-
|
15
|
-
Similar to boolean gem but:
|
16
|
-
- without parse_bool()
|
17
|
-
- without raising exceptions
|
18
|
-
- without to_bool() to_b() methods
|
13
|
+
Performs type conversion from anything to true:TrueClass / false:FalseClass.
|
14
|
+
Similar to boolean gem but without parse_bool(), to_bool() and to_b() and without raising exceptions.
|
19
15
|
DESC
|
20
16
|
|
21
17
|
gem.required_ruby_version = '>= 1.9.3'
|
@@ -36,5 +32,6 @@ DESC
|
|
36
32
|
gem.add_development_dependency "rspec", "~> 2.12"
|
37
33
|
gem.add_development_dependency "redcarpet", "~> 2.2"
|
38
34
|
gem.add_development_dependency "yard", "~> 0.8"
|
35
|
+
gem.add_development_dependency "simplecov", "~> 0.7"
|
39
36
|
|
40
37
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'boolean_class'
|
2
|
+
require 'simplecov'
|
2
3
|
|
3
4
|
# Require this file using `require "spec_helper"` within each of your specs
|
4
5
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
@@ -10,3 +11,5 @@ RSpec.configure do |config|
|
|
10
11
|
# Run specs in random order to surface order dependencies.
|
11
12
|
config.order = 'random'
|
12
13
|
end
|
14
|
+
|
15
|
+
SimpleCov.start
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boolean_class
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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: 2013-02-
|
12
|
+
date: 2013-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -75,16 +75,26 @@ dependencies:
|
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0.8'
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: simplecov
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0.7'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0.7'
|
94
|
+
description: ! 'Performs type conversion from anything to true:TrueClass / false:FalseClass.
|
86
95
|
|
87
|
-
|
96
|
+
Similar to boolean gem but without parse_bool(), to_bool() and to_b() and without
|
97
|
+
raising exceptions.
|
88
98
|
|
89
99
|
'
|
90
100
|
email:
|
@@ -95,6 +105,7 @@ extra_rdoc_files: []
|
|
95
105
|
files:
|
96
106
|
- .gitignore
|
97
107
|
- .rspec
|
108
|
+
- .travis.yml
|
98
109
|
- .yardopts
|
99
110
|
- Gemfile
|
100
111
|
- LICENSE.txt
|