sql_fingerprint 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/build_release_pipeline.yaml +53 -0
- data/.gitignore +1 -1
- data/Gemfile +0 -3
- data/Rakefile +4 -0
- data/lib/sql_fingerprint/version.rb +1 -1
- data/sql_fingerprint.gemspec +4 -4
- metadata +12 -16
- data/.travis.yml +0 -5
- data/Gemfile.lock +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 55df33c0d1abce9e549c543975fc99ca26029875e21b516acf95015ea0e35d68
|
4
|
+
data.tar.gz: 1bc1eeb40d0876be2a327b74e825f8efebdbdb336de71c19339870116d0054ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eabcd053afaf6864bb46ae1a65f5957a5993486bfb7617aaae6c1c07474f1186a8c9635dc70c2555ee4aee5aec4ac26d59b701d88dfcadcd234a4bb4b3bae8f8
|
7
|
+
data.tar.gz: 80f7085c12c6262f85d0cd944ad708325a5b6dd540300f9ab38741efb41da707b976accf9cb3a535d33406d1e3f796937c77ed17fa4f9a7a5869a70d406bec2b
|
@@ -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/Gemfile
CHANGED
data/Rakefile
CHANGED
data/sql_fingerprint.gemspec
CHANGED
@@ -5,8 +5,8 @@ require 'sql_fingerprint/version'
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'sql_fingerprint'
|
7
7
|
spec.version = SqlFingerprint::VERSION
|
8
|
-
spec.authors = ['
|
9
|
-
spec.email = ['
|
8
|
+
spec.authors = ['Vinted']
|
9
|
+
spec.email = ['backend@vinted.com']
|
10
10
|
spec.summary = 'Abstracts SQL query and calculates fingerprint'
|
11
11
|
spec.homepage = 'https://github.com/vinted/sql_fingerprint'
|
12
12
|
spec.license = 'MIT'
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
|
-
spec.add_development_dependency 'bundler'
|
21
|
-
spec.add_development_dependency 'rake', '~>
|
20
|
+
spec.add_development_dependency 'bundler'
|
21
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
22
22
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
23
23
|
end
|
metadata
CHANGED
@@ -1,44 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sql_fingerprint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
- Tomas Didžiokas
|
7
|
+
- Vinted
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2021-04-09 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
|
-
- - "
|
17
|
+
- - ">="
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
19
|
+
version: '0'
|
21
20
|
type: :development
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
|
-
- - "
|
24
|
+
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
26
|
+
version: '0'
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
28
|
name: rake
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
31
30
|
requirements:
|
32
31
|
- - "~>"
|
33
32
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
33
|
+
version: '12.3'
|
35
34
|
type: :development
|
36
35
|
prerelease: false
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
38
37
|
requirements:
|
39
38
|
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
40
|
+
version: '12.3'
|
42
41
|
- !ruby/object:Gem::Dependency
|
43
42
|
name: rspec
|
44
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -55,18 +54,16 @@ dependencies:
|
|
55
54
|
version: '3.0'
|
56
55
|
description:
|
57
56
|
email:
|
58
|
-
-
|
59
|
-
- tomas.did@gmail.com
|
57
|
+
- backend@vinted.com
|
60
58
|
executables: []
|
61
59
|
extensions: []
|
62
60
|
extra_rdoc_files: []
|
63
61
|
files:
|
62
|
+
- ".github/workflows/build_release_pipeline.yaml"
|
64
63
|
- ".gitignore"
|
65
64
|
- ".rspec"
|
66
|
-
- ".travis.yml"
|
67
65
|
- CODE_OF_CONDUCT.md
|
68
66
|
- Gemfile
|
69
|
-
- Gemfile.lock
|
70
67
|
- LICENSE.txt
|
71
68
|
- README.md
|
72
69
|
- Rakefile
|
@@ -93,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
90
|
- !ruby/object:Gem::Version
|
94
91
|
version: '0'
|
95
92
|
requirements: []
|
96
|
-
|
97
|
-
rubygems_version: 2.6.11
|
93
|
+
rubygems_version: 3.1.4
|
98
94
|
signing_key:
|
99
95
|
specification_version: 4
|
100
96
|
summary: Abstracts SQL query and calculates fingerprint
|
data/.travis.yml
DELETED
data/Gemfile.lock
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
sql_fingerprint (0.1.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
diff-lcs (1.3)
|
10
|
-
rake (10.5.0)
|
11
|
-
rspec (3.7.0)
|
12
|
-
rspec-core (~> 3.7.0)
|
13
|
-
rspec-expectations (~> 3.7.0)
|
14
|
-
rspec-mocks (~> 3.7.0)
|
15
|
-
rspec-core (3.7.0)
|
16
|
-
rspec-support (~> 3.7.0)
|
17
|
-
rspec-expectations (3.7.0)
|
18
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
-
rspec-support (~> 3.7.0)
|
20
|
-
rspec-mocks (3.7.0)
|
21
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
-
rspec-support (~> 3.7.0)
|
23
|
-
rspec-support (3.7.0)
|
24
|
-
|
25
|
-
PLATFORMS
|
26
|
-
ruby
|
27
|
-
|
28
|
-
DEPENDENCIES
|
29
|
-
bundler (~> 1.16)
|
30
|
-
rake (~> 10.0)
|
31
|
-
rspec (~> 3.0)
|
32
|
-
sql_fingerprint!
|
33
|
-
|
34
|
-
BUNDLED WITH
|
35
|
-
1.16.0
|