irbtools-more 0.3.1 → 0.3.2
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.
- data/CHANGELOG +3 -0
- data/LICENSE +1 -1
- data/README.rdoc +2 -5
- data/Rakefile +31 -24
- data/VERSION +1 -1
- data/irbtools-more.gemspec +15 -50
- data/lib/irbtools/more.rb +4 -4
- metadata +16 -41
- data/.document +0 -5
- data/.gitignore +0 -21
data/CHANGELOG
ADDED
data/LICENSE
CHANGED
data/README.rdoc
CHANGED
@@ -1,16 +1,13 @@
|
|
1
1
|
= irbtools-more
|
2
2
|
|
3
|
-
irbtools[
|
3
|
+
irbtools[https://github.com/janlelis/irbtools] is a meta gem which installs some useful irb gems and configures your irb.
|
4
4
|
|
5
5
|
<tt>irbtools-more</tt> adds some more irb gems which may not build out-of-the-box. Currently included: better auto completion and an object inspector.
|
6
6
|
|
7
7
|
== Setup
|
8
8
|
|
9
9
|
gem install irbtools-more
|
10
|
-
gem install irb_rocket --source http://merbi.st
|
11
10
|
|
12
|
-
* On Linux, you also need the +xclip+ program (apt-get install xclip).
|
13
|
-
* On MacOS, you need growl, if you want to use the +g+ gem.
|
14
11
|
* You need +tk+ for DrX (maybe try <tt>tk_as_gem</tt>)
|
15
12
|
|
16
13
|
== Usage
|
@@ -45,6 +42,6 @@ Feel free to build your own extension package gem (see this gem's source) and up
|
|
45
42
|
|
46
43
|
== Copyright
|
47
44
|
|
48
|
-
Copyright (c) 2010 Jan Lelis, http://rbjl.net. See LICENSE for details.
|
45
|
+
Copyright (c) 2010-2011 Jan Lelis, http://rbjl.net. See LICENSE for details.
|
49
46
|
|
50
47
|
J-_-L
|
data/Rakefile
CHANGED
@@ -1,30 +1,37 @@
|
|
1
|
-
require 'rubygems'
|
2
1
|
require 'rake'
|
2
|
+
require 'fileutils'
|
3
|
+
GEMSPEC = 'irbtools-more.gemspec'
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
gem.name = "irbtools-more"
|
8
|
-
gem.summary = %Q{irbtools is a meta gem which installs some useful irb gems and configures your irb. irbtools-more adds some gems which may not build out-of-the-box.}
|
9
|
-
gem.description = %Q{irbtools is a meta gem which installs some useful irb gems and configures your irb. irbtools-more adds some gems which may not build out-of-the-box. Simply put a require 'irbtools-more' in the .irbrc file in your home directory}
|
10
|
-
gem.email = "mail@janlelis.de"
|
11
|
-
gem.homepage = "http://github.com/janlelis/irbtools-more"
|
12
|
-
gem.authors = ["Jan Lelis"]
|
13
|
-
gem.add_dependency 'irbtools', '>= 0.8.0'
|
14
|
-
gem.add_dependency 'drx'
|
15
|
-
gem.add_dependency 'bond'
|
16
|
-
end
|
17
|
-
Jeweler::GemcutterTasks.new
|
18
|
-
rescue LoadError
|
19
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
5
|
+
|
6
|
+
def gemspec
|
7
|
+
@gemspec ||= eval(File.read(GEMSPEC), binding, GEMSPEC)
|
20
8
|
end
|
21
9
|
|
22
|
-
|
23
|
-
|
24
|
-
|
10
|
+
desc "Build the gem"
|
11
|
+
task :gem => :gemspec do
|
12
|
+
sh "gem build " + GEMSPEC
|
13
|
+
FileUtils.mkdir_p 'pkg'
|
14
|
+
FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", 'pkg'
|
15
|
+
end
|
25
16
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
17
|
+
desc "Install the gem locally"
|
18
|
+
task :install => :gem do
|
19
|
+
sh %{gem install pkg/#{gemspec.name}-#{gemspec.version} --no-rdoc --no-ri}
|
30
20
|
end
|
21
|
+
|
22
|
+
desc "Generate the gemspec"
|
23
|
+
task :generate do
|
24
|
+
puts gemspec.to_ruby
|
25
|
+
end
|
26
|
+
|
27
|
+
desc "Validate the gemspec"
|
28
|
+
task :gemspec do
|
29
|
+
gemspec.validate
|
30
|
+
end
|
31
|
+
|
32
|
+
desc 'Run tests'
|
33
|
+
task :test do |t|
|
34
|
+
sh 'bacon -q -Ilib -I. test/*_test.rb'
|
35
|
+
end
|
36
|
+
|
37
|
+
task :default => :test
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/irbtools-more.gemspec
CHANGED
@@ -1,55 +1,20 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
require 'rubygems' unless defined? Gem
|
3
|
+
require File.dirname(__FILE__) + "/lib/irbtools/more"
|
5
4
|
|
6
5
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version =
|
9
|
-
|
10
|
-
s.
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
s.
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"LICENSE",
|
23
|
-
"README.rdoc",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"irbtools-more.gemspec",
|
27
|
-
"lib/bond/completions/irbtools.rb",
|
28
|
-
"lib/irbtools/more.rb"
|
29
|
-
]
|
30
|
-
s.homepage = %q{http://github.com/janlelis/irbtools-more}
|
31
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
32
|
-
s.require_paths = ["lib"]
|
33
|
-
s.rubygems_version = %q{1.3.7}
|
34
|
-
s.summary = %q{irbtools is a meta gem which installs some useful irb gems and configures your irb. irbtools-more adds some gems which may not build out-of-the-box.}
|
35
|
-
|
36
|
-
if s.respond_to? :specification_version then
|
37
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
38
|
-
s.specification_version = 3
|
39
|
-
|
40
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
41
|
-
s.add_runtime_dependency(%q<irbtools>, [">= 0.8.0"])
|
42
|
-
s.add_runtime_dependency(%q<drx>, [">= 0"])
|
43
|
-
s.add_runtime_dependency(%q<bond>, [">= 0"])
|
44
|
-
else
|
45
|
-
s.add_dependency(%q<irbtools>, [">= 0.8.0"])
|
46
|
-
s.add_dependency(%q<drx>, [">= 0"])
|
47
|
-
s.add_dependency(%q<bond>, [">= 0"])
|
48
|
-
end
|
49
|
-
else
|
50
|
-
s.add_dependency(%q<irbtools>, [">= 0.8.0"])
|
51
|
-
s.add_dependency(%q<drx>, [">= 0"])
|
52
|
-
s.add_dependency(%q<bond>, [">= 0"])
|
53
|
-
end
|
6
|
+
s.name = 'irbtools-more'
|
7
|
+
s.version = Irbtools::More::VERSION
|
8
|
+
s.authors = ["Jan Lelis"]
|
9
|
+
s.email = %q{mail@janlelis.de}
|
10
|
+
s.homepage = %q{http://github.com/janlelis/irbtools-more}
|
11
|
+
s.description = %q{irbtools is a meta gem that installs useful irb gems and configures your irb. irbtools-more adds some gems which may not build out-of-the-box. Simply put a require 'irbtools/more' in the .irbrc file in your home directory}
|
12
|
+
s.summary = %q{irbtools is a meta gem that installs useful irb gems and configures your irb.}
|
13
|
+
s.extra_rdoc_files = %w[LICENSE README.rdoc]
|
14
|
+
s.files = Dir.glob(%w[lib/**/*.rb ]) + %w{VERSION CHANGELOG Rakefile irbtools-more.gemspec}
|
15
|
+
s.required_ruby_version = '>= 1.8.7'
|
16
|
+
s.add_dependency 'irbtools', '>= 1.0.0'
|
17
|
+
s.add_dependency 'drx'
|
18
|
+
s.add_dependency 'bond'
|
54
19
|
end
|
55
20
|
|
data/lib/irbtools/more.rb
CHANGED
@@ -4,7 +4,7 @@ standalone = !(defined? Irbtools)
|
|
4
4
|
# define version
|
5
5
|
module Irbtools
|
6
6
|
module More
|
7
|
-
|
7
|
+
VERSION = ( File.read File.expand_path( '../../VERSION', File.dirname(__FILE__)) ).chomp
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
@@ -18,14 +18,14 @@ if standalone
|
|
18
18
|
end
|
19
19
|
|
20
20
|
# irbtools-more libraries
|
21
|
-
Irbtools.add_library :drx
|
22
|
-
Irbtools.add_library :bond do
|
21
|
+
Irbtools.add_library :drx, :thread => 'more_1'
|
22
|
+
Irbtools.add_library :bond, :thread => 'more_2' do
|
23
23
|
Bond.start :gems => %w[irbtools]
|
24
24
|
end
|
25
25
|
|
26
26
|
# load now
|
27
27
|
if standalone
|
28
|
-
Irbtools.
|
28
|
+
Irbtools.start
|
29
29
|
end
|
30
30
|
|
31
31
|
# J-_-L
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irbtools-more
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 1
|
10
|
-
version: 0.3.1
|
4
|
+
prerelease:
|
5
|
+
version: 0.3.2
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Jan Lelis
|
@@ -15,8 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
13
|
+
date: 2011-05-18 00:00:00 Z
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
22
16
|
name: irbtools
|
@@ -26,12 +20,7 @@ dependencies:
|
|
26
20
|
requirements:
|
27
21
|
- - ">="
|
28
22
|
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 8
|
33
|
-
- 0
|
34
|
-
version: 0.8.0
|
23
|
+
version: 1.0.0
|
35
24
|
type: :runtime
|
36
25
|
version_requirements: *id001
|
37
26
|
- !ruby/object:Gem::Dependency
|
@@ -42,9 +31,6 @@ dependencies:
|
|
42
31
|
requirements:
|
43
32
|
- - ">="
|
44
33
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 3
|
46
|
-
segments:
|
47
|
-
- 0
|
48
34
|
version: "0"
|
49
35
|
type: :runtime
|
50
36
|
version_requirements: *id002
|
@@ -56,13 +42,10 @@ dependencies:
|
|
56
42
|
requirements:
|
57
43
|
- - ">="
|
58
44
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 3
|
60
|
-
segments:
|
61
|
-
- 0
|
62
45
|
version: "0"
|
63
46
|
type: :runtime
|
64
47
|
version_requirements: *id003
|
65
|
-
description: irbtools is a meta gem
|
48
|
+
description: irbtools is a meta gem that installs useful irb gems and configures your irb. irbtools-more adds some gems which may not build out-of-the-box. Simply put a require 'irbtools/more' in the .irbrc file in your home directory
|
66
49
|
email: mail@janlelis.de
|
67
50
|
executables: []
|
68
51
|
|
@@ -72,22 +55,20 @@ extra_rdoc_files:
|
|
72
55
|
- LICENSE
|
73
56
|
- README.rdoc
|
74
57
|
files:
|
75
|
-
- .
|
76
|
-
- .
|
77
|
-
- LICENSE
|
78
|
-
- README.rdoc
|
79
|
-
- Rakefile
|
58
|
+
- lib/irbtools/more.rb
|
59
|
+
- lib/bond/completions/irbtools.rb
|
80
60
|
- VERSION
|
61
|
+
- CHANGELOG
|
62
|
+
- Rakefile
|
81
63
|
- irbtools-more.gemspec
|
82
|
-
-
|
83
|
-
-
|
84
|
-
has_rdoc: true
|
64
|
+
- LICENSE
|
65
|
+
- README.rdoc
|
85
66
|
homepage: http://github.com/janlelis/irbtools-more
|
86
67
|
licenses: []
|
87
68
|
|
88
69
|
post_install_message:
|
89
|
-
rdoc_options:
|
90
|
-
|
70
|
+
rdoc_options: []
|
71
|
+
|
91
72
|
require_paths:
|
92
73
|
- lib
|
93
74
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -95,25 +76,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
76
|
requirements:
|
96
77
|
- - ">="
|
97
78
|
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
segments:
|
100
|
-
- 0
|
101
|
-
version: "0"
|
79
|
+
version: 1.8.7
|
102
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
81
|
none: false
|
104
82
|
requirements:
|
105
83
|
- - ">="
|
106
84
|
- !ruby/object:Gem::Version
|
107
|
-
hash: 3
|
108
|
-
segments:
|
109
|
-
- 0
|
110
85
|
version: "0"
|
111
86
|
requirements: []
|
112
87
|
|
113
88
|
rubyforge_project:
|
114
|
-
rubygems_version: 1.
|
89
|
+
rubygems_version: 1.8.1
|
115
90
|
signing_key:
|
116
91
|
specification_version: 3
|
117
|
-
summary: irbtools is a meta gem
|
92
|
+
summary: irbtools is a meta gem that installs useful irb gems and configures your irb.
|
118
93
|
test_files: []
|
119
94
|
|
data/.document
DELETED