string-direction 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Dockerfile +9 -0
- data/README.md +1 -1
- data/docker-compose.yml +7 -0
- data/lib/string-direction/version.rb +1 -1
- data/string-direction.gemspec +0 -2
- metadata +5 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9db21d3eb36709a3e07dd7403473919f7e9390be76c6bd43b72ceec8bc2feceb
|
4
|
+
data.tar.gz: e0619bf09ceaaf52167e98a9d270abfd156158d1ac50a9c85ed25498b2dd7fd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be40bc6a24004ad28780342fbc627b8cb8f88affd986e33394944641829b767d49322859116b84952a0b506c975d3bd7ac2f593dadee936cff4c0602c438687d
|
7
|
+
data.tar.gz: add4f915647b1cc1309e8962f9988bf5110ccae144b4af320e5f3dd5d0faf5ebf5e0eb2075d24172a555f32a2fb61f71b02efea6d2431733cbc8766828710677
|
data/Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
FROM ruby:2.4.3
|
2
|
+
ENV APP_HOME /app/
|
3
|
+
ENV LIB_DIR lib/string-direction/
|
4
|
+
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev libxml2-dev libxslt1-dev nodejs
|
5
|
+
RUN mkdir -p $APP_HOME/$LIB_DIR
|
6
|
+
WORKDIR $APP_HOME
|
7
|
+
COPY Gemfile *gemspec $APP_HOME
|
8
|
+
COPY $LIB_DIR/version.rb $APP_HOME/$LIB_DIR
|
9
|
+
RUN bundle install
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ detector.rtl?('العربية') #=> true
|
|
18
18
|
detector.bidi?('english') #=> false
|
19
19
|
```
|
20
20
|
|
21
|
-
But, if you
|
21
|
+
But, if you prefer, you can monkey patch `String`:
|
22
22
|
|
23
23
|
```ruby
|
24
24
|
String.send(:include, StringDirection::StringMethods)
|
data/docker-compose.yml
ADDED
data/string-direction.gemspec
CHANGED
@@ -14,8 +14,6 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.email = 'marc@lamarciana.com'
|
15
15
|
s.files = `git ls-files`.split("\n")
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'yard', '~>0.8'
|
18
|
-
|
19
17
|
s.add_development_dependency 'bundler', '~> 1.10'
|
20
18
|
s.add_development_dependency 'rake', '~> 10.4'
|
21
19
|
s.add_development_dependency 'rspec', '~> 3.3'
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: string-direction
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Busqué
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: yard
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.8'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0.8'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: bundler
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,11 +89,13 @@ files:
|
|
103
89
|
- ".gitignore"
|
104
90
|
- ".yardopts"
|
105
91
|
- COPYING.txt
|
92
|
+
- Dockerfile
|
106
93
|
- Gemfile
|
107
94
|
- README.md
|
108
95
|
- Rakefile
|
109
96
|
- bin/console
|
110
97
|
- bin/setup
|
98
|
+
- docker-compose.yml
|
111
99
|
- lib/string-direction.rb
|
112
100
|
- lib/string-direction/configuration.rb
|
113
101
|
- lib/string-direction/detector.rb
|
@@ -147,9 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
135
|
version: '0'
|
148
136
|
requirements: []
|
149
137
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.7.3
|
151
139
|
signing_key:
|
152
140
|
specification_version: 4
|
153
141
|
summary: Automatic detection of text direction (ltr, rtl or bidi) for strings
|
154
142
|
test_files: []
|
155
|
-
has_rdoc:
|