sanity 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sanity.rb +7 -0
  2. metadata +55 -0
@@ -0,0 +1,7 @@
1
+ RUBY_STDLIB_PATH = $LOAD_PATH.find do |path|
2
+ File.exists?(File.join(path, 'webrick.rb'))
3
+ end
4
+
5
+ $LOAD_PATH.reject! do |path|
6
+ path.start_with?(RUBY_STDLIB_PATH)
7
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sanity
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.0
6
+ platform: ruby
7
+ authors:
8
+ - Theo Hultberg
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2012-05-24 00:00:00 Z
14
+ dependencies: []
15
+
16
+ description: Removes the Ruby stdlib from your $LOAD_PATH
17
+ email:
18
+ - theo@iconara.net
19
+ executables: []
20
+
21
+ extensions: []
22
+
23
+ extra_rdoc_files: []
24
+
25
+ files:
26
+ - lib/sanity.rb
27
+ homepage: http://github.com/iconara/sanity
28
+ licenses: []
29
+
30
+ post_install_message:
31
+ rdoc_options: []
32
+
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: "0"
41
+ required_rubygems_version: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: "0"
47
+ requirements: []
48
+
49
+ rubyforge_project: sanity
50
+ rubygems_version: 1.8.11
51
+ signing_key:
52
+ specification_version: 3
53
+ summary: Sanitizes your $LOAD_PATH
54
+ test_files: []
55
+