shuber-hattr_accessor 1.0.2 → 1.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.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 2009-01-10 - Sean Huber (shuber@huberry.com)
2
+ * Object includes Huberry::AliasMethodChain instead of Module
3
+ * Remove init.rb
4
+
1
5
  2009-01-08 - Sean Huber (shuber@huberry.com)
2
6
  * Update CHANGELOG email addresses
3
7
  * Remove .gitignore
@@ -1,7 +1,7 @@
1
1
  hattr\_accessor
2
2
  ===============
3
3
 
4
- A gem/plugin that allows you to define attr\_accessors that reference members of a hash.
4
+ Allows you to define attr\_accessors that reference members of a hash.
5
5
 
6
6
 
7
7
  Installation
data/Rakefile CHANGED
@@ -5,14 +5,14 @@ require 'rake/rdoctask'
5
5
  desc 'Default: run the hattr_accessor tests'
6
6
  task :default => :test
7
7
 
8
- desc 'Test the hattr_accessor gem/plugin.'
8
+ desc 'Test the hattr_accessor gem.'
9
9
  Rake::TestTask.new(:test) do |t|
10
10
  t.libs << 'lib'
11
11
  t.pattern = 'test/*_test.rb'
12
12
  t.verbose = true
13
13
  end
14
14
 
15
- desc 'Generate documentation for the hattr_accessor gem/plugin.'
15
+ desc 'Generate documentation for the hattr_accessor gem.'
16
16
  Rake::RDocTask.new(:rdoc) do |rdoc|
17
17
  rdoc.rdoc_dir = 'rdoc'
18
18
  rdoc.title = 'hattr_accessor'
@@ -1,5 +1,7 @@
1
- require File.dirname(__FILE__) + '/alias_method_chain'
2
- Module.send :include, Huberry::AliasMethodChain unless Module.method_defined? :alias_method_chain
1
+ unless Object.method_defined? :alias_method_chain
2
+ require File.dirname(__FILE__) + '/alias_method_chain'
3
+ Object.send :include, Huberry::AliasMethodChain
4
+ end
3
5
 
4
6
  module Huberry
5
7
  module HattrAccessor
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shuber-hattr_accessor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Huber
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-08 00:00:00 -08:00
12
+ date: 2009-01-10 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: A gem/plugin that allows you to define attr_accessors that reference members of a hash
16
+ description: Allows you to define attr_accessors that reference members of a hash
17
17
  email: shuber@huberry.com
18
18
  executables: []
19
19
 
@@ -23,7 +23,6 @@ extra_rdoc_files: []
23
23
 
24
24
  files:
25
25
  - CHANGELOG
26
- - init.rb
27
26
  - lib/alias_method_chain.rb
28
27
  - lib/hattr_accessor.rb
29
28
  - MIT-LICENSE
@@ -54,6 +53,6 @@ rubyforge_project:
54
53
  rubygems_version: 1.2.0
55
54
  signing_key:
56
55
  specification_version: 2
57
- summary: A gem/plugin that allows you to define attr_accessors that reference members of a hash
56
+ summary: Allows you to define attr_accessors that reference members of a hash
58
57
  test_files:
59
58
  - test/hattr_accessor_test.rb
data/init.rb DELETED
@@ -1 +0,0 @@
1
- require 'hattr_accessor'