core_ex 0.5.6.1 → 0.5.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS +4 -0
- data/SPEC.yml +3 -3
- data/lib/core_ex.rb +2 -2
- data/lib/core_ex/rakefile_base.rf +1 -1
- data/lib/core_ex/{version.rb → version_id.rb} +1 -1
- data/lib/version.rb +5 -1
- metadata +3 -3
data/NEWS
CHANGED
data/SPEC.yml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
---
|
2
2
|
Author: The Uttk Team.
|
3
3
|
License: Ruby License
|
4
|
-
Revision: '$Id: /w/fey/ruby_ex/trunk/core_ex/SPEC.yml
|
4
|
+
Revision: '$Id: /w/fey/ruby_ex/trunk/core_ex/SPEC.yml 22425 2006-03-08T22:40:49.161881Z pouillar $'
|
5
5
|
|
6
|
-
version: !feydakins.org,2006/version dev-ruby/core_ex-0.
|
6
|
+
version: !feydakins.org,2006/version dev-ruby/core_ex-0.5_p2
|
7
7
|
|
8
8
|
title: CoreEx -- A proposal for a standard library extension.
|
9
9
|
summary: CoreEx is a proposal for a standard library extension.
|
@@ -23,7 +23,7 @@ root_test_suite: test/check-pkg-core_ex.yml
|
|
23
23
|
rdoc_dir: doc/html
|
24
24
|
trunk_url: svn://svn.feydakins.org/ruby_ex/trunk/core_ex
|
25
25
|
tags_url: svn://svn.feydakins.org/ruby_ex/tags
|
26
|
-
|
26
|
+
version_id.rb: !path lib/core_ex/version_id.rb
|
27
27
|
|
28
28
|
rdoc_files: !filelist
|
29
29
|
- README
|
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
|
4
|
+
# Revision:: $Id: /w/fey/ruby_ex/trunk/core_ex/lib/core_ex.rb 22439 2006-03-11T15:45:50.050946Z pouillar $
|
5
5
|
|
6
6
|
min_release = '1.8.4 (2005-12-24)'
|
7
7
|
ruby_release = "#{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
|
@@ -337,7 +337,7 @@ test_section __FILE__ do
|
|
337
337
|
end
|
338
338
|
|
339
339
|
def test_version
|
340
|
-
assert_match(/dev-ruby\/core_ex-\d+.\d+/, CoreEx::
|
340
|
+
assert_match(/dev-ruby\/core_ex-\d+.\d+/, CoreEx::VersionId.to_s)
|
341
341
|
end
|
342
342
|
|
343
343
|
end # class TestCoreEx
|
@@ -352,7 +352,7 @@ module Rake
|
|
352
352
|
contents = SPEC_YML.read.gsub(/^(version\s*:\s+)(.*)\s*$/) { $1 + SPEC.version.to_yaml.gsub(/^---\s*/, '') }
|
353
353
|
SPEC_YML.mv(bak)
|
354
354
|
SPEC_YML.overwrite(contents)
|
355
|
-
version_path = SPEC.
|
355
|
+
version_path = SPEC.send('version_id.rb').to_path
|
356
356
|
TempPath.new('version.rb.bak') do |vbak|
|
357
357
|
contents = version_path.read.gsub(/Version.parse\(.*\)$/,
|
358
358
|
"Version.parse(#{SPEC.version.to_s.dump})")
|
data/lib/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Copyright:: Copyright (c) 2004 Nicolas Despres. All rights reserved.
|
2
2
|
# Author:: Nicolas Despres <polrop@lrde.epita.fr>.
|
3
3
|
# License:: Gnu General Public License.
|
4
|
-
# Revision:: $Id: /w/fey/ruby_ex/trunk/core_ex/lib/version.rb
|
4
|
+
# Revision:: $Id: /w/fey/ruby_ex/trunk/core_ex/lib/version.rb 22439 2006-03-11T15:45:50.050946Z pouillar $
|
5
5
|
|
6
6
|
|
7
7
|
class Version
|
@@ -205,6 +205,10 @@ class Version
|
|
205
205
|
x
|
206
206
|
end
|
207
207
|
|
208
|
+
def import!
|
209
|
+
true
|
210
|
+
end
|
211
|
+
|
208
212
|
class Tag
|
209
213
|
attr_accessor :name, :descr, :rank, :offset
|
210
214
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: core_ex
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.6.
|
7
|
-
date: 2006-03-
|
6
|
+
version: 0.5.6.2
|
7
|
+
date: 2006-03-11 00:00:00 +01:00
|
8
8
|
summary: CoreEx is a proposal for a standard library extension.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -48,10 +48,10 @@ files:
|
|
48
48
|
- lib/core_ex/time.rb
|
49
49
|
- lib/core_ex/rakefile_base.rf
|
50
50
|
- lib/core_ex/embedded_tests.rb
|
51
|
+
- lib/core_ex/version_id.rb
|
51
52
|
- lib/core_ex/require.rb
|
52
53
|
- lib/core_ex/exception.rb
|
53
54
|
- lib/core_ex/enumerable.rb
|
54
|
-
- lib/core_ex/version.rb
|
55
55
|
- lib/core_ex/pathname.rb
|
56
56
|
- lib/core_ex/proc.rb
|
57
57
|
- lib/core_ex/module/attr_once.rb
|