maltese 0.9.11 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +38 -0
- data/.github/workflows/changelog.yml +39 -0
- data/.github/workflows/pull_request.yml +30 -0
- data/.github/workflows/release.yml +52 -0
- data/CHANGELOG.md +192 -3
- data/Dockerfile +1 -1
- data/Gemfile.lock +82 -48
- data/README.md +2 -1
- data/lib/maltese/cli.rb +1 -1
- data/lib/maltese/sitemap.rb +9 -9
- data/lib/maltese/version.rb +1 -1
- data/maltese.gemspec +9 -7
- data/spec/sitemap_spec.rb +4 -4
- metadata +71 -40
- data/.travis.yml +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9034190c25389b94bfe2a4cd9daa484b5a321205865529030dcecf52b0b8e6be
|
4
|
+
data.tar.gz: 495437ee84595b64caa23e116b4662d22688a8ef46b814e9d56418eb5cecf548
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85c7e07ee23818085f0706fd133ec3edf5b01238962ab818a9f3574ff1755ea85d8a42a9bbab0b2840c70fb83ec92c8b9ffa1bb4a24064f78b3d59bdfef74053
|
7
|
+
data.tar.gz: 64b6771bea7fb2edfe60204a94704e0404bd27b10061e5d91da428041dd3ad0033948c5365eaf08c763645c6fed49172b0f13cbcab94183c81d49afbb435558e
|
@@ -0,0 +1,38 @@
|
|
1
|
+
name: Build Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- "master"
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
env:
|
11
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
12
|
+
AWS_REGION: ${{ secrets.AWS_REGION }}
|
13
|
+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
14
|
+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v3
|
17
|
+
- name: Set up Ruby 3.1.4
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 3.1.4
|
21
|
+
|
22
|
+
- name: Build and test
|
23
|
+
run: |
|
24
|
+
gem install bundler
|
25
|
+
bundle install
|
26
|
+
bundle exec rspec
|
27
|
+
- name: Publish code coverage
|
28
|
+
uses: paambaati/codeclimate-action@v2.7.4
|
29
|
+
env:
|
30
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
31
|
+
|
32
|
+
- name: Notify Slack
|
33
|
+
uses: adamkdean/simple-slack-notify@1.0.4
|
34
|
+
with:
|
35
|
+
channel: "#ops"
|
36
|
+
username: "GitHub Actions"
|
37
|
+
color: "good"
|
38
|
+
text: "A new version of the maltese gem has been built."
|
@@ -0,0 +1,39 @@
|
|
1
|
+
name: Changelog
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
types: [closed]
|
6
|
+
|
7
|
+
release:
|
8
|
+
types: [published]
|
9
|
+
|
10
|
+
issues:
|
11
|
+
types: [closed, edited]
|
12
|
+
|
13
|
+
push:
|
14
|
+
tags:
|
15
|
+
- "*"
|
16
|
+
|
17
|
+
jobs:
|
18
|
+
generate_changelog:
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
name: Generate changelog
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v3
|
23
|
+
|
24
|
+
- name: Generate changelog
|
25
|
+
uses: charmixer/auto-changelog-action@v1.1
|
26
|
+
with:
|
27
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
28
|
+
|
29
|
+
- name: Commit files
|
30
|
+
run: |
|
31
|
+
git config --local user.email "action@github.com"
|
32
|
+
git config --local user.name "GitHub Action"
|
33
|
+
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md'
|
34
|
+
- name: Push changes
|
35
|
+
uses: ad-m/github-push-action@v0.6.0
|
36
|
+
with:
|
37
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
38
|
+
branch: "refs/heads/master"
|
39
|
+
tags: false
|
@@ -0,0 +1,30 @@
|
|
1
|
+
name: Pull Request - Run Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
env:
|
11
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
12
|
+
AWS_REGION: ${{ secrets.AWS_REGION }}
|
13
|
+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
14
|
+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v3
|
17
|
+
- name: Set up Ruby 3.1.4
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 3.1.4
|
21
|
+
|
22
|
+
- name: Build and test
|
23
|
+
run: |
|
24
|
+
gem install bundler
|
25
|
+
bundle install
|
26
|
+
bundle exec rspec
|
27
|
+
- name: Publish code coverage
|
28
|
+
uses: paambaati/codeclimate-action@v2.7.4
|
29
|
+
env:
|
30
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
name: Release Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- "*"
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
env:
|
12
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
13
|
+
AWS_REGION: ${{ secrets.AWS_REGION }}
|
14
|
+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
15
|
+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
16
|
+
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v3
|
19
|
+
- name: Set up Ruby 3.1.4
|
20
|
+
uses: ruby/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
ruby-version: 3.1.4
|
23
|
+
|
24
|
+
- name: Build and test
|
25
|
+
run: |
|
26
|
+
gem install bundler
|
27
|
+
bundle install
|
28
|
+
bundle exec rspec spec
|
29
|
+
- name: Code Climate Test Reporter
|
30
|
+
uses: aktions/codeclimate-test-reporter@v1
|
31
|
+
with:
|
32
|
+
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
33
|
+
command: after-build
|
34
|
+
|
35
|
+
- name: Publish to RubyGems
|
36
|
+
run: |
|
37
|
+
mkdir -p $HOME/.gem
|
38
|
+
touch $HOME/.gem/credentials
|
39
|
+
chmod 0600 $HOME/.gem/credentials
|
40
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
41
|
+
gem build *.gemspec
|
42
|
+
gem push *.gem
|
43
|
+
env:
|
44
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
45
|
+
|
46
|
+
- name: Notify Slack
|
47
|
+
uses: adamkdean/simple-slack-notify@1.0.4
|
48
|
+
with:
|
49
|
+
channel: "#ops"
|
50
|
+
username: "GitHub Actions"
|
51
|
+
color: "good"
|
52
|
+
text: "A new version of the maltese gem has been released."
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,194 @@
|
|
1
|
-
|
1
|
+
# Changelog
|
2
2
|
|
3
|
-
[
|
3
|
+
## [Unreleased](https://github.com/datacite/maltese/tree/HEAD)
|
4
4
|
|
5
|
-
|
5
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.12...HEAD)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- add ruby 3 and rails 7 support [\#22](https://github.com/datacite/maltese/pull/22) ([wendelfabianchinsamy](https://github.com/wendelfabianchinsamy))
|
10
|
+
- Remove Travis and add Github Actions replacement [\#11](https://github.com/datacite/maltese/pull/11) ([digitaldogsbody](https://github.com/digitaldogsbody))
|
11
|
+
|
12
|
+
## [0.9.12](https://github.com/datacite/maltese/tree/0.9.12) (2020-11-01)
|
13
|
+
|
14
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.11...0.9.12)
|
15
|
+
|
16
|
+
## [0.9.11](https://github.com/datacite/maltese/tree/0.9.11) (2020-11-01)
|
17
|
+
|
18
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.10...0.9.11)
|
19
|
+
|
20
|
+
## [0.9.10](https://github.com/datacite/maltese/tree/0.9.10) (2020-11-01)
|
21
|
+
|
22
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.9...0.9.10)
|
23
|
+
|
24
|
+
## [0.9.9](https://github.com/datacite/maltese/tree/0.9.9) (2020-11-01)
|
25
|
+
|
26
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.8...0.9.9)
|
27
|
+
|
28
|
+
**Merged pull requests:**
|
29
|
+
|
30
|
+
- Bump rack from 2.0.7 to 2.0.8 [\#4](https://github.com/datacite/maltese/pull/4) ([dependabot[bot]](https://github.com/apps/dependabot))
|
31
|
+
|
32
|
+
## [0.9.8](https://github.com/datacite/maltese/tree/0.9.8) (2019-12-13)
|
33
|
+
|
34
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.7...0.9.8)
|
35
|
+
|
36
|
+
## [0.9.7](https://github.com/datacite/maltese/tree/0.9.7) (2019-12-12)
|
37
|
+
|
38
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.6...0.9.7)
|
39
|
+
|
40
|
+
## [0.9.6](https://github.com/datacite/maltese/tree/0.9.6) (2019-12-12)
|
41
|
+
|
42
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.5...0.9.6)
|
43
|
+
|
44
|
+
## [0.9.5](https://github.com/datacite/maltese/tree/0.9.5) (2019-12-12)
|
45
|
+
|
46
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.4...0.9.5)
|
47
|
+
|
48
|
+
## [0.9.4](https://github.com/datacite/maltese/tree/0.9.4) (2019-12-12)
|
49
|
+
|
50
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.3...0.9.4)
|
51
|
+
|
52
|
+
## [0.9.3](https://github.com/datacite/maltese/tree/0.9.3) (2019-12-11)
|
53
|
+
|
54
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.2...0.9.3)
|
55
|
+
|
56
|
+
## [0.9.2](https://github.com/datacite/maltese/tree/0.9.2) (2019-12-11)
|
57
|
+
|
58
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.1...0.9.2)
|
59
|
+
|
60
|
+
## [0.9.1](https://github.com/datacite/maltese/tree/0.9.1) (2019-12-11)
|
61
|
+
|
62
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.9.0...0.9.1)
|
63
|
+
|
64
|
+
## [0.9.0](https://github.com/datacite/maltese/tree/0.9.0) (2019-12-10)
|
65
|
+
|
66
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.15...0.9.0)
|
67
|
+
|
68
|
+
## [0.8.15](https://github.com/datacite/maltese/tree/0.8.15) (2019-12-10)
|
69
|
+
|
70
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.14...0.8.15)
|
71
|
+
|
72
|
+
## [0.8.14](https://github.com/datacite/maltese/tree/0.8.14) (2019-12-10)
|
73
|
+
|
74
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.13...0.8.14)
|
75
|
+
|
76
|
+
## [0.8.13](https://github.com/datacite/maltese/tree/0.8.13) (2019-12-09)
|
77
|
+
|
78
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.12...0.8.13)
|
79
|
+
|
80
|
+
## [0.8.12](https://github.com/datacite/maltese/tree/0.8.12) (2019-12-09)
|
81
|
+
|
82
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.11...0.8.12)
|
83
|
+
|
84
|
+
## [0.8.11](https://github.com/datacite/maltese/tree/0.8.11) (2019-12-09)
|
85
|
+
|
86
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.10...0.8.11)
|
87
|
+
|
88
|
+
## [0.8.10](https://github.com/datacite/maltese/tree/0.8.10) (2019-12-09)
|
89
|
+
|
90
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.9...0.8.10)
|
91
|
+
|
92
|
+
## [0.8.9](https://github.com/datacite/maltese/tree/0.8.9) (2019-12-08)
|
93
|
+
|
94
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.8...0.8.9)
|
95
|
+
|
96
|
+
## [0.8.8](https://github.com/datacite/maltese/tree/0.8.8) (2019-12-08)
|
97
|
+
|
98
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.7...0.8.8)
|
99
|
+
|
100
|
+
## [0.8.7](https://github.com/datacite/maltese/tree/0.8.7) (2019-12-08)
|
101
|
+
|
102
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.6...0.8.7)
|
103
|
+
|
104
|
+
## [0.8.6](https://github.com/datacite/maltese/tree/0.8.6) (2019-07-12)
|
105
|
+
|
106
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.5...0.8.6)
|
107
|
+
|
108
|
+
## [0.8.5](https://github.com/datacite/maltese/tree/0.8.5) (2019-07-12)
|
109
|
+
|
110
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.4...0.8.5)
|
111
|
+
|
112
|
+
## [0.8.4](https://github.com/datacite/maltese/tree/0.8.4) (2019-06-02)
|
113
|
+
|
114
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.3...0.8.4)
|
115
|
+
|
116
|
+
## [0.8.3](https://github.com/datacite/maltese/tree/0.8.3) (2019-06-01)
|
117
|
+
|
118
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.2...0.8.3)
|
119
|
+
|
120
|
+
## [0.8.2](https://github.com/datacite/maltese/tree/0.8.2) (2019-06-01)
|
121
|
+
|
122
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8.1...0.8.2)
|
123
|
+
|
124
|
+
## [0.8.1](https://github.com/datacite/maltese/tree/0.8.1) (2019-06-01)
|
125
|
+
|
126
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.8...0.8.1)
|
127
|
+
|
128
|
+
## [0.8](https://github.com/datacite/maltese/tree/0.8) (2019-06-01)
|
129
|
+
|
130
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.3.0...0.8)
|
131
|
+
|
132
|
+
## [0.3.0](https://github.com/datacite/maltese/tree/0.3.0) (2019-05-31)
|
133
|
+
|
134
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.2.4...0.3.0)
|
135
|
+
|
136
|
+
## [0.2.4](https://github.com/datacite/maltese/tree/0.2.4) (2018-09-09)
|
137
|
+
|
138
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.2.3...0.2.4)
|
139
|
+
|
140
|
+
## [0.2.3](https://github.com/datacite/maltese/tree/0.2.3) (2018-09-09)
|
141
|
+
|
142
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.2.2...0.2.3)
|
143
|
+
|
144
|
+
## [0.2.2](https://github.com/datacite/maltese/tree/0.2.2) (2018-09-08)
|
145
|
+
|
146
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.2.1...0.2.2)
|
147
|
+
|
148
|
+
## [0.2.1](https://github.com/datacite/maltese/tree/0.2.1) (2018-09-08)
|
149
|
+
|
150
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0.2...0.2.1)
|
151
|
+
|
152
|
+
## [0.2](https://github.com/datacite/maltese/tree/0.2) (2018-09-08)
|
153
|
+
|
154
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.9...0.2)
|
155
|
+
|
156
|
+
**Merged pull requests:**
|
157
|
+
|
158
|
+
- /api no longer allows solr queries directly, instead use solr exposed… [\#1](https://github.com/datacite/maltese/pull/1) ([richardhallett](https://github.com/richardhallett))
|
159
|
+
|
160
|
+
## [v.0.1.9](https://github.com/datacite/maltese/tree/v.0.1.9) (2017-02-27)
|
161
|
+
|
162
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.8...v.0.1.9)
|
163
|
+
|
164
|
+
## [v.0.1.8](https://github.com/datacite/maltese/tree/v.0.1.8) (2017-02-26)
|
165
|
+
|
166
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.7...v.0.1.8)
|
167
|
+
|
168
|
+
## [v.0.1.7](https://github.com/datacite/maltese/tree/v.0.1.7) (2017-02-26)
|
169
|
+
|
170
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.6...v.0.1.7)
|
171
|
+
|
172
|
+
## [v.0.1.6](https://github.com/datacite/maltese/tree/v.0.1.6) (2017-02-26)
|
173
|
+
|
174
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.5...v.0.1.6)
|
175
|
+
|
176
|
+
## [v.0.1.5](https://github.com/datacite/maltese/tree/v.0.1.5) (2017-02-26)
|
177
|
+
|
178
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.4...v.0.1.5)
|
179
|
+
|
180
|
+
## [v.0.1.4](https://github.com/datacite/maltese/tree/v.0.1.4) (2017-02-26)
|
181
|
+
|
182
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.3...v.0.1.4)
|
183
|
+
|
184
|
+
## [v.0.1.3](https://github.com/datacite/maltese/tree/v.0.1.3) (2017-02-26)
|
185
|
+
|
186
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/v.0.1.2...v.0.1.3)
|
187
|
+
|
188
|
+
## [v.0.1.2](https://github.com/datacite/maltese/tree/v.0.1.2) (2017-02-26)
|
189
|
+
|
190
|
+
[Full Changelog](https://github.com/datacite/maltese/compare/0e326733aa5e19e012897822398a44bdba2d5ba7...v.0.1.2)
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Dockerfile
CHANGED
@@ -11,6 +11,6 @@ RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" &&
|
|
11
11
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
12
12
|
|
13
13
|
# Install maltese gem
|
14
|
-
RUN /sbin/setuser app gem install maltese -v 0.9.
|
14
|
+
RUN /sbin/setuser app gem install maltese -v 0.9.12
|
15
15
|
|
16
16
|
CMD maltese sitemap --sitemap_bucket $SITEMAP_BUCKET --rack_env $RACK_ENV --access_key $AWS_ACCESS_KEY_ID --secret_key $AWS_SECRET_ACCESS_KEY --region $AWS_REGION --slack_webhook_url $SLACK_WEBHOOK_URL
|
data/Gemfile.lock
CHANGED
@@ -1,29 +1,36 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
maltese (0.
|
5
|
-
activesupport (
|
4
|
+
maltese (0.10.0)
|
5
|
+
activesupport (~> 7.1, >= 7.1.3.2)
|
6
6
|
aws-sdk-s3 (~> 1.19)
|
7
7
|
dotenv (~> 2.1, >= 2.1.1)
|
8
|
-
faraday (
|
8
|
+
faraday (~> 2.9)
|
9
9
|
logstash-logger (~> 0.26.1)
|
10
|
-
maremma (~>
|
10
|
+
maremma (~> 5.0)
|
11
11
|
mime-types (~> 3.1)
|
12
12
|
retriable (~> 3.1)
|
13
|
+
rexml (~> 3.2, >= 3.2.6)
|
13
14
|
sitemap_generator (~> 6.0)
|
14
15
|
slack-notifier (~> 2.1)
|
15
16
|
thor (~> 0.19)
|
17
|
+
webrick (~> 1.8, >= 1.8.1)
|
16
18
|
|
17
19
|
GEM
|
18
20
|
remote: https://rubygems.org/
|
19
21
|
specs:
|
20
|
-
activesupport (
|
22
|
+
activesupport (7.1.3.2)
|
23
|
+
base64
|
24
|
+
bigdecimal
|
21
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
26
|
+
connection_pool (>= 2.2.5)
|
27
|
+
drb
|
28
|
+
i18n (>= 1.6, < 2)
|
29
|
+
minitest (>= 5.1)
|
30
|
+
mutex_m
|
31
|
+
tzinfo (~> 2.0)
|
32
|
+
addressable (2.8.6)
|
33
|
+
public_suffix (>= 2.0.2, < 6.0)
|
27
34
|
aws-eventstream (1.1.0)
|
28
35
|
aws-partitions (1.388.0)
|
29
36
|
aws-sdk-core (3.109.1)
|
@@ -40,22 +47,38 @@ GEM
|
|
40
47
|
aws-sigv4 (~> 1.1)
|
41
48
|
aws-sigv4 (1.2.2)
|
42
49
|
aws-eventstream (~> 1, >= 1.0.2)
|
50
|
+
base64 (0.2.0)
|
51
|
+
bigdecimal (3.1.8)
|
43
52
|
builder (3.2.4)
|
44
53
|
codeclimate-test-reporter (1.0.9)
|
45
54
|
simplecov (<= 0.13)
|
46
55
|
concurrent-ruby (1.1.7)
|
47
|
-
|
48
|
-
|
56
|
+
connection_pool (2.4.1)
|
57
|
+
crack (1.0.0)
|
58
|
+
bigdecimal
|
59
|
+
rexml
|
60
|
+
diff-lcs (1.5.1)
|
49
61
|
docile (1.1.5)
|
50
62
|
dotenv (2.7.6)
|
63
|
+
drb (2.2.1)
|
51
64
|
excon (0.71.1)
|
52
|
-
faraday (
|
53
|
-
|
65
|
+
faraday (2.9.0)
|
66
|
+
faraday-net_http (>= 2.0, < 3.2)
|
54
67
|
faraday-encoding (0.0.5)
|
55
68
|
faraday
|
56
|
-
|
57
|
-
|
58
|
-
|
69
|
+
faraday-excon (2.1.0)
|
70
|
+
excon (>= 0.27.4)
|
71
|
+
faraday (~> 2.0)
|
72
|
+
faraday-follow_redirects (0.3.0)
|
73
|
+
faraday (>= 1, < 3)
|
74
|
+
faraday-gzip (0.1.0)
|
75
|
+
faraday (>= 1.0)
|
76
|
+
zlib (~> 2.1)
|
77
|
+
faraday-multipart (1.0.4)
|
78
|
+
multipart-post (~> 2)
|
79
|
+
faraday-net_http (3.1.0)
|
80
|
+
net-http
|
81
|
+
hashdiff (1.1.0)
|
59
82
|
i18n (1.8.5)
|
60
83
|
concurrent-ruby (~> 1.0)
|
61
84
|
jmespath (1.4.0)
|
@@ -63,46 +86,55 @@ GEM
|
|
63
86
|
logstash-event (1.2.02)
|
64
87
|
logstash-logger (0.26.1)
|
65
88
|
logstash-event (~> 1.2)
|
66
|
-
maremma (
|
89
|
+
maremma (5.0.0)
|
67
90
|
activesupport (>= 4.2.5)
|
68
91
|
addressable (>= 2.3.6)
|
69
92
|
builder (~> 3.2, >= 3.2.2)
|
70
93
|
excon (~> 0.71.0)
|
71
|
-
faraday (
|
72
|
-
faraday-encoding (~> 0.0.
|
73
|
-
|
74
|
-
|
94
|
+
faraday (>= 2.0)
|
95
|
+
faraday-encoding (~> 0.0.5)
|
96
|
+
faraday-excon (~> 2.1.0)
|
97
|
+
faraday-follow_redirects (~> 0.3.0)
|
98
|
+
faraday-gzip (~> 0.1.0)
|
99
|
+
faraday-multipart (~> 1.0.4)
|
100
|
+
nokogiri (~> 1.16, >= 1.16.2)
|
75
101
|
oj (>= 2.8.3)
|
76
102
|
oj_mimic_json (~> 1.0, >= 1.0.1)
|
77
103
|
mime-types (3.3.1)
|
78
104
|
mime-types-data (~> 3.2015)
|
79
105
|
mime-types-data (3.2020.0512)
|
80
|
-
mini_portile2 (2.
|
81
|
-
minitest (5.
|
106
|
+
mini_portile2 (2.8.6)
|
107
|
+
minitest (5.22.3)
|
82
108
|
multipart-post (2.1.1)
|
83
|
-
|
84
|
-
|
109
|
+
mutex_m (0.2.0)
|
110
|
+
net-http (0.4.1)
|
111
|
+
uri
|
112
|
+
nokogiri (1.16.4)
|
113
|
+
mini_portile2 (~> 2.8.2)
|
114
|
+
racc (~> 1.4)
|
85
115
|
oj (3.10.15)
|
86
116
|
oj_mimic_json (1.0.1)
|
87
117
|
public_suffix (4.0.6)
|
118
|
+
racc (1.7.3)
|
88
119
|
rack (2.2.3)
|
89
120
|
rack-test (0.8.3)
|
90
121
|
rack (>= 1.0, < 3)
|
91
122
|
rake (12.3.3)
|
92
123
|
retriable (3.1.2)
|
93
|
-
|
94
|
-
|
95
|
-
rspec-
|
96
|
-
rspec-
|
97
|
-
|
98
|
-
|
99
|
-
|
124
|
+
rexml (3.2.6)
|
125
|
+
rspec (3.13.0)
|
126
|
+
rspec-core (~> 3.13.0)
|
127
|
+
rspec-expectations (~> 3.13.0)
|
128
|
+
rspec-mocks (~> 3.13.0)
|
129
|
+
rspec-core (3.13.0)
|
130
|
+
rspec-support (~> 3.13.0)
|
131
|
+
rspec-expectations (3.13.0)
|
100
132
|
diff-lcs (>= 1.2.0, < 2.0)
|
101
|
-
rspec-support (~> 3.
|
102
|
-
rspec-mocks (3.
|
133
|
+
rspec-support (~> 3.13.0)
|
134
|
+
rspec-mocks (3.13.0)
|
103
135
|
diff-lcs (>= 1.2.0, < 2.0)
|
104
|
-
rspec-support (~> 3.
|
105
|
-
rspec-support (3.
|
136
|
+
rspec-support (~> 3.13.0)
|
137
|
+
rspec-support (3.13.1)
|
106
138
|
simplecov (0.13.0)
|
107
139
|
docile (~> 1.1.0)
|
108
140
|
json (>= 1.8, < 3)
|
@@ -112,14 +144,16 @@ GEM
|
|
112
144
|
builder (~> 3.0)
|
113
145
|
slack-notifier (2.3.2)
|
114
146
|
thor (0.20.3)
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
vcr (
|
119
|
-
webmock (3.
|
120
|
-
addressable (>= 2.
|
147
|
+
tzinfo (2.0.6)
|
148
|
+
concurrent-ruby (~> 1.0)
|
149
|
+
uri (0.13.0)
|
150
|
+
vcr (6.2.0)
|
151
|
+
webmock (3.23.0)
|
152
|
+
addressable (>= 2.8.0)
|
121
153
|
crack (>= 0.3.2)
|
122
154
|
hashdiff (>= 0.4.0, < 2.0.0)
|
155
|
+
webrick (1.8.1)
|
156
|
+
zlib (2.1.1)
|
123
157
|
|
124
158
|
PLATFORMS
|
125
159
|
ruby
|
@@ -130,10 +164,10 @@ DEPENDENCIES
|
|
130
164
|
maltese!
|
131
165
|
rack-test (~> 0)
|
132
166
|
rake (~> 12.0)
|
133
|
-
rspec (~> 3.
|
134
|
-
simplecov (
|
135
|
-
vcr (~>
|
136
|
-
webmock (~> 3.
|
167
|
+
rspec (~> 3.13)
|
168
|
+
simplecov (= 0.13)
|
169
|
+
vcr (~> 6.1)
|
170
|
+
webmock (~> 3.23)
|
137
171
|
|
138
172
|
BUNDLED WITH
|
139
|
-
2.
|
173
|
+
2.4.22
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
[![
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/maltese.svg)](https://badge.fury.io/rb/maltese)
|
2
|
+
[![Build Status](https://github.com/datacite/maltese/actions/workflows/build.yml/badge.svg)](https://github.com/datacite/maltese/actions/workflows/build.yml)
|
2
3
|
[![Code Climate](https://codeclimate.com/github/datacite/maltese/badges/gpa.svg)](https://codeclimate.com/github/datacite/maltese)
|
3
4
|
[![Test Coverage](https://codeclimate.com/github/datacite/maltese/badges/coverage.svg)](https://codeclimate.com/github/datacite/maltese/coverage)
|
4
5
|
|
data/lib/maltese/cli.rb
CHANGED
@@ -17,7 +17,7 @@ module Maltese
|
|
17
17
|
puts Toccatore::VERSION
|
18
18
|
end
|
19
19
|
|
20
|
-
desc "sitemap", "generate sitemap for DataCite
|
20
|
+
desc "sitemap", "generate sitemap for DataCite Commons"
|
21
21
|
method_option :sitemap_bucket, type: :string
|
22
22
|
method_option :rack_env, type: :string
|
23
23
|
method_option :access_key, type: :string
|
data/lib/maltese/sitemap.rb
CHANGED
@@ -43,7 +43,7 @@ module Maltese
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def slack_title
|
46
|
-
rack_env == "production" ? "DataCite
|
46
|
+
rack_env == "production" ? "DataCite Commons" : "DataCite Commons Stage"
|
47
47
|
end
|
48
48
|
|
49
49
|
def sitemaps_path
|
@@ -103,7 +103,7 @@ module Maltese
|
|
103
103
|
def get_query_url(options={})
|
104
104
|
options[:size] = options[:size] || job_batch_size
|
105
105
|
|
106
|
-
params = {
|
106
|
+
params = {
|
107
107
|
"fields[dois]" => "doi,updated",
|
108
108
|
"exclude-registration-agencies" => "true",
|
109
109
|
"page[scroll]" => "7m",
|
@@ -135,7 +135,7 @@ module Maltese
|
|
135
135
|
|
136
136
|
if response.status == 200
|
137
137
|
link_count = parse_data(response)
|
138
|
-
logger.info "#{(link_count + sitemap.sitemap_index.total_link_count).
|
138
|
+
logger.info "#{(link_count + sitemap.sitemap_index.total_link_count).to_fs(:delimited)} DOIs parsed."
|
139
139
|
options[:url] = response.body.dig("links", "next")
|
140
140
|
else
|
141
141
|
logger.error "An error occured for URL #{options[:url]}."
|
@@ -146,8 +146,8 @@ module Maltese
|
|
146
146
|
logger.error "Error: #{exception.message}"
|
147
147
|
fields = [
|
148
148
|
{ title: "Error", value: exception.message },
|
149
|
-
{ title: "Number of DOIs", value: sitemap.sitemap_index.total_link_count.
|
150
|
-
{ title: "Number of Sitemaps", value: sitemap.sitemap_index.link_count.
|
149
|
+
{ title: "Number of DOIs", value: sitemap.sitemap_index.total_link_count.to_fs(:delimited), short: true },
|
150
|
+
{ title: "Number of Sitemaps", value: sitemap.sitemap_index.link_count.to_fs(:delimited), short: true },
|
151
151
|
{ title: "Time Taken", value: "#{((Time.now - options[:start_time])/ 60.0).ceil} min", short: true }
|
152
152
|
]
|
153
153
|
send_notification_to_slack(nil, title: slack_title + ": Sitemaps Not Updated", level: "danger", fields: fields) unless rack_env == "test"
|
@@ -155,7 +155,7 @@ module Maltese
|
|
155
155
|
ensure
|
156
156
|
# don't loop when testing
|
157
157
|
break if rack_env == "test"
|
158
|
-
end
|
158
|
+
end
|
159
159
|
end
|
160
160
|
|
161
161
|
push_data(options)
|
@@ -177,11 +177,11 @@ module Maltese
|
|
177
177
|
sitemap.finalize!
|
178
178
|
options[:start_time] ||= Time.now
|
179
179
|
sitemap.sitemap_index.stats_summary(:time_taken => Time.now - options[:start_time])
|
180
|
-
|
180
|
+
|
181
181
|
fields = [
|
182
182
|
{ title: "URL", value: sitemap.sitemap_index_url },
|
183
|
-
{ title: "Number of DOIs", value: sitemap.sitemap_index.total_link_count.
|
184
|
-
{ title: "Number of Sitemaps", value: sitemap.sitemap_index.link_count.
|
183
|
+
{ title: "Number of DOIs", value: sitemap.sitemap_index.total_link_count.to_fs(:delimited), short: true },
|
184
|
+
{ title: "Number of Sitemaps", value: sitemap.sitemap_index.link_count.to_fs(:delimited), short: true },
|
185
185
|
{ title: "Time Taken", value: "#{((Time.now - options[:start_time])/ 60.0).ceil} min", short: true }
|
186
186
|
]
|
187
187
|
send_notification_to_slack(nil, title: slack_title + ": Sitemaps Updated", level: "good", fields: fields) unless rack_env == "test"
|
data/lib/maltese/version.rb
CHANGED
data/maltese.gemspec
CHANGED
@@ -15,10 +15,10 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.license = 'MIT'
|
16
16
|
|
17
17
|
# Declary dependencies here, rather than in the Gemfile
|
18
|
-
s.add_dependency 'maremma', '~>
|
19
|
-
s.add_dependency 'faraday', '
|
18
|
+
s.add_dependency 'maremma', '~> 5.0'
|
19
|
+
s.add_dependency 'faraday', '~> 2.9'
|
20
20
|
s.add_dependency 'logstash-logger', '~> 0.26.1'
|
21
|
-
s.add_dependency 'activesupport', '
|
21
|
+
s.add_dependency 'activesupport', '~> 7.1', '>= 7.1.3.2'
|
22
22
|
s.add_dependency 'dotenv', '~> 2.1', '>= 2.1.1'
|
23
23
|
s.add_dependency 'slack-notifier', '~> 2.1'
|
24
24
|
s.add_dependency 'thor', '~> 0.19'
|
@@ -26,14 +26,16 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_dependency 'sitemap_generator', '~> 6.0'
|
27
27
|
s.add_dependency 'aws-sdk-s3', '~> 1.19'
|
28
28
|
s.add_dependency 'mime-types', '~> 3.1'
|
29
|
+
s.add_dependency 'rexml', '~> 3.2', '>= 3.2.6'
|
30
|
+
s.add_dependency 'webrick', '~> 1.8', '>= 1.8.1'
|
29
31
|
s.add_development_dependency 'bundler', '~> 2.0'
|
30
|
-
s.add_development_dependency 'rspec', '~> 3.
|
32
|
+
s.add_development_dependency 'rspec', '~> 3.13'
|
31
33
|
s.add_development_dependency 'rake', '~> 12.0'
|
32
34
|
s.add_development_dependency 'rack-test', '~> 0'
|
33
|
-
s.add_development_dependency 'vcr', '~>
|
34
|
-
s.add_development_dependency 'webmock', '~> 3.
|
35
|
+
s.add_development_dependency 'vcr', '~> 6.1'
|
36
|
+
s.add_development_dependency 'webmock', '~> 3.23'
|
35
37
|
s.add_development_dependency 'codeclimate-test-reporter', '~> 1.0', '>= 1.0.8'
|
36
|
-
s.add_development_dependency 'simplecov', '
|
38
|
+
s.add_development_dependency 'simplecov', '0.13'
|
37
39
|
|
38
40
|
s.require_paths = ["lib"]
|
39
41
|
s.files = `git ls-files`.split($/)
|
data/spec/sitemap_spec.rb
CHANGED
@@ -108,8 +108,8 @@ describe Maltese::Sitemap, vcr: true do
|
|
108
108
|
it "send info" do
|
109
109
|
fields = [
|
110
110
|
{ title: "URL", value: "https://commons.stage.datacite.org/sitemaps/sitemap.xml.gz" },
|
111
|
-
{ title: "Number of DOIs", value: 271605.
|
112
|
-
{ title: "Number of Sitemaps", value: 6.
|
111
|
+
{ title: "Number of DOIs", value: 271605.to_fs(:delimited), short: true },
|
112
|
+
{ title: "Number of Sitemaps", value: 6.to_fs(:delimited), short: true },
|
113
113
|
{ title: "Time Taken", value: "33 min", short: true }
|
114
114
|
]
|
115
115
|
expect(subject.send_notification_to_slack(nil, title: subject.slack_title + ": Sitemaps Updated", level: "good", fields: fields)).to eq("ok")
|
@@ -118,8 +118,8 @@ describe Maltese::Sitemap, vcr: true do
|
|
118
118
|
it "send error" do
|
119
119
|
fields = [
|
120
120
|
{ title: "Error", value: "Error: A bad gateway error occured for URL https://api.datacite.org/dois?page%5Bscroll%5D=7m&page%5Bsize%5D=1000&scroll-id=DnF1ZXJ5VGhlbkZldGNoBQAAAAACJPb5FjI5NUhiM3dqU0JleHRSWlJGTnhYaXcAAAAAAiT2-hYyOTVIYjN3alNCZXh0UlpSRk54WGl3AAAAAAIk9vsWMjk1SGIzd2pTQmV4dFJaUkZOeFhpdwAAAAACJPb8FjI5NUhiM3dqU0JleHRSWlJGTnhYaXcAAAAAAiT2_RYyOTVIYjN3alNCZXh0UlpSRk54WGl3." },
|
121
|
-
{ title: "Number of DOIs", value: 141572.
|
122
|
-
{ title: "Number of Sitemaps", value: 3.
|
121
|
+
{ title: "Number of DOIs", value: 141572.to_fs(:delimited), short: true },
|
122
|
+
{ title: "Number of Sitemaps", value: 3.to_fs(:delimited), short: true },
|
123
123
|
{ title: "Time Taken", value: "17 min", short: true }
|
124
124
|
]
|
125
125
|
expect(subject.send_notification_to_slack(nil, title: subject.slack_title + ": Sitemaps Not Updated", level: "danger", fields: fields)).to eq("ok")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maltese
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maremma
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '2.9'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '2.9'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: logstash-logger
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,22 +56,22 @@ dependencies:
|
|
56
56
|
name: activesupport
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
- - "
|
61
|
+
version: '7.1'
|
62
|
+
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
64
|
+
version: 7.1.3.2
|
65
65
|
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- - "
|
69
|
+
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version:
|
72
|
-
- - "
|
71
|
+
version: '7.1'
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 7.1.3.2
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: dotenv
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,6 +176,46 @@ dependencies:
|
|
176
176
|
- - "~>"
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '3.1'
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: rexml
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '3.2'
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 3.2.6
|
189
|
+
type: :runtime
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '3.2'
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 3.2.6
|
199
|
+
- !ruby/object:Gem::Dependency
|
200
|
+
name: webrick
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - "~>"
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '1.8'
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 1.8.1
|
209
|
+
type: :runtime
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '1.8'
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: 1.8.1
|
179
219
|
- !ruby/object:Gem::Dependency
|
180
220
|
name: bundler
|
181
221
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,14 +236,14 @@ dependencies:
|
|
196
236
|
requirements:
|
197
237
|
- - "~>"
|
198
238
|
- !ruby/object:Gem::Version
|
199
|
-
version: '3.
|
239
|
+
version: '3.13'
|
200
240
|
type: :development
|
201
241
|
prerelease: false
|
202
242
|
version_requirements: !ruby/object:Gem::Requirement
|
203
243
|
requirements:
|
204
244
|
- - "~>"
|
205
245
|
- !ruby/object:Gem::Version
|
206
|
-
version: '3.
|
246
|
+
version: '3.13'
|
207
247
|
- !ruby/object:Gem::Dependency
|
208
248
|
name: rake
|
209
249
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,40 +278,28 @@ dependencies:
|
|
238
278
|
requirements:
|
239
279
|
- - "~>"
|
240
280
|
- !ruby/object:Gem::Version
|
241
|
-
version: '
|
242
|
-
- - ">="
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: 3.0.3
|
281
|
+
version: '6.1'
|
245
282
|
type: :development
|
246
283
|
prerelease: false
|
247
284
|
version_requirements: !ruby/object:Gem::Requirement
|
248
285
|
requirements:
|
249
286
|
- - "~>"
|
250
287
|
- !ruby/object:Gem::Version
|
251
|
-
version: '
|
252
|
-
- - ">="
|
253
|
-
- !ruby/object:Gem::Version
|
254
|
-
version: 3.0.3
|
288
|
+
version: '6.1'
|
255
289
|
- !ruby/object:Gem::Dependency
|
256
290
|
name: webmock
|
257
291
|
requirement: !ruby/object:Gem::Requirement
|
258
292
|
requirements:
|
259
293
|
- - "~>"
|
260
294
|
- !ruby/object:Gem::Version
|
261
|
-
version: '3.
|
262
|
-
- - ">="
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: 3.0.1
|
295
|
+
version: '3.23'
|
265
296
|
type: :development
|
266
297
|
prerelease: false
|
267
298
|
version_requirements: !ruby/object:Gem::Requirement
|
268
299
|
requirements:
|
269
300
|
- - "~>"
|
270
301
|
- !ruby/object:Gem::Version
|
271
|
-
version: '3.
|
272
|
-
- - ">="
|
273
|
-
- !ruby/object:Gem::Version
|
274
|
-
version: 3.0.1
|
302
|
+
version: '3.23'
|
275
303
|
- !ruby/object:Gem::Dependency
|
276
304
|
name: codeclimate-test-reporter
|
277
305
|
requirement: !ruby/object:Gem::Requirement
|
@@ -296,16 +324,16 @@ dependencies:
|
|
296
324
|
name: simplecov
|
297
325
|
requirement: !ruby/object:Gem::Requirement
|
298
326
|
requirements:
|
299
|
-
- -
|
327
|
+
- - '='
|
300
328
|
- !ruby/object:Gem::Version
|
301
|
-
version: '0.
|
329
|
+
version: '0.13'
|
302
330
|
type: :development
|
303
331
|
prerelease: false
|
304
332
|
version_requirements: !ruby/object:Gem::Requirement
|
305
333
|
requirements:
|
306
|
-
- -
|
334
|
+
- - '='
|
307
335
|
- !ruby/object:Gem::Version
|
308
|
-
version: '0.
|
336
|
+
version: '0.13'
|
309
337
|
description: Ruby library to generate sitemap for DataCite Commons.
|
310
338
|
email: mfenner@datacite.org
|
311
339
|
executables:
|
@@ -314,9 +342,12 @@ extensions: []
|
|
314
342
|
extra_rdoc_files:
|
315
343
|
- README.md
|
316
344
|
files:
|
345
|
+
- ".github/workflows/build.yml"
|
346
|
+
- ".github/workflows/changelog.yml"
|
347
|
+
- ".github/workflows/pull_request.yml"
|
348
|
+
- ".github/workflows/release.yml"
|
317
349
|
- ".gitignore"
|
318
350
|
- ".rubocop.yml"
|
319
|
-
- ".travis.yml"
|
320
351
|
- CHANGELOG.md
|
321
352
|
- Dockerfile
|
322
353
|
- Gemfile
|
@@ -367,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
367
398
|
- !ruby/object:Gem::Version
|
368
399
|
version: '0'
|
369
400
|
requirements: []
|
370
|
-
rubygems_version: 3.
|
401
|
+
rubygems_version: 3.3.26
|
371
402
|
signing_key:
|
372
403
|
specification_version: 4
|
373
404
|
summary: Ruby library to generate sitemap for DataCite Commons
|
data/.travis.yml
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.4.4
|
4
|
-
|
5
|
-
addons:
|
6
|
-
code_climate:
|
7
|
-
repo_token: "$CODECLIMATE_REPO_TOKEN"
|
8
|
-
|
9
|
-
install:
|
10
|
-
- travis_retry bundle install
|
11
|
-
|
12
|
-
script:
|
13
|
-
- bundle exec rspec
|
14
|
-
- bundle exec codeclimate-test-reporter
|
15
|
-
|
16
|
-
notifications:
|
17
|
-
email: false
|
18
|
-
|
19
|
-
deploy:
|
20
|
-
provider: rubygems
|
21
|
-
api_key:
|
22
|
-
secure: uT9YVkRp1usg+glYDSG7KJkm8CQGI8pZDbHlmbPz6ibbA8DVyjbBtYjGbvODCoRkisC24kSy31gMqBSmIxLG0ICv2tOy/iaoiuVeUk6NFfP4dcVGsDueQXjqd6Fjw6fCBg42sojwAVWzvDP2EVjQnbcZqROasLPmKuC2qrm+f9aSYLXmGyBtpvJ5FsfpW33OvE3qJD3y0AlPMdCihPe03FVzSiLNMmGuYOH97MucuWGbUJN+tSFiBfqIrAGT2TQXFrdiT3HtxEt+vNH0cGoLQAKgTgx4XPAcKEjg/cML5yhY/OcPR0uNgqdjxqS3faaH31r1xZaGGfHTf9dj++123YLNHbI8odyA9eF+jYU/3D8UnmMpsTNGZXCFUS8xVUobDcejhPBNhqGPLruLtbvIaqpVZ2bF9BOY1F0ILp4GERzUUUxws+BB1EJ6zFpNrDl7MHlqrc+gRZWcWlazQ82BmLQsTVHiab3ZerGCP4+kYiNeyEnsa3wmVDDd2iffU05Bse44/W1/BKmlzV0QfYl1iMA8lkCrgqmslFecCf0xA01v4CF2Hv63PxOeNmNvZm4VIkgy9uPBjD91AVdscSzCRuTc149OluBqUoxUToX9rEegheUXhWs6ww6DHtlRQI+OBNauRUCo7Fb2zV+gTNzUCSln0fE+z9aLhduuA8JLAKk=
|
23
|
-
gem: maltese
|
24
|
-
on:
|
25
|
-
tags: true
|
26
|
-
repo: datacite/maltese
|