core_ex 0.6.6.1 → 0.6.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/NEWS CHANGED
@@ -1,3 +1,7 @@
1
+ = New in 0.6, 2007-03-20:
2
+
3
+ * Bug fix release: use gem instead of require_gem.
4
+
1
5
  = New in 0.6, 2007-01-14:
2
6
 
3
7
  * LazyLoading:
data/SPEC.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{core_ex}
3
- s.version = "0.6.6.1"
4
- s.date = %q{2007-01-14}
3
+ s.version = "0.6.6.2"
4
+ s.date = %q{2007-03-20}
5
5
  s.summary = %q{CoreEx is a proposal for a standard library extension.}
6
6
  s.email = ["nicolas.despres@gmail.com", "ertai@feydakins.org"]
7
7
  s.homepage = %q{http://api.feydakins.org/core_ex}
data/SPEC.yml CHANGED
@@ -3,7 +3,7 @@ Author: The Uttk Team.
3
3
  License: Ruby License
4
4
  Revision: '$Id: /w/fey/ruby_ex/trunk/core_ex/SPEC.yml 54025 2007-01-14T18:15:01.945268Z ertai $'
5
5
 
6
- version: !feydakins.org,2006/version dev-ruby/core_ex-0.6_p1#Teenager
6
+ version: !feydakins.org,2006/version dev-ruby/core_ex-0.6_p2
7
7
 
8
8
  # XXX check also lib/core_ex/version_id.rb
9
9
 
data/lib/core_ex.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # Copyright:: Copyright (c) 2005 Nicolas Pouillard. All rights reserved.
2
2
  # Author:: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License:: Gnu General Public License.
4
- # Revision:: $Id: /w/fey/ruby_ex/trunk/core_ex/lib/core_ex.rb 53947 2007-01-14T12:29:57.727375Z ertai $
4
+ # Revision:: $Id: /w/fey/ruby_ex/trunk/core_ex/lib/core_ex.rb 55620 2007-03-07T13:45:42.313358Z ertai $
5
5
 
6
6
  min_release = '1.8.4 (2005-12-24)'
7
7
  ruby_release = "#{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
@@ -79,11 +79,11 @@ unless defined? CORE_EX_LOADED and CORE_EX_LOADED
79
79
  raise LoadError, 'RubyGems not loaded' unless defined? Gem
80
80
  def core_ex_gem_require ( gem_name, gem_version=nil )
81
81
  if gem_version
82
- require_gem gem_name, gem_version
82
+ gem gem_name, gem_version
83
83
  else
84
- require_gem gem_name
84
+ gem gem_name
85
85
  end
86
- core_ex_debug { [:require_gem, gem_name, gem_version] }
86
+ core_ex_debug { [:gem, gem_name, gem_version] }
87
87
  end
88
88
  rescue LoadError => ex
89
89
  core_ex_debug { [:nogem1, ex] }
@@ -1,7 +1,7 @@
1
1
  # Copyright:: Copyright (c) 2005 Nicolas Pouillard. All rights reserved.
2
2
  # Author:: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License:: Gnu General Public License.
4
- # Revision:: $Id: /w/fey/ruby_ex/trunk/core_ex/lib/core_ex/rakefile_base.rf 53943 2007-01-14T11:44:13.489929Z ertai $
4
+ # Revision:: $Id: /w/fey/ruby_ex/trunk/core_ex/lib/core_ex/rakefile_base.rf 55620 2007-03-07T13:45:42.313358Z ertai $
5
5
 
6
6
  DEFAULT_RUBY_EX_VERSION = ENV['DEFAULT_RUBY_EX_VERSION'] || '~> 0.3'
7
7
  DEFAULT_UTTK_VERSION = ENV['DEFAULT_UTTK_VERSION'] || '~> 0.3'
@@ -18,7 +18,7 @@ require 'rake/packagetask'
18
18
  require 'rake/rdoctask'
19
19
  require 'rake/gempackagetask'
20
20
  require 'rake/contrib/rubyforgepublisher'
21
- suppress(NoMethodError) { require_gem 'highline' }
21
+ suppress(NoMethodError) { gem 'highline' }
22
22
  suppress(LoadError) { require 'highline/import' }
23
23
 
24
24
  PathList.import!
@@ -88,7 +88,7 @@ end
88
88
 
89
89
  # desc 'Setup the uttk command'
90
90
  task :uttk => [ :spec ] do
91
- require_gem('uttk', SPEC.uttk_version || DEFAULT_UTTK_VERSION)
91
+ gem('uttk', SPEC.uttk_version || DEFAULT_UTTK_VERSION)
92
92
  require 'uttk'
93
93
  def uttk ( *a, &b )
94
94
  cmd = Uttk.bin[*a]
@@ -5,6 +5,6 @@
5
5
 
6
6
  module CoreEx
7
7
 
8
- VersionId = Version.parse("dev-ruby/core_ex-0.6_p1#Teenager")
8
+ VersionId = Version.parse("dev-ruby/core_ex-0.6_p2")
9
9
 
10
10
  end # module CoreEx
@@ -1,5 +1,5 @@
1
1
  require 'rubygems'
2
- require_gem 'core_ex' # FIXME version
2
+ gem 'core_ex' # FIXME version
3
3
  require 'core_ex'
4
4
  require 'test/unit'
5
5
  class TC_ < Test::Unit::TestCase
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: core_ex
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.6.1
7
- date: 2007-01-14 00:00:00 +01:00
6
+ version: 0.6.6.2
7
+ date: 2007-03-20 00:00:00 +01:00
8
8
  summary: CoreEx is a proposal for a standard library extension.
9
9
  require_paths:
10
10
  - lib