manowar 0.0.1
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.
- checksums.yaml +7 -0
- data/lib/manowar.rb +6 -0
- data/lib/manowar/define.rb +19 -0
- data/lib/manowar/version.rb +3 -0
- metadata +61 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d742aa9f696f110d2af9acf84f95c1184c3d083e
|
4
|
+
data.tar.gz: 22bc26e63b6211336c1c51be16de596283e0450f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cdd251cb7c5d838dab1c2c5c4740257828d3908218d70bad8dd61be128985d8f8b3e2f8eea7c4fb8bdd1a4791c220cd856c1658ce39d2e2cc224d441b8144a87
|
7
|
+
data.tar.gz: 176efa5dd62571f6b9def74af8e86ef5d6a5a1110be78bde5b627c4ef0ab5afd52a0f6c72e93ed94222df2606b010503181cb9cb1585dc35cb58dd4ea1071e25
|
data/lib/manowar.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
module Manowar
|
2
|
+
extend self
|
3
|
+
|
4
|
+
def define path
|
5
|
+
path
|
6
|
+
.to_s.split('::')
|
7
|
+
.reduce '', &define_namespace
|
8
|
+
end
|
9
|
+
|
10
|
+
private
|
11
|
+
|
12
|
+
def define_namespace
|
13
|
+
Proc.new { |base, name|
|
14
|
+
base += "::#{name}"
|
15
|
+
Kernel.eval "module #{base} end"
|
16
|
+
base
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: manowar
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Brent Lintner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
description: Load module namespaces in one line.
|
28
|
+
email:
|
29
|
+
- brent.lintner@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- lib/manowar.rb
|
35
|
+
- lib/manowar/define.rb
|
36
|
+
- lib/manowar/version.rb
|
37
|
+
homepage: https://github.com/brentlintner/manowar
|
38
|
+
licenses:
|
39
|
+
- ISC
|
40
|
+
metadata: {}
|
41
|
+
post_install_message:
|
42
|
+
rdoc_options: []
|
43
|
+
require_paths:
|
44
|
+
- lib
|
45
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
requirements: []
|
56
|
+
rubyforge_project:
|
57
|
+
rubygems_version: 2.2.2
|
58
|
+
signing_key:
|
59
|
+
specification_version: 4
|
60
|
+
summary: A utility library for writing modular, functional Ruby.
|
61
|
+
test_files: []
|