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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 43e20e320991436f488b000ada4a95f33ff8c0ad
4
- data.tar.gz: d34826154c3d3e2fab731b9aaf614b09e4ff46be
2
+ SHA256:
3
+ metadata.gz: 1bc9b7b545e4caeffc7a768c2e7780cc384c569e9263b969da6274d2d5fafdae
4
+ data.tar.gz: 8d0895a01e0258d5a8cf9913a2600383e71339ca42a3a3e3d737366626ba50bc
5
5
  SHA512:
6
- metadata.gz: f2d30c605c565ad83e8f98b832dd84d6070c2bb1161acb5a8285a6f5e76a795186ba0521251f3571c0818ea34e5f92147e8e334ec8ae2dcd097dbb95e35f6dee
7
- data.tar.gz: 629b45a827e8167704d1d9312f716bfac82e3c2be26fe88f42ef710c30fbd3c50ff35f70d8d524eb01df644c54069a9cb10a5431964049aad44eaee4ecf34aed
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
- # Changelog
1
+ # Change Log
2
2
 
3
- ## [v0.0.2](https://github.com/sue445/sengiri_yaml/tree/v0.0.2)
4
- #### 2015/01/26
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
- ## [v0.0.1](https://github.com/sue445/sengiri_yaml/tree/v0.0.1)
8
- #### 2014/12/31
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
- - *Merged pull-request:* Impl executable file [\#1](https://github.com/sue445/sengiri_yaml/pull/1) ([sue445](https://github.com/sue445))
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
- \* *This changelog was generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
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://travis-ci.org/sue445/sengiri_yaml.svg?branch=master)](https://travis-ci.org/sue445/sengiri_yaml)
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
 
@@ -1,3 +1,3 @@
1
1
  module SengiriYaml
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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", "~> 10.0"
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"
@@ -1,6 +1,6 @@
1
1
  describe SengiriYaml do
2
2
  describe "sengiri_yaml" do
3
- subject { `bundle exec ./bin/sengiri_yaml #{option}` }
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 eq help }
14
+ it{ should start_with help }
15
15
  end
16
16
 
17
17
  context "with 2 args" do
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- if ENV["COVERAGE"]
1
+ if ENV["CI"]
2
2
  require 'coveralls'
3
3
  Coveralls.wear!
4
4
  end
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.3
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: 2016-04-26 00:00:00.000000000 Z
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: '10.0'
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: '10.0'
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
- post_install_message:
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
- rubyforge_project:
165
- rubygems_version: 2.5.1
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