vedeu 0.4.54 → 0.4.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vedeu.rb +1 -1
  3. data/lib/vedeu/all.rb +5 -1
  4. data/lib/vedeu/api.rb +7 -3
  5. data/lib/vedeu/application/all.rb +6 -6
  6. data/lib/vedeu/application/application_controller.rb +1 -1
  7. data/lib/vedeu/application/application_helper.rb +1 -1
  8. data/lib/vedeu/application/application_view.rb +1 -1
  9. data/lib/vedeu/application/view.rb +10 -0
  10. data/lib/vedeu/bindings/all.rb +13 -5
  11. data/lib/vedeu/bootstrap.rb +0 -2
  12. data/lib/vedeu/buffers/all.rb +3 -2
  13. data/lib/vedeu/{repositories/repositories → buffers}/buffers.rb +1 -1
  14. data/lib/vedeu/cli/all.rb +1 -1
  15. data/lib/vedeu/cli/generator/helpers.rb +2 -2
  16. data/lib/vedeu/colours/all.rb +7 -0
  17. data/lib/vedeu/{output → colours}/background.rb +0 -0
  18. data/lib/vedeu/{repositories/repositories → colours}/backgrounds.rb +0 -0
  19. data/lib/vedeu/{output → colours}/colour.rb +0 -0
  20. data/lib/vedeu/{output → colours}/colour_translator.rb +0 -0
  21. data/lib/vedeu/{repositories/repositories → colours}/colours.rb +0 -0
  22. data/lib/vedeu/{output → colours}/foreground.rb +0 -0
  23. data/lib/vedeu/{repositories/repositories → colours}/foregrounds.rb +0 -0
  24. data/lib/vedeu/{support/common.rb → common.rb} +0 -0
  25. data/lib/vedeu/configuration/all.rb +3 -3
  26. data/lib/vedeu/cursor/all.rb +5 -4
  27. data/lib/vedeu/cursor/cursor.rb +1 -1
  28. data/lib/vedeu/{repositories/repositories → cursor}/cursors.rb +2 -19
  29. data/lib/vedeu/distributed/all.rb +5 -5
  30. data/lib/vedeu/distributed/test_application.rb +1 -1
  31. data/lib/vedeu/dsl/all.rb +1 -1
  32. data/lib/vedeu/dsl/composition.rb +1 -1
  33. data/lib/vedeu/dsl/use.rb +1 -1
  34. data/lib/vedeu/events/all.rb +4 -3
  35. data/lib/vedeu/{repositories/repositories → events}/events.rb +0 -0
  36. data/lib/vedeu/geometry/all.rb +14 -9
  37. data/lib/vedeu/{repositories/repositories → geometry}/geometries.rb +0 -0
  38. data/lib/vedeu/input/all.rb +5 -4
  39. data/lib/vedeu/{repositories/repositories → input}/keymaps.rb +0 -0
  40. data/lib/vedeu/{support/log.rb → log.rb} +0 -0
  41. data/lib/vedeu/models/all.rb +14 -10
  42. data/lib/vedeu/models/group.rb +3 -3
  43. data/lib/vedeu/{repositories/repositories → models}/groups.rb +2 -16
  44. data/lib/vedeu/models/interface.rb +1 -1
  45. data/lib/vedeu/{repositories/repositories → models}/interfaces.rb +1 -1
  46. data/lib/vedeu/{repositories/repositories → models}/menus.rb +0 -0
  47. data/lib/vedeu/{support → models}/toggleable.rb +4 -4
  48. data/lib/vedeu/null/all.rb +5 -5
  49. data/lib/vedeu/null/border.rb +5 -3
  50. data/lib/vedeu/null/buffer.rb +5 -3
  51. data/lib/vedeu/null/generic.rb +6 -1
  52. data/lib/vedeu/null/geometry.rb +6 -4
  53. data/lib/vedeu/null/interface.rb +9 -10
  54. data/lib/vedeu/output/all.rb +21 -21
  55. data/lib/vedeu/{repositories/repositories → output}/borders.rb +0 -0
  56. data/lib/vedeu/output/clear/all.rb +2 -2
  57. data/lib/vedeu/output/html_char.rb +1 -1
  58. data/lib/vedeu/output/presentation.rb +25 -0
  59. data/lib/vedeu/output/refresh.rb +1 -1
  60. data/lib/vedeu/output/refresh_group.rb +5 -3
  61. data/lib/vedeu/output/renderers/all.rb +8 -8
  62. data/lib/vedeu/output/renderers/html.rb +2 -2
  63. data/lib/vedeu/repositories/all.rb +5 -7
  64. data/lib/vedeu/repositories/collection.rb +42 -0
  65. data/lib/vedeu/repositories/model.rb +2 -2
  66. data/lib/vedeu/repositories/repository.rb +11 -2
  67. data/lib/vedeu/templating/all.rb +4 -3
  68. data/lib/vedeu/templating/template.rb +75 -0
  69. data/lib/vedeu/{support/terminal.rb → terminal.rb} +0 -0
  70. data/lib/vedeu/{support/timer.rb → timer.rb} +0 -0
  71. data/lib/vedeu/version.rb +1 -1
  72. data/test/lib/vedeu/application/view_test.rb +11 -1
  73. data/test/lib/vedeu/bootstrap_test.rb +5 -5
  74. data/test/lib/vedeu/{repositories/repositories → buffers}/buffers_test.rb +0 -0
  75. data/test/lib/vedeu/cli/generator/helpers_test.rb +1 -1
  76. data/test/lib/vedeu/{output → colours}/background_test.rb +0 -0
  77. data/test/lib/vedeu/{repositories/repositories → colours}/backgrounds_test.rb +0 -0
  78. data/test/lib/vedeu/{output → colours}/colour_test.rb +0 -0
  79. data/test/lib/vedeu/{output → colours}/colour_translator_test.rb +0 -0
  80. data/test/lib/vedeu/{repositories/repositories → colours}/colours_test.rb +0 -0
  81. data/test/lib/vedeu/{output → colours}/foreground_test.rb +0 -0
  82. data/test/lib/vedeu/{repositories/repositories → colours}/foregrounds_test.rb +0 -0
  83. data/test/lib/vedeu/{support/common_test.rb → common_test.rb} +0 -0
  84. data/test/lib/vedeu/{repositories/repositories → cursor}/cursors_test.rb +0 -21
  85. data/test/lib/vedeu/dsl/composition_test.rb +1 -1
  86. data/test/lib/vedeu/dsl/use_test.rb +9 -0
  87. data/test/lib/vedeu/{repositories/repositories → events}/events_test.rb +0 -0
  88. data/test/lib/vedeu/{repositories/repositories → geometry}/geometries_test.rb +0 -0
  89. data/test/lib/vedeu/{repositories/repositories → input}/keymaps_test.rb +0 -0
  90. data/test/lib/vedeu/{support/log_test.rb → log_test.rb} +0 -0
  91. data/test/lib/vedeu/models/groups_test.rb +21 -0
  92. data/test/lib/vedeu/{repositories/repositories → models}/interfaces_test.rb +0 -0
  93. data/test/lib/vedeu/{repositories/repositories → models}/menus_test.rb +0 -0
  94. data/test/lib/vedeu/{support → models}/toggleable_test.rb +0 -0
  95. data/test/lib/vedeu/null/border_test.rb +9 -1
  96. data/test/lib/vedeu/null/buffer_test.rb +9 -1
  97. data/test/lib/vedeu/null/generic_test.rb +10 -1
  98. data/test/lib/vedeu/null/geometry_test.rb +9 -1
  99. data/test/lib/vedeu/null/interface_test.rb +11 -8
  100. data/test/lib/vedeu/{repositories/repositories → output}/borders_test.rb +0 -0
  101. data/test/lib/vedeu/output/compressor_test.rb +47 -2
  102. data/test/lib/vedeu/output/refresh_group_test.rb +5 -5
  103. data/test/lib/vedeu/output/refresh_test.rb +1 -1
  104. data/test/lib/vedeu/repositories/collection_test.rb +78 -0
  105. data/test/lib/vedeu/repositories/repository_test.rb +8 -3
  106. data/test/lib/vedeu/templating/template_test.rb +46 -0
  107. data/test/lib/vedeu/{support/terminal_test.rb → terminal_test.rb} +0 -0
  108. data/test/lib/vedeu/{support/timer_test.rb → timer_test.rb} +0 -0
  109. data/test/support/all_seeds.sh +9 -0
  110. data/test/support/templates/inline.erb +1 -0
  111. data/test/test_helper.rb +7 -1
  112. metadata +74 -78
  113. data/lib/vedeu/output/view_helpers/all.rb +0 -5
  114. data/lib/vedeu/output/view_helpers/view_helpers.rb +0 -21
  115. data/lib/vedeu/repositories/collections/all.rb +0 -47
  116. data/lib/vedeu/repositories/repositories/all.rb +0 -14
  117. data/lib/vedeu/support/all.rb +0 -5
  118. data/lib/vedeu/support/template.rb +0 -73
  119. data/test/lib/vedeu/output/view_helpers/view_helpers_test.rb +0 -30
  120. data/test/lib/vedeu/repositories/collections/all_test.rb +0 -83
  121. data/test/lib/vedeu/repositories/repositories/groups_test.rb +0 -35
  122. data/test/lib/vedeu/support/template_test.rb +0 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 144b0ad6061194dfc5cb20651b818ed2512df6a0
4
- data.tar.gz: 22ce31896daf7963b207766b655f41d31b8aa68d
3
+ metadata.gz: e84104ce6f4159eb294124d8a6074932fa995a85
4
+ data.tar.gz: b7b8f4ebd1a8955378a9caec05edeee224910750
5
5
  SHA512:
6
- metadata.gz: d0327fe74a67980d3db9b0f96479fd32e9cc32590b70dbabf52c8db7ad667df9948fcd280b5b417e21cde5d5a1ef1f72d96f5861a1d957447f03f5218ac8ed17
7
- data.tar.gz: 2e8a1974fb367819b03a0b9baab9e341b8ec1a44ac20a44da22f091bd60e1fea47cdcb5ad1fb4bf27252b4544d44a265cbfd67f5f62f3ea5b494c5f316d3e178
6
+ metadata.gz: d354c6aa5c3e636dcffd8896eba97817ec24f53c125cb119018b8fea96659ec9000caec97e6687694193efff159fa33c05c45038ac2e6bfcd758a50d5251bd82
7
+ data.tar.gz: 6698d400d2c4ff865b8005d356feb294d266632431d964184ec9e9fd298a94c7fc17ebefefa3c925e2dacbf40c712da6c457f94887f4aa9755fee731f1f8915d
data/lib/vedeu.rb CHANGED
@@ -17,7 +17,7 @@ require 'time'
17
17
 
18
18
  require 'thor'
19
19
 
20
- require 'vedeu/support/log'
20
+ require 'vedeu/log'
21
21
 
22
22
  # Vedeu is a GUI framework for terminal/console applications written in Ruby.
23
23
  module Vedeu
data/lib/vedeu/all.rb CHANGED
@@ -27,7 +27,11 @@ require 'vedeu/dsl/all'
27
27
  require 'vedeu/events/all'
28
28
  require 'vedeu/input/all'
29
29
  require 'vedeu/output/all'
30
- require 'vedeu/support/all'
30
+ require 'vedeu/common'
31
+ require 'vedeu/log'
32
+ require 'vedeu/common'
33
+ require 'vedeu/terminal'
34
+ require 'vedeu/timer'
31
35
  require 'vedeu/templating/all'
32
36
 
33
37
  require 'vedeu/main_loop'
data/lib/vedeu/api.rb CHANGED
@@ -1,6 +1,10 @@
1
- require 'vedeu/support/common'
2
- require 'vedeu/support/terminal'
3
- require 'vedeu/support/timer'
1
+ require 'vedeu/colours/all'
2
+ require 'vedeu/buffers/buffers'
3
+ require 'vedeu/output/borders'
4
+ require 'vedeu/cursor/cursors'
5
+ require 'vedeu/common'
6
+ require 'vedeu/terminal'
7
+ require 'vedeu/timer'
4
8
  require 'vedeu/output/renderers/all'
5
9
  require 'vedeu/events/all'
6
10
  require 'vedeu/models/all'
@@ -1,6 +1,6 @@
1
- require_relative 'controller'
2
- require_relative 'helper'
3
- require_relative 'view'
4
- require_relative 'application_controller'
5
- require_relative 'application_helper'
6
- require_relative 'application_view'
1
+ require 'vedeu/application/controller'
2
+ require 'vedeu/application/helper'
3
+ require 'vedeu/application/view'
4
+ require 'vedeu/application/application_controller'
5
+ require 'vedeu/application/application_helper'
6
+ require 'vedeu/application/application_view'
@@ -1,4 +1,4 @@
1
- require_relative 'controller'
1
+ require 'vedeu/application/controller'
2
2
 
3
3
  module Vedeu
4
4
 
@@ -1,4 +1,4 @@
1
- require_relative 'helper'
1
+ require 'vedeu/application/helper'
2
2
 
3
3
  module Vedeu
4
4
 
@@ -1,4 +1,4 @@
1
- require_relative 'view'
1
+ require 'vedeu/application/view'
2
2
 
3
3
  module Vedeu
4
4
 
@@ -5,6 +5,16 @@ module Vedeu
5
5
  # @api private
6
6
  module View
7
7
 
8
+ # Returns the current local time.
9
+ #
10
+ # @example
11
+ # time_now # => Mon 29 Jun 19:26
12
+ #
13
+ # @return [String]
14
+ def time_now
15
+ Time.now.strftime('%a %e %b %k:%M')
16
+ end
17
+
8
18
  end # View
9
19
 
10
20
  end # Vedeu
@@ -1,11 +1,19 @@
1
- require_relative 'visibility'
2
- require_relative 'movement'
3
- require_relative 'menus'
4
- require_relative 'drb'
5
- require_relative 'system'
1
+ require 'vedeu/bindings/visibility'
2
+ require 'vedeu/bindings/movement'
3
+ require 'vedeu/bindings/menus'
4
+ require 'vedeu/bindings/drb'
5
+ require 'vedeu/bindings/system'
6
6
 
7
7
  module Vedeu
8
8
 
9
+ # Binds various events for running and manipulating Vedeu.
10
+ #
11
+ # @note
12
+ # The methods these modules use are private, and should not be called
13
+ # directly, however the produced events are all public and are highly
14
+ # recommended to be used.
15
+ #
16
+ # @api private
9
17
  module Bindings
10
18
 
11
19
  # Setup events for running Vedeu. This method is called by Vedeu.
@@ -6,14 +6,12 @@ module Vedeu
6
6
  # Vedeu with this data, then starts the client application.
7
7
  class Bootstrap
8
8
 
9
- # :nocov:
10
9
  # @param argv [Array<String>]
11
10
  # @param entry_point [void]
12
11
  # @return [void]
13
12
  def self.start(argv = ARGV, entry_point = nil)
14
13
  new(argv, entry_point).start
15
14
  end
16
- # :nocov:
17
15
 
18
16
  # Returns a new instance of Vedeu::Bootstrap.
19
17
  #
@@ -1,2 +1,3 @@
1
- require_relative 'buffer'
2
- require_relative 'display_buffer'
1
+ require 'vedeu/buffers/buffers'
2
+ require 'vedeu/buffers/buffer'
3
+ require 'vedeu/buffers/display_buffer'
@@ -23,6 +23,6 @@ module Vedeu
23
23
 
24
24
  repo Vedeu::Buffers.repository
25
25
 
26
- end
26
+ end # Buffer
27
27
 
28
28
  end # Vedeu
data/lib/vedeu/cli/all.rb CHANGED
@@ -1 +1 @@
1
- require_relative 'main'
1
+ require 'vedeu/cli/main'
@@ -1,4 +1,4 @@
1
- require 'vedeu/support/common'
1
+ require 'vedeu/common'
2
2
 
3
3
  module Vedeu
4
4
 
@@ -72,7 +72,7 @@ module Vedeu
72
72
  # @param source [String]
73
73
  # @return [String]
74
74
  def parse(source)
75
- Vedeu::Template.parse(self, source)
75
+ Vedeu::Templating::Template.parse(self, source)
76
76
  end
77
77
 
78
78
  # @return [String]
@@ -0,0 +1,7 @@
1
+ require 'vedeu/colours/colours'
2
+ require 'vedeu/colours/backgrounds'
3
+ require 'vedeu/colours/foregrounds'
4
+ require 'vedeu/colours/colour_translator'
5
+ require 'vedeu/colours/background'
6
+ require 'vedeu/colours/foreground'
7
+ require 'vedeu/colours/colour'
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
- require_relative 'cli'
2
- require_relative 'api'
3
- require_relative 'configuration'
1
+ require 'vedeu/configuration/cli'
2
+ require 'vedeu/configuration/api'
3
+ require 'vedeu/configuration/configuration'
@@ -1,6 +1,7 @@
1
1
  require 'vedeu/repositories/all'
2
2
 
3
- require_relative 'cursor'
4
- require_relative 'move'
5
- require_relative 'refresh_cursor'
6
- require_relative 'reposition'
3
+ require 'vedeu/cursor/cursor'
4
+ require 'vedeu/cursor/cursors'
5
+ require 'vedeu/cursor/move'
6
+ require 'vedeu/cursor/refresh_cursor'
7
+ require 'vedeu/cursor/reposition'
@@ -1,4 +1,4 @@
1
- require 'vedeu/support/toggleable'
1
+ require 'vedeu/models/toggleable'
2
2
 
3
3
  module Vedeu
4
4
 
@@ -19,32 +19,15 @@ module Vedeu
19
19
 
20
20
  end # Eigenclass
21
21
 
22
+ null Vedeu::Cursor
22
23
  real Vedeu::Cursor
23
24
 
24
- # @example
25
- # Vedeu.cursors.by_name('some_name')
26
- #
27
- # @param name [String] The name of the stored cursor.
28
- # @return [Vedeu::Cursor]
29
- def by_name(name)
30
- if registered?(name)
31
- find(name)
32
-
33
- elsif name
34
- Vedeu::Cursor.new(name: name).store
35
-
36
- else
37
- Vedeu::Cursor.new(name: Vedeu.focus).store
38
-
39
- end
40
- end
41
-
42
25
  end # Cursors
43
26
 
44
27
  class Cursor
45
28
 
46
29
  repo Vedeu::Cursors.repository
47
30
 
48
- end
31
+ end # Cursor
49
32
 
50
33
  end # Vedeu
@@ -1,8 +1,8 @@
1
- require_relative 'uri'
2
- require_relative 'server'
3
- require_relative 'client'
4
- require_relative 'subprocess'
5
- require_relative 'test_application'
1
+ require 'vedeu/distributed/uri'
2
+ require 'vedeu/distributed/server'
3
+ require 'vedeu/distributed/client'
4
+ require 'vedeu/distributed/subprocess'
5
+ require 'vedeu/distributed/test_application'
6
6
 
7
7
  module Vedeu
8
8
 
@@ -75,7 +75,7 @@ module Vedeu
75
75
  def build(&block)
76
76
  instance_eval(&block) if block_given?
77
77
 
78
- Vedeu::Template.parse(self, template)
78
+ Vedeu::Templating::Template.parse(self, template)
79
79
  end
80
80
 
81
81
  # @return [String]
data/lib/vedeu/dsl/all.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'vedeu/support/common'
1
+ require 'vedeu/common'
2
2
 
3
3
  require 'vedeu/dsl/use'
4
4
  require 'vedeu/dsl/presentation'
@@ -105,7 +105,7 @@ module Vedeu
105
105
  fail MissingRequired, "Cannot render template for '#{name}', without " \
106
106
  'a filename.' unless filename
107
107
 
108
- content = Vedeu::Template.parse(object, filename)
108
+ content = Vedeu::Templating::Template.parse(object, filename)
109
109
  lines = Vedeu::Wordwrap.for(content, options)
110
110
 
111
111
  new_model = model.member.build(template_attributes(name, lines))
data/lib/vedeu/dsl/use.rb CHANGED
@@ -32,7 +32,7 @@ module Vedeu
32
32
  # @param name [String] The name of the model to duplicate.
33
33
  # @return [void] The new model based on the original.
34
34
  def duplicate(name)
35
- original = model.repository.by_name(name)
35
+ original = use(name)
36
36
 
37
37
  unless original.respond_to?(:null?)
38
38
  duplicated = original.dup
@@ -1,4 +1,5 @@
1
- require 'vedeu/repositories/collections/all'
1
+ require 'vedeu/repositories/collection'
2
2
 
3
- require_relative 'event'
4
- require_relative 'trigger'
3
+ require 'vedeu/events/events'
4
+ require 'vedeu/events/event'
5
+ require 'vedeu/events/trigger'
@@ -1,9 +1,14 @@
1
- require_relative 'area'
2
- require_relative 'coordinate'
3
- require_relative 'dimension'
4
- require_relative 'geometry'
5
- require_relative 'grid'
6
- require_relative 'index_position'
7
- require_relative 'position_index'
8
- require_relative 'position'
9
- require_relative 'position_validator'
1
+ require 'vedeu/geometry/area'
2
+ require 'vedeu/geometry/coordinate'
3
+ require 'vedeu/geometry/dimension'
4
+
5
+ require 'vedeu/geometry/geometry'
6
+ require 'vedeu/repositories/store'
7
+ require 'vedeu/repositories/registerable'
8
+ require 'vedeu/repositories/repository'
9
+ require 'vedeu/geometry/geometries'
10
+ require 'vedeu/geometry/grid'
11
+ require 'vedeu/geometry/index_position'
12
+ require 'vedeu/geometry/position_index'
13
+ require 'vedeu/geometry/position'
14
+ require 'vedeu/geometry/position_validator'
@@ -1,7 +1,8 @@
1
- require_relative 'mapper'
2
- require_relative 'key'
3
- require_relative 'input'
4
- require_relative 'keymap'
1
+ require 'vedeu/input/mapper'
2
+ require 'vedeu/input/key'
3
+ require 'vedeu/input/input'
4
+ require 'vedeu/input/keymaps'
5
+ require 'vedeu/input/keymap'
5
6
 
6
7
  module Vedeu
7
8
 
File without changes
@@ -1,13 +1,17 @@
1
1
  require 'vedeu/repositories/all'
2
2
 
3
- require_relative 'cell'
4
- require_relative 'char'
5
- require_relative 'escape_char'
6
- require_relative 'stream'
7
- require_relative 'line'
8
- require_relative 'interface'
9
- require_relative 'composition'
3
+ require 'vedeu/models/toggleable'
4
+ require 'vedeu/models/cell'
5
+ require 'vedeu/models/char'
6
+ require 'vedeu/models/escape_char'
7
+ require 'vedeu/models/stream'
8
+ require 'vedeu/models/line'
9
+ require 'vedeu/models/interfaces'
10
+ require 'vedeu/models/interface'
11
+ require 'vedeu/models/composition'
12
+ require 'vedeu/models/focus'
13
+ require 'vedeu/models/groups'
14
+ require 'vedeu/models/group'
15
+ require 'vedeu/models/menus'
16
+ require 'vedeu/models/menu'
10
17
 
11
- require_relative 'focus'
12
- require_relative 'group'
13
- require_relative 'menu'
@@ -1,4 +1,4 @@
1
- require 'vedeu/support/toggleable'
1
+ require 'vedeu/models/toggleable'
2
2
 
3
3
  module Vedeu
4
4
 
@@ -40,7 +40,7 @@ module Vedeu
40
40
  def add(member)
41
41
  @members = members.add(member)
42
42
 
43
- Vedeu::Group.new(name: name, members: @members).store
43
+ Vedeu::Group.new(name: name, members: @members, visible: visible).store
44
44
  end
45
45
 
46
46
  # Hide the named group of interfaces, or without a name, the group of the
@@ -72,7 +72,7 @@ module Vedeu
72
72
  def remove(member)
73
73
  @members = members.delete(member)
74
74
 
75
- Vedeu::Group.new(name: name, members: @members).store
75
+ Vedeu::Group.new(name: name, members: @members, visible: visible).store
76
76
  end
77
77
 
78
78
  # Remove all members from the group.
@@ -13,29 +13,15 @@ module Vedeu
13
13
 
14
14
  end # Eigenclass
15
15
 
16
+ null Vedeu::Group
16
17
  real Vedeu::Group
17
18
 
18
- # @example
19
- # Vedeu.groups.by_name('name')
20
- #
21
- # @param name [String] The name of the stored group.
22
- # @return [Vedeu::Group]
23
- def by_name(name)
24
- if registered?(name)
25
- find(name)
26
-
27
- else
28
- Vedeu::Group.new(name: name).store
29
-
30
- end
31
- end
32
-
33
19
  end # Groups
34
20
 
35
21
  class Group
36
22
 
37
23
  repo Vedeu::Groups.repository
38
24
 
39
- end
25
+ end # Group
40
26
 
41
27
  end # Vedeu