require-magic 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- metadata +2 -12
- data/.document +0 -5
- data/.gitignore +0 -21
- data/CHANGELOG +0 -19
- data/Rakefile +0 -21
- data/TODO.txt +0 -2
- data/VERSION +0 -1
- data/require-magic.gemspec +0 -61
- data/spec/spec.opts +0 -1
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: require-magic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kristian Mandrup
|
@@ -32,19 +32,9 @@ extra_rdoc_files:
|
|
32
32
|
- LICENSE
|
33
33
|
- README.rdoc
|
34
34
|
files:
|
35
|
-
- .
|
36
|
-
- .gitignore
|
37
|
-
- CHANGELOG
|
35
|
+
- lib/require-magic.rb
|
38
36
|
- LICENSE
|
39
37
|
- README.rdoc
|
40
|
-
- Rakefile
|
41
|
-
- TODO.txt
|
42
|
-
- VERSION
|
43
|
-
- lib/require-magic.rb
|
44
|
-
- require-magic.gemspec
|
45
|
-
- spec/require-magic_spec.rb
|
46
|
-
- spec/spec.opts
|
47
|
-
- spec/spec_helper.rb
|
48
38
|
has_rdoc: true
|
49
39
|
homepage: http://github.com/kristianmandrup/require-magic
|
50
40
|
licenses: []
|
data/.document
DELETED
data/.gitignore
DELETED
data/CHANGELOG
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
17-11-2009
|
2
|
-
----------
|
3
|
-
Created unit tests to ensure all util functions work as expected. Fixed a number of bugs.
|
4
|
-
|
5
|
-
14-11-2009
|
6
|
-
----------
|
7
|
-
* Initial release with two helper functions:
|
8
|
-
|
9
|
-
- Require.folder(name, options)
|
10
|
-
|
11
|
-
name : the name (or path) of a top-level folder.
|
12
|
-
options : a hash containing specific options for applying the require (all optional)
|
13
|
-
:include - regular expression to match on .rb filenames to require
|
14
|
-
:exclude - regular expression to match on .rb filenames to NOT require
|
15
|
-
:recursive - whether to do a recursive traversal of directories
|
16
|
-
:folder_list - list of folders under main folder (name argument) to process (in list order)
|
17
|
-
|
18
|
-
|
19
|
-
|
data/Rakefile
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'jeweler'
|
6
|
-
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "require-magic"
|
8
|
-
gem.summary = %Q{utility to facilitate require of .rb files and folders}
|
9
|
-
gem.description = %Q{enhance your ruby app with require magic to more easily define how to include hierarchies of ruby files, and also apply inclusion/exclusion filters for what to include}
|
10
|
-
gem.email = "kmandrup@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/kristianmandrup/require-magic"
|
12
|
-
gem.authors = ["Kristian Mandrup"]
|
13
|
-
gem.add_development_dependency "rspec", ">= 1.2.9"
|
14
|
-
gem.files.exclude 'test'
|
15
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
|
-
end
|
17
|
-
Jeweler::GemcutterTasks.new
|
18
|
-
rescue LoadError
|
19
|
-
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
20
|
-
end
|
21
|
-
|
data/TODO.txt
DELETED
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.2.4
|
data/require-magic.gemspec
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{require-magic}
|
8
|
-
s.version = "0.2.4"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Kristian Mandrup"]
|
12
|
-
s.date = %q{2010-03-02}
|
13
|
-
s.description = %q{enhance your ruby app with require magic to more easily define how to include hierarchies of ruby files, and also apply inclusion/exclusion filters for what to include}
|
14
|
-
s.email = %q{kmandrup@gmail.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"CHANGELOG",
|
23
|
-
"LICENSE",
|
24
|
-
"README.rdoc",
|
25
|
-
"Rakefile",
|
26
|
-
"TODO.txt",
|
27
|
-
"VERSION",
|
28
|
-
"lib/require-magic.rb",
|
29
|
-
"require-magic.gemspec",
|
30
|
-
"spec/require-magic_spec.rb",
|
31
|
-
"spec/spec.opts",
|
32
|
-
"spec/spec_helper.rb"
|
33
|
-
]
|
34
|
-
s.homepage = %q{http://github.com/kristianmandrup/require-magic}
|
35
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
36
|
-
s.require_paths = ["lib"]
|
37
|
-
s.rubygems_version = %q{1.3.5}
|
38
|
-
s.summary = %q{utility to facilitate require of .rb files and folders}
|
39
|
-
s.test_files = [
|
40
|
-
"spec/require-magic_spec.rb",
|
41
|
-
"spec/spec_helper.rb",
|
42
|
-
"test/test_require_folder.rb",
|
43
|
-
"test/test_require_folders.rb",
|
44
|
-
"test/test_require_folders_adv.rb",
|
45
|
-
"test/unit_test_require.rb"
|
46
|
-
]
|
47
|
-
|
48
|
-
if s.respond_to? :specification_version then
|
49
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
50
|
-
s.specification_version = 3
|
51
|
-
|
52
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
53
|
-
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
54
|
-
else
|
55
|
-
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
56
|
-
end
|
57
|
-
else
|
58
|
-
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
data/spec/spec.opts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--color
|