torkify 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +22 -0
- data/README.md +230 -0
- data/Rakefile +6 -0
- data/VERSION +1 -0
- data/lib/torkify/conductor.rb +33 -0
- data/lib/torkify/event_parser.rb +36 -0
- data/lib/torkify/events/event.rb +20 -0
- data/lib/torkify/events/event_message.rb +7 -0
- data/lib/torkify/events/pass_or_fail_event.rb +25 -0
- data/lib/torkify/events/status_change_event.rb +20 -0
- data/lib/torkify/events/test_event.rb +15 -0
- data/lib/torkify/exceptions.rb +5 -0
- data/lib/torkify/listener.rb +91 -0
- data/lib/torkify/observer_set.rb +62 -0
- data/lib/torkify/reader.rb +35 -0
- data/lib/torkify/version.rb +3 -0
- data/lib/torkify.rb +40 -0
- data/spec/conductor_spec.rb +63 -0
- data/spec/event_parser_spec.rb +154 -0
- data/spec/event_spec.rb +18 -0
- data/spec/listener_spec.rb +50 -0
- data/spec/observer_set_spec.rb +100 -0
- data/spec/pass_or_fail_event_spec.rb +94 -0
- data/spec/reader_spec.rb +58 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/status_change_event_spec.rb +42 -0
- data/spec/test_event_spec.rb +32 -0
- data/torkify.gemspec +26 -0
- metadata +168 -0
metadata
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: torkify
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jon Cairns
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: json
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.7.7
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.7.7
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: log4r
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.1.10
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.10
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: tork
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 19.2.1
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 19.2.1
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.13.0
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 2.13.0
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rake
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 10.0.3
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 10.0.3
|
94
|
+
description: Easily create callbacks for automated testing with tork
|
95
|
+
email:
|
96
|
+
- jon@joncairns.com
|
97
|
+
executables: []
|
98
|
+
extensions: []
|
99
|
+
extra_rdoc_files: []
|
100
|
+
files:
|
101
|
+
- .gitignore
|
102
|
+
- Gemfile
|
103
|
+
- LICENSE.txt
|
104
|
+
- README.md
|
105
|
+
- Rakefile
|
106
|
+
- VERSION
|
107
|
+
- lib/torkify.rb
|
108
|
+
- lib/torkify/conductor.rb
|
109
|
+
- lib/torkify/event_parser.rb
|
110
|
+
- lib/torkify/events/event.rb
|
111
|
+
- lib/torkify/events/event_message.rb
|
112
|
+
- lib/torkify/events/pass_or_fail_event.rb
|
113
|
+
- lib/torkify/events/status_change_event.rb
|
114
|
+
- lib/torkify/events/test_event.rb
|
115
|
+
- lib/torkify/exceptions.rb
|
116
|
+
- lib/torkify/listener.rb
|
117
|
+
- lib/torkify/observer_set.rb
|
118
|
+
- lib/torkify/reader.rb
|
119
|
+
- lib/torkify/version.rb
|
120
|
+
- spec/conductor_spec.rb
|
121
|
+
- spec/event_parser_spec.rb
|
122
|
+
- spec/event_spec.rb
|
123
|
+
- spec/listener_spec.rb
|
124
|
+
- spec/observer_set_spec.rb
|
125
|
+
- spec/pass_or_fail_event_spec.rb
|
126
|
+
- spec/reader_spec.rb
|
127
|
+
- spec/spec_helper.rb
|
128
|
+
- spec/status_change_event_spec.rb
|
129
|
+
- spec/test_event_spec.rb
|
130
|
+
- torkify.gemspec
|
131
|
+
homepage: https://github.com/joonty/torkify
|
132
|
+
licenses: []
|
133
|
+
post_install_message:
|
134
|
+
rdoc_options: []
|
135
|
+
require_paths:
|
136
|
+
- lib
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
146
|
+
- - ! '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
requirements: []
|
150
|
+
rubyforge_project:
|
151
|
+
rubygems_version: 1.8.24
|
152
|
+
signing_key:
|
153
|
+
specification_version: 3
|
154
|
+
summary: Torkify allows you to execute code after tests run, when using the tork gem
|
155
|
+
for automated testing. You can create listeners which are called when tests are
|
156
|
+
run, and when they fail or pass. This allows you to easily execute code and call
|
157
|
+
system programs.
|
158
|
+
test_files:
|
159
|
+
- spec/conductor_spec.rb
|
160
|
+
- spec/event_parser_spec.rb
|
161
|
+
- spec/event_spec.rb
|
162
|
+
- spec/listener_spec.rb
|
163
|
+
- spec/observer_set_spec.rb
|
164
|
+
- spec/pass_or_fail_event_spec.rb
|
165
|
+
- spec/reader_spec.rb
|
166
|
+
- spec/spec_helper.rb
|
167
|
+
- spec/status_change_event_spec.rb
|
168
|
+
- spec/test_event_spec.rb
|