From acdad8cfec3c2873a64cc1584c07a1eaa9de3bd3 Mon Sep 17 00:00:00 2001 From: Joshua Krall Date: Tue, 15 Mar 2011 01:02:36 -0500 Subject: [PATCH] Fixing Rakefile & adding Gemfile, Guardfile --- .gitignore | 1 + Gemfile | 10 ++++++++++ Gemfile.lock | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Guardfile | 8 ++++++++ Rakefile | 6 ++---- 5 files changed, 77 insertions(+), 4 deletions(-) create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 Guardfile diff --git a/.gitignore b/.gitignore index c1e0daf..d8efa07 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ rdoc pkg ## PROJECT::SPECIFIC +.bundle diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..2de9878 --- /dev/null +++ b/Gemfile @@ -0,0 +1,10 @@ +source :rubygems + +gem 'jeweler' +gem 'rspec', '1.3' +gem 'diff-lcs' +gem 'rails', '~> 2.3' +gem 'guard' +gem 'guard-rspec' +gem 'rb-fsevent' +gem 'growl' \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..8b4383b --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,56 @@ +GEM + remote: http://rubygems.org/ + specs: + actionmailer (2.3.10) + actionpack (= 2.3.10) + actionpack (2.3.10) + activesupport (= 2.3.10) + rack (~> 1.1.0) + activerecord (2.3.10) + activesupport (= 2.3.10) + activeresource (2.3.10) + activesupport (= 2.3.10) + activesupport (2.3.10) + configuration (1.2.0) + diff-lcs (1.1.2) + git (1.2.5) + growl (1.0.3) + guard (0.3.0) + open_gem (~> 1.4.2) + thor (~> 0.14.6) + guard-rspec (0.1.9) + guard (>= 0.2.2) + jeweler (1.5.2) + bundler (~> 1.0.0) + git (>= 1.2.5) + rake + launchy (0.3.7) + configuration (>= 0.0.5) + rake (>= 0.8.1) + open_gem (1.4.2) + launchy (~> 0.3.5) + rack (1.1.0) + rails (2.3.10) + actionmailer (= 2.3.10) + actionpack (= 2.3.10) + activerecord (= 2.3.10) + activeresource (= 2.3.10) + activesupport (= 2.3.10) + rake (>= 0.8.3) + rake (0.8.7) + rb-fsevent (0.3.10) + rspec (1.3.0) + thor (0.14.6) + +PLATFORMS + ruby + +DEPENDENCIES + diff-lcs + growl + guard + guard-rspec + jeweler + rails (~> 2.3) + rb-fsevent + rspec (= 1.3) diff --git a/Guardfile b/Guardfile new file mode 100644 index 0000000..4bc2a22 --- /dev/null +++ b/Guardfile @@ -0,0 +1,8 @@ +# A sample Guardfile +# More info at http://github.com/guard/guard#readme + +guard 'rspec', :version => 1 do + watch(/^spec\/(.*)_spec.rb/) + watch(/^spec\/spec_helper.rb/) { "spec" } + watch(/^lib\/(.*)\.rb/) { |m| "spec/lib/#{m[1]}_spec.rb" } +end diff --git a/Rakefile b/Rakefile index 18aa3ad..bc054a1 100644 --- a/Rakefile +++ b/Rakefile @@ -7,9 +7,9 @@ begin gem.name = "analytical" gem.summary = %Q{Gem for managing multiple analytics services in your rails app.} gem.description = %Q{Gem for managing multiple analytics services in your rails app.} - gem.email = "josh@transfs.com" + gem.email = "josh@feefighters.com" gem.homepage = "http://github.com/jkrall/analytical" - gem.authors = ["Joshua Krall", "Nathan Phelps", "Adam Anderson"] + gem.authors = ["Joshua Krall", "Nathan Phelps", "Adam Anderson", ""] gem.add_development_dependency "rspec", ">= 1.2.9" gem.add_dependency "activesupport" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings @@ -31,8 +31,6 @@ Spec::Rake::SpecTask.new(:rcov) do |spec| spec.rcov = true end -task :spec => :check_dependencies - task :default => :spec require 'rake/rdoctask'