string-direction 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,8 +10,8 @@ module StringDirection
10
10
 
11
11
  # returns the direction in which a string is written
12
12
  #
13
- # @return ["left"] if it's a left-to-right string
14
- # @return ["right"] if it's a right-to-left string
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?
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'string-direction'
3
- s.version = '0.0.2'
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.2
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-25 00:00:00.000000000 Z
12
+ date: 2013-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yard