rspec-illustrate 0.2.2 → 0.2.3
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/README.md +8 -9
- data/lib/rspec/illustrate/version.rb +1 -1
- data/rspec-illustrate.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 720023b8f7943ca0f1470d3b70c1bd428fd58593
|
4
|
+
data.tar.gz: b76a1ec923ced44adcff26d059855efd75f9cd8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 000db79bea135b60657e403e1dddcd7398ecb8eac397f61621718d4992a78f3d62f4728ddfe1db4ef8f553a7cb7e0589c6ee01365759c63fa43f62d9629f29ac
|
7
|
+
data.tar.gz: 29e64e0d1adcab0dfe477171edcb50a774507a8da15d8d87dc4605089cb9eab5b078535acd1bef9bf2617821bdceadfed5012df3f2949a2e3e10b4af168e5997
|
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
# RSpec
|
2
|
-
|
3
|
-
|
4
|
-
This is an RSpec extension gem that allows you to define illustrative objects in
|
5
|
-
your examples that will be forwarded to the output formatter. This will allow
|
6
|
-
your output spec to become more readable, illustrative, and explanatory.
|
1
|
+
# RSpec-illustrate [](http://badge.fury.io/rb/rspec-illustrate)
|
7
2
|
|
3
|
+
A plugin to RSpec and YARD that allows you to define illustrative objects in
|
4
|
+
your examples that will be forwarded to the output formatter. The results can be
|
5
|
+
imported into YARD, which makes your generated specs and documentation more
|
6
|
+
readable, illustrative, and explanatory.
|
8
7
|
|
9
8
|
## Installation
|
10
9
|
|
@@ -41,9 +40,9 @@ describe Array do
|
|
41
40
|
expected = [1, 2, 3]
|
42
41
|
actual = given.sort
|
43
42
|
|
44
|
-
illustrate given
|
45
|
-
illustrate expected
|
46
|
-
illustrate actual
|
43
|
+
illustrate given, :label=>"Given the array"
|
44
|
+
illustrate expected, :label=>"After sort it looks like this"
|
45
|
+
illustrate actual, :show_when_passed=>false
|
47
46
|
|
48
47
|
expect(actual).to eq(expected)
|
49
48
|
end
|
data/rspec-illustrate.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Erik Schlyter"]
|
10
10
|
spec.email = ["erik@erisc.se"]
|
11
11
|
|
12
|
-
spec.summary = %q{RSpec
|
12
|
+
spec.summary = %q{Extension gem to RSpec (and YARD) for including illustrative objects in your specs.}
|
13
13
|
spec.description = %q{A plugin to RSpec and YARD that allows you to define illustrative objects in your examples that will be forwarded to the output formatter. The results can be imported into YARD, which makes your generated specs and documentation more readable, illustrative, and explanatory.}
|
14
14
|
spec.homepage = "https://github.com/ErikSchlyter/rspec-illustrate"
|
15
15
|
spec.license = "MIT"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Schlyter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -150,6 +150,7 @@ rubyforge_project:
|
|
150
150
|
rubygems_version: 2.2.2
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
|
-
summary: RSpec
|
153
|
+
summary: Extension gem to RSpec (and YARD) for including illustrative objects in your
|
154
|
+
specs.
|
154
155
|
test_files: []
|
155
156
|
has_rdoc:
|