jazrb 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Jazrb provides support for running JavaScript specs written using the
4
4
  Jasmine JavaScript BDD framework under env.js. It includes support for
5
- running via watchr and autotest.
5
+ running via wake.
6
6
 
7
7
  Discussion at http://groups.google.com/group/jazrb.
8
8
 
@@ -53,19 +53,15 @@ familiar rspec format. The <tt>--xml</tt> flag
53
53
  causes <tt>jazrb</tt> to display the raw XML output.
54
54
 
55
55
  To run all the tests in the <tt>spec</tt> directory repeatedly you can
56
- use watchr:
56
+ use wake:
57
57
 
58
58
  rake test
59
59
 
60
60
  or
61
61
 
62
- watchr jazrb.watchr
62
+ wake
63
63
 
64
- or even
65
-
66
- ./jazrb.watchr
67
-
68
- See jazrb's own <tt>jazrb.watchr</tt> file and the
64
+ See jazrb's <tt>Wakefile</tt> file and the
69
65
  discussion on examples below.
70
66
 
71
67
  You can also try using <tt>autojaz</tt> as
@@ -76,19 +72,18 @@ you would use <tt>autospec</tt>:
76
72
  You'll need to install the ZenTest gem if you don't have it installed;
77
73
  <tt>jazrb</tt> can be used without ZenTest installed, but
78
74
  <tt>autojaz</tt> cannot be. Note that <tt>autojaz</tt> may be
79
- deprecated in favor of <tt>watchr</tt>.
75
+ deprecated in favor of <tt>wake</tt>.
80
76
 
81
77
  Screen shot at http://www.scrnshots.com/users/smparkes/screenshots/206033
82
78
 
83
79
  == Examples
84
80
 
85
81
  There are examples in <tt>examples/*</tt> and <tt>spec/examples/*</tt>. You can run the
86
- tests with <tt>rake test</tt> which will run the watchr control file,
87
- <tt>jazrb.watchr</tt>. (Watchr as a runner will probably replace
88
- autojaz.) You'll need the smparkes-watchr gem.
82
+ tests with <tt>rake test</tt> which will run wake against the Wakefile.
83
+ (Wake as a runner will probably replace
84
+ autojaz.) You'll need the wake gem.
89
85
 
90
- Running <tt>jazrb.watchr</tt> (either with <tt>watchr jazrb.watchr</tt>
91
- or as <tt>./jazrb.watchr</tt> will run all the
86
+ Running wake will run all the
92
87
  tests and then watch the file system for changes. When it sees a change,
93
88
  it reruns the test. It knows how to find the HTML fixtures for specs
94
89
  where they exist in the right place, or it just runs the JavaScript
@@ -109,9 +104,9 @@ to true.
109
104
 
110
105
  == Recent Changes
111
106
 
112
- 1. Pass dependence flag to envjsrb to support watchr dependences
107
+ 1. Pass dependence flag to envjsrb to support wake dependences
113
108
 
114
- 1. Add watchr support
109
+ 1. Add wake support
115
110
 
116
111
  1. Add example
117
112
 
@@ -2522,5 +2522,5 @@ jasmine.version_= {
2522
2522
  "major": 0,
2523
2523
  "minor": 10,
2524
2524
  "build": 0,
2525
- "revision": 1264459703
2525
+ "revision": 1264544587
2526
2526
  };
@@ -2522,5 +2522,5 @@ jasmine.version_= {
2522
2522
  "major": 0,
2523
2523
  "minor": 10,
2524
2524
  "build": 0,
2525
- "revision": 1264459703
2525
+ "revision": 1264544587
2526
2526
  };
@@ -1,16 +1,14 @@
1
- #!/usr/bin/env watchr
2
-
3
- begin; require 'watchr/event_handlers/em'; rescue LoadError; end
4
- begin; require 'watchr/deps'; rescue LoadError; end
1
+ begin; require 'wake/event_handlers/em'; rescue LoadError; end
2
+ begin; require 'wake/deps'; rescue LoadError; end
5
3
 
6
4
  # p "reload"
7
5
 
8
6
  watch( %r(.*), :modified, lambda { |md| File.directory? md[0] } ) do |md|
9
- raise Watchr::Refresh
7
+ raise Wake::Refresh
10
8
  end
11
9
 
12
- watch( %r(jasmine.watchr), :modified ) do |md|
13
- raise Watchr::Refresh
10
+ watch( %r(jasmine.wake), :modified ) do |md|
11
+ raise Wake::Refresh
14
12
  end
15
13
 
16
14
  map_to_test = lambda do |file, event|
@@ -2522,5 +2522,5 @@ jasmine.version_= {
2522
2522
  "major": 0,
2523
2523
  "minor": 10,
2524
2524
  "build": 0,
2525
- "revision": 1264459703
2525
+ "revision": 1264544587
2526
2526
  };
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jazrb
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
  - Steven Parkes
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-25 00:00:00 -08:00
12
+ date: 2010-01-26 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -135,6 +135,7 @@ files:
135
135
  - vendor/jasmine/MIT.LICENSE
136
136
  - vendor/jasmine/README.markdown
137
137
  - vendor/jasmine/Rakefile
138
+ - vendor/jasmine/Wakefile
138
139
  - vendor/jasmine/contrib/ruby/jasmine_runner.rb
139
140
  - vendor/jasmine/contrib/ruby/jasmine_spec_builder.rb
140
141
  - vendor/jasmine/contrib/ruby/run.html
@@ -196,7 +197,6 @@ files:
196
197
  - vendor/jasmine/images/question-bk.png
197
198
  - vendor/jasmine/images/questionbk-16.png
198
199
  - vendor/jasmine/images/spinner.gif
199
- - vendor/jasmine/jasmine.watchr
200
200
  - vendor/jasmine/lib/EnvjsReporter.js
201
201
  - vendor/jasmine/lib/TrivialReporter.js
202
202
  - vendor/jasmine/lib/XMLReporter.js