Skip to content

Instantly share code, notes, and snippets.

@tamouse
Created July 29, 2013 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamouse/6105708 to your computer and use it in GitHub Desktop.
Save tamouse/6105708 to your computer and use it in GitHub Desktop.
"Unresolved
$ bundle install
Resolving dependencies...
Using rake (10.1.0)
Using i18n (0.6.4)
Using minitest (4.7.5)
Using multi_json (1.7.7)
Using atomic (1.1.10)
Using thread_safe (0.1.2)
Using tzinfo (0.3.37)
Using activesupport (4.0.0)
Using bundler (1.3.5)
Using diff-lcs (1.2.4)
Using rspec-core (2.14.4)
Using rspec-expectations (2.14.0)
Using rspec-mocks (2.14.1)
Using rspec (2.14.1)
Using xml2yaml (0.0.1) from source at .
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
$ rake
WARN: Unresolved specs during Gem::Specification.reset:
minitest (~> 4.2)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/Users/tamara/.rvm/rubies/ruby-2.0.0-p247/bin/ruby -S rspec ./spec/xml2yaml_spec.rb
WARN: Unresolved specs during Gem::Specification.reset:
minitest (~> 4.2)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Xml2yaml
should have a version number
should respond to :convert
Finished in 0.00228 seconds
2 examples, 0 failures
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'xml2yaml'
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'xml2yaml'
Gem::Specification.new do |spec|
spec.name = "xml2yaml"
spec.version = Xml2yaml::VERSION
spec.authors = ["Tamara Temple"]
spec.email = ["tamouse@gmail.com"]
spec.description = %q{convert xml file to yaml file}
spec.summary = %q{convert xml file to yaml file}
spec.homepage = "http://github.com/tamouse"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_dependency "activesupport"
end
require 'spec_helper'
describe Xml2yaml do
it 'should have a version number' do
Xml2yaml::VERSION.should_not be_nil
end
it "should respond to :convert" do
Xml2yaml.should respond_to :convert
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment