rubyhelper 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rubyhelper/gem-version.rb +1 -1
- data/lib/rubyhelper/string.rb +3 -2
- data/lib/rubyhelper/versionhelper.rb +0 -2
- data/rubyhelper.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3192a8632a7143e103b0d450d621b7a0ccc98714
|
4
|
+
data.tar.gz: 3b1ca16f63de0e40476cdcb8e9375932d9fc1ef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22972314718f28dd69b5ea61e8e1f30c669a7dc8075ba5a265a7b4ea925cca2c37a9b0778df69126e17b23bc3693e51f25d9b4078ada4d6c61cae0b17f141b4f
|
7
|
+
data.tar.gz: 6f59cf81f21ddab38030023762852e8076c3cf4f3d97b9f992b050359850ba3d1d4b75d2a1066f61c7f17357c39e0d89ac44d2568912e2d28048ad51e7dea227
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rubyhelper/string.rb
CHANGED
@@ -39,6 +39,7 @@ module StringHelper
|
|
39
39
|
end
|
40
40
|
|
41
41
|
# Remove accents from the string, and replace it by the same letter in ASCII
|
42
|
+
# Note : it doesn't remove non ASCII characters
|
42
43
|
#
|
43
44
|
# @param replace [String] replace by character default case
|
44
45
|
# @return [String] self cahnged
|
@@ -83,7 +84,7 @@ module StringHelper
|
|
83
84
|
end
|
84
85
|
|
85
86
|
# Return a simple ascii string. Invalid characters will be replaced by "replace" (argument)
|
86
|
-
# Accents are removed first and replaced by the equivalent ASCII letter
|
87
|
+
# Accents are removed first and replaced by the equivalent ASCII letter (example : 'é' => 'e')
|
87
88
|
#
|
88
89
|
# @param replace [String] a caracter to replace non-ascii chars
|
89
90
|
# @param case_mod [Symbol] :upcase, :capitalize or :downcase or nil if no case change
|
@@ -201,7 +202,7 @@ module StringHelper
|
|
201
202
|
return self.gsub(/[^\d]/, "")
|
202
203
|
end
|
203
204
|
|
204
|
-
# see #get_int
|
205
|
+
# see {#get_int}
|
205
206
|
#
|
206
207
|
# @return [String]
|
207
208
|
def get_int!(sign = true)
|
data/rubyhelper.gemspec
CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'rubyhelper'
|
5
5
|
s.version = RubyHelper::VERSION
|
6
6
|
s.date = Time.now.getgm.to_s.split.first
|
7
|
-
s.summary = "
|
7
|
+
s.summary = "hotfix (remove pry requirement)"
|
8
8
|
s.description = "A list of utils for the basic Class of ruby."
|
9
9
|
s.authors = [
|
10
10
|
"poulet_a"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyhelper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- poulet_a
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
+lG6tRo8QaFrH3afOmy4VUaG84Jm1XjNYnyaOfLb9ItpcQgVySn2c3aJ2PLcPljM
|
32
32
|
EhZUryAiV8KNMQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2014-09-
|
34
|
+
date: 2014-09-08 00:00:00.000000000 Z
|
35
35
|
dependencies: []
|
36
36
|
description: A list of utils for the basic Class of ruby.
|
37
37
|
email:
|
@@ -95,6 +95,6 @@ rubyforge_project:
|
|
95
95
|
rubygems_version: 2.4.1
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
|
-
summary:
|
98
|
+
summary: hotfix (remove pry requirement)
|
99
99
|
test_files: []
|
100
100
|
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|