pry-require_relative 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 18d5a7b99560bc72b83edd2f5f4f8bd30f444acc
4
+ data.tar.gz: 5f751e0c88c2c83a8e8b39819ed9af0394e8a952
5
+ SHA512:
6
+ metadata.gz: 3b1af5eb63ac51aa20b486b07b3d317f6573c548f05f83b3b6e1eea271a0fd606b723747724d081fe6018075e44ef916d95c55a46375d5d94c8d06c43251cc8b
7
+ data.tar.gz: 835684cb4306e8ebbc6413bf2ebc5eabf774c6cb541ef15da884d4ed456bfde55f7ded05d6aa927e17a12bee579c689058a94461af2dc8e8adf215cc12cef23f
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
data/License ADDED
@@ -0,0 +1,11 @@
1
+ Copyright 2013 Jordon Bedwell
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not
4
+ use this file except in compliance with the License. You may obtain a copy of
5
+ the License at: http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software
8
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9
+ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10
+ License for the specific language governing permissions and limitations under
11
+ the License.
data/Readme.md ADDED
@@ -0,0 +1,3 @@
1
+ # pry-require_relative
2
+
3
+ Overrides `require_relative` in Pry so that it works.
@@ -0,0 +1 @@
1
+ require_relative 'pry/require_relative'
@@ -0,0 +1,11 @@
1
+ require "pry/require_relative/version"
2
+
3
+ class Pry
4
+ module RequireRelative
5
+ def require_relative(f)
6
+ require File.join(Dir.pwd, f)
7
+ end
8
+ end
9
+ end
10
+
11
+ Object.send(:include, Pry::RequireRelative)
@@ -0,0 +1,5 @@
1
+ class Pry
2
+ module RequireRelative
3
+ VERSION = '0.0.1'
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pry-require_relative
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jordon Bedwell
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: pry
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.12.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.12.2
27
+ description: Fixes require_relative in Pry.
28
+ email: envygeeks@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - Readme.md
34
+ - License
35
+ - Gemfile
36
+ - lib/pry-require_relative.rb
37
+ - lib/pry/require_relative/version.rb
38
+ - lib/pry/require_relative.rb
39
+ homepage: https://github.com/envygeeks/content-pipeline
40
+ licenses:
41
+ - Apache 2.0
42
+ metadata: {}
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 2.0.3
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: Fixes require_relative in Pry.
63
+ test_files: []