ckuru-tools 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. data/lib/ckuru-tools.rb +1 -0
  2. metadata +4 -16
data/lib/ckuru-tools.rb CHANGED
@@ -65,6 +65,7 @@ unless defined? CkuruTools
65
65
 
66
66
  class HashInitializerClass
67
67
  def initialize(h={})
68
+ raise "argument to #{self.class}##{current_method} must be of class Hash" unless h.is_a? Hash
68
69
  h.keys.each do |k|
69
70
  self.send("#{k}=",h[k])
70
71
  end
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ckuru-tools
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
4
+ version: 0.0.3
11
5
  platform: ruby
12
6
  authors:
13
7
  - Bret Weinraub
@@ -59,27 +53,21 @@ rdoc_options: []
59
53
  require_paths:
60
54
  - lib
61
55
  required_ruby_version: !ruby/object:Gem::Requirement
62
- none: false
63
56
  requirements:
64
57
  - - ">="
65
58
  - !ruby/object:Gem::Version
66
- hash: 3
67
- segments:
68
- - 0
69
59
  version: "0"
60
+ version:
70
61
  required_rubygems_version: !ruby/object:Gem::Requirement
71
- none: false
72
62
  requirements:
73
63
  - - ">="
74
64
  - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
65
  version: "0"
66
+ version:
79
67
  requirements: []
80
68
 
81
69
  rubyforge_project:
82
- rubygems_version: 1.3.7
70
+ rubygems_version: 1.3.5
83
71
  signing_key:
84
72
  specification_version: 3
85
73
  summary: The infamous ckuru-tools gem. A miscellaneous grab bag of ruby class extensions, utility classes, etc.