string-direction 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/string-direction/string-direction.rb +2 -2
- data/string-direction.spec +1 -1
- metadata +2 -2
|
@@ -10,8 +10,8 @@ module StringDirection
|
|
|
10
10
|
|
|
11
11
|
# returns the direction in which a string is written
|
|
12
12
|
#
|
|
13
|
-
# @return ["
|
|
14
|
-
# @return ["
|
|
13
|
+
# @return ["lft"] if it's a left-to-right string
|
|
14
|
+
# @return ["rtl"] if it's a right-to-left string
|
|
15
15
|
# @return ["bidi"] if it's a bi-directinal string
|
|
16
16
|
def direction
|
|
17
17
|
if has_ltr_mark? and has_rtl_mark?
|
data/string-direction.spec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'string-direction'
|
|
3
|
-
s.version = '0.0.
|
|
3
|
+
s.version = '0.0.3'
|
|
4
4
|
s.summary = 'Automatic detection of text direction (ltr, rtl or bidi) for strings'
|
|
5
5
|
s.description = 'https://github.com/laMarciana/string-direction/'
|
|
6
6
|
s.license = 'GPL3'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: string-direction
|
|
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,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-06-
|
|
12
|
+
date: 2013-06-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: yard
|