Skip to content

Commit

Permalink
Updated gemfiles to include test unit from ruby gems since ruby 2.2 r…
Browse files Browse the repository at this point in the history
…emoved it from stdlib and bumped minor release for ruby 2.2 fix
  • Loading branch information
scottdavis committed Jan 15, 2015
1 parent 0a01c72 commit 166245a
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.gem
25 changes: 25 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cli/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cli/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
1 change: 1 addition & 0 deletions core/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion core/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
2 changes: 2 additions & 0 deletions import-once/Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source 'https://rubygems.org'

gem 'test-unit', '~> 3.0.9'

gemspec

0 comments on commit 166245a

Please sign in to comment.