txtspk 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +12 -0
- data/lib/txtspk.rb +12 -5
- data/lib/txtspk/version.rb +1 -1
- data/txtspk.gemspec +3 -3
- metadata +11 -11
data/.travis.yml
CHANGED
data/lib/txtspk.rb
CHANGED
@@ -1,11 +1,19 @@
|
|
1
1
|
require "txtspk/version"
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
module Txtspk
|
4
|
+
module CoreExtensions
|
5
|
+
module String
|
6
|
+
def to_txtspk
|
7
|
+
Txtspk::convert(self)
|
8
|
+
end
|
9
|
+
end
|
6
10
|
end
|
7
11
|
end
|
8
12
|
|
13
|
+
class String
|
14
|
+
include Txtspk::CoreExtensions::String
|
15
|
+
end
|
16
|
+
|
9
17
|
module Txtspk
|
10
18
|
|
11
19
|
CONTRACTIONS = {
|
@@ -461,7 +469,6 @@ module Txtspk
|
|
461
469
|
'JYYC' => ['Just yanking your chain'],
|
462
470
|
'K' => ['okay'],
|
463
471
|
'KBD' => ['Keyboard'],
|
464
|
-
'KEWL' => ['Cool'],
|
465
472
|
'KFY' => ['Kiss for you'],
|
466
473
|
'KHUF' => ['Know How You Feel'],
|
467
474
|
'KIR' => ['Keep It Real'],
|
@@ -904,7 +911,7 @@ module Txtspk
|
|
904
911
|
'YW' => ['You are Welcome'],
|
905
912
|
'YYSSW' => ['yeah yeah sure sure whatever'],
|
906
913
|
'ZZZ' => ['Sleeping, Bored, Tired']
|
907
|
-
|
914
|
+
|
908
915
|
}
|
909
916
|
|
910
917
|
def self.convert(str)
|
data/lib/txtspk/version.rb
CHANGED
data/txtspk.gemspec
CHANGED
@@ -15,8 +15,8 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Txtspk::VERSION
|
17
17
|
|
18
|
-
gem.
|
19
|
-
gem.
|
20
|
-
gem.
|
18
|
+
gem.add_development_dependency('rake')
|
19
|
+
gem.add_development_dependency('minitest')
|
20
|
+
gem.add_development_dependency('turn')
|
21
21
|
|
22
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: txtspk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,41 +9,41 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &70325073742920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
|
-
type: :
|
22
|
+
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70325073742920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: minitest
|
27
|
-
requirement: &
|
27
|
+
requirement: &70325073742240 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
|
-
type: :
|
33
|
+
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70325073742240
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: turn
|
38
|
-
requirement: &
|
38
|
+
requirement: &70325073741580 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
|
-
type: :
|
44
|
+
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70325073741580
|
47
47
|
description: shortens to using text speak
|
48
48
|
email:
|
49
49
|
- kyle.decot@me.com
|