sugar-high 0.4.6.1 → 0.4.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6.1
1
+ 0.4.6.2
@@ -0,0 +1,6 @@
1
+ module Math
2
+ def self.log10e
3
+ 0.4342944819032518
4
+ end
5
+ end
6
+
@@ -0,0 +1,11 @@
1
+ module NumericCheckExt
2
+ def is_numeric? arg
3
+ arg.is_a? Numeric
4
+ end
5
+
6
+ alias_method :is_num?, :is_numeric?
7
+
8
+ def check_numeric! arg
9
+ raise ArgumentError, "Argument must be Numeric" if !is_numeric? arg
10
+ end
11
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sugar-high}
8
- s.version = "0.4.6.1"
8
+ s.version = "0.4.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{Kristian Mandrup}]
12
- s.date = %q{2011-06-11}
12
+ s.date = %q{2011-06-13}
13
13
  s.description = %q{More Ruby sugar - inspired by the 'zuker' project}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -43,10 +43,12 @@ Gem::Specification.new do |s|
43
43
  "lib/sugar-high/hash.rb",
44
44
  "lib/sugar-high/includes.rb",
45
45
  "lib/sugar-high/kind_of.rb",
46
+ "lib/sugar-high/math.rb",
46
47
  "lib/sugar-high/metaclass.rb",
47
48
  "lib/sugar-high/methods.rb",
48
49
  "lib/sugar-high/module.rb",
49
50
  "lib/sugar-high/not.rb",
51
+ "lib/sugar-high/numeric.rb",
50
52
  "lib/sugar-high/path.rb",
51
53
  "lib/sugar-high/properties.rb",
52
54
  "lib/sugar-high/regexp.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugar-high
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6.1
4
+ version: 0.4.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-06-11 00:00:00.000000000Z
12
+ date: 2011-06-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2157513880 !ruby/object:Gem::Requirement
16
+ requirement: &2153422960 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '2.5'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2157513880
24
+ version_requirements: *2153422960
25
25
  description: More Ruby sugar - inspired by the 'zuker' project
26
26
  email: kmandrup@gmail.com
27
27
  executables: []
@@ -56,10 +56,12 @@ files:
56
56
  - lib/sugar-high/hash.rb
57
57
  - lib/sugar-high/includes.rb
58
58
  - lib/sugar-high/kind_of.rb
59
+ - lib/sugar-high/math.rb
59
60
  - lib/sugar-high/metaclass.rb
60
61
  - lib/sugar-high/methods.rb
61
62
  - lib/sugar-high/module.rb
62
63
  - lib/sugar-high/not.rb
64
+ - lib/sugar-high/numeric.rb
63
65
  - lib/sugar-high/path.rb
64
66
  - lib/sugar-high/properties.rb
65
67
  - lib/sugar-high/regexp.rb