arxiv 0.1.6 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +34 -0
- data/lib/arxiv/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 705be15f67d328ce1b0e3134104b64009a8797fe
|
4
|
+
data.tar.gz: eb382d0dc4c5429346f0549b9169079262daa499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a628624db06ca75b1ed50d92bd3d8e86f5118b16afca8b0ceaaf8fc7c8b975191c2523cb694237ad9ef83003b777d90589553644d595689982f6829bd269f36
|
7
|
+
data.tar.gz: 00556b2a1e72bd5c22cc8dd497a98158167cf4d511b0ed71a3e8d0640914034f1efab3be4a10c73911120b42a80d4bbaab6534e733463e2ec54e7e159475a81d
|
@@ -0,0 +1,34 @@
|
|
1
|
+
name: ci
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
jobs:
|
5
|
+
test:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v3
|
10
|
+
- name: Set up Ruby
|
11
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
12
|
+
- name: Install dependencies
|
13
|
+
run: bundle install
|
14
|
+
- name: Run tests
|
15
|
+
run: rspec .
|
16
|
+
|
17
|
+
publish:
|
18
|
+
name: Build and publish gem
|
19
|
+
if: github.ref == 'refs/heads/main' && needs.test.result == 'success'
|
20
|
+
needs: test
|
21
|
+
runs-on: ubuntu-latest
|
22
|
+
|
23
|
+
steps:
|
24
|
+
- uses: actions/checkout@v3
|
25
|
+
- name: Set up Ruby
|
26
|
+
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
|
27
|
+
- name: Publish to GPR
|
28
|
+
run: |
|
29
|
+
curl -u $RUBYGEMS_USERNAME:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
|
30
|
+
gem build arxiv.gemspec
|
31
|
+
gem push `ls | grep *.gem`
|
32
|
+
env:
|
33
|
+
RUBYGEMS_USERNAME: "${{ secrets.RUBYGEMS_USERNAME }}"
|
34
|
+
RUBYGEMS_PASSWORD: "${{ secrets.RUBYGEMS_PASSWORD }}"
|
data/lib/arxiv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arxiv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scholastica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: happymapper
|
@@ -106,6 +106,7 @@ executables: []
|
|
106
106
|
extensions: []
|
107
107
|
extra_rdoc_files: []
|
108
108
|
files:
|
109
|
+
- ".github/workflows/ci.yml"
|
109
110
|
- ".gitignore"
|
110
111
|
- ".rspec"
|
111
112
|
- ".ruby-gemset"
|
@@ -149,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
150
|
version: '0'
|
150
151
|
requirements: []
|
151
152
|
rubyforge_project: arxiv
|
152
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.4.5.5
|
153
154
|
signing_key:
|
154
155
|
specification_version: 4
|
155
156
|
summary: Ruby wrapper accessing the arXiv API
|