behavior_tree 0.1.7 → 0.1.8

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
  SHA256:
3
- metadata.gz: f8efa0e81c4f8f0b000ad45d14b7b75a244083f4d0013e8e42cf6b3732aef2ab
4
- data.tar.gz: 3a6c2e710f8ec044f0069f98d1e201840f8ca4d267f881d5a0d1f7f26907cae6
3
+ metadata.gz: 6e5666327f1ba46c295f52817fa6655e407628d9d46bb23a19f8883102b04235
4
+ data.tar.gz: ffcfea3b0c4a663dbb88b6adb15e07a9a5e87340484d8fddeaab9431305bb624
5
5
  SHA512:
6
- metadata.gz: ffd66c343d131acac25d3f6b8d1a797bf888968eaf6ae6ddb18902c3c6b6a20e146d30ac760695fd6be2b44b196cba2ef23fd453638f9759ca7c50d3106ee7d2
7
- data.tar.gz: 9a259429cc64aaef5e71456fd5864d708f574790d1ce6b364ff97849b53964e3ec7f9fab42b8b99a8dd3bb37af9e10ab67474d833dc9ea820b189d275e73bfa5
6
+ metadata.gz: b686cefdec1e0dbee7ea0fc738ff759984e70c4f564ccf18927cf4f19ee583092c7d81247aec61f23256e9eca6aa2126e84e318e67a05328a9b918a8988c9ffa
7
+ data.tar.gz: 6ae47ac4b40696d6ac31b462786f8d5ccf1a5b6eaa8e06786e8491f2b13f341198cb0e992d6237fee1dbdc4874881832f9a4f09fef38d8c033fdcb2538fb63b5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- behavior_tree (0.1.7)
4
+ behavior_tree (0.1.8)
5
5
  colorize (~> 0.8.1)
6
6
 
7
7
  GEM
data/lib/behavior_tree.rb CHANGED
@@ -9,24 +9,35 @@
9
9
 
10
10
  # pp Dir[File.join('.', 'behavior_tree', '**', '*.rb')]
11
11
  # require_relative './behavior_tree/tree'
12
+ puts do
13
+ raise 'haha' if (2 - 1) == 1
12
14
 
13
- require_relative './behavior_tree/concerns/tree_structure/printer'
14
- require_relative './behavior_tree/concerns/tree_structure/algorithms'
15
- require_relative './behavior_tree/tasks/task_base'
16
- require_relative './behavior_tree/single_child_node'
17
- require_relative './behavior_tree/decorator_nodes/decorator_base'
18
- require_relative './behavior_tree/decorator_nodes/repeater'
19
- require_relative './behavior_tree/decorator_nodes/retry'
20
- require_relative './behavior_tree/decorator_nodes/inverter'
21
- require_relative './behavior_tree/decorator_nodes/force_success'
22
- require_relative './behavior_tree/decorator_nodes/force_failure'
23
- require_relative './behavior_tree/decorator_nodes/condition'
24
- require_relative './behavior_tree/errors'
25
- require_relative './behavior_tree/control_nodes/control_node_base'
26
- require_relative './behavior_tree/control_nodes/selector'
27
- require_relative './behavior_tree/control_nodes/sequence'
28
- require_relative './behavior_tree/node_status'
29
- require_relative './behavior_tree/tasks/nop'
30
- require_relative './behavior_tree/builder'
31
- require_relative './behavior_tree/version'
32
- require_relative './behavior_tree/tree'
15
+ require_relative './behavior_tree/concerns/tree_structure/printer'
16
+ require_relative './behavior_tree/concerns/tree_structure/algorithms'
17
+ require_relative './behavior_tree/tasks/task_base'
18
+ require_relative './behavior_tree/single_child_node'
19
+ require_relative './behavior_tree/decorator_nodes/decorator_base'
20
+ require_relative './behavior_tree/decorator_nodes/repeater'
21
+ require_relative './behavior_tree/decorator_nodes/retry'
22
+ require_relative './behavior_tree/decorator_nodes/inverter'
23
+ require_relative './behavior_tree/decorator_nodes/force_success'
24
+ require_relative './behavior_tree/decorator_nodes/force_failure'
25
+ require_relative './behavior_tree/decorator_nodes/condition'
26
+ require_relative './behavior_tree/errors'
27
+ require_relative './behavior_tree/control_nodes/control_node_base'
28
+ require_relative './behavior_tree/control_nodes/selector'
29
+ require_relative './behavior_tree/control_nodes/sequence'
30
+ require_relative './behavior_tree/node_status'
31
+ require_relative './behavior_tree/tasks/nop'
32
+ require_relative './behavior_tree/builder'
33
+ require_relative './behavior_tree/version'
34
+ require_relative './behavior_tree/tree'
35
+ end
36
+ # puts "lol?"
37
+ # puts nil
38
+ # puts File.join(__dir__, 'behavior_tree', '**', '*.rb')
39
+ # puts
40
+
41
+ Dir[File.join(__dir__, 'behavior_tree', '**', '*.rb')].sort.each { |file| require_relative file }
42
+ # puts File.expand_path(File.join('lib', 'behavior_tree', '**', '*.rb')).each {|f| puts f}
43
+ # puts "--"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BehaviorTree
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: behavior_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felo Vilches