require-extra 0.0.2 → 0.0.2.1

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/require/on.rb +2 -2
  2. metadata +29 -37
@@ -26,8 +26,8 @@ module Kernel
26
26
  end
27
27
  end; alias on_required on_require
28
28
 
29
- refine_method :require do |old, path|
30
- old.call(path).tap {
29
+ refine_method :require, :prefix => '__extra' do |path|
30
+ __extra_require(path).tap {
31
31
  RequireWatch.any? {|name, blocks|
32
32
  if required?(name, [path])
33
33
  blocks.each {|block|
metadata CHANGED
@@ -1,65 +1,57 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: require-extra
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2.1
4
5
  prerelease:
5
- version: 0.0.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - meh.
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-09-23 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-28 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: refining
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &9090900 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
24
22
  type: :runtime
25
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *9090900
26
25
  description:
27
26
  email: meh@paranoici.org
28
27
  executables: []
29
-
30
28
  extensions: []
31
-
32
29
  extra_rdoc_files: []
33
-
34
- files:
30
+ files:
35
31
  - lib/require/on.rb
36
32
  - lib/require/extra.rb
37
- homepage: http://github.com/meh/ruby-required
33
+ homepage: http://github.com/meh/ruby-require-extra
38
34
  licenses: []
39
-
40
35
  post_install_message:
41
36
  rdoc_options: []
42
-
43
- require_paths:
37
+ require_paths:
44
38
  - lib
45
- required_ruby_version: !ruby/object:Gem::Requirement
39
+ required_ruby_version: !ruby/object:Gem::Requirement
46
40
  none: false
47
- requirements:
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: "0"
51
- required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
46
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
57
51
  requirements: []
58
-
59
52
  rubyforge_project:
60
- rubygems_version: 1.8.5
53
+ rubygems_version: 1.8.10
61
54
  signing_key:
62
55
  specification_version: 3
63
- summary: "Some extra methods having to do with #require"
56
+ summary: ! 'Some extra methods having to do with #require'
64
57
  test_files: []
65
-