plant 0.8.0 → 0.9.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: 093098e8ecc188e88cb390354dd771457d02370c
4
- data.tar.gz: 9b1d96fcd38e4471992ebbaf30d45aad045186e6
3
+ metadata.gz: 9c70bd22dc0374ce3b64dc53d5bc65dfd3e9a493
4
+ data.tar.gz: 5ca6c5dc04e4544cad061fe65c0a10773793c915
5
5
  SHA512:
6
- metadata.gz: 6c7649ea3a4f7187aae4943a5a1b0ed2c11693148a1dd896cc6e1bace1d3773fa735dd3c6cadc41a0f767cf7d8961fd53f7ffcdccc51f632ef2ea9491329fd93
7
- data.tar.gz: f9f428ed31e9786ac6c8d0e01e1600d6c0e8970f4301df32d4a9399f3fc52adb171182df14d754fcb2fd06c69f5b722f0228da7d9bb844fe6cc5255f9545b35a
6
+ metadata.gz: 215ff468742525b1ac33f3bfde887ce3855b4b00aa7029207f2a9a6d9e081c6643f6b94b87d65d63712877164445240cd5ca605d898c8134a42733c654627f69
7
+ data.tar.gz: 0badb9c78e6b841735528b403f6b16de700d33151580253f2fd31922cc99bc05d5d64477fcf2054bb58dda59e69c5cef50a72655adf8ee6998a28807f4140fe0
data/lib/plant/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # Version file
2
2
  module Plant
3
- VERSION = '0.8.0'
3
+ VERSION = '0.9.0'
4
4
  end
@@ -1,7 +1,6 @@
1
1
  namespace :plant do
2
2
  desc 'Puts the content from the YAML files into the database'
3
3
  task seed: :environment do
4
- puts 'Planting those seeds'
5
4
  count = 0
6
5
  Plant::Utils.load_all_yaml_files.each do |full_node, value|
7
6
  content_obj = Plant::Content.find_or_initialize_by(node_id: full_node)
@@ -11,4 +10,6 @@ namespace :plant do
11
10
  end
12
11
  puts "Planted #{count} seeds."
13
12
  end
13
+
14
+ task seeds: :seed
14
15
  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.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yule