sengiri_yaml 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/test.yml +96 -0
- data/CHANGELOG.md +28 -11
- data/README.md +1 -2
- data/lib/sengiri_yaml/version.rb +1 -1
- data/sengiri_yaml.gemspec +6 -1
- data/spec/bin/sengitri_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +16 -16
- data/.hound.yml +0 -25
- data/.tachikoma.yml +0 -1
- data/.travis.yml +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1bc9b7b545e4caeffc7a768c2e7780cc384c569e9263b969da6274d2d5fafdae
|
4
|
+
data.tar.gz: 8d0895a01e0258d5a8cf9913a2600383e71339ca42a3a3e3d737366626ba50bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 435f2940fcbd337b8e7738c8e0970cb30e7d1ce750494e72c490ee7b59d0a6547718d62bd6679befa3f6a52e4e84fd636011ac42d6fb337a91a8f73e6c6f8afc
|
7
|
+
data.tar.gz: 15eea172ff624a0f195262caddd537b1374d8c72b9d20b6d7ccd44f4d6d4a9a68dfc5494619151d95526feb0288cb5ec6f40d3552cf4339e2580d6e92370fa0a
|
@@ -0,0 +1,96 @@
|
|
1
|
+
name: test
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
types:
|
9
|
+
- opened
|
10
|
+
- synchronize
|
11
|
+
- reopened
|
12
|
+
schedule:
|
13
|
+
- cron: "0 10 * * 5" # JST 19:00 (Fri)
|
14
|
+
|
15
|
+
env:
|
16
|
+
CI: "true"
|
17
|
+
|
18
|
+
jobs:
|
19
|
+
test:
|
20
|
+
runs-on: ubuntu-latest
|
21
|
+
|
22
|
+
container: ${{ matrix.ruby }}
|
23
|
+
|
24
|
+
strategy:
|
25
|
+
fail-fast: false
|
26
|
+
|
27
|
+
matrix:
|
28
|
+
ruby:
|
29
|
+
- ruby:2.1
|
30
|
+
- ruby:2.2
|
31
|
+
- ruby:2.3
|
32
|
+
- ruby:2.4
|
33
|
+
- ruby:2.5
|
34
|
+
- ruby:2.6
|
35
|
+
- ruby:2.7
|
36
|
+
- ruby:3.0
|
37
|
+
- rubylang/ruby:master-nightly-bionic
|
38
|
+
include:
|
39
|
+
- ruby: rubylang/ruby:master-nightly-bionic
|
40
|
+
allow_failures: "true"
|
41
|
+
|
42
|
+
steps:
|
43
|
+
- uses: actions/checkout@v2
|
44
|
+
|
45
|
+
|
46
|
+
- name: Cache vendor/bundle
|
47
|
+
uses: actions/cache@v1
|
48
|
+
id: cache_gem
|
49
|
+
with:
|
50
|
+
path: vendor/bundle
|
51
|
+
key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
|
52
|
+
restore-keys: |
|
53
|
+
v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
|
54
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
55
|
+
|
56
|
+
- name: bundle update
|
57
|
+
run: |
|
58
|
+
set -xe
|
59
|
+
bundle config path vendor/bundle
|
60
|
+
bundle update --jobs $(nproc) --retry 3
|
61
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
62
|
+
|
63
|
+
- name: Run test
|
64
|
+
run: |
|
65
|
+
set -xe
|
66
|
+
bundle exec rspec
|
67
|
+
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
68
|
+
|
69
|
+
- name: Slack Notification (not success)
|
70
|
+
uses: lazy-actions/slatify@master
|
71
|
+
if: "! success()"
|
72
|
+
continue-on-error: true
|
73
|
+
with:
|
74
|
+
job_name: ${{ format('*build* ({0})', matrix.ruby) }}
|
75
|
+
type: ${{ job.status }}
|
76
|
+
icon_emoji: ":octocat:"
|
77
|
+
url: ${{ secrets.SLACK_WEBHOOK }}
|
78
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
79
|
+
|
80
|
+
notify:
|
81
|
+
needs:
|
82
|
+
- test
|
83
|
+
|
84
|
+
runs-on: ubuntu-latest
|
85
|
+
|
86
|
+
steps:
|
87
|
+
- name: Slack Notification (success)
|
88
|
+
uses: lazy-actions/slatify@master
|
89
|
+
if: always()
|
90
|
+
continue-on-error: true
|
91
|
+
with:
|
92
|
+
job_name: '*build*'
|
93
|
+
type: ${{ job.status }}
|
94
|
+
icon_emoji: ":octocat:"
|
95
|
+
url: ${{ secrets.SLACK_WEBHOOK }}
|
96
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
data/CHANGELOG.md
CHANGED
@@ -1,17 +1,34 @@
|
|
1
|
-
#
|
1
|
+
# Change Log
|
2
2
|
|
3
|
-
## [v0.0.
|
4
|
-
|
5
|
-
- *Merged pull-request:* Bugfix: NameError in irb [\#3](https://github.com/sue445/sengiri_yaml/pull/3) ([sue445](https://github.com/sue445))
|
3
|
+
## [v0.0.4](https://github.com/sue445/sengiri_yaml/tree/v0.0.4) (2021-11-20)
|
4
|
+
[Full Changelog](https://github.com/sue445/sengiri_yaml/compare/v0.0.3...v0.0.4)
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
## [v0.0.1.beta1](https://github.com/sue445/sengiri_yaml/tree/v0.0.1.beta1)
|
10
|
-
#### 2014/12/31
|
11
|
-
- *Merged pull-request:* Feature/loader [\#2](https://github.com/sue445/sengiri_yaml/pull/2) ([sue445](https://github.com/sue445))
|
6
|
+
* Enable MFA requirement for gem releasing
|
7
|
+
* https://github.com/sue445/sengiri_yaml/pull/24
|
12
8
|
|
13
|
-
|
9
|
+
## [v0.0.3](https://github.com/sue445/sengiri_yaml/tree/v0.0.3) (2016-04-26)
|
10
|
+
[Full Changelog](https://github.com/sue445/sengiri_yaml/compare/v0.0.2...v0.0.3)
|
14
11
|
|
12
|
+
**Merged pull requests:**
|
15
13
|
|
14
|
+
- Load yaml file with order by filename [\#5](https://github.com/sue445/sengiri_yaml/pull/5) ([sue445](https://github.com/sue445))
|
16
15
|
|
17
|
-
|
16
|
+
## [v0.0.2](https://github.com/sue445/sengiri_yaml/tree/v0.0.2) (2015-01-26)
|
17
|
+
[Full Changelog](https://github.com/sue445/sengiri_yaml/compare/v0.0.1...v0.0.2)
|
18
|
+
|
19
|
+
**Merged pull requests:**
|
20
|
+
|
21
|
+
- Bugfix: NameError in irb [\#3](https://github.com/sue445/sengiri_yaml/pull/3) ([sue445](https://github.com/sue445))
|
22
|
+
|
23
|
+
## [v0.0.1](https://github.com/sue445/sengiri_yaml/tree/v0.0.1) (2014-12-31)
|
24
|
+
[Full Changelog](https://github.com/sue445/sengiri_yaml/compare/v0.0.1.beta1...v0.0.1)
|
25
|
+
|
26
|
+
## [v0.0.1.beta1](https://github.com/sue445/sengiri_yaml/tree/v0.0.1.beta1) (2014-12-31)
|
27
|
+
**Merged pull requests:**
|
28
|
+
|
29
|
+
- Feature/loader [\#2](https://github.com/sue445/sengiri_yaml/pull/2) ([sue445](https://github.com/sue445))
|
30
|
+
- Impl executable file [\#1](https://github.com/sue445/sengiri_yaml/pull/1) ([sue445](https://github.com/sue445))
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
# SengiriYaml
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/sengiri_yaml.svg)](http://badge.fury.io/rb/sengiri_yaml)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://github.com/sue445/sengiri_yaml/workflows/test/badge.svg?branch=master)](https://github.com/sue445/sengiri_yaml/actions?query=workflow%3Atest)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sue445/sengiri_yaml/badges/gpa.svg)](https://codeclimate.com/github/sue445/sengiri_yaml)
|
6
6
|
[![Coverage Status](https://img.shields.io/coveralls/sue445/sengiri_yaml.svg)](https://coveralls.io/r/sue445/sengiri_yaml)
|
7
|
-
[![Dependency Status](https://gemnasium.com/sue445/sengiri_yaml.svg)](https://gemnasium.com/sue445/sengiri_yaml)
|
8
7
|
|
9
8
|
divide yaml file
|
10
9
|
|
data/lib/sengiri_yaml/version.rb
CHANGED
data/sengiri_yaml.gemspec
CHANGED
@@ -13,6 +13,11 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/sue445/sengiri_yaml"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
18
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
19
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
20
|
+
|
16
21
|
spec.files = `git ls-files -z`.split("\x0")
|
17
22
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
23
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
@@ -20,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
20
25
|
|
21
26
|
spec.add_development_dependency "bundler"
|
22
27
|
spec.add_development_dependency "coveralls"
|
23
|
-
spec.add_development_dependency "rake"
|
28
|
+
spec.add_development_dependency "rake"
|
24
29
|
spec.add_development_dependency "rspec"
|
25
30
|
spec.add_development_dependency "rspec-power_assert"
|
26
31
|
spec.add_development_dependency "rspec-temp_dir"
|
data/spec/bin/sengitri_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
describe SengiriYaml do
|
2
2
|
describe "sengiri_yaml" do
|
3
|
-
subject {
|
3
|
+
subject { `./bin/sengiri_yaml #{option}` }
|
4
4
|
|
5
5
|
context "without 2 args" do
|
6
6
|
let(:option){ "--help" }
|
@@ -11,7 +11,7 @@ sengiri_yaml <source_yaml> <destination_dir>
|
|
11
11
|
EOS
|
12
12
|
end
|
13
13
|
|
14
|
-
it{ should
|
14
|
+
it{ should start_with help }
|
15
15
|
end
|
16
16
|
|
17
17
|
context "with 2 args" do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sengiri_yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,11 +117,9 @@ extensions: []
|
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
119
|
- ".coveralls.yml"
|
120
|
+
- ".github/workflows/test.yml"
|
120
121
|
- ".gitignore"
|
121
|
-
- ".hound.yml"
|
122
122
|
- ".rspec"
|
123
|
-
- ".tachikoma.yml"
|
124
|
-
- ".travis.yml"
|
125
123
|
- ".yardopts"
|
126
124
|
- CHANGELOG.md
|
127
125
|
- Gemfile
|
@@ -145,8 +143,12 @@ files:
|
|
145
143
|
homepage: https://github.com/sue445/sengiri_yaml
|
146
144
|
licenses:
|
147
145
|
- MIT
|
148
|
-
metadata:
|
149
|
-
|
146
|
+
metadata:
|
147
|
+
homepage_uri: https://github.com/sue445/sengiri_yaml
|
148
|
+
source_code_uri: https://github.com/sue445/sengiri_yaml
|
149
|
+
changelog_uri: https://github.com/sue445/sengiri_yaml/blob/master/CHANGELOG.md
|
150
|
+
rubygems_mfa_required: 'true'
|
151
|
+
post_install_message:
|
150
152
|
rdoc_options: []
|
151
153
|
require_paths:
|
152
154
|
- lib
|
@@ -161,9 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
163
|
- !ruby/object:Gem::Version
|
162
164
|
version: '0'
|
163
165
|
requirements: []
|
164
|
-
|
165
|
-
|
166
|
-
signing_key:
|
166
|
+
rubygems_version: 3.2.22
|
167
|
+
signing_key:
|
167
168
|
specification_version: 4
|
168
169
|
summary: divide yaml file
|
169
170
|
test_files:
|
@@ -175,4 +176,3 @@ test_files:
|
|
175
176
|
- spec/sengiri_yaml/loader_spec.rb
|
176
177
|
- spec/sengiri_yaml/writer_spec.rb
|
177
178
|
- spec/spec_helper.rb
|
178
|
-
has_rdoc:
|
data/.hound.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
Style/LineLength:
|
2
|
-
Description: 'Limit lines to 130 characters.'
|
3
|
-
Max: 130
|
4
|
-
Style/SpaceInsideParens:
|
5
|
-
Enabled: false
|
6
|
-
Style/SpaceBeforeBlockBraces:
|
7
|
-
Enabled: false
|
8
|
-
StringLiterals:
|
9
|
-
Enabled: false
|
10
|
-
Style/TrailingComma:
|
11
|
-
Enabled: false
|
12
|
-
Style/BlockComments:
|
13
|
-
Enabled: false
|
14
|
-
Style/NilComparison:
|
15
|
-
Enabled: false
|
16
|
-
Style/Documentation:
|
17
|
-
Enabled: false
|
18
|
-
Style/RegexpLiteral:
|
19
|
-
Enabled: false
|
20
|
-
Style/SignalException:
|
21
|
-
Enabled: false
|
22
|
-
Style/CaseEquality:
|
23
|
-
Enabled: false
|
24
|
-
Style/SpaceBeforeComma:
|
25
|
-
Enabled: false
|
data/.tachikoma.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
strategy: 'bundler'
|
data/.travis.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.1
|
4
|
-
- 2.2
|
5
|
-
- 2.3.0
|
6
|
-
- ruby-head
|
7
|
-
bundler_args: "--jobs=2"
|
8
|
-
cache: bundler
|
9
|
-
before_script:
|
10
|
-
- export COVERAGE=true
|
11
|
-
script:
|
12
|
-
- bundle exec rspec
|
13
|
-
branches:
|
14
|
-
only:
|
15
|
-
- master
|
16
|
-
notifications:
|
17
|
-
email: false
|
18
|
-
slack:
|
19
|
-
secure: Wz6kbQXUl1J+XVLR/yt0XeI+FEiwcSNsGTsRdKBYSN1CEWnws0BwbWSN1tyRGmMXODiCAHchdGKEqgkm2Nk1/wEhBpCoF/clEeUq8fKyAIdKkEg3laBFI5dSdBm+eYcqQAdUnWeDHnQgdGT1lQBAe6tIAaN6Oqaw1v9bexvQgv8=
|
20
|
-
matrix:
|
21
|
-
allow_failures:
|
22
|
-
- rvm: ruby-head
|
23
|
-
sudo: false
|