irbtools-more 0.3.2 → 1.2.0

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 CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.2.0
2
+ * add looksee
3
+
1
4
  == 0.3.2
2
5
  * load in threads (irbtools 1.0)
3
6
  * remove jeweler
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2011 Jan Lelis
1
+ Copyright (c) 2010-2012 Jan Lelis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -1,47 +1,34 @@
1
1
  = irbtools-more
2
2
 
3
- irbtools[https://github.com/janlelis/irbtools] is a meta gem which installs some useful irb gems and configures your irb.
3
+ The {irbtools gem}[https://github.com/janlelis/irbtools] is a meta gem that installs handy and useful irb gems and provides an appealing ready-to-use irb configuration. It has a modular structure and supports multiple library-loading mechanisms, e.g. via <tt>autoload</tt> or threads.
4
+
5
+ <tt>irbtools-more</tt> adds some more irb gems which may not build out-of-the-box. Currently included: bond, looksee and drx. See the {irbtools readme}[https://github.com/janlelis/irbtools] for details.
4
6
 
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
7
 
7
8
  == Setup
8
9
 
9
10
  gem install irbtools-more
10
11
 
11
- * You need +tk+ for DrX (maybe try <tt>tk_as_gem</tt>)
12
+ In a Gemfile, you need to add:
13
+
14
+ gem 'irbtools-more', :require => false
12
15
 
13
16
  == Usage
14
17
 
15
- To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded everytime you start an irb):
18
+ To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded every time you start an irb):
16
19
 
17
20
  require 'rubygems' # only needed in 1.8
18
21
  require 'irbtools/more'
19
22
 
20
- If it does not exist, just create a new one.
21
-
22
- It's possible to modify, which libraries get loaded:
23
+ If it does not exist, just create a new one. It's possible to modify, which libraries get loaded:
23
24
 
24
25
  require 'irbtools/configure'
25
26
  Irbtools.add_package :more # adds this extension package
26
27
  # here you can edit which libraries get loaded. See the irbtools README for details.
27
28
  Irbtools.start
28
29
 
29
- You could also just use the base +irbtools+ and add the additional gems yourself.
30
-
31
- == Features
32
-
33
- === Included gems and libraries
34
-
35
- For the libraries included in +irbtools+, see its README page or http://rbjl.net/40-irbtools-release-the-power-of-irb
36
- * DrX[http://drx.rubyforge.org/] A tk object inspector, defines <tt>Object#see</tt>
37
- * bond[http://tagaholic.me/bond/] Better auto completion
38
-
39
- == Extension packages
40
-
41
- Feel free to build your own extension package gem (see this gem's source) and upload it to rubygems.org.
42
-
43
30
  == Copyright
44
31
 
45
- Copyright (c) 2010-2011 Jan Lelis, http://rbjl.net. See LICENSE for details.
32
+ Copyright (c) 2010-2012 Jan Lelis, http://rbjl.net. See LICENSE for details.
46
33
 
47
- J-_-L
34
+ == J-_-L
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 1.2.0
@@ -8,13 +8,14 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["Jan Lelis"]
9
9
  s.email = %q{mail@janlelis.de}
10
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.}
11
+ s.summary = 'irbtools is a "meta gem" that installs a bunch of useful irb gems and configures them for you.'
12
+ s.description = 'irbtools is a "meta gem" that installs a bnuch of useful irb gems and configures them for you. 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.'
13
13
  s.extra_rdoc_files = %w[LICENSE README.rdoc]
14
14
  s.files = Dir.glob(%w[lib/**/*.rb ]) + %w{VERSION CHANGELOG Rakefile irbtools-more.gemspec}
15
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'
16
+ s.add_dependency 'irbtools', '>= 1.2.0'
17
+ s.add_dependency %q<bond>, '~> 0.4.1'
18
+ s.add_dependency %q<looksee>, '~> 1.0.3'
19
+ s.add_dependency %q<drx>
19
20
  end
20
21
 
data/lib/irbtools/more.rb CHANGED
@@ -17,12 +17,22 @@ if standalone
17
17
  end
18
18
  end
19
19
 
20
- # irbtools-more libraries
20
+ # # # libraries
21
+
22
+ # TK object inspector
21
23
  Irbtools.add_library :drx, :thread => 'more_1'
24
+
25
+ # Better auto-completion
22
26
  Irbtools.add_library :bond, :thread => 'more_2' do
23
27
  Bond.start :gems => %w[irbtools]
24
28
  end
25
29
 
30
+ # Object#l method for inspecting its load path
31
+ Irbtools.add_library 'looksee', :late_thread => :c do
32
+ Looksee::ObjectMixin.rename :ls => :l
33
+ class Object; alias ll l end
34
+ end
35
+
26
36
  # load now
27
37
  if standalone
28
38
  Irbtools.start
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irbtools-more
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 31
4
5
  prerelease:
5
- version: 0.3.2
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 0
10
+ version: 1.2.0
6
11
  platform: ruby
7
12
  authors:
8
13
  - Jan Lelis
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-05-18 00:00:00 Z
18
+ date: 2012-01-10 00:00:00 Z
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: irbtools
@@ -20,32 +25,61 @@ dependencies:
20
25
  requirements:
21
26
  - - ">="
22
27
  - !ruby/object:Gem::Version
23
- version: 1.0.0
28
+ hash: 31
29
+ segments:
30
+ - 1
31
+ - 2
32
+ - 0
33
+ version: 1.2.0
24
34
  type: :runtime
25
35
  version_requirements: *id001
26
36
  - !ruby/object:Gem::Dependency
27
- name: drx
37
+ name: bond
28
38
  prerelease: false
29
39
  requirement: &id002 !ruby/object:Gem::Requirement
30
40
  none: false
31
41
  requirements:
32
- - - ">="
42
+ - - ~>
33
43
  - !ruby/object:Gem::Version
34
- version: "0"
44
+ hash: 13
45
+ segments:
46
+ - 0
47
+ - 4
48
+ - 1
49
+ version: 0.4.1
35
50
  type: :runtime
36
51
  version_requirements: *id002
37
52
  - !ruby/object:Gem::Dependency
38
- name: bond
53
+ name: looksee
39
54
  prerelease: false
40
55
  requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ hash: 17
61
+ segments:
62
+ - 1
63
+ - 0
64
+ - 3
65
+ version: 1.0.3
66
+ type: :runtime
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ name: drx
70
+ prerelease: false
71
+ requirement: &id004 !ruby/object:Gem::Requirement
41
72
  none: false
42
73
  requirements:
43
74
  - - ">="
44
75
  - !ruby/object:Gem::Version
76
+ hash: 3
77
+ segments:
78
+ - 0
45
79
  version: "0"
46
80
  type: :runtime
47
- version_requirements: *id003
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
81
+ version_requirements: *id004
82
+ description: irbtools is a "meta gem" that installs a bnuch of useful irb gems and configures them for you. 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.
49
83
  email: mail@janlelis.de
50
84
  executables: []
51
85
 
@@ -76,19 +110,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
110
  requirements:
77
111
  - - ">="
78
112
  - !ruby/object:Gem::Version
113
+ hash: 57
114
+ segments:
115
+ - 1
116
+ - 8
117
+ - 7
79
118
  version: 1.8.7
80
119
  required_rubygems_version: !ruby/object:Gem::Requirement
81
120
  none: false
82
121
  requirements:
83
122
  - - ">="
84
123
  - !ruby/object:Gem::Version
124
+ hash: 3
125
+ segments:
126
+ - 0
85
127
  version: "0"
86
128
  requirements: []
87
129
 
88
130
  rubyforge_project:
89
- rubygems_version: 1.8.1
131
+ rubygems_version: 1.8.10
90
132
  signing_key:
91
133
  specification_version: 3
92
- summary: irbtools is a meta gem that installs useful irb gems and configures your irb.
134
+ summary: irbtools is a "meta gem" that installs a bunch of useful irb gems and configures them for you.
93
135
  test_files: []
94
136