google_holiday_calendar 0.1.1 → 0.1.3
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 +4 -4
- data/.github/dependabot.yml +12 -0
- data/.github/workflows/pages.yml +59 -0
- data/.github/workflows/release_gem.yml +41 -0
- data/.github/workflows/test.yml +72 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +13 -1
- data/Gemfile +40 -0
- data/README.md +2 -2
- data/google_holiday_calendar.gemspec +9 -2
- data/lib/google_holiday_calendar/calendar.rb +1 -1
- data/lib/google_holiday_calendar/version.rb +1 -1
- metadata +28 -9
- data/.travis.yml +0 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c6644bf7ce3f457b67ab609c1cb0b4040a48e2c1efb08c1cb40c556d58505da
|
|
4
|
+
data.tar.gz: d418905f0bd78187cbc90f943aa55316334cbac93d4cea4d461eac2200bee5d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ce89ff3cdaedb0a3c111979ee51c252d52999f24f88c37f7656c76c7fd1cddabe290c6f0cae8bcb9c417990a62eea649cfcad47a2124fbfe942ed49caf20792
|
|
7
|
+
data.tar.gz: '089b3ca6bde0678af5d12310776d95ac2548d56eec0cee2e205fb3e04acd05b070aa1e97bbc6166b40caca49b78f334ef435505de989c9989ee7d18f9a2680ae'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# c.f. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
2
|
+
version: 2
|
|
3
|
+
|
|
4
|
+
updates:
|
|
5
|
+
- package-ecosystem: github-actions
|
|
6
|
+
directory: /
|
|
7
|
+
schedule:
|
|
8
|
+
interval: weekly
|
|
9
|
+
cooldown:
|
|
10
|
+
default-days: 7
|
|
11
|
+
assignees:
|
|
12
|
+
- sue445
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy static content to Pages
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
# Runs on pushes targeting the default branch
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- master
|
|
9
|
+
|
|
10
|
+
# Allows you to run this workflow manually from the Actions tab
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
pages: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
# Allow one concurrent deployment
|
|
20
|
+
concurrency:
|
|
21
|
+
group: "pages"
|
|
22
|
+
cancel-in-progress: true
|
|
23
|
+
|
|
24
|
+
jobs:
|
|
25
|
+
# Single deploy job since we're just deploying
|
|
26
|
+
deploy:
|
|
27
|
+
environment:
|
|
28
|
+
name: github-pages
|
|
29
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
steps:
|
|
32
|
+
- name: Checkout
|
|
33
|
+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
34
|
+
|
|
35
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
36
|
+
with:
|
|
37
|
+
ruby-version: ruby
|
|
38
|
+
bundler-cache: true
|
|
39
|
+
|
|
40
|
+
- run: bundle exec yard
|
|
41
|
+
|
|
42
|
+
- name: Setup Pages
|
|
43
|
+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
|
|
44
|
+
- name: Upload artifact
|
|
45
|
+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
|
|
46
|
+
with:
|
|
47
|
+
# Upload entire repository
|
|
48
|
+
path: './doc'
|
|
49
|
+
- name: Deploy to GitHub Pages
|
|
50
|
+
id: deployment
|
|
51
|
+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
|
|
52
|
+
|
|
53
|
+
- name: Slack Notification (not success)
|
|
54
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
55
|
+
if: "! success()"
|
|
56
|
+
continue-on-error: true
|
|
57
|
+
with:
|
|
58
|
+
status: ${{ job.status }}
|
|
59
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
if: github.repository == 'sue445/google_holiday_calendar'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
environment:
|
|
12
|
+
name: rubygems.org
|
|
13
|
+
url: https://rubygems.org/gems/google_holiday_calendar
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Harden Runner
|
|
21
|
+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
|
|
22
|
+
with:
|
|
23
|
+
egress-policy: audit
|
|
24
|
+
|
|
25
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
26
|
+
|
|
27
|
+
- name: Set up Ruby
|
|
28
|
+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
|
|
29
|
+
with:
|
|
30
|
+
bundler-cache: true
|
|
31
|
+
ruby-version: ruby
|
|
32
|
+
|
|
33
|
+
- name: Publish to RubyGems
|
|
34
|
+
uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
|
|
35
|
+
|
|
36
|
+
- name: Create GitHub release
|
|
37
|
+
run: |
|
|
38
|
+
tag_name="$(git describe --tags --abbrev=0)"
|
|
39
|
+
gh release create "${tag_name}" --verify-tag --generate-notes
|
|
40
|
+
env:
|
|
41
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
jobs:
|
|
16
|
+
test:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
strategy:
|
|
20
|
+
fail-fast: false
|
|
21
|
+
|
|
22
|
+
matrix:
|
|
23
|
+
ruby:
|
|
24
|
+
- "2.0"
|
|
25
|
+
- "2.1"
|
|
26
|
+
- "2.2"
|
|
27
|
+
- "2.3"
|
|
28
|
+
- "2.4"
|
|
29
|
+
- "2.5"
|
|
30
|
+
- "2.6"
|
|
31
|
+
- "2.7"
|
|
32
|
+
- "3.0"
|
|
33
|
+
- "3.1"
|
|
34
|
+
- "3.2"
|
|
35
|
+
- "3.3"
|
|
36
|
+
- "3.4"
|
|
37
|
+
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
40
|
+
|
|
41
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
42
|
+
with:
|
|
43
|
+
ruby-version: ${{ matrix.ruby }}
|
|
44
|
+
bundler-cache: true
|
|
45
|
+
|
|
46
|
+
- run: bundle update --jobs $(nproc) --retry 3
|
|
47
|
+
|
|
48
|
+
- run: bundle exec rspec
|
|
49
|
+
|
|
50
|
+
- name: Slack Notification (not success)
|
|
51
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
52
|
+
if: "! success()"
|
|
53
|
+
continue-on-error: true
|
|
54
|
+
with:
|
|
55
|
+
status: ${{ job.status }}
|
|
56
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
57
|
+
matrix: ${{ toJson(matrix) }}
|
|
58
|
+
|
|
59
|
+
notify:
|
|
60
|
+
needs:
|
|
61
|
+
- test
|
|
62
|
+
|
|
63
|
+
runs-on: ubuntu-latest
|
|
64
|
+
|
|
65
|
+
steps:
|
|
66
|
+
- name: Slack Notification (success)
|
|
67
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
68
|
+
if: always()
|
|
69
|
+
continue-on-error: true
|
|
70
|
+
with:
|
|
71
|
+
status: ${{ job.status }}
|
|
72
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
data/.yardopts
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](http://github.com/sue445/google_holiday_calendar/compare/v0.1.
|
|
2
|
+
[full changelog](http://github.com/sue445/google_holiday_calendar/compare/v0.1.3...master)
|
|
3
|
+
|
|
4
|
+
## [v0.1.3](https://github.com/sue445/google_holiday_calendar/releases/tag/v0.1.3)
|
|
5
|
+
[full changelog](http://github.com/sue445/google_holiday_calendar/compare/v0.1.2...v0.1.3)
|
|
6
|
+
|
|
7
|
+
* Release gem from GitHub Actions
|
|
8
|
+
* https://github.com/sue445/google_holiday_calendar/pull/74
|
|
9
|
+
|
|
10
|
+
## v0.1.2
|
|
11
|
+
[full changelog](http://github.com/sue445/google_holiday_calendar/compare/v0.1.1...v0.1.2)
|
|
12
|
+
|
|
13
|
+
* Enable MFA requirement for gem releasing
|
|
14
|
+
* https://github.com/sue445/google_holiday_calendar/pull/37
|
|
3
15
|
|
|
4
16
|
## v0.1.1
|
|
5
17
|
[full changelog](http://github.com/sue445/google_holiday_calendar/compare/v0.1.0...v0.1.1)
|
data/Gemfile
CHANGED
|
@@ -11,4 +11,44 @@ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.1.0")
|
|
|
11
11
|
group :test do
|
|
12
12
|
gem "public_suffix", "< 3.0.0"
|
|
13
13
|
end
|
|
14
|
+
|
|
15
|
+
# NOTE: rexml v3.2.5+ requires Ruby 2.1.0+
|
|
16
|
+
# https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5#diff-f8c7cdefc29090ed525a2be70411ce741d4124853cf6425db7d18a6ea3bb9bb3R515
|
|
17
|
+
gem "rexml", "< 3.2.5"
|
|
14
18
|
end
|
|
19
|
+
|
|
20
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.0")
|
|
21
|
+
# NOTE: rake v13.0.0+ requires Ruby 2.2.0+
|
|
22
|
+
gem "rake", "< 13.0.0"
|
|
23
|
+
|
|
24
|
+
# NOTE: concurrent-ruby v1.1.0+ requires Ruby 2.2.0+
|
|
25
|
+
gem "concurrent-ruby", "< 1.1.0"
|
|
26
|
+
|
|
27
|
+
# NOTE: minitest v5.12.1+ requires Ruby 2.2.0+
|
|
28
|
+
gem "minitest", "< 5.12.1"
|
|
29
|
+
|
|
30
|
+
# NOTE: addressable v2.8.1+ requires Ruby 2.2.0+
|
|
31
|
+
gem "addressable", "< 2.8.1"
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
|
|
35
|
+
# NOTE: docile 1.4.0+ requires Ruby 2.5.0+
|
|
36
|
+
gem "docile", "< 1.4.0"
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
|
|
40
|
+
# NOTE: json v2.6.0+ requires Ruby 2.3.0+
|
|
41
|
+
gem "json", "< 2.6.0"
|
|
42
|
+
|
|
43
|
+
# NOTE: webrick v1.4.0+ requires Ruby 2.3.0+
|
|
44
|
+
gem "webrick", "< 1.4.0"
|
|
45
|
+
|
|
46
|
+
# NOTE: webmock v3.15.0+ requires Ruby 2.3+
|
|
47
|
+
gem "webmock", "< 3.15.0"
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.7.0")
|
|
51
|
+
# term-ansicolor 1.9.0+ doesn't work on Ruby < 2.7
|
|
52
|
+
gem "term-ansicolor", "< 1.9.0"
|
|
53
|
+
end
|
|
54
|
+
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GoogleHolidayCalendar
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/google_holiday_calendar)
|
|
4
|
-
[](https://github.com/sue445/google_holiday_calendar/actions/workflows/test.yml)
|
|
5
5
|
[](https://coveralls.io/r/sue445/google_holiday_calendar)
|
|
6
6
|
[](https://codeclimate.com/github/sue445/google_holiday_calendar)
|
|
7
7
|
|
|
@@ -128,7 +128,7 @@ $ GOOGLE_API_KEY=xxxx google_holiday_calendar --start-date=2014-01-01 --end-date
|
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
## More reference
|
|
131
|
-
|
|
131
|
+
https://sue445.github.io/google_holiday_calendar/
|
|
132
132
|
|
|
133
133
|
## Contributing
|
|
134
134
|
|
|
@@ -13,11 +13,17 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.homepage = "https://github.com/sue445/google_holiday_calendar"
|
|
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["documentation_uri"] = "https://sue445.github.io/google_holiday_calendar/"
|
|
20
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
21
|
+
|
|
16
22
|
spec.required_ruby_version = '>= 2.0.0'
|
|
17
23
|
|
|
18
24
|
# Specify which files should be added to the gem when it is released.
|
|
19
25
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
20
|
-
spec.files = Dir.chdir(File.expand_path(
|
|
26
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
21
27
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|img)/}) }
|
|
22
28
|
end
|
|
23
29
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
@@ -27,12 +33,13 @@ Gem::Specification.new do |spec|
|
|
|
27
33
|
spec.add_dependency "activesupport", ">= 4.0.0"
|
|
28
34
|
|
|
29
35
|
spec.add_development_dependency "bundler", ">= 1.5"
|
|
30
|
-
spec.add_development_dependency "
|
|
36
|
+
spec.add_development_dependency "coveralls_reborn"
|
|
31
37
|
spec.add_development_dependency "delorean"
|
|
32
38
|
spec.add_development_dependency "rake"
|
|
33
39
|
spec.add_development_dependency "rspec"
|
|
34
40
|
spec.add_development_dependency "rspec-collection_matchers"
|
|
35
41
|
spec.add_development_dependency "rspec-its"
|
|
42
|
+
spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
|
|
36
43
|
spec.add_development_dependency "webmock"
|
|
37
44
|
spec.add_development_dependency "yard"
|
|
38
45
|
end
|
|
@@ -49,7 +49,7 @@ module GoogleHolidayCalendar
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# whether arg is holiday
|
|
52
|
-
# @param arg [#to_date, String]
|
|
52
|
+
# @param arg [#to_date, String] `Date`, `Time`, or date like String (ex. "YYYY-MM-DD")
|
|
53
53
|
def holiday?(arg)
|
|
54
54
|
date = to_date(arg)
|
|
55
55
|
holidays(start_date: date, end_date: date + 1.day, limit: 1).length > 0
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google_holiday_calendar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activesupport
|
|
@@ -39,7 +38,7 @@ dependencies:
|
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
39
|
version: '1.5'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
41
|
+
name: coveralls_reborn
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - ">="
|
|
@@ -122,6 +121,20 @@ dependencies:
|
|
|
122
121
|
- - ">="
|
|
123
122
|
- !ruby/object:Gem::Version
|
|
124
123
|
version: '0'
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: term-ansicolor
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
- - "!="
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: 1.11.1
|
|
131
|
+
type: :development
|
|
132
|
+
prerelease: false
|
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
134
|
+
requirements:
|
|
135
|
+
- - "!="
|
|
136
|
+
- !ruby/object:Gem::Version
|
|
137
|
+
version: 1.11.1
|
|
125
138
|
- !ruby/object:Gem::Dependency
|
|
126
139
|
name: webmock
|
|
127
140
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -159,9 +172,12 @@ extensions: []
|
|
|
159
172
|
extra_rdoc_files: []
|
|
160
173
|
files:
|
|
161
174
|
- ".coveralls.yml"
|
|
175
|
+
- ".github/dependabot.yml"
|
|
176
|
+
- ".github/workflows/pages.yml"
|
|
177
|
+
- ".github/workflows/release_gem.yml"
|
|
178
|
+
- ".github/workflows/test.yml"
|
|
162
179
|
- ".gitignore"
|
|
163
180
|
- ".rspec"
|
|
164
|
-
- ".travis.yml"
|
|
165
181
|
- ".yardopts"
|
|
166
182
|
- CHANGELOG.md
|
|
167
183
|
- Gemfile
|
|
@@ -176,8 +192,12 @@ files:
|
|
|
176
192
|
homepage: https://github.com/sue445/google_holiday_calendar
|
|
177
193
|
licenses:
|
|
178
194
|
- MIT
|
|
179
|
-
metadata:
|
|
180
|
-
|
|
195
|
+
metadata:
|
|
196
|
+
homepage_uri: https://github.com/sue445/google_holiday_calendar
|
|
197
|
+
source_code_uri: https://github.com/sue445/google_holiday_calendar
|
|
198
|
+
changelog_uri: https://github.com/sue445/google_holiday_calendar/blob/master/CHANGELOG.md
|
|
199
|
+
documentation_uri: https://sue445.github.io/google_holiday_calendar/
|
|
200
|
+
rubygems_mfa_required: 'true'
|
|
181
201
|
rdoc_options: []
|
|
182
202
|
require_paths:
|
|
183
203
|
- lib
|
|
@@ -192,8 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
212
|
- !ruby/object:Gem::Version
|
|
193
213
|
version: '0'
|
|
194
214
|
requirements: []
|
|
195
|
-
rubygems_version: 3.
|
|
196
|
-
signing_key:
|
|
215
|
+
rubygems_version: 3.6.7
|
|
197
216
|
specification_version: 4
|
|
198
217
|
summary: Get holidays via Google Calendar.
|
|
199
218
|
test_files: []
|
data/.travis.yml
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
rvm:
|
|
3
|
-
- 2.0
|
|
4
|
-
- 2.1
|
|
5
|
-
- 2.2
|
|
6
|
-
- 2.3
|
|
7
|
-
- 2.4
|
|
8
|
-
- 2.5
|
|
9
|
-
- 2.6
|
|
10
|
-
- ruby-head
|
|
11
|
-
cache: bundler
|
|
12
|
-
before_install:
|
|
13
|
-
- travis_retry gem update --system || travis_retry gem update --system 2.7.8
|
|
14
|
-
- travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3
|
|
15
|
-
script:
|
|
16
|
-
- bundle exec rspec
|
|
17
|
-
branches:
|
|
18
|
-
only:
|
|
19
|
-
- master
|
|
20
|
-
notifications:
|
|
21
|
-
email: false
|
|
22
|
-
slack:
|
|
23
|
-
secure: LFMFNHkB88zWrcjwRstw7Ri+pKVndjkz11H8r73GbrJOL76Lt4llVsraYLRrCnx859kRZul4SjbUIlYsRl28Wv2IJmIhvDnK9n5gX4nSbEfjrZGsaMOmJhY8MxazM4757TFEY6ugzwRD3hzWKEK6bIY6nRu5KAFaZhPjDbSaEpA=
|
|
24
|
-
matrix:
|
|
25
|
-
allow_failures:
|
|
26
|
-
- rvm: ruby-head
|
|
27
|
-
include:
|
|
28
|
-
- rvm: 2.6
|
|
29
|
-
env: RUBYOPT="--jit"
|
|
30
|
-
- rvm: ruby-head
|
|
31
|
-
env: RUBYOPT="--jit"
|
|
32
|
-
sudo: false
|