ns-options 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/ns-options/helper.rb
CHANGED
data/lib/ns-options/version.rb
CHANGED
data/lib/ns-options.rb
CHANGED
@@ -1,18 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
autoload :VERSION, 'ns-options/version'
|
10
|
-
|
11
|
-
autoload :AssertMacros, 'ns-options/assert_macros'
|
1
|
+
require 'ns-options/has_options'
|
2
|
+
require 'ns-options/helper'
|
3
|
+
require 'ns-options/namespace'
|
4
|
+
require 'ns-options/namespaces'
|
5
|
+
require 'ns-options/option'
|
6
|
+
require 'ns-options/options'
|
7
|
+
require 'ns-options/proxy'
|
8
|
+
require 'ns-options/version' if !defined?(NsOptions::VERSION)
|
12
9
|
|
13
|
-
|
14
|
-
autoload :InvalidName, 'ns-options/errors/invalid_name'
|
15
|
-
end
|
10
|
+
module NsOptions
|
16
11
|
|
17
12
|
def self.included(receiver)
|
18
13
|
receiver.send(:include, HasOptions)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ns-options
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Collin Redding
|
@@ -15,11 +15,10 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-01-30 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :development
|
22
|
-
prerelease: false
|
23
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
23
|
none: false
|
25
24
|
requirements:
|
@@ -30,11 +29,11 @@ dependencies:
|
|
30
29
|
- 0
|
31
30
|
- 7
|
32
31
|
version: "0.7"
|
33
|
-
|
32
|
+
prerelease: false
|
34
33
|
name: assert
|
34
|
+
version_requirements: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
type: :development
|
37
|
-
prerelease: false
|
38
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
38
|
none: false
|
40
39
|
requirements:
|
@@ -45,8 +44,9 @@ dependencies:
|
|
45
44
|
- 0
|
46
45
|
- 1
|
47
46
|
version: "0.1"
|
48
|
-
|
47
|
+
prerelease: false
|
49
48
|
name: assert-mocha
|
49
|
+
version_requirements: *id002
|
50
50
|
description: Define and use namespaced options with a clean interface.
|
51
51
|
email:
|
52
52
|
- collin.redding@reelfx.com
|