rbx-require-relative 0.0.7 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/NEWS CHANGED
@@ -1,3 +1,10 @@
1
+ 0.0.9 (02-27-12)
2
+ Remove dependency on Ruby version used to build gem.
3
+
4
+ 0.0.8 (02-27-12)
5
+ Remove platform used in gem. Give up on adding a dependency based on
6
+ the Ruby version.
7
+
1
8
  0.0.7 (02-26-12)
2
9
  Fix up MRI/REE 1.8.7 mess up.
3
10
 
data/Rakefile CHANGED
@@ -1,15 +1,5 @@
1
1
  #!/usr/bin/env rake
2
2
  # -*- Ruby -*-
3
- # Are we rubinius or MRI 1.8?
4
- raise RuntimeError, 'This package is for rubinius or 1.9.2-nframe only!' unless
5
- (Object.constants.include?('Rubinius') &&
6
- Rubinius.constants.include?('VM') &&
7
- Rubinius::VM.respond_to?(:backtrace)) ||
8
- (defined? RUBY_DESCRIPTION &&
9
- RUBY_DESCRIPTION.start_with?('ruby 1.9.2frame')) ||
10
- (RUBY_VERSION.start_with?('1.8') &&
11
- RUBY_COPYRIGHT.end_with?('Yukihiro Matsumoto'))
12
-
13
3
  # begin
14
4
  # require_relative 'lib/version'
15
5
  # puts 'Looks like you already have require_relative!'
@@ -67,7 +67,7 @@ if __FILE__ == $0
67
67
  dir =
68
68
  if RUBY_VERSION.start_with?('1.8') &&
69
69
  RUBY_COPYRIGHT.end_with?('Yukihiro Matsumoto')
70
- puts "Note: require_relative doesn't work with Dir.chdir as it does on Rubinius or 1.9"
70
+ puts "Note: require_relative doesn't work with Dir.chdir as it does on Rubinius or 1.9.2-head-nframe"
71
71
  '.'
72
72
  else
73
73
  Dir.tmpdir
@@ -1,3 +1,3 @@
1
1
  module RequireRelative
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.9'
3
3
  end
@@ -13,7 +13,7 @@ class TestRR < Test::Unit::TestCase
13
13
  if RUBY_VERSION.start_with?('1.8') &&
14
14
  (RUBY_COPYRIGHT.end_with?('Yukihiro Matsumoto') ||
15
15
  RUBY_ENGINE == 'jruby')
16
- puts "Note: require_relative doesn't work with Dir.chdir as it does on Rubinius or 1.9"
16
+ puts "Note: require_relative doesn't work with Dir.chdir as it does on Rubinius or 1.9.2-head-nframe"
17
17
  '.'
18
18
  else
19
19
  Dir.tmpdir
metadata CHANGED
@@ -1,42 +1,27 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rbx-require-relative
3
- version: !ruby/object:Gem::Version
4
- hash: 17
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.9
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 7
10
- version: 0.0.7
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - R. Bernstein
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-02-26 00:00:00 Z
12
+ date: 2012-02-27 00:00:00.000000000 Z
19
13
  dependencies: []
20
-
21
- description: |
22
- Ruby 1.9's require_relative for Rubinius and MRI 1.8.
23
-
24
- We also add abs_path which is like __FILE__ but __FILE__ can be fooled
25
- by a sneaky "chdir" while abs_path can't.
26
-
27
- If you are running on Ruby 1.9 or greater, require_relative is the
28
- pre-defined version. The benefit we provide in this situation by this
29
- package is the ability to write the same require_relative sequence in
30
- Rubinius 1.8 and Ruby 1.9.
31
-
14
+ description: ! "Ruby 1.9's require_relative for Rubinius and MRI 1.8. \n\nWe also
15
+ add abs_path which is like __FILE__ but __FILE__ can be fooled\nby a sneaky \"chdir\"
16
+ while abs_path can't. \n\nIf you are running on Ruby 1.9 or greater, require_relative
17
+ is the\npre-defined version. The benefit we provide in this situation by this\npackage
18
+ is the ability to write the same require_relative sequence in\nRubinius 1.8 and
19
+ Ruby 1.9.\n"
32
20
  email: rockyb@rubyforge.net
33
21
  executables: []
34
-
35
22
  extensions: []
36
-
37
23
  extra_rdoc_files: []
38
-
39
- files:
24
+ files:
40
25
  - LICENSE
41
26
  - ChangeLog
42
27
  - NEWS
@@ -48,40 +33,34 @@ files:
48
33
  - test/foo.rb
49
34
  - test/bar.rb
50
35
  homepage: http://github.com/rocky/rbx-require-relative
51
- licenses:
36
+ licenses:
52
37
  - MIT
53
38
  post_install_message:
54
- rdoc_options:
39
+ rdoc_options:
55
40
  - --title
56
- - require_relative 0.0.7 Documentation
57
- require_paths:
41
+ - require_relative 0.0.9 Documentation
42
+ require_paths:
58
43
  - lib
59
- required_ruby_version: !ruby/object:Gem::Requirement
44
+ required_ruby_version: !ruby/object:Gem::Requirement
60
45
  none: false
61
- requirements:
62
- - - ~>
63
- - !ruby/object:Gem::Version
64
- hash: 57
65
- segments:
66
- - 1
67
- - 8
68
- - 7
69
- version: 1.8.7
70
- required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
51
  none: false
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
79
56
  requirements: []
80
-
81
57
  rubyforge_project:
82
- rubygems_version: 1.8.6
58
+ rubygems_version: 1.8.15
83
59
  signing_key:
84
60
  specification_version: 3
85
- summary: Ruby 1.9's require_relative for Rubinius and MRI 1.8. We also add abs_path which is like __FILE__ but __FILE__ can be fooled by a sneaky "chdir" while abs_path can't. If you are running on Ruby 1.9 or greater, require_relative is the pre-defined version. The benefit we provide in this situation by this package is the ability to write the same require_relative sequence in Rubinius 1.8 and Ruby 1.9.
61
+ summary: Ruby 1.9's require_relative for Rubinius and MRI 1.8. We also add abs_path
62
+ which is like __FILE__ but __FILE__ can be fooled by a sneaky "chdir" while abs_path
63
+ can't. If you are running on Ruby 1.9 or greater, require_relative is the pre-defined
64
+ version. The benefit we provide in this situation by this package is the ability
65
+ to write the same require_relative sequence in Rubinius 1.8 and Ruby 1.9.
86
66
  test_files: []
87
-