roman_numeral_evaluator 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.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
@@ -7,7 +7,7 @@ module RomanNumeralEvaluator
7
7
 
8
8
  # problem is a string representing a Roman math problem, such as 'I + I'. Returns roman result, as a string, such as 'II'
9
9
  def self.solve(problem)
10
- to_roman(solve_as_integer(problem.upcase))
10
+ to_roman(solve_as_integer(problem))
11
11
  end
12
12
 
13
13
  # Takes 'I + I', returns 2. Recursively replaces a first Roman numeral in a string with decimal.
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RomanNumeralEvaluator
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roman_numeral_evaluator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -35,6 +35,7 @@ executables: []
35
35
  extensions: []
36
36
  extra_rdoc_files: []
37
37
  files:
38
+ - .gitignore
38
39
  - Gemfile
39
40
  - Gemfile.lock
40
41
  - Rakefile