gimei 1.1.0 → 1.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: bab55c81d075ac091f92fe6dd07a17aec5e05778d30f130d947fedde41fb8736
4
- data.tar.gz: 05bef7aad6981ed3a968ff757aa2231de6a123f66fedbc50957728a606cb8363
3
+ metadata.gz: 216d95783e46b3cdc2064cd313f95b132c27bac29226303edc8b803fde526331
4
+ data.tar.gz: 3d2e0e555591948b532d86d53bd7256bc963e33b5eb3e8b9cd4acaa7ba67deb2
5
5
  SHA512:
6
- metadata.gz: d56e36b028af21d23fd52a4cc296c00bc0e5742a678be15cca002e70269f3778fd4a081a78059504d748705307ee6f145ad290d0408bc6ce5d78eddc52e7a664
7
- data.tar.gz: 1a922ee6c3ea7309382da24f41525da6a0f3b44bfbec45a6cce97757b61eac80ae5c8b2157f8aa4e853691f295c99aaf7db661d6c14b735745cc6ccdcf95fcb6
6
+ metadata.gz: 9e38714869d50eb7103cec576217cf034f56a353546e6424d8d7e8a0b7db9364d55cd0da3e6ec35c3ea6cc4b77be88773522706c46064232918468597916b646
7
+ data.tar.gz: 41035cbcb85d036bc177a7b01a494cab298d82c579402c0e560c474cef28d972860aafd1b84bc7e0562471db54810f554f541a1f25fe6e8e13b376b7c9ffad19
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
@@ -29,16 +29,17 @@ jobs:
29
29
  - ruby:2.7
30
30
  - ruby:3.0
31
31
  - ruby:3.1
32
- - rubylang/ruby:master-nightly-bionic
32
+ - ruby:3.2
33
+ - rubylang/ruby:master-jammy
33
34
  include:
34
- - ruby: rubylang/ruby:master-nightly-bionic
35
+ - ruby: rubylang/ruby:master-jammy
35
36
  allow_failures: "true"
36
37
 
37
38
  steps:
38
- - uses: actions/checkout@v2
39
+ - uses: actions/checkout@v3
39
40
 
40
41
  - name: Cache vendor/bundle
41
- uses: actions/cache@v1
42
+ uses: actions/cache@v3
42
43
  id: cache_gem
43
44
  with:
44
45
  path: vendor/bundle
@@ -59,3 +60,6 @@ jobs:
59
60
  set -xe
60
61
  bundle exec rake
61
62
  continue-on-error: ${{ matrix.allow_failures == 'true' }}
63
+
64
+ - name: Coveralls
65
+ uses: coverallsapp/github-action@v2
data/Gemfile CHANGED
@@ -2,3 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in gimei.gemspec
4
4
  gemspec
5
+ gem 'simplecov', require: false
data/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  # Gimei
2
2
 
3
- [![Travis](https://img.shields.io/travis/willnet/gimei.svg)](https://travis-ci.org/willnet/gimei)
4
3
  [![Coveralls](https://coveralls.io/repos/willnet/gimei/badge.svg)](https://coveralls.io/r/willnet/gimei)
5
4
  [![Code Climate](https://codeclimate.com/github/willnet/gimei/badges/gpa.svg)](https://codeclimate.com/github/willnet/gimei)
6
5
  [![Gem](https://img.shields.io/gem/v/gimei.svg)](https://rubygems.org/gems/gimei)
@@ -247,6 +246,7 @@ Gimei.address.kanji #=> "熊本県日進市東場内"
247
246
  - 2.7.x
248
247
  - 3.0.x
249
248
  - 3.1.x
249
+ - 3.2.x
250
250
 
251
251
  ## 他言語による実装
252
252
 
data/gimei.gemspec CHANGED
@@ -20,5 +20,4 @@ Gem::Specification.new do |gem|
20
20
  gem.add_dependency('romaji')
21
21
  gem.add_development_dependency('rake')
22
22
  gem.add_development_dependency('minitest')
23
- gem.add_development_dependency('coveralls')
24
23
  end
data/lib/gimei/config.rb CHANGED
@@ -2,7 +2,7 @@ class Gimei
2
2
  class Config
3
3
  attr_accessor :rng
4
4
 
5
- def initialize(rng: Random.new)
5
+ def initialize(rng: Random)
6
6
  @rng = rng
7
7
  end
8
8
  end
data/lib/gimei/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Gimei
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -2,10 +2,8 @@ lib = File.expand_path('../../lib', __FILE__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  require 'bundler/setup'
5
-
6
- require 'coveralls'
7
- Coveralls.wear!
8
-
5
+ require 'simplecov'
6
+ SimpleCov.start
9
7
  require 'gimei'
10
8
  require 'minitest/autorun'
11
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gimei
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-14 00:00:00.000000000 Z
11
+ date: 2023-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: romaji
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: coveralls
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  description: random Japanese name and address generator
70
56
  email:
71
57
  - netwillnet@gmail.com
@@ -73,7 +59,7 @@ executables: []
73
59
  extensions: []
74
60
  extra_rdoc_files: []
75
61
  files:
76
- - ".coveralls.yml"
62
+ - ".github/dependabot.yml"
77
63
  - ".github/workflows/test.yml"
78
64
  - ".gitignore"
79
65
  - CHANGELOG.md
@@ -115,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
101
  - !ruby/object:Gem::Version
116
102
  version: '0'
117
103
  requirements: []
118
- rubygems_version: 3.3.3
104
+ rubygems_version: 3.4.12
119
105
  signing_key:
120
106
  specification_version: 4
121
107
  summary: random Japanese name and address generator. support kanji, hiragana, and
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: travis-ci