snooper 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c770ca85f973ece6ee0dafd2525fa4a1ab9a847
4
- data.tar.gz: 809646762899f32c4f57e596be6d0c7b2eefe164
3
+ metadata.gz: 33a03916304ce2358c800167e7da1210292763f9
4
+ data.tar.gz: baefb42d770b614581de477473e1cbf76694495e
5
5
  SHA512:
6
- metadata.gz: 095a8c271de8100250a1346c1aca5fb41d660e6fdd9850fbc68d6f20063d9071c8def7a8feee4aea6266d41a3d8986227fcb12c42f2763b8a9d8ae9774323280
7
- data.tar.gz: 0b09d92b6e88dd3324a20e3e035b524e2c24a92046f5cf73b2605ed3bae75b675195ad085a3b4cceafbf48c97489ed15189df457d6f973a0689b85d87041f1f5
6
+ metadata.gz: e912b9a42729048baed4f817a20a1ea2931eca59e047b48aa1b994577a54791376a0fa1f3b1bd2ca0011647abbc7cc78c2f97f36b5350485f72ad3a1e8f7e527
7
+ data.tar.gz: 4605662ee5e03bfa4f7a5d484fc08c18bb4410974ee4fd8d7782ae7d14a69faba501b4edd2db1358141ee3a8b4e4196d6ebad2c51f09431b5feffebbcc56913c
data/LICENCE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  #Snooper is Open Source!
2
2
 
3
- Copyright (c) 2010 Will Speak
3
+ Copyright (c) 2013 Will Speak
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,15 +1,30 @@
1
- #Snooper
1
+ # Snooper
2
2
 
3
3
  Snooper is a lightweight test automation tool, it monitors files and folders while you work and re-runs your tests when you change something. Snooper doesn't care what language you're using or what framework you are testing with, it's all configureable.
4
4
 
5
- ##Useage
5
+ ## Useage
6
6
 
7
7
  ```bash
8
- $ snooper <directory> <command>
8
+ $ snooper <--config CONFIG | -h> <command>
9
9
  ```
10
10
 
11
11
  See [snooper(1)](http://iwillspeak.github.com/snooper/snooper.1.html) for more information.
12
12
 
13
- ##Licence
13
+ ## Options
14
+
15
+ Snooper expects a YAML document of key-value pairs; each pair specifies an
16
+ option. Unknown options are ignored. Options that can contain a list of values
17
+ may also be given a single value.
18
+
19
+ String options: `base_path:`, `command:`
20
+
21
+ String Array options: `paths:`, `filters:`, `ignored:`
22
+
23
+ _Note_: `filters:` and `ignored:` are regular expressions. This means that
24
+ `\.c` will match both `foo.c` and `bar.cfg`, `\.c$` will only match `.c` files.
25
+
26
+ <script src="https://gist.github.com/iwillspeak/5191785.js"></script>
27
+
28
+ ## Licence
14
29
 
15
30
  Snooper is open source! For more information check out [the licence](LICENCE.md).
data/lib/snooper/snoop.rb CHANGED
@@ -56,9 +56,9 @@ module Snooper
56
56
 
57
57
  # run the test suite and check the result
58
58
  if system @command then
59
- puts statusbar "All tests passed", &:white_on_green
59
+ puts statusbar "All tests passed", &:white_on_green
60
60
  else
61
- puts statusbar "Tests failed", &:white_on_red
61
+ puts statusbar "Tests failed", &:white_on_red
62
62
  end
63
63
 
64
64
  # return to listening
@@ -0,0 +1,10 @@
1
+ module Snooper
2
+
3
+ ##
4
+ # The library version for this module
5
+ #
6
+ # This should conform to SemVer. If this is changed it should be the only
7
+ # thing that changes in the comit.
8
+
9
+ VERSION = '0.1.1'
10
+ end
data/man/snooper-config.7 CHANGED
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "SNOOPER\-CONFIG" "7" "March 2013" "" ""
4
+ .TH "SNOOPER\-CONFIG" "7" "June 2013" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBsnooper\-config\fR \- Configure for Espionage
@@ -39,3 +39,6 @@ Specifies a list of regular expressions \fIfilters\fR to use to filter the chang
39
39
  .
40
40
  .SH "SEE ALSO"
41
41
  snooper(1)
42
+ .
43
+ .SH "AUTHORS"
44
+ Will Speak (@willspeak)
@@ -75,6 +75,7 @@
75
75
  <a href="#FORMAT">FORMAT</a>
76
76
  <a href="#OPTIONS">OPTIONS</a>
77
77
  <a href="#SEE-ALSO">SEE ALSO</a>
78
+ <a href="#AUTHORS">AUTHORS</a>
78
79
  </div>
79
80
 
80
81
  <ol class='man-decor man-head man head'>
@@ -129,10 +130,14 @@ testing.</p>
129
130
 
130
131
  <p><a class="man-ref" href="snooper.1.html">snooper<span class="s">(1)</span></a></p>
131
132
 
133
+ <h2 id="AUTHORS">AUTHORS</h2>
134
+
135
+ <p>Will Speak (@willspeak)</p>
136
+
132
137
 
133
138
  <ol class='man-decor man-foot man foot'>
134
139
  <li class='tl'></li>
135
- <li class='tc'>March 2013</li>
140
+ <li class='tc'>June 2013</li>
136
141
  <li class='tr'>snooper-config(7)</li>
137
142
  </ol>
138
143
 
@@ -41,3 +41,7 @@ String Array options
41
41
  ## SEE ALSO
42
42
 
43
43
  snooper(1)
44
+
45
+ ## AUTHORS
46
+
47
+ Will Speak (@willspeak)
data/man/snooper.1 CHANGED
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "SNOOPER" "1" "March 2013" "" ""
4
+ .TH "SNOOPER" "1" "June 2013" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBsnooper\fR \- Spy on Tests
@@ -33,10 +33,13 @@ To run snooper in the current directory, configured by the \fB\.snooper\.yaml\fR
33
33
  \fB$ snooper \-\-config snooperrc "echo Hello World!"\fR
34
34
  .
35
35
  .P
36
- To snooper using the cofiguration in \fIsnooperrc\fR executing \fBecho Hello World!\fR when files change\.
36
+ To snoop using the cofiguration in \fIsnooperrc\fR executing \fBecho Hello World!\fR when files change\.
37
37
  .
38
38
  .SH "BUGS"
39
- \fBSnooper\fR does not yet load the configuration file\.
39
+ Think you\'ve found a bug? Report it \fIhttp://github\.com/iwillspeak/snooper/issues\fR\.
40
+ .
41
+ .SH "SEE ALSO"
42
+ snooper\-config(7)
40
43
  .
41
44
  .SH "AUTHORS"
42
45
  Will Speak (@willspeak)
data/man/snooper.1.html CHANGED
@@ -76,6 +76,7 @@
76
76
  <a href="#OPTIONS">OPTIONS</a>
77
77
  <a href="#EXAMPLES">EXAMPLES</a>
78
78
  <a href="#BUGS">BUGS</a>
79
+ <a href="#SEE-ALSO">SEE ALSO</a>
79
80
  <a href="#AUTHORS">AUTHORS</a>
80
81
  </div>
81
82
 
@@ -123,12 +124,16 @@ commands specified in the configuration file.</p></dd>
123
124
 
124
125
  <p><code>$ snooper --config snooperrc "echo Hello World!"</code></p>
125
126
 
126
- <p>To snooper using the cofiguration in <var>snooperrc</var> executing <code>echo Hello World!</code>
127
+ <p>To snoop using the cofiguration in <var>snooperrc</var> executing <code>echo Hello World!</code>
127
128
  when files change.</p>
128
129
 
129
130
  <h2 id="BUGS">BUGS</h2>
130
131
 
131
- <p><strong>Snooper</strong> does not yet load the configuration file.</p>
132
+ <p>Think you've found a bug? <a href="http://github.com/iwillspeak/snooper/issues">Report it</a>.</p>
133
+
134
+ <h2 id="SEE-ALSO">SEE ALSO</h2>
135
+
136
+ <p><a class="man-ref" href="snooper-config.7.html">snooper-config<span class="s">(7)</span></a></p>
132
137
 
133
138
  <h2 id="AUTHORS">AUTHORS</h2>
134
139
 
@@ -137,7 +142,7 @@ when files change.</p>
137
142
 
138
143
  <ol class='man-decor man-foot man foot'>
139
144
  <li class='tl'></li>
140
- <li class='tc'>March 2013</li>
145
+ <li class='tc'>June 2013</li>
141
146
  <li class='tr'>snooper(1)</li>
142
147
  </ol>
143
148
 
data/man/snooper.1.ronn CHANGED
@@ -34,12 +34,16 @@ To run snooper in the current directory, configured by the `.snooper.yaml` file.
34
34
 
35
35
  `$ snooper --config snooperrc "echo Hello World!"`
36
36
 
37
- To snooper using the cofiguration in <snooperrc> executing `echo Hello World!`
37
+ To snoop using the cofiguration in <snooperrc> executing `echo Hello World!`
38
38
  when files change.
39
39
 
40
40
  ## BUGS
41
41
 
42
- **Snooper** does not yet load the configuration file.
42
+ Think you've found a bug? [Report it](http://github.com/iwillspeak/snooper/issues).
43
+
44
+ ## SEE ALSO
45
+
46
+ snooper-config(7)
43
47
 
44
48
  ## AUTHORS
45
49
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snooper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Speak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-18 00:00:00.000000000 Z
11
+ date: 2013-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored
@@ -66,7 +66,10 @@ dependencies:
66
66
  - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.7.3
69
- description: A simple language and test system agnostic continuous test runner.
69
+ description: Snooper is a lightweight test automation tool, it monitors files and
70
+ folders while you work and re-runs your tests when you change something. Snooper
71
+ doesn't care what language you're using or what framework you are testing with,
72
+ it's all configureable.
70
73
  email: lithiumflame@gmail.com
71
74
  executables:
72
75
  - snooper
@@ -78,6 +81,7 @@ extra_rdoc_files:
78
81
  - README.md
79
82
  files:
80
83
  - lib/snooper/snoop.rb
84
+ - lib/snooper/version.rb
81
85
  - lib/snooper.rb
82
86
  - bin/snooper
83
87
  - man/snooper-config.7
@@ -90,7 +94,7 @@ files:
90
94
  - README.md
91
95
  homepage: http://github.com/iwillspeak/snooper
92
96
  licenses:
93
- - Snooper is Open Source! See the LICENCE.md for more information.
97
+ - MIT
94
98
  metadata: {}
95
99
  post_install_message:
96
100
  rdoc_options: