quantize 0.0.2 → 0.0.3
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.
- checksums.yaml +7 -0
- data/README.rdoc +2 -2
- data/lib/quantize.rb +0 -1
- data/lib/quantize/version.rb +1 -1
- metadata +34 -59
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 30c7e6368217038b3c0a23467b7d7bfa82d56c65
|
4
|
+
data.tar.gz: 8d31cd270c422cac383b46a29382b063d0e82a02
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0ada555fcb9ad89a4304580cc15780b0f5ed86dd537260e60ed1523cd495b5f1d9ea46e6ba8c51e9b46f45eb6db620e689ec50127be6790032e8e24ff8d4b5cc
|
7
|
+
data.tar.gz: 8c6fc18983c2ec0174332bdfc5145f91d716a60c132d8573c5335abacf0308b347728e36897982a1fc5051f56872cd72a034d6d36445483d4530fdf96f24590d
|
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Quantize
|
2
2
|
|
3
|
-
Adds a quantize() method to the Integer class.
|
3
|
+
Adds a quantize() method to the Integer class. Floors any integer to the nearest lower multiple of the supplied number.
|
4
4
|
|
5
5
|
== Briefly
|
6
6
|
|
@@ -14,4 +14,4 @@ Adds a quantize() method to the Integer class. Rounds any integer to the nearest
|
|
14
14
|
|
15
15
|
== Copyright
|
16
16
|
|
17
|
-
Copyright (c)
|
17
|
+
Copyright (c) 2010 Bruce James. See LICENSE for details.
|
data/lib/quantize.rb
CHANGED
data/lib/quantize/version.rb
CHANGED
metadata
CHANGED
@@ -1,86 +1,61 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: quantize
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 0.0.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Bruce James
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-10-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
22
14
|
name: rspec
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
33
20
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: ''
|
28
|
+
email:
|
37
29
|
- custard@cpan.org
|
38
30
|
executables: []
|
39
|
-
|
40
31
|
extensions: []
|
41
|
-
|
42
32
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
files:
|
33
|
+
files:
|
45
34
|
- lib/quantize/version.rb
|
46
35
|
- lib/quantize.rb
|
47
36
|
- LICENSE
|
48
37
|
- README.rdoc
|
49
|
-
has_rdoc: true
|
50
38
|
homepage: http://www.facebook.com/CustardCat
|
51
39
|
licenses: []
|
52
|
-
|
40
|
+
metadata: {}
|
53
41
|
post_install_message:
|
54
42
|
rdoc_options: []
|
55
|
-
|
56
|
-
require_paths:
|
43
|
+
require_paths:
|
57
44
|
- lib
|
58
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
hash: 23
|
73
|
-
segments:
|
74
|
-
- 1
|
75
|
-
- 3
|
76
|
-
- 6
|
45
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
77
54
|
version: 1.3.6
|
78
55
|
requirements: []
|
79
|
-
|
80
56
|
rubyforge_project: quantize
|
81
|
-
rubygems_version:
|
57
|
+
rubygems_version: 2.0.3
|
82
58
|
signing_key:
|
83
|
-
specification_version:
|
59
|
+
specification_version: 4
|
84
60
|
summary: Adds a quantize() method to the Integer class
|
85
61
|
test_files: []
|
86
|
-
|