site_logic 1.9.3 → 1.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/site_logic.gemspec +2 -3
- metadata +4 -6
- data/lib/tasks/rcov.rake +0 -76
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.9.
|
1
|
+
1.9.4
|
data/site_logic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "site_logic"
|
8
|
-
s.version = "1.9.
|
8
|
+
s.version = "1.9.4"
|
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-11-
|
12
|
+
s.date = "2011-11-02"
|
13
13
|
s.description = "An engine for search-engine-optimized content management."
|
14
14
|
s.email = "corey@seologic.com"
|
15
15
|
s.files = [
|
@@ -90,7 +90,6 @@ Gem::Specification.new do |s|
|
|
90
90
|
"lib/site_logic/navigation.rb",
|
91
91
|
"lib/site_logic/railtie.rb",
|
92
92
|
"lib/tasks/cucumber.rake",
|
93
|
-
"lib/tasks/rcov.rake",
|
94
93
|
"public/favicon.ico",
|
95
94
|
"public/images/icons/add.png",
|
96
95
|
"public/images/icons/collapsed.gif",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: site_logic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 1.9.
|
9
|
+
- 4
|
10
|
+
version: 1.9.4
|
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-11-
|
18
|
+
date: 2011-11-02 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bson_ext
|
@@ -297,7 +297,6 @@ files:
|
|
297
297
|
- lib/site_logic/navigation.rb
|
298
298
|
- lib/site_logic/railtie.rb
|
299
299
|
- lib/tasks/cucumber.rake
|
300
|
-
- lib/tasks/rcov.rake
|
301
300
|
- public/favicon.ico
|
302
301
|
- public/images/icons/add.png
|
303
302
|
- public/images/icons/collapsed.gif
|
@@ -1045,4 +1044,3 @@ specification_version: 3
|
|
1045
1044
|
summary: An engine for search-engine-optimized content management.
|
1046
1045
|
test_files: []
|
1047
1046
|
|
1048
|
-
has_rdoc:
|
data/lib/tasks/rcov.rake
DELETED
@@ -1,76 +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
|
-
rm "coverage.data" if File.exist?("coverage.data")
|
43
|
-
Rake::Task["rcov:cucumber_run"].invoke
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
#
|
51
|
-
# require 'cucumber/rake/task' #I have to add this
|
52
|
-
# require 'spec/rake/spec_task'
|
53
|
-
#
|
54
|
-
# namespace :rcov do
|
55
|
-
# Cucumber::Rake::Task.new(:cucumber) do |t|
|
56
|
-
# t.rcov = true
|
57
|
-
# t.rcov_opts = %w{--rails --exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data}
|
58
|
-
# t.rcov_opts << %[-o "coverage"]
|
59
|
-
# end
|
60
|
-
#
|
61
|
-
# Spec::Rake::SpecTask.new(:rspec) do |t|
|
62
|
-
# t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
|
63
|
-
# t.spec_files = FileList['spec/**/*_spec.rb']
|
64
|
-
# t.rcov = true
|
65
|
-
# t.rcov_opts = lambda do
|
66
|
-
# IO.readlines("#{RAILS_ROOT}/spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
|
67
|
-
# end
|
68
|
-
# end
|
69
|
-
#
|
70
|
-
# desc "Run both specs and features to generate aggregated coverage"
|
71
|
-
# task :all do |t|
|
72
|
-
# rm "coverage.data" if File.exist?("coverage.data")
|
73
|
-
# Rake::Task["rcov:cucumber"].invoke
|
74
|
-
# Rake::Task["rcov:rspec"].invoke
|
75
|
-
# end
|
76
|
-
# end
|