guard-mocha-node 0.0.4 → 0.0.5

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ae8b7b547d5bc0fddacd89dbabb3a40dbc2b160b
4
+ data.tar.gz: 8997479c237892833a1953cee52ce0738b96ed87
5
+ SHA512:
6
+ metadata.gz: 055b68bea222173bf83028fbc186d0af90bd8589fa4e67de27a82997ae2fde4205ca936e149d722b87f0df9b71ee2888c62d8ad522af89be9f87d1c32049e7ed
7
+ data.tar.gz: f951c9910b9561bcffb64823a335d2181cdb325ba454e225dec087ca88d6179c201bc0d9caa549552a7a637f686fbe8cac8cced98800dd903e06361ae5019159
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  Guard::MochaNode
2
2
  ==================
3
3
 
4
+ [![Build Status](https://travis-ci.org/neerolyte/guard-mocha-node.png)](https://travis-ci.org/neerolyte/guard-mocha-node)
5
+
4
6
  This is a fork of the Great work from [Dave Nolan](https://github.com/textgoeshere)
5
7
  with his gem [Guard::JasmineNode](https://github.com/guard/guard-jasmine-node).
6
- Only modified to work with mocha
7
-
8
- ... and then I stole it from [[https://github.com/kanzeon/guard-mocha-node|kanzeon]], and I'd welcome them taking it back at any point :)
8
+ Only modified to work with mocha ... and then I stole it from [kanzeon](https://github.com/kanzeon/guard-mocha-node), and I'd welcome them taking it back at any point :)
9
9
 
10
10
  MochaNode guard automatically & intelligently executes mocha node specs when files are modified.
11
11
 
@@ -15,7 +15,7 @@ Requirements
15
15
  ------------
16
16
 
17
17
  * [Node](http://nodejs.org/)
18
- * Mocha
18
+ * [Mocha](http://visionmedia.github.io/mocha/)
19
19
  * [Ruby](http://ruby-lang.org) and rubygems
20
20
 
21
21
  Install
@@ -93,7 +93,7 @@ Globals to ignore when performing global leak detection
93
93
 
94
94
  * `:mocha_bin`
95
95
 
96
- Specify the path to the jasmine-node binary that will execute your specs.
96
+ Specify the path to the mocha-node binary that will execute your specs.
97
97
 
98
98
  The default `:mocha_bin` in the Guardfile assumes:
99
99
 
@@ -104,7 +104,7 @@ The default `:mocha_bin` in the Guardfile assumes:
104
104
  If you delete the option completely from the Guardfile, it assumes the
105
105
  mocha binary is already in your `$PATH`.
106
106
 
107
- So if you have installed jasmine-node globally using e.g. `npm install
107
+ So if you have installed mocha-node globally using e.g. `npm install
108
108
  -g mocha`, remove the `:mocha_bin` option from the Guardfile.
109
109
 
110
110
  Guardfile
@@ -115,21 +115,13 @@ more information about the Guardfile DSL.
115
115
 
116
116
  It's powerful stuff.
117
117
 
118
-
119
- TODO
120
- ----
121
-
122
- * write a JsonFormatter for jasmine-node so we have finer-grained
123
- control over rendering output
124
- * write an RSpec-style progress formatter (aka lots of green dots)
125
- * patch Guard to locate CamelCased modules correctly
126
-
127
118
  Testing
128
119
  -------
129
120
 
130
121
  $ rake
131
122
 
132
- Author
123
+ Authors
133
124
  ------
134
125
 
135
- [Roberto Huelga Díaz](https://github.com/kanzeon)
126
+ * [Roberto Huelga Díaz](https://github.com/kanzeon)
127
+ * [David Schoen](https://github.com/neerolyte)
@@ -25,7 +25,7 @@ module Guard
25
25
  line = @stdout.gets
26
26
  print line if !line.strip.empty?
27
27
  end
28
- @stderr.lines { |line| print line }
28
+ @stderr.each { |line| print line }
29
29
  @exitstatus = @io[THREAD].value rescue ERROR_CODE
30
30
  close_io
31
31
  update_passed_and_fixed
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module MochaNodeVersion
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -22,7 +22,7 @@ describe Guard::MochaNode::SpecState do
22
22
  let(:io) { [
23
23
  double("stdin", :close => true),
24
24
  double("stdout", :close => true, :lines => [], :eof? => true),
25
- double("stderr", :close => true, :lines => []),
25
+ double("stderr", :close => true, :each => []),
26
26
  double("thread", :value => 0)
27
27
  ] }
28
28
  let(:some_paths) { %w(some paths) }
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-mocha-node
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - dave@kapoq.com
@@ -10,102 +9,90 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-04-21 00:00:00.000000000 Z
12
+ date: 2013-07-13 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: guard
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0.4'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0.4'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: rspec
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: guard-rspec
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: rake
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: rb-inotify
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - '>='
85
75
  - !ruby/object:Gem::Version
86
76
  version: '0'
87
77
  type: :development
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - '>='
93
82
  - !ruby/object:Gem::Version
94
83
  version: '0'
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: libnotify
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - '>='
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :development
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - '>='
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  description: ''
@@ -117,6 +104,7 @@ extensions: []
117
104
  extra_rdoc_files: []
118
105
  files:
119
106
  - .gitignore
107
+ - .travis.yml
120
108
  - CHANGELOG.md
121
109
  - Gemfile
122
110
  - Guardfile
@@ -135,27 +123,26 @@ files:
135
123
  - spec/spec_helper.rb
136
124
  homepage: https://github.com/neerolyte/guard-mocha-node
137
125
  licenses: []
126
+ metadata: {}
138
127
  post_install_message:
139
128
  rdoc_options: []
140
129
  require_paths:
141
130
  - lib
142
131
  required_ruby_version: !ruby/object:Gem::Requirement
143
- none: false
144
132
  requirements:
145
- - - ! '>='
133
+ - - '>='
146
134
  - !ruby/object:Gem::Version
147
135
  version: '0'
148
136
  required_rubygems_version: !ruby/object:Gem::Requirement
149
- none: false
150
137
  requirements:
151
- - - ! '>='
138
+ - - '>='
152
139
  - !ruby/object:Gem::Version
153
140
  version: '0'
154
141
  requirements: []
155
142
  rubyforge_project: guard-mocha-node
156
- rubygems_version: 1.8.23
143
+ rubygems_version: 2.0.3
157
144
  signing_key:
158
- specification_version: 3
145
+ specification_version: 4
159
146
  summary: Guard::MochaNode automatically runs your Mocha Node specs when files are
160
147
  modified
161
148
  test_files: []