watch-me-now 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +11 -0
- data/VERSION +1 -1
- data/bin/{watchit → watch-me-now} +2 -7
- data/watch-me-now.gemspec +6 -6
- metadata +6 -6
- data/README.rdoc +0 -18
data/README.markdown
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# watch-me-now
|
2
|
+
|
3
|
+
## Stupid Simple Continuous Testing
|
4
|
+
|
5
|
+
A small script that builds on [watchr](http://github.com/mynyml/watchr) to try and continuously test any sort of Ruby project. Works with rspec (`*_spec.rb`), test unit and its spin-off (`*_test.rb`), and micronaut (`*_example.rb`).
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
gem install watch-me-now --source http://gemcutter.org
|
10
|
+
cd YOUR_PROJECT
|
11
|
+
watch-me-now
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
1.0.0
|
@@ -1,10 +1,4 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# For use with http://github.com/mynyml/watchr
|
3
|
-
#
|
4
|
-
# Run me with:
|
5
|
-
#
|
6
|
-
# $ watchr watchit.watchr
|
7
|
-
|
8
2
|
# --------------------------------------------------
|
9
3
|
# Convenience Methods
|
10
4
|
# --------------------------------------------------
|
@@ -52,10 +46,11 @@ end
|
|
52
46
|
# --------------------------------------------------
|
53
47
|
# Watchr Rules
|
54
48
|
# --------------------------------------------------
|
49
|
+
watch("^lib/(.*)\.rb") { |m| run_test_matching(m[1]) }
|
55
50
|
watch("^#{test_folder}/(.*)_#{test_suffix}\.rb") { |m| run_test_matching(m[1]) }
|
56
51
|
watch("^#{test_folder}/(.*)\.rb") { |m| run_test_matching(m[1]) }
|
57
|
-
watch("^lib/(.*)\.rb") { |m| run_test_matching(m[1]) }
|
58
52
|
watch("^#{test_folder}/#{test_suffix}_helper\.rb") { run_all_tests }
|
53
|
+
|
59
54
|
watch('^features/(.*)') { system "cucumber --tags @fit features/other/" }
|
60
55
|
|
61
56
|
# --------------------------------------------------
|
data/watch-me-now.gemspec
CHANGED
@@ -5,27 +5,27 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{watch-me-now}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "1.0.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rob Sanheim"]
|
12
12
|
s.date = %q{2009-10-04}
|
13
|
-
s.default_executable = %q{
|
13
|
+
s.default_executable = %q{watch-me-now}
|
14
14
|
s.description = %q{watchr provides flexible continuous testing. watch-me-now is a simple script to try and test most types of Ruby projects}
|
15
15
|
s.email = %q{rsanheim@gmail.com}
|
16
|
-
s.executables = ["
|
16
|
+
s.executables = ["watch-me-now"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
"README.
|
19
|
+
"README.markdown"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
23
|
".gitignore",
|
24
24
|
"LICENSE",
|
25
|
-
"README.
|
25
|
+
"README.markdown",
|
26
26
|
"Rakefile",
|
27
27
|
"VERSION",
|
28
|
-
"bin/
|
28
|
+
"bin/watch-me-now",
|
29
29
|
"watch-me-now.gemspec"
|
30
30
|
]
|
31
31
|
s.homepage = %q{http://github.com/rsanheim/watch-me-now}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watch-me-now
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Sanheim
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
|
12
12
|
date: 2009-10-04 00:00:00 -04:00
|
13
|
-
default_executable:
|
13
|
+
default_executable: watch-me-now
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: watchr
|
@@ -25,20 +25,20 @@ dependencies:
|
|
25
25
|
description: watchr provides flexible continuous testing. watch-me-now is a simple script to try and test most types of Ruby projects
|
26
26
|
email: rsanheim@gmail.com
|
27
27
|
executables:
|
28
|
-
-
|
28
|
+
- watch-me-now
|
29
29
|
extensions: []
|
30
30
|
|
31
31
|
extra_rdoc_files:
|
32
32
|
- LICENSE
|
33
|
-
- README.
|
33
|
+
- README.markdown
|
34
34
|
files:
|
35
35
|
- .document
|
36
36
|
- .gitignore
|
37
37
|
- LICENSE
|
38
|
-
- README.
|
38
|
+
- README.markdown
|
39
39
|
- Rakefile
|
40
40
|
- VERSION
|
41
|
-
- bin/
|
41
|
+
- bin/watch-me-now
|
42
42
|
- watch-me-now.gemspec
|
43
43
|
has_rdoc: true
|
44
44
|
homepage: http://github.com/rsanheim/watch-me-now
|
data/README.rdoc
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
= watch-me-now
|
2
|
-
|
3
|
-
Description goes here.
|
4
|
-
|
5
|
-
== Note on Patches/Pull Requests
|
6
|
-
|
7
|
-
* Fork the project.
|
8
|
-
* Make your feature addition or bug fix.
|
9
|
-
* Add tests for it. This is important so I don't break it in a
|
10
|
-
future version unintentionally.
|
11
|
-
* Commit, do not mess with rakefile, version, or history.
|
12
|
-
(if you want to have your own version, that is fine but
|
13
|
-
bump version in a commit by itself I can ignore when I pull)
|
14
|
-
* Send me a pull request. Bonus points for topic branches.
|
15
|
-
|
16
|
-
== Copyright
|
17
|
-
|
18
|
-
Copyright (c) 2009 Rob Sanheim. See LICENSE for details.
|