Skip to content

Commit

Permalink
Fixes and removal of roman-numerals.
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Feb 9, 2016
1 parent 0a67c61 commit 5293303
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions lib/lita/handlers/onewheel_karma.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'roman-numerals'

module Lita
module Handlers
class OnewheelKarma < Handler
Expand Down
7 changes: 3 additions & 4 deletions lita-onewheel-karma.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'lita-onewheel-karma'
spec.version = '1.0.0'
spec.version = '1.0.1'
spec.authors = ['Andrew Kreps']
spec.email = ['andrew.kreps@gmail.com']
spec.description = 'Karma with a maths-focused twist.'
Expand All @@ -14,11 +14,10 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.add_runtime_dependency 'lita', '~> 4.4'
spec.add_runtime_dependency 'roman-numerals', '~> 0.3'
spec.add_runtime_dependency 'lita', '~> 4.7'

spec.add_development_dependency 'bundler', '~> 1.3'
# spec.add_development_dependency 'pry-byebug' # I go inline.
# spec.add_development_dependency 'pry-byebug', '~> 3.1'
spec.add_development_dependency 'rake', '~> 10.4'
spec.add_development_dependency 'rack-test', '~> 0.6'
spec.add_development_dependency 'rspec', '~> 3.0'
Expand Down
1 change: 0 additions & 1 deletion spec/lita/handlers/onewheel_karma_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

describe Lita::Handlers::OnewheelKarma, lita_handler: true do
def get_negative(num)
# "a has #{RomanNumerals.to_roman(num)}💩 karma!"
"a has -#{num} karma!"
end

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
Expand Down

0 comments on commit 5293303

Please sign in to comment.