visionmedia-bind 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,8 @@
1
1
 
2
+ === 0.2.6 / 2009-03-25
3
+
4
+ * Updated exec doc to match recent changes
5
+
2
6
  === 0.2.5 / 2009-03-22
3
7
 
4
8
  * visionmedia-commander >=3.1.6 for options hash symbols
@@ -14,9 +14,15 @@ is supported.
14
14
  Bind to a single file, outputting its path when changed
15
15
  $ rbind to style.css -e 'puts file.path'
16
16
 
17
+ Bind to glob
18
+ $ rbind to stylesheets/*.css -e 'puts file.path'
19
+
20
+ Bind to ruby glob (allows recursion) note the quotes
21
+ $ rbind to 'stylesheets/**/*.css' -e 'puts file.path'
22
+
17
23
  Refresh Safari, and Firefox in the background to the uri specified when
18
24
  style.css or reset.css are modified.
19
- $ rbind refresh http://localhost/page --files style.css,reset.css --browsers Safari,Firefox
25
+ $ rbind refresh http://localhost/page --paths style.css,reset.css --browsers Safari,Firefox
20
26
 
21
27
  Refresh local static html when the style you are working on is modified.
22
28
  $ rbind refresh examples/demo.html -f style.css -b Safari
data/Todo.rdoc CHANGED
@@ -1,6 +1,7 @@
1
1
 
2
2
  == Major:
3
3
 
4
+ * Native JSpec support
4
5
  * Allow --paths to have globs ... and dirs test this
5
6
  * Autotest-like functionality for specs / refactoring
6
7
  * rbind rake ext:build spec --paths foo,foobar,w/e
data/bin/rbind CHANGED
@@ -16,7 +16,7 @@ command :to do |c|
16
16
  c.description = 'Bind to modification of a file or files within a directory.'
17
17
  c.example 'Bind to a single file, logging its path when changed', "rbind to style.css -e 'puts file.path'"
18
18
  c.example 'Bind to a file, and a directory of files', "rbind to stylesheets style.css -e 'puts file.path'"
19
- c.example 'Run specs when ruby files are modified', "rbind to lib/**/*.rb -e 'system \"rake spec\"'"
19
+ c.example 'Run specs when ruby files are modified', "rbind to 'lib/**/*.rb' -e 'system \"rake spec\"'"
20
20
  c.when_called do |args, options|
21
21
  abort 'invalid option. --eval switch is required in order to perform any action on the bound file(s)' unless options.eval
22
22
  common_options options
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{bind}
5
- s.version = "0.2.5"
5
+ s.version = "0.2.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
9
- s.date = %q{2009-03-22}
9
+ s.date = %q{2009-03-25}
10
10
  s.default_executable = %q{rbind}
11
11
  s.description = %q{bind actions to filesystem events}
12
12
  s.email = %q{tj@vision-media.ca}
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Bind
3
- VERSION = '0.2.5'
3
+ VERSION = '0.2.6'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visionmedia-bind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-22 00:00:00 -07:00
12
+ date: 2009-03-25 00:00:00 -07:00
13
13
  default_executable: rbind
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency