spec_marker 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spec_marker.rb +2 -1
- data/spec_marker.gemspec +1 -1
- metadata +62 -50
data/lib/spec_marker.rb
CHANGED
@@ -3,10 +3,11 @@ require 'rspec/core/formatters/base_formatter'
|
|
3
3
|
require 'json'
|
4
4
|
|
5
5
|
class SpecMarker < RSpec::Core::Formatters::BaseFormatter
|
6
|
-
VERSION = "0.0.
|
6
|
+
VERSION = "0.0.2"
|
7
7
|
|
8
8
|
class << self
|
9
9
|
def mark(*args)
|
10
|
+
@listeners ||= []
|
10
11
|
@listeners.each do |listener|
|
11
12
|
listener.mark *args
|
12
13
|
end
|
data/spec_marker.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "spec_marker"
|
8
|
-
gem.version = "0.0.
|
8
|
+
gem.version = "0.0.2"
|
9
9
|
gem.authors = ["Shota Fukumori (sora_h)"]
|
10
10
|
gem.email = ["sorah@tubusu.net"]
|
11
11
|
gem.description = %q{Mark the timestamp of RSpec example starts/ends, and log other stuff for profiling}
|
metadata
CHANGED
@@ -1,56 +1,60 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spec_marker
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Shota Fukumori (sora_h)
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-12-10 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rspec
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: json
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
33
24
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
38
32
|
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: json
|
39
36
|
prerelease: false
|
40
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
38
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
description: Mark the timestamp of RSpec example starts/ends, and log other stuff for profiling
|
49
|
+
email:
|
49
50
|
- sorah@tubusu.net
|
50
51
|
executables: []
|
52
|
+
|
51
53
|
extensions: []
|
54
|
+
|
52
55
|
extra_rdoc_files: []
|
53
|
-
|
56
|
+
|
57
|
+
files:
|
54
58
|
- .gitignore
|
55
59
|
- .rspec
|
56
60
|
- .travis.yml
|
@@ -64,29 +68,37 @@ files:
|
|
64
68
|
- spec_marker.gemspec
|
65
69
|
homepage: https://github.com/sorah/spec_marker
|
66
70
|
licenses: []
|
71
|
+
|
67
72
|
post_install_message:
|
68
73
|
rdoc_options: []
|
69
|
-
|
74
|
+
|
75
|
+
require_paths:
|
70
76
|
- lib
|
71
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
78
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
version: "0"
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
87
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
83
95
|
requirements: []
|
96
|
+
|
84
97
|
rubyforge_project:
|
85
98
|
rubygems_version: 1.8.24
|
86
99
|
signing_key:
|
87
100
|
specification_version: 3
|
88
|
-
summary: Mark the timestamp of RSpec example starts/ends, and log other stuff for
|
89
|
-
|
90
|
-
test_files:
|
101
|
+
summary: Mark the timestamp of RSpec example starts/ends, and log other stuff for profiling.
|
102
|
+
test_files:
|
91
103
|
- spec/spec_helper.rb
|
92
104
|
- spec/spec_marker_spec.rb
|