syamei 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rakeTasks +7 -0
- data/.rspec +3 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +57 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/data/notations.yml +131 -0
- data/lib/syamei.rb +83 -0
- data/lib/syamei/version.rb +3 -0
- data/syamei.gemspec +40 -0
- metadata +110 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1964e79f0545ff204316ba91d8481ffde0a4e9319100cbef1fca9a903b69db79
|
4
|
+
data.tar.gz: f70a295490ac640e9b368b8cf5824ccbcd76f2537358c6a9c4b2d551cf54607e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ea8df52e09b4f3f5bc0b1c33543d76862f0fc65305bfb655a3bc9860070a3319150575279265abaeaf3da23ace240070d2966b7d3adc13c5f178202bba472aaa
|
7
|
+
data.tar.gz: 26d275fb6c472c9c20f1dcd3cf29d05b3eb542bd6e23ea6cae54d226b9bc7d939f84481d3d611fbb50275f342275001b6f9a05c5188f3c238aec91f4799df7f4
|
data/.gitignore
ADDED
data/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
|
data/.rspec
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.6
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at y.shuhei0501@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Shuhei Yamashita
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# Syamei
|
2
|
+
|
3
|
+
syameiは、法人格の存在チェック、削除に使用するライブラリです。
|
4
|
+
会社名の名寄せなどで利用されることを目的としています。
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'syamei'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install syamei
|
21
|
+
|
22
|
+
## 使い方
|
23
|
+
|
24
|
+
社名のみを返す(法人格を削除)
|
25
|
+
```
|
26
|
+
Syamei.only('株式会社xxx') => "xxx"
|
27
|
+
```
|
28
|
+
|
29
|
+
末尾の法人格を削除
|
30
|
+
```
|
31
|
+
Syamei.with_beginning('株式会社xxx') => "株式会社xxx"
|
32
|
+
Syamei.with_beginning('xxx株式会社') => "xxx"
|
33
|
+
```
|
34
|
+
|
35
|
+
先頭の法人格を削除
|
36
|
+
```
|
37
|
+
Syamei.with_end('株式会社xxx') => "xxx"
|
38
|
+
Syamei.with_end('xxx株式会社') => "xxx株式会社"
|
39
|
+
```
|
40
|
+
|
41
|
+
使用している法人格を取得
|
42
|
+
```
|
43
|
+
Syamei.notation("株式会社xxx") => "株式会社"
|
44
|
+
```
|
45
|
+
|
46
|
+
現在登録している法人格
|
47
|
+
```
|
48
|
+
Syamei.list
|
49
|
+
=> "株式会社 有限会社 合名会社 合資会社 合同会社 医療法人社団 医療法人財団 医療法人 社会医療法人 財団法人 一般財団法人 公益財団法人 社団法人 一般社団法人 公益社団法人 宗教法人 学校法人 社会福祉法人 更生保護法人 相互会社 特定非営利活動法人 独立行政法人 地方独立行政法人 弁護士法人 有限責任中間法人 無限責任中間法人 行政書士法人 司法書士法人 税理士法人 国立大学法人 公立大学法人 農事組合法人 管理組合法人 社会保険労務士法人 営業所 出張所 ㈱ (株) ㈲ (有) (名) (資) (同) (医) (財) (一財) (公財) (社) (一社) (公社) (宗) (学) (福) (相) (特非) (独) (地独) (弁) (行) (司) (税) (中) (大) (営) (出) カ) (カ) (カ ユ) (ユ) (ユ メ) (メ) (メ シ) (シ) (シ ド) (ド) (ド シユウ) ガク) フク) ホゴ) (ホゴ) (ホゴ ソ) (ソ) (ソ トクヒ) (トクヒ) (トクヒ ドク) (ドク) (ドク チドク) (チドク) (チドク ベン) (ベン) (ベン ギヨ) (ギヨ) (ギヨ シホウ) (シホウ) (シホウ ゼイ) (ゼイ) (ゼイ ノウ) (ノウ) (ノウ カンリ) (カンリ) (カンリ ロウム) (ロウム) (ロウム (ダイ) (ダイ エイ) (エイ) (エイ シユツ) (シユツ) (シユツ"
|
50
|
+
```
|
51
|
+
|
52
|
+
## Contributing
|
53
|
+
1. Fork it.
|
54
|
+
1. Create your feature branch (git checkout -b my-new-feature)
|
55
|
+
1. Commit your changes (git commit -am 'Add some feature')
|
56
|
+
1. Push to the branch (git push origin my-new-feature)
|
57
|
+
1. Create new Pull Request
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "syamei"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
notations:
|
2
|
+
full:
|
3
|
+
- '株式会社'
|
4
|
+
- '有限会社'
|
5
|
+
- '合名会社'
|
6
|
+
- '合資会社'
|
7
|
+
- '合同会社'
|
8
|
+
- '医療法人社団'
|
9
|
+
- '医療法人財団'
|
10
|
+
- '医療法人'
|
11
|
+
- '社会医療法人'
|
12
|
+
- '財団法人'
|
13
|
+
- '一般財団法人'
|
14
|
+
- '公益財団法人'
|
15
|
+
- '社団法人'
|
16
|
+
- '一般社団法人'
|
17
|
+
- '公益社団法人'
|
18
|
+
- '宗教法人'
|
19
|
+
- '学校法人'
|
20
|
+
- '社会福祉法人'
|
21
|
+
- '更生保護法人'
|
22
|
+
- '相互会社'
|
23
|
+
- '特定非営利活動法人'
|
24
|
+
- '独立行政法人'
|
25
|
+
- '地方独立行政法人'
|
26
|
+
- '弁護士法人'
|
27
|
+
- '有限責任中間法人'
|
28
|
+
- '無限責任中間法人'
|
29
|
+
- '行政書士法人'
|
30
|
+
- '司法書士法人'
|
31
|
+
- '税理士法人'
|
32
|
+
- '国立大学法人'
|
33
|
+
- '公立大学法人'
|
34
|
+
- '農事組合法人'
|
35
|
+
- '管理組合法人'
|
36
|
+
- '社会保険労務士法人'
|
37
|
+
- '営業所'
|
38
|
+
- '出張所'
|
39
|
+
abbreviation:
|
40
|
+
- '㈱'
|
41
|
+
- '\(株\)'
|
42
|
+
- '㈲'
|
43
|
+
- '\(有\)'
|
44
|
+
- '\(名\)'
|
45
|
+
- '\(資\)'
|
46
|
+
- '\(同\)'
|
47
|
+
- '\(医\)'
|
48
|
+
- '\(財\)'
|
49
|
+
- '\(一財\)'
|
50
|
+
- '\(公財\)'
|
51
|
+
- '\(社\)'
|
52
|
+
- '\(一社\)'
|
53
|
+
- '\(公社\)'
|
54
|
+
- '\(宗\)'
|
55
|
+
- '\(学\)'
|
56
|
+
- '\(福\)'
|
57
|
+
- '\(相\)'
|
58
|
+
- '\(特非\)'
|
59
|
+
- '\(独\)'
|
60
|
+
- '\(地独\)'
|
61
|
+
- '\(弁\)'
|
62
|
+
- '\(行\)'
|
63
|
+
- '\(司\)'
|
64
|
+
- '\(税\)'
|
65
|
+
- '\(中\)'
|
66
|
+
- '\(大\)'
|
67
|
+
- '\(営\)'
|
68
|
+
- '\(出\)'
|
69
|
+
kana:
|
70
|
+
- 'カ\)'
|
71
|
+
- '\(カ\)'
|
72
|
+
- '\(カ'
|
73
|
+
- 'ユ\)'
|
74
|
+
- '\(ユ\)'
|
75
|
+
- '\(ユ'
|
76
|
+
- 'メ\)'
|
77
|
+
- '\(メ\)'
|
78
|
+
- '\(メ'
|
79
|
+
- 'シ\)'
|
80
|
+
- '\(シ\)'
|
81
|
+
- '\(シ'
|
82
|
+
- 'ド\)'
|
83
|
+
- '\(ド\)'
|
84
|
+
- '\(ド'
|
85
|
+
- 'シユウ\)'
|
86
|
+
- 'ガク\)'
|
87
|
+
- 'フク\)'
|
88
|
+
- 'ホゴ\)'
|
89
|
+
- '\(ホゴ\)'
|
90
|
+
- '\(ホゴ'
|
91
|
+
- 'ソ\)'
|
92
|
+
- '\(ソ\)'
|
93
|
+
- '\(ソ'
|
94
|
+
- 'トクヒ\)'
|
95
|
+
- '\(トクヒ\)'
|
96
|
+
- '\(トクヒ'
|
97
|
+
- 'ドク\)'
|
98
|
+
- '\(ドク\)'
|
99
|
+
- '\(ドク'
|
100
|
+
- 'チドク\)'
|
101
|
+
- '\(チドク\)'
|
102
|
+
- '\(チドク'
|
103
|
+
- 'ベン\)'
|
104
|
+
- '\(ベン\)'
|
105
|
+
- '\(ベン'
|
106
|
+
- 'ギヨ\)'
|
107
|
+
- '\(ギヨ\)'
|
108
|
+
- '\(ギヨ'
|
109
|
+
- 'シホウ\)'
|
110
|
+
- '\(シホウ\)'
|
111
|
+
- '\(シホウ'
|
112
|
+
- 'ゼイ\)'
|
113
|
+
- '\(ゼイ\)'
|
114
|
+
- '\(ゼイ'
|
115
|
+
- 'ノウ\)'
|
116
|
+
- '\(ノウ\)'
|
117
|
+
- '\(ノウ'
|
118
|
+
- 'カンリ\)'
|
119
|
+
- '\(カンリ\)'
|
120
|
+
- '\(カンリ'
|
121
|
+
- 'ロウム\)'
|
122
|
+
- '\(ロウム\)'
|
123
|
+
- '\(ロウム'
|
124
|
+
- '\(ダイ\)'
|
125
|
+
- '\(ダイ'
|
126
|
+
- 'エイ\)'
|
127
|
+
- '\(エイ\)'
|
128
|
+
- '\(エイ'
|
129
|
+
- 'シユツ\)'
|
130
|
+
- '\(シユツ\)'
|
131
|
+
- '\(シユツ'
|
data/lib/syamei.rb
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
require 'syamei/version'
|
2
|
+
require 'yaml'
|
3
|
+
|
4
|
+
module Syamei
|
5
|
+
class Error < StandardError; end
|
6
|
+
|
7
|
+
NOTATION = YAML.load_file(File.expand_path(File.join('..', 'data', 'notations.yml'), __FILE__))['notations']['full'].join('|')
|
8
|
+
ABBREVIATION = YAML.load_file(File.expand_path(File.join('..', 'data', 'notations.yml'), __FILE__))['notations']['abbreviation'].join('|')
|
9
|
+
KANA = YAML.load_file(File.expand_path(File.join('..', 'data', 'notations.yml'), __FILE__))['notations']['kana'].join('|')
|
10
|
+
|
11
|
+
COMPLEX_TYPE = {
|
12
|
+
0 => [NOTATION, ABBREVIATION, KANA].join('|'),
|
13
|
+
1 => NOTATION,
|
14
|
+
2 => ABBREVIATION,
|
15
|
+
3 => KANA
|
16
|
+
}.freeze
|
17
|
+
|
18
|
+
# 前株の存在チェック
|
19
|
+
def self.with_beginning?(name, type = 0)
|
20
|
+
return false if name.nil? || name.empty?
|
21
|
+
|
22
|
+
name.match?(/^(#{COMPLEX_TYPE[type]}).*$/)
|
23
|
+
end
|
24
|
+
|
25
|
+
# 後株の存在チェック
|
26
|
+
def self.with_end?(name, type = 0)
|
27
|
+
return false if name.nil? || name.empty?
|
28
|
+
|
29
|
+
name.match?(/.*(#{COMPLEX_TYPE[type]})$/)
|
30
|
+
end
|
31
|
+
|
32
|
+
# 前株・後株の存在チェック
|
33
|
+
def self.with?(name, type = 0)
|
34
|
+
return false if name.nil? || name.empty?
|
35
|
+
|
36
|
+
with_beginning?(name, type) || with_end?(name, type)
|
37
|
+
end
|
38
|
+
|
39
|
+
# 末尾の法人格を削除
|
40
|
+
def self.with_beginning(name, type = 0)
|
41
|
+
return nil if name.nil? || name.empty?
|
42
|
+
|
43
|
+
name.gsub(/(#{COMPLEX_TYPE[type]})$/, '').strip
|
44
|
+
end
|
45
|
+
|
46
|
+
# 先頭の法人格を削除
|
47
|
+
def self.with_end(name, type = 0)
|
48
|
+
return nil if name.nil? || name.empty?
|
49
|
+
|
50
|
+
name.gsub(/^(#{COMPLEX_TYPE[type]})/, '').strip
|
51
|
+
end
|
52
|
+
|
53
|
+
# 先頭・末尾の法人格を削除
|
54
|
+
def self.only(name, type = 0)
|
55
|
+
return nil if name.nil? || name.empty?
|
56
|
+
|
57
|
+
name = with_beginning(name, type)
|
58
|
+
name = with_end(name, type)
|
59
|
+
name
|
60
|
+
end
|
61
|
+
|
62
|
+
# 前株と後株の置換
|
63
|
+
# def self.replace_begin_to_end(name, type=0)
|
64
|
+
# # notation
|
65
|
+
# # 前株消す
|
66
|
+
# # 後株に付与
|
67
|
+
# end
|
68
|
+
|
69
|
+
# 後株と前株の置換
|
70
|
+
# def self.replace_end_to_begin(name, type=0)
|
71
|
+
# # notation
|
72
|
+
# # 後株消す
|
73
|
+
# # 前株に付与
|
74
|
+
# end
|
75
|
+
|
76
|
+
def self.notation(name, type = 0)
|
77
|
+
name[/(#{COMPLEX_TYPE[type]})/, 1]
|
78
|
+
end
|
79
|
+
|
80
|
+
def self.list
|
81
|
+
COMPLEX_TYPE[0].gsub('|', ' ').gsub('\\', '')
|
82
|
+
end
|
83
|
+
end
|
data/syamei.gemspec
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "syamei/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "syamei"
|
8
|
+
spec.version = Syamei::VERSION
|
9
|
+
spec.authors = ["Shuhei Yamashita"]
|
10
|
+
spec.email = ["y.shuhei0501@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Cut company name notation.}
|
13
|
+
spec.description = %q{Cut company name notation.}
|
14
|
+
spec.homepage = "https://github.com/yposi/syamei"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
21
|
+
spec.metadata["source_code_uri"] = "https://github.com/yposi/syamei"
|
22
|
+
spec.metadata["changelog_uri"] = "https://github.com/yposi/syamei"
|
23
|
+
else
|
24
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
25
|
+
"public gem pushes."
|
26
|
+
end
|
27
|
+
|
28
|
+
# Specify which files should be added to the gem when it is released.
|
29
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
30
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
31
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
32
|
+
end
|
33
|
+
spec.bindir = "exe"
|
34
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
35
|
+
spec.require_paths = ["lib"]
|
36
|
+
|
37
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
38
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
39
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
40
|
+
end
|
metadata
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: syamei
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shuhei Yamashita
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-07-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.17'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.17'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
description: Cut company name notation.
|
56
|
+
email:
|
57
|
+
- y.shuhei0501@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".idea/.gitignore"
|
64
|
+
- ".idea/inspectionProfiles/Project_Default.xml"
|
65
|
+
- ".idea/misc.xml"
|
66
|
+
- ".idea/modules.xml"
|
67
|
+
- ".idea/syamei.iml"
|
68
|
+
- ".idea/vcs.xml"
|
69
|
+
- ".rakeTasks"
|
70
|
+
- ".rspec"
|
71
|
+
- ".ruby-version"
|
72
|
+
- ".travis.yml"
|
73
|
+
- CODE_OF_CONDUCT.md
|
74
|
+
- Gemfile
|
75
|
+
- LICENSE.txt
|
76
|
+
- README.md
|
77
|
+
- Rakefile
|
78
|
+
- bin/console
|
79
|
+
- bin/setup
|
80
|
+
- lib/data/notations.yml
|
81
|
+
- lib/syamei.rb
|
82
|
+
- lib/syamei/version.rb
|
83
|
+
- syamei.gemspec
|
84
|
+
homepage: https://github.com/yposi/syamei
|
85
|
+
licenses:
|
86
|
+
- MIT
|
87
|
+
metadata:
|
88
|
+
homepage_uri: https://github.com/yposi/syamei
|
89
|
+
source_code_uri: https://github.com/yposi/syamei
|
90
|
+
changelog_uri: https://github.com/yposi/syamei
|
91
|
+
post_install_message:
|
92
|
+
rdoc_options: []
|
93
|
+
require_paths:
|
94
|
+
- lib
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
requirements: []
|
106
|
+
rubygems_version: 3.0.3
|
107
|
+
signing_key:
|
108
|
+
specification_version: 4
|
109
|
+
summary: Cut company name notation.
|
110
|
+
test_files: []
|