Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding simplecov to the project

  • Loading branch information...
commit 260ffa321876049e5cf4b9f2acde8c6abe826d4b 1 parent acad560
@bokmann authored
Showing with 11 additions and 57 deletions.
  1. +7 −2 Gemfile.lock
  2. +2 −55 sentient_user.gemspec
  3. +2 −0  test/helper.rb
View
9 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- font-awesome-rails (0.3.2)
+ sentient_user (0.3.2)
railties (~> 3.1)
GEM
@@ -53,6 +53,10 @@ GEM
shoulda-context (1.0.0)
shoulda-matchers (1.3.0)
activesupport (>= 3.0.0)
+ simplecov (0.6.4)
+ multi_json (~> 1.0)
+ simplecov-html (~> 0.5.3)
+ simplecov-html (0.5.3)
sprockets (2.1.3)
hike (~> 1.2)
rack (~> 1.0)
@@ -64,7 +68,8 @@ PLATFORMS
ruby
DEPENDENCIES
- font-awesome-rails!
rake
rdoc
+ sentient_user!
shoulda (>= 2.11.3)
+ simplecov
View
57 sentient_user.gemspec
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.name = "font-awesome-rails"
+ gem.name = "sentient_user"
gem.require_paths = ["lib"]
gem.version = SentientUser::VERSION
@@ -19,61 +19,8 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "rake"
gem.add_development_dependency "rdoc"
gem.add_development_dependency "shoulda", ">= 2.11.3"
+ gem.add_development_dependency "simplecov"
end
-
-
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
-# -*- encoding: utf-8 -*-
-#
-# Gem::Specification.new do |s|
-# s.name = %q{sentient_user}
-# s.version = "0.3.2"
-#
-# s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
-# s.authors = ["bokmann"]
-# s.date = %q{2011-01-17}
-# s.description = %q{lets the User model in most authentication frameworks know who is the current user"}
-# s.email = %q{dbock@codesherpas.com}
-# s.extra_rdoc_files = [
-# "LICENSE",
-# "README.rdoc"
-# ]
-# s.files = [
-# ".document",
-# "LICENSE",
-# "README.rdoc",
-# "Rakefile",
-# "VERSION",
-# "lib/sentient_user.rb",
-# "sentient_user.gemspec",
-# "test/helper.rb",
-# "test/test_sentient_user.rb"
-# ]
-# s.homepage = %q{http://github.com/bokmann/sentient_user}
-# s.require_paths = ["lib"]
-# s.rubygems_version = %q{1.3.7}
-# s.summary = %q{A trivial bit of common code}
-# s.test_files = [
-# "test/helper.rb",
-# "test/test_sentient_user.rb"
-# ]
-#
-# if s.respond_to? :specification_version then
-# current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
-# s.specification_version = 3
-#
-# if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
-# s.add_development_dependency(%q<shoulda>, [">= 2.11.3"])
-# else
-# s.add_dependency(%q<shoulda>, [">= 2.11.3"])
-# end
-# else
-# s.add_dependency(%q<shoulda>, [">= 2.11.3"])
-# end
-# end
-
View
2  test/helper.rb
@@ -1,6 +1,8 @@
require 'rubygems'
require 'test/unit'
require 'shoulda'
+require 'simplecov'
+SimpleCov.start
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
Please sign in to comment.
Something went wrong with that request. Please try again.