public
Created

"Unresolved

  • Download Gist
bundle.out
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
$ 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.out
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
$ 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
spec_helper.rb
Ruby
1 2
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'xml2yaml'
xml2yaml.gemspec
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# 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
xml2yaml_spec.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.