dsl_accessor 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/Gemfile.1.9.3 +3 -0
- data/lib/dsl_accessor.rb +8 -0
- data/lib/dsl_accessor/auto_declare.rb +0 -5
- data/lib/dsl_accessor/version.rb +3 -1
- metadata +6 -4
data/.gitignore
ADDED
data/Gemfile.1.9.3
ADDED
data/lib/dsl_accessor.rb
CHANGED
@@ -2,6 +2,14 @@ unless Module.new.respond_to?(:delegate)
|
|
2
2
|
require File.dirname(__FILE__) + "/../core_ext/module/delegation"
|
3
3
|
end
|
4
4
|
|
5
|
+
module DslAccessor
|
6
|
+
if RUBY_VERSION >= "1.9"
|
7
|
+
BlankSlate = ::BasicObject
|
8
|
+
else
|
9
|
+
require 'blankslate'
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
5
13
|
require File.dirname(__FILE__) + '/dsl_accessor/version'
|
6
14
|
require File.dirname(__FILE__) + '/dsl_accessor/auto_declare'
|
7
15
|
require File.dirname(__FILE__) + '/dsl_accessor/accessor'
|
data/lib/dsl_accessor/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dsl_accessor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 4
|
10
|
+
version: 0.4.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- maiha
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-09-14 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: optionize
|
@@ -73,7 +73,9 @@ extensions: []
|
|
73
73
|
extra_rdoc_files: []
|
74
74
|
|
75
75
|
files:
|
76
|
+
- .gitignore
|
76
77
|
- Gemfile
|
78
|
+
- Gemfile.1.9.3
|
77
79
|
- MIT-LICENSE
|
78
80
|
- README
|
79
81
|
- Rakefile
|