looksee 1.0.1-universal-java-1.6 → 1.0.2-universal-java-1.6

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
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,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: looksee
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 1
9
- version: 1.0.1
4
+ prerelease:
5
+ version: 1.0.2
10
6
  platform: universal-java-1.6
11
7
  authors:
12
8
  - George Ogata
@@ -14,20 +10,17 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-03-15 00:00:00 -04:00
13
+ date: 2011-03-27 00:00:00 -04:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
21
17
  name: ritual
22
18
  prerelease: false
23
19
  requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
24
21
  requirements:
25
22
  - - "="
26
23
  - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- - 2
30
- - 1
31
24
  version: 0.2.1
32
25
  type: :development
33
26
  version_requirements: *id001
@@ -35,13 +28,10 @@ dependencies:
35
28
  name: rspec
36
29
  prerelease: false
37
30
  requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
38
32
  requirements:
39
33
  - - "="
40
34
  - !ruby/object:Gem::Version
41
- segments:
42
- - 2
43
- - 5
44
- - 0
45
35
  version: 2.5.0
46
36
  type: :development
47
37
  version_requirements: *id002
@@ -49,11 +39,10 @@ dependencies:
49
39
  name: mocha
50
40
  prerelease: false
51
41
  requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
52
43
  requirements:
53
44
  - - ">="
54
45
  - !ruby/object:Gem::Version
55
- segments:
56
- - 0
57
46
  version: "0"
58
47
  type: :development
59
48
  version_requirements: *id003
@@ -61,11 +50,10 @@ dependencies:
61
50
  name: wirble
62
51
  prerelease: false
63
52
  requirement: &id004 !ruby/object:Gem::Requirement
53
+ none: false
64
54
  requirements:
65
55
  - - ">="
66
56
  - !ruby/object:Gem::Version
67
- segments:
68
- - 0
69
57
  version: "0"
70
58
  type: :development
71
59
  version_requirements: *id004
@@ -89,8 +77,9 @@ files:
89
77
  - lib/looksee/editor.rb
90
78
  - lib/looksee/help.rb
91
79
  - lib/looksee/inspector.rb
92
- - lib/looksee/jruby.jar
80
+ - lib/looksee/JRuby.jar
93
81
  - lib/looksee/lookup_path.rb
82
+ - lib/looksee/rbx.bundle
94
83
  - lib/looksee/shortcuts.rb
95
84
  - lib/looksee/version.rb
96
85
  - lib/looksee/wirble_compatibility.rb
@@ -113,6 +102,17 @@ files:
113
102
  - LICENSE
114
103
  - Rakefile
115
104
  - README.markdown
105
+ - spec/adapter_spec.rb
106
+ - spec/columnizer_spec.rb
107
+ - spec/core_ext_spec.rb
108
+ - spec/editor_spec.rb
109
+ - spec/inspector_spec.rb
110
+ - spec/lookup_path_spec.rb
111
+ - spec/spec_helper.rb
112
+ - spec/wirble_compatibility_spec.rb
113
+ - spec/support/core_ext.rb
114
+ - spec/support/temporary_classes.rb
115
+ - spec/support/test_adapter.rb
116
116
  has_rdoc: true
117
117
  homepage: http://github.com/oggy/looksee
118
118
  licenses: []
@@ -123,23 +123,21 @@ rdoc_options: []
123
123
  require_paths:
124
124
  - lib
125
125
  required_ruby_version: !ruby/object:Gem::Requirement
126
+ none: false
126
127
  requirements:
127
128
  - - ">="
128
129
  - !ruby/object:Gem::Version
129
- segments:
130
- - 0
131
130
  version: "0"
132
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
+ none: false
133
133
  requirements:
134
134
  - - ">="
135
135
  - !ruby/object:Gem::Version
136
- segments:
137
- - 0
138
136
  version: "0"
139
137
  requirements: []
140
138
 
141
139
  rubyforge_project:
142
- rubygems_version: 1.3.6
140
+ rubygems_version: 1.5.1
143
141
  signing_key:
144
142
  specification_version: 3
145
143
  summary: Supercharged method introspection in IRB.