cousin_roman 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/README.md +3 -4
- data/cousin_roman.gemspec +2 -2
- data/lib/cousin_roman/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d721d30a8c9bfff8692b8be996a4b10697fb2d60
|
|
4
|
+
data.tar.gz: 9134a9f70a990f750a4c904daaa90878aefd6552
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6fd61fa7907ce017e491be441e96f00c51e94cb67ac1407965dc15bb3d41caf118f4b4898fe3a885cd0d117b911182aa4a5ce363bb674f0c13d1ca25ae76c919
|
|
7
|
+
data.tar.gz: fa39c4136a8b29e9d7d7408a37716ed423f1144cf6422b98368838a640ae1b82ee9b2056db4b7de2cc86f7166cb919184cf609d4122708b27db556092a488321
|
data/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# CousinRoman
|
|
2
2
|
|
|
3
|
-
`CousinRoman` is a `String` extension
|
|
4
|
-
|
|
5
|
-
(following modern subtractive notation)
|
|
3
|
+
`CousinRoman` is a `String` extension which allows you to convert
|
|
4
|
+
Roman numerals (following modern subtractive notation)
|
|
6
5
|
to Arabic numbers (i.e. Integers).
|
|
7
6
|
|
|
8
7
|
## Installation
|
|
@@ -21,7 +20,7 @@ Or install it yourself as:
|
|
|
21
20
|
|
|
22
21
|
## Usage
|
|
23
22
|
|
|
24
|
-
Just use
|
|
23
|
+
Just use `String#to_arabic` or `String#to_arabic!` method.
|
|
25
24
|
|
|
26
25
|
For example:
|
|
27
26
|
|
data/cousin_roman.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = CousinRoman::VERSION
|
|
9
9
|
spec.authors = ["Artem Pyanykh"]
|
|
10
10
|
spec.email = ["artem.pyanykh@gmail.com"]
|
|
11
|
-
spec.description = %q{
|
|
12
|
-
spec.summary = %q{
|
|
11
|
+
spec.description = %q{Easily convert Roman numerals to Integers. Functionality provided via String extension}
|
|
12
|
+
spec.summary = %q{Convert Roman numerals to Integers}
|
|
13
13
|
spec.homepage = "https://github.com/ArtemPyanykh/cousin_roman"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
data/lib/cousin_roman/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cousin_roman
|
|
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
|
- Artem Pyanykh
|
|
@@ -52,7 +52,8 @@ dependencies:
|
|
|
52
52
|
- - '>='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
description:
|
|
55
|
+
description: Easily convert Roman numerals to Integers. Functionality provided via
|
|
56
|
+
String extension
|
|
56
57
|
email:
|
|
57
58
|
- artem.pyanykh@gmail.com
|
|
58
59
|
executables: []
|
|
@@ -96,7 +97,7 @@ rubyforge_project:
|
|
|
96
97
|
rubygems_version: 2.1.8
|
|
97
98
|
signing_key:
|
|
98
99
|
specification_version: 4
|
|
99
|
-
summary:
|
|
100
|
+
summary: Convert Roman numerals to Integers
|
|
100
101
|
test_files:
|
|
101
102
|
- spec/cousin_roman_spec.rb
|
|
102
103
|
- spec/spec_helper.rb
|