sql_fingerprint 0.1.0 → 0.2.0
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 +0 -1
- data/.ruby-version +1 -0
- data/Gemfile +0 -3
- data/Gemfile.lock +18 -18
- data/Rakefile +4 -0
- data/lib/sql_fingerprint/version.rb +1 -1
- data/sql_fingerprint.gemspec +4 -4
- metadata +13 -15
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 495ad0fffd2e8cbac8ed950172341f5267d6e945f366474842059f1bed82b436
|
4
|
+
data.tar.gz: 1b688ec6afd79bcdf66fef89fa639e5135afe83133975292dbbc97f0269cf508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f630ae26fa9ad91574b94bef1abd75a78d25547dfecab2c83e2e30d4e52e3ac6abe46c2d3f000b97170d21afed14a41c3acfebb7750a0b75e2d2cca91c5bce
|
7
|
+
data.tar.gz: 0cc8fa8aacac6d916e4d89f45a172fd6c8e5b0475c216c1f40b89305ff4dd3eb081c0e28d9c558a92f234d863797804dcd25cf32ce459f6021329e8f257c7898
|
@@ -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/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.3
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sql_fingerprint (0.
|
4
|
+
sql_fingerprint (0.2.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
diff-lcs (1.
|
10
|
-
rake (
|
11
|
-
rspec (3.
|
12
|
-
rspec-core (~> 3.
|
13
|
-
rspec-expectations (~> 3.
|
14
|
-
rspec-mocks (~> 3.
|
15
|
-
rspec-core (3.
|
16
|
-
rspec-support (~> 3.
|
17
|
-
rspec-expectations (3.
|
9
|
+
diff-lcs (1.5.0)
|
10
|
+
rake (12.3.3)
|
11
|
+
rspec (3.11.0)
|
12
|
+
rspec-core (~> 3.11.0)
|
13
|
+
rspec-expectations (~> 3.11.0)
|
14
|
+
rspec-mocks (~> 3.11.0)
|
15
|
+
rspec-core (3.11.0)
|
16
|
+
rspec-support (~> 3.11.0)
|
17
|
+
rspec-expectations (3.11.0)
|
18
18
|
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
-
rspec-support (~> 3.
|
20
|
-
rspec-mocks (3.
|
19
|
+
rspec-support (~> 3.11.0)
|
20
|
+
rspec-mocks (3.11.0)
|
21
21
|
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
-
rspec-support (~> 3.
|
23
|
-
rspec-support (3.
|
22
|
+
rspec-support (~> 3.11.0)
|
23
|
+
rspec-support (3.11.0)
|
24
24
|
|
25
25
|
PLATFORMS
|
26
|
-
|
26
|
+
x86_64-linux
|
27
27
|
|
28
28
|
DEPENDENCIES
|
29
|
-
bundler
|
30
|
-
rake (~>
|
29
|
+
bundler
|
30
|
+
rake (~> 12.3)
|
31
31
|
rspec (~> 3.0)
|
32
32
|
sql_fingerprint!
|
33
33
|
|
34
34
|
BUNDLED WITH
|
35
|
-
|
35
|
+
2.2.32
|
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.
|
4
|
+
version: 0.2.0
|
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: 2022-03-30 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,15 +54,15 @@ 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
|
-
- ".
|
65
|
+
- ".ruby-version"
|
67
66
|
- CODE_OF_CONDUCT.md
|
68
67
|
- Gemfile
|
69
68
|
- Gemfile.lock
|
@@ -93,8 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
92
|
- !ruby/object:Gem::Version
|
94
93
|
version: '0'
|
95
94
|
requirements: []
|
96
|
-
|
97
|
-
rubygems_version: 2.6.11
|
95
|
+
rubygems_version: 3.1.4
|
98
96
|
signing_key:
|
99
97
|
specification_version: 4
|
100
98
|
summary: Abstracts SQL query and calculates fingerprint
|