string_rtl 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ad118aa630f89dead9dcdaf310915847a3db94ea
4
- data.tar.gz: b3ccc45538fe7a26ec7bd0b58f113bb744e8bd1c
2
+ SHA256:
3
+ metadata.gz: 36fbb0910be268f81499692d937a2ac5144f28b8b1d2927b8be4fc877499363d
4
+ data.tar.gz: 8d9e50b0b30bf077bb5a2f7d366e22beabbf3137d592d0803dce7e3c0e2c064a
5
5
  SHA512:
6
- metadata.gz: c82b3dbee819e36e7588e56f493748ecaf9fb7d4876a4479b7d44efcfc40f4f9003ef52fdfe73821c0bc0af7b42acee99cc18fd6688f5280a893bfcf0e4fc68a
7
- data.tar.gz: 14d5987a18def0acfd3dfe140f5944b1eac534d810a35a73aaef523c45e3ce245b35fabaadae25710fdc47662cd8c3af6eeea866b690c2f555d1ba6a0a122812
6
+ metadata.gz: 6430f0983e8b1bbe257015332673e8e79e867c3f865fbbaabd4a87e221f3116f851f20b42fd247eb58819852df8fcc6221f9eb2fa07e8dd10dd8b994899c02fa
7
+ data.tar.gz: 6d2afd835bd2605a37cff827fc6929010647dec6d0ffb3b78f380e8bf22eea18a8e1ebf2780723fe4e415e2e975d8b01068fa8256bc360d439e453994d916a28
@@ -0,0 +1,39 @@
1
+ version: 2.1
2
+ jobs:
3
+ test:
4
+ parameters:
5
+ ruby:
6
+ description: "Ruby version"
7
+ default: "2.7.5"
8
+ type: "string"
9
+ docker:
10
+ - image: cimg/ruby:<< parameters.ruby >>
11
+ steps:
12
+ - checkout
13
+ - run:
14
+ name: Run the default task
15
+ command: |
16
+ gem install bundler -v 2.3.22
17
+ bundle install
18
+ bundle exec rake
19
+ # rubocop:
20
+ # parameters:
21
+ # docker:
22
+ # - image: cimg/ruby:3.0.0
23
+ # steps:
24
+ # - checkout
25
+ # - run:
26
+ # name: Run rubocop
27
+ # command: |
28
+ # gem install bundler -v 2.3.22
29
+ # bundle install
30
+ # bundle exec rubocop
31
+
32
+ workflows:
33
+ all-tests:
34
+ jobs:
35
+ # - rubocop
36
+ - test:
37
+ matrix:
38
+ parameters:
39
+ ruby: ["3.1.6", "3.2.6", "3.3.6"]
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.3.6
@@ -24,7 +24,7 @@ class String
24
24
  def dir(opts = {})
25
25
  opts.fetch(:check_indexes, CHECK_INDEXES).each do |i|
26
26
  RTL_RANGE.each do |subrange|
27
- return "rtl" if subrange.cover?(self[i].unpack('U*0')[0]) if self[i]
27
+ return "rtl" if subrange.cover?(self[i].unpack('U*')[0]) if self[i]
28
28
  end
29
29
  end
30
30
  "ltr"
@@ -1,3 +1,3 @@
1
1
  module StringRtl
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/string_rtl.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_development_dependency "bundler", "~> 1.11"
21
- spec.add_development_dependency "rake", "~> 10.0"
20
+ spec.add_development_dependency "bundler", "~> 2.3"
21
+ spec.add_development_dependency "rake", "~> 12.3.3"
22
22
  spec.add_development_dependency "rspec", "~> 3.0"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: string_rtl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikitas Tampakis, Trey Pendragon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-21 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: '2.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.11'
26
+ version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,15 +52,17 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description:
55
+ description:
56
56
  email:
57
57
  - tampakis@princeton.edu
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".circleci/config.yml"
62
63
  - ".gitignore"
63
64
  - ".rspec"
65
+ - ".tool-versions"
64
66
  - ".travis.yml"
65
67
  - Gemfile
66
68
  - README.md
@@ -74,7 +76,7 @@ files:
74
76
  homepage: https://github.com/pulibrary/string_rtl
75
77
  licenses: []
76
78
  metadata: {}
77
- post_install_message:
79
+ post_install_message:
78
80
  rdoc_options: []
79
81
  require_paths:
80
82
  - lib
@@ -89,10 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
91
  - !ruby/object:Gem::Version
90
92
  version: '0'
91
93
  requirements: []
92
- rubyforge_project:
93
- rubygems_version: 2.4.5.1
94
- signing_key:
94
+ rubygems_version: 3.5.22
95
+ signing_key:
95
96
  specification_version: 4
96
97
  summary: 'Patches #dir onto string to say if it''s LTR or RTL.'
97
98
  test_files: []
98
- has_rdoc: