reditor 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +6 -0
- data/lib/reditor.rb +14 -0
- data/lib/reditor/version.rb +1 -1
- data/reditor.gemspec +2 -1
- metadata +26 -11
data/.gitignore
CHANGED
data/README.md
CHANGED
data/lib/reditor.rb
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
require 'pathname'
|
2
2
|
require 'rubygems'
|
3
3
|
|
4
|
+
def gemfile_found?
|
5
|
+
if File.exists? 'Gemfile'
|
6
|
+
true
|
7
|
+
elsif (Dir.getwd != '/')
|
8
|
+
Dir.chdir('..')
|
9
|
+
gemfile_found?
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
if (gemfile_found?)
|
14
|
+
require 'bundler'
|
15
|
+
Bundler.setup
|
16
|
+
end
|
17
|
+
|
4
18
|
module Reditor
|
5
19
|
class LibraryNotFound < LoadError; end
|
6
20
|
|
data/lib/reditor/version.rb
CHANGED
data/reditor.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05
|
12
|
+
date: 2012-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,28 @@ dependencies:
|
|
21
21
|
version: 0.14.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.14.6
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bundler
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.1.4
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.4
|
25
46
|
description: Open a ruby library by your editor
|
26
47
|
email:
|
27
48
|
- celluloid.key@gmail.com
|
@@ -52,21 +73,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
73
|
- - ! '>='
|
53
74
|
- !ruby/object:Gem::Version
|
54
75
|
version: '0'
|
55
|
-
segments:
|
56
|
-
- 0
|
57
|
-
hash: -3496555786174773731
|
58
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
77
|
none: false
|
60
78
|
requirements:
|
61
79
|
- - ! '>='
|
62
80
|
- !ruby/object:Gem::Version
|
63
81
|
version: '0'
|
64
|
-
segments:
|
65
|
-
- 0
|
66
|
-
hash: -3496555786174773731
|
67
82
|
requirements: []
|
68
83
|
rubyforge_project:
|
69
|
-
rubygems_version: 1.8.
|
84
|
+
rubygems_version: 1.8.23
|
70
85
|
signing_key:
|
71
86
|
specification_version: 3
|
72
87
|
summary: Open a ruby library by your editor
|