simplecov-html 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +8 -0
- data/lib/simplecov-html.rb +1 -1
- data/lib/simplecov-html/version.rb +1 -1
- metadata +4 -4
data/Rakefile
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler::GemHelper.install_tasks
|
3
3
|
|
4
|
+
# See https://github.com/colszowka/simplecov/issues/171
|
5
|
+
desc "Set permissions on all files so they are compatible with both user-local and system-wide installs"
|
6
|
+
task :fix_permissions do
|
7
|
+
system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
|
8
|
+
end
|
9
|
+
# Enforce proper permissions on each build
|
10
|
+
Rake::Task[:build].prerequisites.unshift :fix_permissions
|
11
|
+
|
4
12
|
require 'rake/testtask'
|
5
13
|
Rake::TestTask.new(:test) do |test|
|
6
14
|
test.libs << 'lib' << 'test'
|
data/lib/simplecov-html.rb
CHANGED
@@ -5,7 +5,7 @@ require 'digest/sha1'
|
|
5
5
|
require 'time'
|
6
6
|
|
7
7
|
# Ensure we are using a compatible version of SimpleCov
|
8
|
-
if Gem::Version.new(SimpleCov::VERSION) < Gem::Version.new("0.7.
|
8
|
+
if Gem::Version.new(SimpleCov::VERSION) < Gem::Version.new("0.7.1")
|
9
9
|
raise RuntimeError, "The version of SimpleCov you are using is too old. Please update with `gem install simplecov` or `bundle update simplecov`"
|
10
10
|
end
|
11
11
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -148,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
segments:
|
150
150
|
- 0
|
151
|
-
hash: -
|
151
|
+
hash: -2029583534345238650
|
152
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
153
|
none: false
|
154
154
|
requirements:
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
segments:
|
159
159
|
- 0
|
160
|
-
hash: -
|
160
|
+
hash: -2029583534345238650
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project: simplecov-html
|
163
163
|
rubygems_version: 1.8.24
|