timed_specs 0.0.1 → 0.0.2
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.
- data/Readme.md +34 -0
- data/lib/timed_specs/version.rb +1 -1
- data/timed_specs.gemspec +3 -3
- metadata +7 -6
data/Readme.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
Timed Specs
|
2
|
+
=============
|
3
|
+
|
4
|
+
A Rspec formatter built upon the default DocumentationFormatter which shows the time taken for each example along with the other information shown by the DocumentationFormatter. You also have the option to list the slowest 'n' examples at the end.
|
5
|
+
|
6
|
+
|
7
|
+
Installation
|
8
|
+
-----------
|
9
|
+
|
10
|
+
gem install timed_specs
|
11
|
+
|
12
|
+
Or
|
13
|
+
|
14
|
+
gem 'timed_specs'
|
15
|
+
|
16
|
+
|
17
|
+
Usage
|
18
|
+
-----
|
19
|
+
|
20
|
+
bundle exec rspec -f TimedSpecs spec/
|
21
|
+
|
22
|
+
|
23
|
+
Or, even easier, add this to your .rspec file:
|
24
|
+
|
25
|
+
-f TimedSpecs
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
Testing
|
30
|
+
-------
|
31
|
+
|
32
|
+
To run the tests:
|
33
|
+
|
34
|
+
$ bundle exec rspec spec/
|
data/lib/timed_specs/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = "0.0.
|
1
|
+
VERSION = "0.0.2"
|
data/timed_specs.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
8
8
|
A Rspec formatter built upon the default DocumentationFormatter which shows the time taken for each example along with the other information shown by the DocumentationFormatter. You also have the option to list the slowest 'n' examples at the end.
|
9
9
|
}
|
10
10
|
gem.summary = %q{A rspec formatter which displays the individual time taken by each example and lists the slowest examples. }
|
11
|
-
gem.homepage = ""
|
11
|
+
gem.homepage = "https://github.com/dipil-saud/timed_specs"
|
12
12
|
|
13
13
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
14
14
|
gem.files = `git ls-files`.split("\n")
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.name = "timed_specs"
|
17
17
|
gem.require_paths = ["lib"]
|
18
18
|
gem.version = VERSION
|
19
|
-
|
19
|
+
|
20
20
|
gem.add_runtime_dependency "rspec"
|
21
|
-
gem.add_development_dependency "pry"
|
21
|
+
gem.add_development_dependency "pry"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timed_specs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &2165063580 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2165063580
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: pry
|
27
|
-
requirement: &
|
27
|
+
requirement: &2165061580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2165061580
|
36
36
|
description: ! "\n A Rspec formatter built upon the default DocumentationFormatter
|
37
37
|
which shows the time taken for each example along with the other information shown
|
38
38
|
by the DocumentationFormatter. You also have the option to list the slowest 'n'
|
@@ -46,12 +46,13 @@ files:
|
|
46
46
|
- .gitignore
|
47
47
|
- Gemfile
|
48
48
|
- Rakefile
|
49
|
+
- Readme.md
|
49
50
|
- lib/timed_specs.rb
|
50
51
|
- lib/timed_specs/version.rb
|
51
52
|
- spec/spec_helper.rb
|
52
53
|
- spec/time_specs_spec.rb
|
53
54
|
- timed_specs.gemspec
|
54
|
-
homepage:
|
55
|
+
homepage: https://github.com/dipil-saud/timed_specs
|
55
56
|
licenses: []
|
56
57
|
post_install_message:
|
57
58
|
rdoc_options: []
|