percent_of 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -2
- data/Gemfile.lock +1 -1
- data/README.md +3 -1
- data/percent_of.gemspec +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e36c9db90a000b1f8019efbc8ce1bdbc902846e2
|
|
4
|
+
data.tar.gz: 9cdd17e45fc0137cc9c008a40ef30b362dcb1603
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf86fcc9229ea541c21645ed8597313834f997a8b2bb3e0e90f7bf44638da68e36486793883f13944ac01d04d0390279ea7d82fc146fbf41fe7d2d6ff368972d
|
|
7
|
+
data.tar.gz: ce2c95ba4fe8b919056e34d582f6f42426c3be5ae720c981f8950832b666a4e0bf72b41ec551708fcf67a2546f7934a4947a86f29fd012955c20a3e2e31b9d6a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# PercentOf
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/ducknorris/percent_of)
|
|
3
|
+
[](http://badge.fury.io/rb/percent_of) [](https://travis-ci.org/ducknorris/percent_of)
|
|
4
4
|
|
|
5
5
|
Module that implements ```percent_of``` for Fixnum and Float classes in Ruby.
|
|
6
6
|
|
|
7
|
+
It returns the percent of a number from another number.
|
|
8
|
+
|
|
7
9
|
## How to use
|
|
8
10
|
|
|
9
11
|
Add it to your ```Gemfile```.
|
data/percent_of.gemspec
CHANGED
|
@@ -3,11 +3,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |spec|
|
|
5
5
|
spec.name = "percent_of"
|
|
6
|
-
spec.version = "0.0.
|
|
6
|
+
spec.version = "0.0.2"
|
|
7
7
|
spec.authors = ["Catalin Ilinca"]
|
|
8
8
|
spec.email = ["c@talin.ro"]
|
|
9
|
-
spec.description = %q{
|
|
10
|
-
spec.summary = %q{
|
|
9
|
+
spec.description = %q{It returns the percent of a number from another number.}
|
|
10
|
+
spec.summary = %q{#percent_of for Fixnum and Float.}
|
|
11
11
|
spec.homepage = "https://github.com/ducknorris/percent_of"
|
|
12
12
|
spec.license = "MIT"
|
|
13
13
|
spec.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: percent_of
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Catalin Ilinca
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
- - '>='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
-
description:
|
|
69
|
+
description: It returns the percent of a number from another number.
|
|
70
70
|
email:
|
|
71
71
|
- c@talin.ro
|
|
72
72
|
executables: []
|
|
@@ -111,7 +111,7 @@ rubyforge_project:
|
|
|
111
111
|
rubygems_version: 2.2.2
|
|
112
112
|
signing_key:
|
|
113
113
|
specification_version: 4
|
|
114
|
-
summary:
|
|
114
|
+
summary: '#percent_of for Fixnum and Float.'
|
|
115
115
|
test_files:
|
|
116
116
|
- spec/percent_of_spec.rb
|
|
117
117
|
- spec/spec_helper.rb
|