plant 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24afc5dc86be33e64e77455f6d8f1cea753667ba
4
- data.tar.gz: 05ad2aaacd583ef3f548869807352fc9c8ca7a99
3
+ metadata.gz: 093098e8ecc188e88cb390354dd771457d02370c
4
+ data.tar.gz: 9b1d96fcd38e4471992ebbaf30d45aad045186e6
5
5
  SHA512:
6
- metadata.gz: 5eb9e9851e6d0bcff7d76811db55e3eea0a31f06e6bea50968c16a2cce5c991a763d484cccc059ee4c14b3c9e0b3037e582b8b21452c723d069359113a186b6b
7
- data.tar.gz: 8db4e15743b79bebaba40b4fd342fd9e38f4b0478e908dad3ea99bb87b5c58ff8a8083a357308a2783947e89b22c79a827c6f65155fc73c94b88854a6006507a
6
+ metadata.gz: 6c7649ea3a4f7187aae4943a5a1b0ed2c11693148a1dd896cc6e1bace1d3773fa735dd3c6cadc41a0f767cf7d8961fd53f7ffcdccc51f632ef2ea9491329fd93
7
+ data.tar.gz: f9f428ed31e9786ac6c8d0e01e1600d6c0e8970f4301df32d4a9399f3fc52adb171182df14d754fcb2fd06c69f5b722f0228da7d9bb844fe6cc5255f9545b35a
data/lib/plant.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require 'plant/hash_pathify'
2
2
  require 'plant/engine'
3
3
  require 'plant/utils'
4
- require 'guard/plant' if defined? (Guard)
5
4
  # Main module
6
5
  module Plant
7
6
  end
data/lib/plant/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # Version file
2
2
  module Plant
3
- VERSION = '0.7.1'
3
+ VERSION = '0.8.0'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yule
@@ -178,8 +178,6 @@ files:
178
178
  - db/migrate/20150820134825_create_plant_contents.rb
179
179
  - lib/capistrano/plant.rb
180
180
  - lib/capistrano/tasks/plant.rake
181
- - lib/guard/plant.rb
182
- - lib/guard/plant/templates/Guardfile
183
181
  - lib/plant.rb
184
182
  - lib/plant/engine.rb
185
183
  - lib/plant/hash_pathify.rb
data/lib/guard/plant.rb DELETED
@@ -1,19 +0,0 @@
1
- module Guard
2
- class Plant < Plugin
3
-
4
- def run_on_additions(paths = [])
5
- import_seeds(paths)
6
- end
7
-
8
- def run_on_modifications(paths = [])
9
- import_seeds(paths)
10
- end
11
-
12
- private
13
-
14
- def import_seeds(paths)
15
- puts "Auto importing seeds"
16
- system('bundle exec rake plant:seeds')
17
- end
18
- end
19
- end
@@ -1,5 +0,0 @@
1
- guard :plant do
2
- require 'plant/utils'
3
- files = Plant::Utils.yaml_files
4
- files.each { |file| watch(file) }
5
- end