Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: colszowka/simplecov
base: v0.7.0
...
head fork: colszowka/simplecov
compare: v0.7.1
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
10 CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.7.0...master))
-------------------
+v0.7.1, 2012-10-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.7.0...v0.7.1))
+-------------------
+
+ * [BUGFIX] The gem packages of 0.7.0 (both simplecov and simplecov-html) pushed to Rubygems had some file
+ permission issues, leading to problems when installing SimpleCov in a root/system Rubygems install and then
+ trying to use it as a normal user (see https://github.com/colszowka/simplecov/issues/171, thanks @envygeeks
+ for bringing it up). The gem build process has been changed to always enforce proper permissions before packaging
+ to avoid this issue in the future.
+
+
v0.7.0, 2012-10-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.4...v0.7.0))
-------------------
View
8 Rakefile
@@ -5,6 +5,14 @@ require 'bundler/setup'
require 'appraisal'
Bundler::GemHelper.install_tasks
+# See https://github.com/colszowka/simplecov/issues/171
+desc "Set permissions on all files so they are compatible with both user-local and system-wide installs"
+task :fix_permissions do
+ system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
+end
+# Enforce proper permissions on each build
+Rake::Task[:build].prerequisites.unshift :fix_permissions
+
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
View
2  lib/simplecov/version.rb
@@ -1,3 +1,3 @@
module SimpleCov
- VERSION = "0.7.0"
+ VERSION = "0.7.1"
end
View
2  simplecov.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
gem.summary = gem.description
gem.add_dependency 'multi_json', '~> 1.0'
- gem.add_dependency 'simplecov-html', '~> 0.7.0'
+ gem.add_dependency 'simplecov-html', '~> 0.7.1'
gem.add_development_dependency 'aruba'
gem.add_development_dependency 'capybara'
gem.add_development_dependency 'appraisal'

No commit comments for this range

Something went wrong with that request. Please try again.