looksee 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,8 +1,12 @@
1
+ == 1.0.2 2011-03-27
2
+
3
+ * Fix JRuby extension name for case-sensitive filesystems.
4
+
1
5
  == 1.0.1 2011-03-15
2
6
 
3
7
  * Fix bug exception when trying to edit a primitive method on MRI.
4
8
  * Allow customizing the method names added to every object. Either:
5
- * Call Looksee(:ls => new_name, :edit => new_name)
9
+ * Call Looksee.rename(:ls => new_name, :edit => new_name)
6
10
  * Set LOOKSEE_METHODS='ls=new_name edit=new_name' in your environment.
7
11
 
8
12
  == 1.0.0 2011-03-09
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'ritual'
2
2
 
3
3
  ruby_engine = (Object.const_defined?(:RUBY_ENGINE) ? RUBY_ENGINE : 'ruby')
4
4
  if ruby_engine == 'jruby'
5
- extension :jruby, :type => :jruby
5
+ extension :type => :jruby, :path => 'ext/jruby', :install_as => "lib/looksee/JRuby"
6
6
  else
7
7
  name = ruby_engine == 'ruby' ? 'mri' : ruby_engine
8
8
  extension :build_as => "ext/#{name}", :install_as => "lib/looksee/#{name}"
Binary file
@@ -1,5 +1,5 @@
1
1
  module Looksee
2
- VERSION = [1, 0, 1]
2
+ VERSION = [1, 0, 2]
3
3
 
4
4
  class << VERSION
5
5
  include Comparable
data/spec/adapter_spec.rb CHANGED
@@ -532,7 +532,7 @@ describe "Looksee.adapter" do
532
532
  end
533
533
 
534
534
  it "should return nil for primitive methods (MRI CBODY)" do
535
- method = Object.instance_method(:__id__)
535
+ method = Array.instance_method(:size)
536
536
  @adapter.source_location(method).should == nil
537
537
  end
538
538
 
@@ -1,5 +1,4 @@
1
1
  require 'spec_helper'
2
- gem 'wirble' # die if wirble unavailable
3
2
 
4
3
  describe Looksee::WirbleCompatibility do
5
4
  describe "when looksee is loaded" do
@@ -16,7 +15,7 @@ describe Looksee::WirbleCompatibility do
16
15
  irb = File.join Config::CONFIG['bindir'], 'irb'
17
16
  lib_dir = File.expand_path('lib')
18
17
  # irb hangs when using readline without a tty
19
- output = IO.popen("#{irb} -f --noreadline --noprompt --noverbose -I#{lib_dir} 2>&1", 'r+') do |io|
18
+ output = IO.popen("bundle exec #{irb} -f --noreadline --noprompt --noverbose -I#{lib_dir} 2>&1", 'r+') do |io|
20
19
  io.puts code
21
20
  io.flush
22
21
  io.close_write
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: looksee
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 0
9
- - 1
10
- version: 1.0.1
4
+ prerelease:
5
+ version: 1.0.2
11
6
  platform: ruby
12
7
  authors:
13
8
  - George Ogata
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-03-15 00:00:00 -04:00
13
+ date: 2011-03-27 00:00:00 -04:00
19
14
  default_executable:
20
15
  dependencies:
21
16
  - !ruby/object:Gem::Dependency
@@ -26,11 +21,6 @@ dependencies:
26
21
  requirements:
27
22
  - - "="
28
23
  - !ruby/object:Gem::Version
29
- hash: 21
30
- segments:
31
- - 0
32
- - 2
33
- - 1
34
24
  version: 0.2.1
35
25
  type: :development
36
26
  version_requirements: *id001
@@ -42,11 +32,6 @@ dependencies:
42
32
  requirements:
43
33
  - - "="
44
34
  - !ruby/object:Gem::Version
45
- hash: 27
46
- segments:
47
- - 2
48
- - 5
49
- - 0
50
35
  version: 2.5.0
51
36
  type: :development
52
37
  version_requirements: *id002
@@ -58,9 +43,6 @@ dependencies:
58
43
  requirements:
59
44
  - - ">="
60
45
  - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 0
64
46
  version: "0"
65
47
  type: :development
66
48
  version_requirements: *id003
@@ -72,9 +54,6 @@ dependencies:
72
54
  requirements:
73
55
  - - ">="
74
56
  - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
57
  version: "0"
79
58
  type: :development
80
59
  version_requirements: *id004
@@ -99,8 +78,8 @@ files:
99
78
  - lib/looksee/editor.rb
100
79
  - lib/looksee/help.rb
101
80
  - lib/looksee/inspector.rb
102
- - lib/looksee/jruby.jar
103
81
  - lib/looksee/lookup_path.rb
82
+ - lib/looksee/rbx.bundle
104
83
  - lib/looksee/shortcuts.rb
105
84
  - lib/looksee/version.rb
106
85
  - lib/looksee/wirble_compatibility.rb
@@ -147,23 +126,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
126
  requirements:
148
127
  - - ">="
149
128
  - !ruby/object:Gem::Version
150
- hash: 3
151
- segments:
152
- - 0
153
129
  version: "0"
154
130
  required_rubygems_version: !ruby/object:Gem::Requirement
155
131
  none: false
156
132
  requirements:
157
133
  - - ">="
158
134
  - !ruby/object:Gem::Version
159
- hash: 3
160
- segments:
161
- - 0
162
135
  version: "0"
163
136
  requirements: []
164
137
 
165
138
  rubyforge_project:
166
- rubygems_version: 1.3.7
139
+ rubygems_version: 1.6.2
167
140
  signing_key:
168
141
  specification_version: 3
169
142
  summary: Supercharged method introspection in IRB.
Binary file