mb_string 0.1.9 → 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
2
  SHA256:
3
- metadata.gz: de824e2e15aa6c94db82858f51ba00a50c2e6fc28291ddb3a7af7c0491d10e74
4
- data.tar.gz: 2e8c21fae389517b9cfef4d9b47925af5829266da91f4884cf3370be5b560c03
3
+ metadata.gz: 47cce4092b3225fcea802e097cefd8fc0743d47e0319d41c42eaf3a5cadc0a34
4
+ data.tar.gz: d12239318d9fa9b05aa047cb41dc70aac5aedd0fd005998dbcd9e0d0c0094a95
5
5
  SHA512:
6
- metadata.gz: b4ffcc90edfef07d109189830cfddca74e27682efc5071dd5456c64a03984a5af6fb4f14bb95a4d72c88cfeee89261d60f14f7f9e44f7f670a5dad1677078af4
7
- data.tar.gz: 1e4c3a461ec380a007e815f6ef921ff8ceae087252dc6d1b3bae43b0793e922c5dee7e3b81412fe8b0305d09bfad3a7a78bf36323c8de68c0ff319d3ff793416
6
+ metadata.gz: 3049a22d7cf730cc3075554aeb4987de9f28358b8e1e0467b61572b2334ad8182239785b0c9f2ac499b26b72b96bec235507cfd99dcd3187c312a580dca26dcd
7
+ data.tar.gz: c634d67f811da040f7d788184aa3b6bfeb1a703578b15d774750fa946ff50230521cbcb5752fca380d658c6fad09a90c8ae675be694de66712bfbfe5795ec7a3
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "20:00"
8
+ open-pull-requests-limit: 10
data/.travis.yml CHANGED
@@ -3,7 +3,7 @@ env:
3
3
  - CC_TEST_REPORTER_ID=0a13163b19bf99c8f7d340de2cd238fa8dea6c1612dbba4105e22ceab6af0920
4
4
  language: ruby
5
5
  rvm:
6
- - 2.4.9
7
- - 2.5.7
8
- - 2.6.5
6
+ - 2.6.8
7
+ - 2.7.4
8
+ - 3.0.2
9
9
  # before_install: gem install bundler -v 1.10.6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.2.0 Sun Aug 8)
2
+ * Update gems (unicode-display_with) [75f4033]
3
+
1
4
  ## 0.1.9 Sun Dec 15)
2
5
  * Update gems [3966c1a]
3
6
 
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
- [![Build Status](http://img.shields.io/travis/rochefort/mb_string.svg?style=flat)](http://travis-ci.org/rochefort/mb_string)
2
- [![Dependency Status](http://img.shields.io/gemnasium/rochefort/mb_string.svg?style=flat)](https://gemnasium.com/rochefort/mb_string)
1
+ [![Build Status](https://travis-ci.com/rochefort/mb_string.svg?branch=master)](https://travis-ci.com/rochefort/mb_string)
3
2
  [![Coverage Status](http://img.shields.io/coveralls/rochefort/mb_string.svg?style=flat)](https://coveralls.io/r/rochefort/mb_string)
4
- [![Code Climate](http://img.shields.io/codeclimate/github/rochefort/mb_string.svg?style=flat)](https://codeclimate.com/github/rochefort/mb_string)
3
+ [![Maintainability](https://api.codeclimate.com/v1/badges/07f73faf046781ff16fb/maintainability)](https://codeclimate.com/github/rochefort/mb_string/maintainability)
5
4
  [![Gem Version](http://img.shields.io/gem/v/mb_string.svg?style=flat)](http://badge.fury.io/rb/mb_string)
6
5
 
7
6
 
@@ -1,4 +1,5 @@
1
1
  require "unicode/display_width"
2
+ require "unicode/display_width/string_ext"
2
3
  class String
3
4
  def mb_ljust(width, pad_str = " ")
4
5
  return ljust(width, pad_str) if ascii_only? && pad_str.ascii_only?
@@ -1,3 +1,3 @@
1
1
  module MbString
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
data/mb_string.gemspec CHANGED
@@ -19,12 +19,12 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "unicode-display_width"
22
+ spec.add_dependency "unicode-display_width", "~> 2.0"
23
23
 
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake", "~> 13.0.0"
26
- spec.add_development_dependency "rspec", "~> 3.9.0"
26
+ spec.add_development_dependency "rspec", "~> 3.10"
27
27
  spec.add_development_dependency "simplecov", "~> 0.16.1"
28
28
 
29
- spec.add_development_dependency "coveralls", "~> 0.8.23"
29
+ spec.add_development_dependency "coveralls"
30
30
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mb_string
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - rochefort
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-15 00:00:00.000000000 Z
11
+ date: 2021-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode-display_width
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2.0'
20
20
  type: :runtime
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: '0'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.9.0
61
+ version: '3.10'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 3.9.0
68
+ version: '3.10'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: coveralls
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.8.23
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 0.8.23
96
+ version: '0'
97
97
  description: You can use mb_ljust, mb_rjust, mb_center for multibyte strings.
98
98
  email:
99
99
  - terasawan@gmail.com
@@ -102,6 +102,7 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".coveralls.yml"
105
+ - ".github/dependabot.yml"
105
106
  - ".gitignore"
106
107
  - ".rspec"
107
108
  - ".travis.yml"
@@ -134,8 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
135
  - !ruby/object:Gem::Version
135
136
  version: '0'
136
137
  requirements: []
137
- rubyforge_project:
138
- rubygems_version: 2.7.3
138
+ rubygems_version: 3.1.6
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: You can use mb_ljust, mb_rjust, mb_center for multibyte strings.