Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Commit

Permalink
Gem dependencies coverted to 1.2, some tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly authored and romul committed Nov 5, 2012
1 parent 06ff807 commit 2053f31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -11,4 +11,5 @@ group :test do
end
end

gem 'spree', '~> 1.1.3'
gem 'spree_auth_devise', :git => 'git://github.com/spree/spree_auth_devise'
gem 'spree', '~> 1.2'
25 changes: 5 additions & 20 deletions Rakefile
@@ -1,30 +1,15 @@
# encoding: utf-8
require 'rake'
require 'rake/testtask'
require 'rake/packagetask'
require 'rubygems/package_task'
require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
require 'spree/core/testing_support/common_rake'

RSpec::Core::RakeTask.new

task :default => [:spec]

spec = eval(File.read('spree_address_book.gemspec'))

Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end

desc "Release to gemcutter"
task :release => :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end

desc "Generates a dummy app for testing"
desc 'Generates a dummy app for testing'
task :test_app do
ENV['LIB_NAME'] = 'spree_address_book'
Rake::Task['common:test_app'].invoke
Rake::Task['common:test_app'].invoke 'Spree::User'
end

0 comments on commit 2053f31

Please sign in to comment.