ruby-nuggets 0.1.2.215 → 0.1.3.221

Sign up to get free protection for your applications and to get access to all the features.
data/HEADER ADDED
@@ -0,0 +1,27 @@
1
+ #--
2
+ ###############################################################################
3
+ # #
4
+ # A component of ruby-nuggets, some extensions to the Ruby programming #
5
+ # language. #
6
+ # #
7
+ # Copyright (C) 2007-2008 Jens Wille #
8
+ # #
9
+ # Authors: #
10
+ # Jens Wille <jens.wille@uni-koeln.de> #
11
+ # #
12
+ # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
+ # under the terms of the GNU General Public License as published by the Free #
14
+ # Software Foundation; either version 3 of the License, or (at your option) #
15
+ # any later version. #
16
+ # #
17
+ # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
+ # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
+ # more details. #
21
+ # #
22
+ # You should have received a copy of the GNU General Public License along #
23
+ # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
+ # #
25
+ ###############################################################################
26
+ #++
27
+
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to ruby-nuggets version 0.1.2
5
+ This documentation refers to ruby-nuggets version 0.1.3
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -33,6 +33,7 @@ class String
33
33
  # Capitalizes the first character in +str+, but without downcasing the rest
34
34
  # like String#capitalize does.
35
35
  def capitalize_first
36
+ return self if empty?
36
37
  self[0..0].upcase << self[1..-1]
37
38
  end
38
39
 
@@ -4,7 +4,7 @@ module Nuggets
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- TINY = 2
7
+ TINY = 3
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-nuggets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.215
4
+ version: 0.1.3.221
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-21 00:00:00 +01:00
12
+ date: 2008-03-04 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -24,52 +24,53 @@ extra_rdoc_files:
24
24
  - ChangeLog
25
25
  - README
26
26
  files:
27
- - lib/nuggets/all.rb
28
- - lib/nuggets/version.rb
29
- - lib/nuggets/file/which.rb
30
27
  - lib/nuggets/integer/factorial.rb
31
- - lib/nuggets/array/to_hash.rb
32
- - lib/nuggets/array/shuffle.rb
33
- - lib/nuggets/array/format.rb
34
- - lib/nuggets/array/in_order.rb
35
- - lib/nuggets/array/combination.rb
36
- - lib/nuggets/array/flatten_once.rb
37
- - lib/nuggets/array/rand.rb
38
- - lib/nuggets/array/monotone.rb
39
- - lib/nuggets/uri/exist.rb
40
- - lib/nuggets/uri/content_type.rb
41
- - lib/nuggets/proc/bind.rb
42
- - lib/nuggets/string/word_wrap.rb
28
+ - lib/nuggets/version.rb
29
+ - lib/nuggets/object/singleton_class.rb
30
+ - lib/nuggets/object/blank.rb
31
+ - lib/nuggets/enumerable/minmax.rb
32
+ - lib/nuggets/all.rb
43
33
  - lib/nuggets/string/msub.rb
44
34
  - lib/nuggets/string/case.rb
45
35
  - lib/nuggets/string/evaluate.rb
36
+ - lib/nuggets/string/word_wrap.rb
46
37
  - lib/nuggets/string/nsub.rb
47
38
  - lib/nuggets/string/capitalize_first.rb
48
- - lib/nuggets/object/blank.rb
49
- - lib/nuggets/object/singleton_class.rb
50
- - lib/nuggets/numeric/signum.rb
51
- - lib/nuggets/util/i18n.rb
52
- - lib/nuggets/util/content_type.rb
53
- - lib/nuggets/enumerable/minmax.rb
54
39
  - lib/nuggets/hash/in_order.rb
55
40
  - lib/nuggets/hash/insert.rb
41
+ - lib/nuggets/proc/bind.rb
42
+ - lib/nuggets/array/rand.rb
43
+ - lib/nuggets/array/to_hash.rb
44
+ - lib/nuggets/array/flatten_once.rb
45
+ - lib/nuggets/array/in_order.rb
46
+ - lib/nuggets/array/shuffle.rb
47
+ - lib/nuggets/array/monotone.rb
48
+ - lib/nuggets/array/format.rb
49
+ - lib/nuggets/array/combination.rb
50
+ - lib/nuggets/numeric/signum.rb
51
+ - lib/nuggets/util/content_type.rb
52
+ - lib/nuggets/util/i18n.rb
53
+ - lib/nuggets/file/which.rb
54
+ - lib/nuggets/uri/content_type.rb
55
+ - lib/nuggets/uri/exist.rb
56
56
  - COPYING
57
- - Rakefile
57
+ - HEADER
58
58
  - README
59
59
  - ChangeLog
60
+ - Rakefile
60
61
  has_rdoc: true
61
62
  homepage: http://prometheus.rubyforge.org/ruby-nuggets
62
63
  post_install_message:
63
64
  rdoc_options:
64
- - --main
65
- - README
66
- - --all
67
- - --line-numbers
68
- - --inline-source
69
65
  - --charset
70
66
  - UTF-8
71
67
  - --title
72
68
  - ruby-nuggets Application documentation
69
+ - --main
70
+ - README
71
+ - --line-numbers
72
+ - --all
73
+ - --inline-source
73
74
  require_paths:
74
75
  - lib
75
76
  required_ruby_version: !ruby/object:Gem::Requirement