rspec-illustrate 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -23
- data/lib/rspec/illustrate/default_rake_targets.rb +27 -0
- data/lib/rspec/illustrate/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cb15133252dde708b414980ee54f2e63aace71d
|
4
|
+
data.tar.gz: dae48ed1b54be595b630b915baa8cbd8a2e39b67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64daa21092685233ff758f770987143143381836b36d17752489c8fc2802db09ce2a1d95ddfa1074746eaf6c602ba326241e7816dec3c456a64232824e807ccb
|
7
|
+
data.tar.gz: 49c71096512c9afa147b79c0438a5f48c54a252af65ae4c1078b7a6cb771cc504bb7e13bf64d2960168c4aca034a3978cb5dca11cdb6037247c5a81d89536a55
|
data/Rakefile
CHANGED
@@ -1,24 +1,2 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
-
require
|
3
|
-
require 'yard/rake/yardoc_task'
|
4
|
-
require 'rspec/illustrate/yard'
|
5
|
-
require 'rake/clean'
|
6
|
-
|
7
|
-
desc "Execute RSpec and create a test report at ./tmp/api.rspec."
|
8
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
9
|
-
t.rspec_opts = '--format RSpec::Formatters::IllustratedDocumentationFormatter --format RSpec::Formatters::YARD --out tmp/api.rspec'
|
10
|
-
end
|
11
|
-
CLEAN.include('tmp')
|
12
|
-
|
13
|
-
desc "Create documentation."
|
14
|
-
YARD::Rake::YardocTask.new(:doc) do |t|
|
15
|
-
t.files = ['lib/**/*.rb', 'tmp/api.rspec', '-', 'tmp/api.rspec']
|
16
|
-
end
|
17
|
-
CLOBBER.include("doc")
|
18
|
-
CLEAN.include(".yardoc")
|
19
|
-
task :doc => [:spec]
|
20
|
-
|
21
|
-
desc "Execute tests."
|
22
|
-
RSpec::Core::RakeTask.new(:test)
|
23
|
-
|
24
|
-
task :default => :test
|
2
|
+
require 'rspec/illustrate/default_rake_targets'
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require "rspec/core/rake_task"
|
2
|
+
require 'rspec/illustrate/yard'
|
3
|
+
require 'rake/clean'
|
4
|
+
|
5
|
+
desc "Execute RSpec tests."
|
6
|
+
RSpec::Core::RakeTask.new(:test)
|
7
|
+
|
8
|
+
desc "Execute RSpec and create a test report at ./tmp/api.rspec."
|
9
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
10
|
+
t.rspec_opts = '--format RSpec::Formatters::IllustratedDocumentationFormatter --format RSpec::Formatters::YARD --out tmp/api.rspec'
|
11
|
+
end
|
12
|
+
CLEAN << 'tmp'
|
13
|
+
|
14
|
+
desc "Create documentation."
|
15
|
+
YARD::Rake::YardocTask.new(:doc) do |t|
|
16
|
+
t.files = ['lib/**/*.rb', 'tmp/api.rspec', '-', 'tmp/api.rspec']
|
17
|
+
end
|
18
|
+
CLOBBER << 'doc'
|
19
|
+
CLEAN << '.yardoc'
|
20
|
+
task :doc => [:spec]
|
21
|
+
|
22
|
+
desc "List code that is undocumented."
|
23
|
+
YARD::Rake::YardocTask.new(:undoc) do |t|
|
24
|
+
t.stats_options = ['--list-undoc']
|
25
|
+
end
|
26
|
+
|
27
|
+
task :default => :test
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-illustrate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Schlyter
|
@@ -116,6 +116,7 @@ files:
|
|
116
116
|
- lib/rspec/formatters/illustration_formatter.rb
|
117
117
|
- lib/rspec/formatters/yard.rb
|
118
118
|
- lib/rspec/illustrate.rb
|
119
|
+
- lib/rspec/illustrate/default_rake_targets.rb
|
119
120
|
- lib/rspec/illustrate/version.rb
|
120
121
|
- lib/rspec/illustrate/yard.rb
|
121
122
|
- rspec-illustrate.gemspec
|