editorial_logic 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/editorial_logic.gemspec +2 -3
- metadata +4 -6
- data/lib/tasks/rcov.rake +0 -44
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.2
|
data/editorial_logic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "editorial_logic"
|
8
|
-
s.version = "1.4.
|
8
|
+
s.version = "1.4.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bantik"]
|
12
|
-
s.date = "2011-
|
12
|
+
s.date = "2011-11-02"
|
13
13
|
s.description = "An engine for enabling managed content, including articles, blogs, FAQs and glossaries."
|
14
14
|
s.email = "corey@seologic.com"
|
15
15
|
s.files = [
|
@@ -98,7 +98,6 @@ Gem::Specification.new do |s|
|
|
98
98
|
"lib/editorial_logic.rb",
|
99
99
|
"lib/editorial_logic/railtie.rb",
|
100
100
|
"lib/tasks/cucumber.rake",
|
101
|
-
"lib/tasks/rcov.rake",
|
102
101
|
"public/404.html",
|
103
102
|
"public/422.html",
|
104
103
|
"public/500.html",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: editorial_logic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 2
|
10
|
+
version: 1.4.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bantik
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-11-02 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bson_ext
|
@@ -281,7 +281,6 @@ files:
|
|
281
281
|
- lib/editorial_logic.rb
|
282
282
|
- lib/editorial_logic/railtie.rb
|
283
283
|
- lib/tasks/cucumber.rake
|
284
|
-
- lib/tasks/rcov.rake
|
285
284
|
- public/404.html
|
286
285
|
- public/422.html
|
287
286
|
- public/500.html
|
@@ -1018,4 +1017,3 @@ specification_version: 3
|
|
1018
1017
|
summary: An engine for enabling managed content in a Rails app, including articles, blogs, FAQs and glossaries.
|
1019
1018
|
test_files: []
|
1020
1019
|
|
1021
|
-
has_rdoc:
|
data/lib/tasks/rcov.rake
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
# Forked to get it working with Rails 3 and RSpec 2
|
2
|
-
#
|
3
|
-
# From http://github.com/jaymcgavren
|
4
|
-
#
|
5
|
-
# Save this as rcov.rake in lib/tasks and use rcov:all =>
|
6
|
-
# to get accurate spec/feature coverage data
|
7
|
-
#
|
8
|
-
# Use rcov:rspec or rcov:cucumber
|
9
|
-
# to get non-aggregated coverage reports for rspec or cucumber separately
|
10
|
-
|
11
|
-
require 'cucumber/rake/task'
|
12
|
-
require "rspec/core/rake_task"
|
13
|
-
|
14
|
-
namespace :rcov do
|
15
|
-
Cucumber::Rake::Task.new(:cucumber_run) do |t|
|
16
|
-
t.rcov = true
|
17
|
-
t.rcov_opts = %w{--rails --exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data}
|
18
|
-
t.rcov_opts << %[-o "coverage"]
|
19
|
-
end
|
20
|
-
|
21
|
-
RSpec::Core::RakeTask.new(:rspec_run) do |t|
|
22
|
-
t.pattern = 'spec/**/*_spec.rb'
|
23
|
-
t.rcov = true
|
24
|
-
t.rcov_opts = %w{--rails --exclude osx\/objc,gems\/,spec\/}
|
25
|
-
end
|
26
|
-
|
27
|
-
desc "Run both specs and features to generate aggregated coverage"
|
28
|
-
task :all do |t|
|
29
|
-
rm "coverage.data" if File.exist?("coverage.data")
|
30
|
-
Rake::Task["rcov:cucumber_run"].invoke
|
31
|
-
Rake::Task["rcov:rspec_run"].invoke
|
32
|
-
end
|
33
|
-
|
34
|
-
desc "Run only rspecs"
|
35
|
-
task :rspec do |t|
|
36
|
-
rm "coverage.data" if File.exist?("coverage.data")
|
37
|
-
Rake::Task["rcov:rspec_run"].invoke
|
38
|
-
end
|
39
|
-
|
40
|
-
desc "Run only cucumber"
|
41
|
-
task :cucumber do |t|
|
42
|
-
Rake::Task["rcov:cucumber_run"].invoke
|
43
|
-
end
|
44
|
-
end
|