guard-jstd 0.1.1 → 0.1.2

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.
data/README.md CHANGED
@@ -24,7 +24,7 @@ See the [Guard](http://github.com/guard/guard) gem README for more information a
24
24
 
25
25
  By default, Guard::Jstd will attempt to start the JsTestDriver server. This is done as a forked process, so when you stop Guard with <tt>Ctrl-C</tt>, the Jstd server will also stop.
26
26
 
27
- <tt>Ctrl-\</tt> or <tt>Ctrl-Z</tt> will run all of your tests.
27
+ <tt>Ctrl-\\</tt> or <tt>Ctrl-Z</tt> will run all of your tests.
28
28
 
29
29
  ## Configuration
30
30
 
@@ -58,4 +58,4 @@ Information about setting up JsTestDriver on your system can be [found here](htt
58
58
 
59
59
  ## Guard::CoffeeScript
60
60
 
61
- If you want to use CoffeeScript in your development, add the [guard-coffeescript gem.](https://github.com/guard/guard-coffeescript) To avoid conflict with Guard::CoffeeScript, <tt>Ctrl-\</tt> is disabled for Guard::Jstd. Use <tt>Ctrl-Z</tt> instead to run all tests.
61
+ If you want to use CoffeeScript in your development, add the [guard-coffeescript gem.](https://github.com/guard/guard-coffeescript) To avoid conflict with Guard::CoffeeScript, <tt>Ctrl-\\</tt> is disabled for Guard::Jstd. Use <tt>Ctrl-Z</tt> instead to run all tests.
@@ -41,7 +41,7 @@ module Guard
41
41
  def default_server_port
42
42
  begin
43
43
  conf = File.read(jstd_config_path)
44
- conf.scan(/server:.*:(\d+)$/).to_s
44
+ conf.match(/server:.*:(\d+)$/)[1]
45
45
  rescue
46
46
  '4224'
47
47
  end
@@ -1,4 +1,4 @@
1
- require 'Forwardable'
1
+ require 'Forwardable' unless defined?(Forwardable)
2
2
 
3
3
  module Guard
4
4
  class Jstd
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module JstdVersion
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-jstd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - aRailsDemo
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-10 00:00:00 Z
18
+ date: 2011-09-10 00:00:00 -07:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: guard
@@ -80,6 +81,7 @@ files:
80
81
  - spec/guard/jstd/runner_spec.rb
81
82
  - spec/guard/jstd_spec.rb
82
83
  - spec/spec_helper.rb
84
+ has_rdoc: true
83
85
  homepage: https://github.com/arailsdemo/guard-jstd
84
86
  licenses: []
85
87
 
@@ -109,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
111
  requirements: []
110
112
 
111
113
  rubyforge_project:
112
- rubygems_version: 1.7.2
114
+ rubygems_version: 1.5.2
113
115
  signing_key:
114
116
  specification_version: 3
115
117
  summary: A Guard for JsTestDriver
@@ -120,4 +122,3 @@ test_files:
120
122
  - spec/guard/jstd/runner_spec.rb
121
123
  - spec/guard/jstd_spec.rb
122
124
  - spec/spec_helper.rb
123
- has_rdoc: