From 166245abae01dc24ef360a84eb14dcd2caf63139 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Thu, 15 Jan 2015 14:15:48 -0500 Subject: [PATCH] Updated gemfiles to include test unit from ruby gems since ruby 2.2 removed it from stdlib and bumped minor release for ruby 2.2 fix --- .gitignore | 1 + Rakefile | 25 +++++++++++++++++++++++++ cli/Gemfile | 1 + cli/VERSION | 2 +- core/Gemfile | 1 + core/VERSION | 2 +- import-once/Gemfile | 2 ++ 7 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..c111b33137 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.gem diff --git a/Rakefile b/Rakefile index 137b321065..f7dd771aca 100644 --- a/Rakefile +++ b/Rakefile @@ -11,6 +11,31 @@ task :test do end end +desc "build gems" +task :build_gems => [:test] do + GEMS.each do |gem| + chdir gem do + if gem == 'cli' + sh "gem build compass.gemspec" + else + sh "gem build compass-#{gem}.gemspec" + end + end + end +end + +desc "publish gems" +task :publish_gems => [:build_gems] do + GEMS.each do |gem| + chdir gem do + if gem == 'cli' + sh "gem push compass.gemspec" + else + sh "gem push compass-#{gem}.gemspec" + end + end + end +end desc "Clean up all test files" task :test_cleanup do diff --git a/cli/Gemfile b/cli/Gemfile index 7cd7182671..df432300b2 100644 --- a/cli/Gemfile +++ b/cli/Gemfile @@ -19,6 +19,7 @@ unless ENV['PKG'] gem 'rake' gem 'json', '~> 1.7.7', :platforms => :ruby_18 gem 'true', "~> 0.2.3" + gem 'test-unit', '~> 3.0.9' # Warning be carful adding OS dependant gems above this line it will break the CI server please # place them below so they are excluded diff --git a/cli/VERSION b/cli/VERSION index 7f207341d5..e6d5cb833c 100644 --- a/cli/VERSION +++ b/cli/VERSION @@ -1 +1 @@ -1.0.1 \ No newline at end of file +1.0.2 \ No newline at end of file diff --git a/core/Gemfile b/core/Gemfile index 462c84b3bb..dc74daa1a6 100644 --- a/core/Gemfile +++ b/core/Gemfile @@ -7,3 +7,4 @@ gem 'pry' gem 'diff-lcs', '~> 1.1.2' gem 'true', "~> 0.2.3" gem 'timecop', "~> 0.5.9.2" +gem 'test-unit', '~> 3.0.9' diff --git a/core/VERSION b/core/VERSION index 7f207341d5..e6d5cb833c 100644 --- a/core/VERSION +++ b/core/VERSION @@ -1 +1 @@ -1.0.1 \ No newline at end of file +1.0.2 \ No newline at end of file diff --git a/import-once/Gemfile b/import-once/Gemfile index fa75df1563..ef656e19a1 100644 --- a/import-once/Gemfile +++ b/import-once/Gemfile @@ -1,3 +1,5 @@ source 'https://rubygems.org' +gem 'test-unit', '~> 3.0.9' + gemspec