peck 0.3.0 → 0.4.0
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/bin/peck +8 -0
- data/lib/peck/notifiers/documentation.rb +1 -0
- data/lib/peck/specification.rb +4 -3
- data/lib/peck.rb +2 -0
- metadata +43 -26
data/bin/peck
ADDED
data/lib/peck/specification.rb
CHANGED
@@ -3,14 +3,15 @@
|
|
3
3
|
class Peck
|
4
4
|
class Context
|
5
5
|
def self.it(description, &block)
|
6
|
-
return unless Peck.spec_selector.match(label)
|
7
6
|
specification = Specification.new(self, @before, @after, description, &block)
|
7
|
+
return unless Peck.spec_selector.match(specification.label)
|
8
8
|
@specs << specification
|
9
9
|
specification
|
10
10
|
end
|
11
11
|
|
12
12
|
def self.pending(description)
|
13
|
-
|
13
|
+
specification = Specification.new(self, @before, @after, description, &block)
|
14
|
+
return unless Peck.spec_selector.match(specification.label)
|
14
15
|
delegates.received_pending(description)
|
15
16
|
end
|
16
17
|
end
|
@@ -87,4 +88,4 @@ class Peck
|
|
87
88
|
!failed? && !empty?
|
88
89
|
end
|
89
90
|
end
|
90
|
-
end
|
91
|
+
end
|
data/lib/peck.rb
CHANGED
metadata
CHANGED
@@ -1,25 +1,33 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: peck
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Manfred Stienstra
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2013-08-28 00:00:00 +02:00
|
19
|
+
default_executable:
|
13
20
|
dependencies: []
|
14
|
-
description: ! ' Concurrent spec framework.
|
15
21
|
|
16
|
-
|
22
|
+
description: " Concurrent spec framework.\n"
|
17
23
|
email: manfred@fngtps.com
|
18
|
-
executables:
|
24
|
+
executables:
|
25
|
+
- peck
|
19
26
|
extensions: []
|
20
|
-
|
27
|
+
|
28
|
+
extra_rdoc_files:
|
21
29
|
- COPYING
|
22
|
-
files:
|
30
|
+
files:
|
23
31
|
- lib/peck/context.rb
|
24
32
|
- lib/peck/counter.rb
|
25
33
|
- lib/peck/debug.rb
|
@@ -36,31 +44,40 @@ files:
|
|
36
44
|
- lib/peck.rb
|
37
45
|
- COPYING
|
38
46
|
- README.md
|
47
|
+
- bin/peck
|
48
|
+
has_rdoc: true
|
39
49
|
homepage:
|
40
50
|
licenses: []
|
51
|
+
|
41
52
|
post_install_message:
|
42
|
-
rdoc_options:
|
53
|
+
rdoc_options:
|
43
54
|
- --charset=utf-8
|
44
|
-
require_paths:
|
55
|
+
require_paths:
|
45
56
|
- lib
|
46
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
58
|
none: false
|
48
|
-
requirements:
|
49
|
-
- -
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
|
52
|
-
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 3
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
version: "0"
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
67
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
58
75
|
requirements: []
|
76
|
+
|
59
77
|
rubyforge_project:
|
60
|
-
rubygems_version: 1.
|
78
|
+
rubygems_version: 1.6.2
|
61
79
|
signing_key:
|
62
80
|
specification_version: 3
|
63
|
-
summary: Peck is a concurrent spec framework which inherits a lot from the fabulous
|
64
|
-
Bacon and MacBacon. We call it a framework because it was designed to be used in
|
65
|
-
parts and is easily extended.
|
81
|
+
summary: Peck is a concurrent spec framework which inherits a lot from the fabulous Bacon and MacBacon. We call it a framework because it was designed to be used in parts and is easily extended.
|
66
82
|
test_files: []
|
83
|
+
|