guard-markdown2impress 0.0.1 → 0.0.3

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
@@ -1,4 +1,4 @@
1
- # Guard-Markdown2Impress
1
+ # guard-markdown2impress
2
2
 
3
3
  This little addition to guard allows you to run [markdown2impress](https://github.com/yoshiki/markdown2impress)
4
4
  commands when files are modified.
@@ -14,9 +14,10 @@ Install the gem with:
14
14
 
15
15
  And then add a basic setup to your Guardfile:
16
16
 
17
+ $ cd /path/to/your/impress-directory
17
18
  $ guard init markdown2impress
18
19
 
19
20
  Then what only you have to do is just watch:
20
21
 
21
22
  $ guard start
22
-
23
+ $ vi example.md
@@ -4,7 +4,7 @@ require 'guard/guard'
4
4
  module Guard
5
5
  class Markdown2Impress < Guard
6
6
 
7
- VERSION = '0.0.1'
7
+ VERSION = '0.0.3'
8
8
 
9
9
  # Print the result of the command, if there is a result
10
10
  # to be printed. (see README.md)
@@ -4,5 +4,6 @@
4
4
  # https://github.com/yoshiki/markdown2impress
5
5
  #
6
6
  guard 'markdown2impress' do
7
- watch(/README.md/i) {|m| `markdown2impress.pl #{m[0]}` }
7
+ extensions = %w(md markdown mkd mdown mkdn mark).join("|")
8
+ watch(/.+\.#{extensions}/i) {|m| `markdown2impress.pl #{m[0]}` }
8
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-markdown2impress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-20 00:00:00.000000000Z
12
+ date: 2012-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70197183488880 !ruby/object:Gem::Requirement
16
+ requirement: &70178968865800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70197183488880
24
+ version_requirements: *70178968865800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70197183487980 !ruby/object:Gem::Requirement
27
+ requirement: &70178965730340 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.1.1
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70197183487980
35
+ version_requirements: *70178965730340
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70197183486760 !ruby/object:Gem::Requirement
38
+ requirement: &70178965729880 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 2.8.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70197183486760
46
+ version_requirements: *70178965729880
47
47
  description: Guard::Markdown2Impress automatically runs markdown2impress commands
48
48
  when watched files are modified.
49
49
  email:
@@ -76,8 +76,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: 1.3.6
77
77
  requirements: []
78
78
  rubyforge_project: guard-markdown2impress
79
- rubygems_version: 1.8.10
79
+ rubygems_version: 1.8.11
80
80
  signing_key:
81
81
  specification_version: 3
82
82
  summary: Guard gem for markdown2impress
83
83
  test_files: []
84
+ has_rdoc: