gem-eit 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +9 -0
- data/README.md +1 -2
- data/Rakefile +1 -1
- data/gem-eit.gemspec +4 -3
- data/lib/rubygems/commands/eit_command.rb +10 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 524f7c37f2f957e42e335ca2bf252e544e573872
|
|
4
|
+
data.tar.gz: e12c2842a8e16b364c28263ab7ec590e013a39cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5bcf764d3df469a2b1aa518d5f396ce32a80944b7a6c820c3e023a4a0f066ad067ed4e491e8942ff8d907467d6e8a00f7896b3a7cb0ff6602f2657e8874dc86d
|
|
7
|
+
data.tar.gz: 8013ce3e9a05a661a4e781e381f31986896eed7b0fc2451cf2ee58dee8e15e87fdb052766992618ee7ca663a7505e458944dd71e8e899b0ca19fc4d363bdc216
|
data/CHANGES.md
ADDED
data/README.md
CHANGED
|
@@ -11,9 +11,8 @@ by Lin Jen-Shin ([godfat](http://godfat.org))
|
|
|
11
11
|
|
|
12
12
|
Edit the gem for a given name or edit the file for a given require path.
|
|
13
13
|
|
|
14
|
-
Also checkout [gem-
|
|
14
|
+
Also checkout [gem-grep][].
|
|
15
15
|
|
|
16
|
-
[gem-cd]: https://github.com/godfat/gem-cd
|
|
17
16
|
[gem-grep]: https://github.com/godfat/gem-grep
|
|
18
17
|
|
|
19
18
|
## WHY eit?
|
data/Rakefile
CHANGED
data/gem-eit.gemspec
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: gem-eit 0.5.
|
|
2
|
+
# stub: gem-eit 0.5.1 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "gem-eit"
|
|
6
|
-
s.version = "0.5.
|
|
6
|
+
s.version = "0.5.1"
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
9
9
|
s.authors = ["Lin Jen-Shin (godfat)"]
|
|
10
10
|
s.date = "2013-11-22"
|
|
11
|
-
s.description = "Edit the gem for a given name or edit the file for a given require path.\n\nAlso checkout [gem-
|
|
11
|
+
s.description = "Edit the gem for a given name or edit the file for a given require path.\n\nAlso checkout [gem-grep][].\n\n[gem-grep]: https://github.com/godfat/gem-grep"
|
|
12
12
|
s.email = ["godfat (XD) godfat.org"]
|
|
13
13
|
s.files = [
|
|
14
14
|
".gitignore",
|
|
15
15
|
".gitmodules",
|
|
16
16
|
".travis.yml",
|
|
17
|
+
"CHANGES.md",
|
|
17
18
|
"LICENSE",
|
|
18
19
|
"README.md",
|
|
19
20
|
"Rakefile",
|
|
@@ -21,6 +21,15 @@ class Gem::Commands::EitCommand < Gem::Command
|
|
|
21
21
|
Gem::DefaultUserInteraction.use_ui(ui) do
|
|
22
22
|
Gem::GemRunner.new.run(['path'] + options[:args])
|
|
23
23
|
end
|
|
24
|
-
exec(
|
|
24
|
+
exec(eit, ui.outs.string.strip)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def exec *args
|
|
28
|
+
say(args.join(' '))
|
|
29
|
+
super
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def eit
|
|
33
|
+
ENV['EIT_EDITOR'] || ENV['EDITOR'] || 'vim'
|
|
25
34
|
end
|
|
26
35
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gem-eit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lin Jen-Shin (godfat)
|
|
@@ -27,9 +27,8 @@ dependencies:
|
|
|
27
27
|
description: |-
|
|
28
28
|
Edit the gem for a given name or edit the file for a given require path.
|
|
29
29
|
|
|
30
|
-
Also checkout [gem-
|
|
30
|
+
Also checkout [gem-grep][].
|
|
31
31
|
|
|
32
|
-
[gem-cd]: https://github.com/godfat/gem-cd
|
|
33
32
|
[gem-grep]: https://github.com/godfat/gem-grep
|
|
34
33
|
email:
|
|
35
34
|
- godfat (XD) godfat.org
|
|
@@ -40,6 +39,7 @@ files:
|
|
|
40
39
|
- .gitignore
|
|
41
40
|
- .gitmodules
|
|
42
41
|
- .travis.yml
|
|
42
|
+
- CHANGES.md
|
|
43
43
|
- LICENSE
|
|
44
44
|
- README.md
|
|
45
45
|
- Rakefile
|