extended_include 0.0.1 → 0.0.2

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.
data/HISTORY.txt CHANGED
@@ -1,3 +1,9 @@
1
+ 2014-04-18 Version 0.0.2
2
+
3
+ Code clean-up (Module#include_class_methods no longer calls
4
+ Extended_Include.include_class_methods with a known-nil
5
+ &block).
6
+
1
7
  2014-04-17 Version 0.0.1
2
8
 
3
9
  Initial version.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "extended_include"
3
- s.version = "0.0.1"
4
- s.date = "2014-04-17"
3
+ s.version = "0.0.2"
4
+ s.date = "2014-04-18"
5
5
  s.authors = ["Brian Katzung"]
6
6
  s.email = ["briank@kappacs.com"]
7
7
  s.homepage = "http://rubygems.org/gems/extended_include"
@@ -10,14 +10,14 @@
10
10
  # The Extended_Include module is a back-end support module. See the Module
11
11
  # module extensions for the user interface.
12
12
  #
13
- # Version 0.0.1, 2014-04-17
13
+ # Version 0.0.2, 2014-04-18
14
14
  #
15
15
  # @author Brian Katzung (briank@kappacs.com), Kappa Computer Solutions, LLC
16
16
  # @license Public Domain
17
17
 
18
18
  module Extended_Include
19
19
 
20
- VERSION = "0.0.1"
20
+ VERSION = "0.0.2"
21
21
 
22
22
  # The extended_include list, by module
23
23
  @include_list = {}
@@ -107,8 +107,7 @@ class Module
107
107
  # As usual, sub-modules must be defined before reference.
108
108
  def include_class_methods (*modules, &block)
109
109
  if !block && modules.empty? && const_defined?(:ClassMethods)
110
- Extended_Include.include_class_methods self, self::ClassMethods,
111
- &block
110
+ Extended_Include.include_class_methods self, self::ClassMethods
112
111
  else Extended_Include.include_class_methods self, *modules, &block
113
112
  end
114
113
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brian Katzung
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2014-04-17 00:00:00 -05:00
17
+ date: 2014-04-18 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20