cowtech-lib 1.9.6.1 → 1.9.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/cowtech-lib.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cowtech-lib}
8
- s.version = "1.9.6.1"
8
+ s.version = "1.9.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Shogun}]
12
- s.date = %q{2011-07-14}
12
+ s.date = %q{2011-07-17}
13
13
  s.description = %q{A general purpose utility library.}
14
14
  s.email = %q{shogun_panda@me.com}
15
15
  s.extra_rdoc_files = [
@@ -83,11 +83,11 @@ module Cowtech
83
83
  # Adjust the default value
84
84
  case option[:type]
85
85
  when :bool then
86
- option[:default] = false if option[:default] == false
86
+ option[:default] = false if option.has_key?(:default)
87
87
  when :action then
88
88
  option[:required] = false
89
89
  else
90
- option[:default] = @@valid_types[option[:type]][1] if option[:default].is_a?(@@valid_types[option[:type]][0]) && option[:default] != nil
90
+ option[:default] = @@valid_types[option[:type]][1] if !option.has_key?(:default) || !option[:default].is_a?(@@valid_types[option[:type]][0])
91
91
  end
92
92
 
93
93
  # Adjust priority
@@ -4,7 +4,7 @@ module Cowtech
4
4
  MAJOR = 1
5
5
  MINOR = 9
6
6
  PATCH = 6
7
- BUILD = 1
7
+ BUILD = 2
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cowtech-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.6.1
4
+ version: 1.9.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-07-14 00:00:00.000000000Z
12
+ date: 2011-07-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: open4
16
- requirement: &2153527200 !ruby/object:Gem::Requirement
16
+ requirement: &2152077880 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2153527200
24
+ version_requirements: *2152077880
25
25
  description: A general purpose utility library.
26
26
  email: shogun_panda@me.com
27
27
  executables: []