module_ext 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- module_ext (0.0.1)
4
+ module_ext (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/lib/module_ext.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  module ModuleExt
2
2
 
3
- require 'module_ext/attribute_accessors'
3
+ # Only require if mattr_* methods have not already been added
4
+ if !Module.respond_to? :mattr_accessor
5
+ require 'module_ext/attribute_accessors'
6
+ end
4
7
 
5
8
  end
6
9
 
@@ -1,3 +1,3 @@
1
1
  module ModuleExt
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: module_ext
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Cook
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-08 00:00:00 -07:00
18
+ date: 2011-01-12 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21