guard-plant 1.0.2 → 1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d84dafa02ff6e3ad641ecad1daa0cade4084fc99
4
- data.tar.gz: 9c775c1481185753d17514c99104f88e6bfad319
3
+ metadata.gz: a075dcd81c3a650068cdffa4646c5e953904bb8e
4
+ data.tar.gz: 3adf9ec0f182c75a5d2740ab7b340f7397dfa0f0
5
5
  SHA512:
6
- metadata.gz: a81c2d0528525f1198dbd3dbcc617707afa7f213ef17a3f1951a3d2d44a5d8815d9fc4199b9b76b575e805d129926bd5816069a18b1aecd5a83bf1344690b1bd
7
- data.tar.gz: 06ddc4ba822895d05e952196a52addbaf4da8f0534a1681f0aaa5c664ee72b31f9e5ef2ac12e4c04b1143071fed60ec43e81a3393f9108bdb5430ffad889d100
6
+ metadata.gz: a2dcf3d36b6bd9210edd3a250cb201325a0e96c23c7becfdd5ca1ddb3eb158a1eda41dc135f469cd1a7f7c3e99c247ff48e643d62a4c205d6ba96fa896e4c29a
7
+ data.tar.gz: ed96566a2e0b778d45e37aa4b28d287a7344e0dd1e05ce889277f9f6032c81b3732c7e0a89c7bdb81ac74d17d6ec1f0165bf2ddec7f79e2673e60692ffa755fd
@@ -11,11 +11,16 @@ module Guard
11
11
  import_seeds(paths)
12
12
  end
13
13
 
14
+ def start
15
+ import_seeds([])
16
+ end
17
+
14
18
  private
15
19
 
16
20
  def import_seeds(paths)
17
- puts "Auto importing seeds"
18
- system('bundle exec rake plant:seeds')
21
+ Guard::Compat::UI.info "Auto importing seeds"
22
+ @result = system('bundle exec rake plant:seeds')
23
+ Guard::Compat::UI.info "Seeds imported: #{@result}"
19
24
  end
20
25
  end
21
26
  end
@@ -1,3 +1,3 @@
1
1
  guard :plant do
2
- watch ('app/content//**/*.yml')
2
+ watch ('app/content/**/*.yml')
3
3
  end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Guard
3
3
  module PlantVersion
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-plant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Brennan