Skip to content

Commit

Permalink
Add dependency on psych
Browse files Browse the repository at this point in the history
It's not guaranteeed to be in stdlib, and Syck fucks up the
SeeingIsBelieving::Line serialization (turns it into an array)

Missing Psych was causing rbx to fail, but now depending on it
is causing JRuby to fail. Not sure what to do here.

This is part of #31
  • Loading branch information
JoshCheek committed Jun 29, 2014
1 parent ec3e753 commit 9d5e215
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions seeing_is_believing.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

s.add_dependency "parser", "~> 2.1.4"
s.add_dependency "psych", "~> 2.0"

s.add_development_dependency "pry", "~> 0.10.0"
s.add_development_dependency "haiti", "~> 0.0.3"
s.add_development_dependency "rake", "~> 10.0.3"
s.add_development_dependency "rspec", "~> 2.12.0"
Expand Down
2 changes: 1 addition & 1 deletion spec/line_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'seeing_is_believing/result'

describe SeeingIsBelieving::Line, t:true do
describe SeeingIsBelieving::Line do
Line = described_class

def line_for(*args)
Expand Down

0 comments on commit 9d5e215

Please sign in to comment.