packlink_lite 0.5.0 → 0.5.1
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_release_action.yaml +53 -0
- data/.gitignore +1 -1
- data/README.md +2 -2
- data/Rakefile +4 -0
- data/lib/packlink_lite/version.rb +1 -1
- data/packlink_lite.gemspec +2 -2
- metadata +6 -6
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c094522c97ddd9c6a6d7c0fe7bfebb8631bf8f69df958b87b35aa8426af969d
|
4
|
+
data.tar.gz: d6aade4a8833b945cb9ce9526b599cd5c2ead9b59388e8612a85d9c55ed22dbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 404cbc639c31d5dbe0132a36d37e4145c9974ab7cc19a7f1b0f548d47a94febd9700a852edb867325372e6e595f9a14d140d2cc2610dbe98a47fe8a72a2b81e5
|
7
|
+
data.tar.gz: 2451dfba0293b9607ee1c54ba50e938d54d17cd56cc7d5e67eba04625f8ff44c10e53d6ca9812264c41fff7d72a94fba8d92d49a8876d3816ce0f2b6ca8d3284
|
@@ -0,0 +1,53 @@
|
|
1
|
+
name: Build and release ruby gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches: [ master ]
|
6
|
+
push:
|
7
|
+
workflow_dispatch:
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build-release-pipeline:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
container: ruby:2.7.2
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v2
|
15
|
+
- name: Setup
|
16
|
+
run: |
|
17
|
+
gem install bundler
|
18
|
+
bundle install
|
19
|
+
|
20
|
+
- name: Test
|
21
|
+
run: bundle exec rake
|
22
|
+
|
23
|
+
- name: Build
|
24
|
+
id: build
|
25
|
+
if: success() && github.ref == 'refs/heads/master'
|
26
|
+
run: |
|
27
|
+
bundle exec rake build
|
28
|
+
echo "::set-output name=gem_version::v$(bundle exec rake version)"
|
29
|
+
|
30
|
+
- name: Release
|
31
|
+
if: success() && github.ref == 'refs/heads/master'
|
32
|
+
run: |
|
33
|
+
mkdir -p $HOME/.gem
|
34
|
+
touch $HOME/.gem/credentials
|
35
|
+
chmod 600 $HOME/.gem/credentials
|
36
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
37
|
+
gem push pkg/*
|
38
|
+
env:
|
39
|
+
GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
|
40
|
+
|
41
|
+
- name: Tag repo with new gem version
|
42
|
+
if: success() && github.ref == 'refs/heads/master'
|
43
|
+
uses: actions/github-script@v3
|
44
|
+
with:
|
45
|
+
github-token: ${{ github.token }}
|
46
|
+
script: |
|
47
|
+
github.git.createRef({
|
48
|
+
owner: context.repo.owner,
|
49
|
+
repo: context.repo.repo,
|
50
|
+
ref: "refs/tags/${{ steps.build.outputs.gem_version }}",
|
51
|
+
sha: context.sha
|
52
|
+
})
|
53
|
+
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PacklinkLite
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.
|
3
|
+
[![Build Status](https://travis-ci.com/vinted/packlink_lite.svg?branch=master)](https://travis-ci.com/vinted/packlink_lite)
|
4
4
|
|
5
5
|
Packlink.com API client
|
6
6
|
|
@@ -62,7 +62,7 @@ PacklinkLite.change_tracking_callback_url(url)
|
|
62
62
|
|
63
63
|
## Contributing
|
64
64
|
|
65
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
65
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/vinted/packlink_lite.
|
66
66
|
|
67
67
|
|
68
68
|
## License
|
data/Rakefile
CHANGED
data/packlink_lite.gemspec
CHANGED
@@ -7,11 +7,11 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'packlink_lite'
|
8
8
|
spec.version = PacklinkLite::VERSION
|
9
9
|
spec.authors = ['Laurynas Butkus']
|
10
|
-
spec.email = ['
|
10
|
+
spec.email = ['backend@vinted.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Packlink.com API client}
|
13
13
|
spec.description = %q{Client to access packlink.com shipping API}
|
14
|
-
spec.homepage = 'https://github.com/
|
14
|
+
spec.homepage = 'https://github.com/vinted/packlink_lite'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packlink_lite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurynas Butkus
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -110,14 +110,14 @@ dependencies:
|
|
110
110
|
version: '0'
|
111
111
|
description: Client to access packlink.com shipping API
|
112
112
|
email:
|
113
|
-
-
|
113
|
+
- backend@vinted.com
|
114
114
|
executables: []
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
|
+
- ".github/workflows/build_release_action.yaml"
|
118
119
|
- ".gitignore"
|
119
120
|
- ".rspec"
|
120
|
-
- ".travis.yml"
|
121
121
|
- Gemfile
|
122
122
|
- LICENSE.txt
|
123
123
|
- README.md
|
@@ -135,7 +135,7 @@ files:
|
|
135
135
|
- lib/packlink_lite/tracking_history.rb
|
136
136
|
- lib/packlink_lite/version.rb
|
137
137
|
- packlink_lite.gemspec
|
138
|
-
homepage: https://github.com/
|
138
|
+
homepage: https://github.com/vinted/packlink_lite
|
139
139
|
licenses:
|
140
140
|
- MIT
|
141
141
|
metadata: {}
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
|
-
rubygems_version: 3.
|
157
|
+
rubygems_version: 3.1.4
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: Packlink.com API client
|