ns-options 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -2
- data/Gemfile +3 -4
- data/{LICENSE → LICENSE.txt} +0 -0
- data/Rakefile +0 -4
- data/lib/ns-options/version.rb +1 -1
- data/lib/ns-options.rb +1 -0
- data/ns-options.gemspec +10 -7
- data/test/helper.rb +9 -1
- data/tmp/.gitkeep +0 -0
- metadata +13 -14
- data/test/irb.rb +0 -9
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/{LICENSE → LICENSE.txt}
RENAMED
File without changes
|
data/Rakefile
CHANGED
data/lib/ns-options/version.rb
CHANGED
data/lib/ns-options.rb
CHANGED
data/ns-options.gemspec
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "ns-options/version"
|
3
5
|
|
4
6
|
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "ns-options"
|
8
|
+
gem.version = NsOptions::VERSION
|
5
9
|
gem.authors = ["Collin Redding", "Kelly Redding"]
|
6
10
|
gem.email = ["collin.redding@me.com", "kelly@kellyredding.com"]
|
7
11
|
gem.description = %q{A DSL for defining, organizing and accessing options.}
|
8
12
|
gem.summary = %q{A DSL for defining, organizing and accessing options.}
|
9
13
|
gem.homepage = "https://github.com/redding/ns-options"
|
10
14
|
|
11
|
-
gem.
|
12
|
-
gem.
|
13
|
-
gem.test_files =
|
14
|
-
gem.name = "ns-options"
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
15
18
|
gem.require_paths = ["lib"]
|
16
|
-
gem.version = NsOptions::VERSION
|
17
19
|
|
18
|
-
gem.
|
20
|
+
gem.add_dependency("assert", ["~> 2.0"])
|
21
|
+
|
19
22
|
end
|
data/test/helper.rb
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
|
1
|
+
# this file is automatically required when you run `assert`
|
2
|
+
# put any test helpers here
|
3
|
+
|
4
|
+
# add the root dir to the load path
|
5
|
+
ROOT_PATH = File.expand_path("../..", __FILE__)
|
6
|
+
$LOAD_PATH.unshift(ROOT_PATH)
|
7
|
+
|
8
|
+
# require pry for debugging (`binding.pry`)
|
9
|
+
require 'pry'
|
2
10
|
|
3
11
|
module NsOptions
|
4
12
|
module TestOutput
|
data/tmp/.gitkeep
ADDED
File without changes
|
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: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Collin Redding
|
@@ -16,23 +16,23 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2013-03-25 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: assert
|
23
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
29
|
+
hash: 3
|
29
30
|
segments:
|
30
|
-
-
|
31
|
+
- 2
|
31
32
|
- 0
|
32
|
-
version: "
|
33
|
-
type: :
|
34
|
-
|
35
|
-
prerelease: false
|
33
|
+
version: "2.0"
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
36
|
description: A DSL for defining, organizing and accessing options.
|
37
37
|
email:
|
38
38
|
- collin.redding@me.com
|
@@ -46,7 +46,7 @@ extra_rdoc_files: []
|
|
46
46
|
files:
|
47
47
|
- .gitignore
|
48
48
|
- Gemfile
|
49
|
-
- LICENSE
|
49
|
+
- LICENSE.txt
|
50
50
|
- README.md
|
51
51
|
- Rakefile
|
52
52
|
- lib/ns-options.rb
|
@@ -66,7 +66,6 @@ files:
|
|
66
66
|
- log/.gitkeep
|
67
67
|
- ns-options.gemspec
|
68
68
|
- test/helper.rb
|
69
|
-
- test/irb.rb
|
70
69
|
- test/support/app.rb
|
71
70
|
- test/support/proxy.rb
|
72
71
|
- test/support/type_class_proxy.rb
|
@@ -87,6 +86,7 @@ files:
|
|
87
86
|
- test/unit/proxy_tests.rb
|
88
87
|
- test/unit/root_methods_tests.rb
|
89
88
|
- test/unit/struct_tests.rb
|
89
|
+
- tmp/.gitkeep
|
90
90
|
homepage: https://github.com/redding/ns-options
|
91
91
|
licenses: []
|
92
92
|
|
@@ -122,7 +122,6 @@ specification_version: 3
|
|
122
122
|
summary: A DSL for defining, organizing and accessing options.
|
123
123
|
test_files:
|
124
124
|
- test/helper.rb
|
125
|
-
- test/irb.rb
|
126
125
|
- test/support/app.rb
|
127
126
|
- test/support/proxy.rb
|
128
127
|
- test/support/type_class_proxy.rb
|