grumlin 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 +4 -4
- data/.github/workflows/main.yml +67 -12
- data/.gitignore +1 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +1 -3
- data/docker-compose.yml +6 -0
- data/gremlin_server/Dockerfile +3 -0
- data/gremlin_server/tinkergraph-empty.properties +3 -0
- data/lib/grumlin/version.rb +1 -1
- metadata +7 -5
- data/Rakefile +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1696d48d04fdfc23de590598ed655a9d2fc59e66e87eb04c5cd579df3805f972
|
4
|
+
data.tar.gz: cfa3d4f3ce67d35d5d1b0e5af78024ddb3461b9f4272b1a49015a3527fcc85f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b8df1e4b6c02d874c9659d7c506704d21f9cfaf419c427c3e00378e3b8a3f3ca30ad53e04b0e6b18dc9161302ed63ddcfcd4df6948edd777beba435424fcf5
|
7
|
+
data.tar.gz: c6b0ad7814fdefa25909c4c008ead2a130e807760eed5528d728e854ea88e2c08dbcd9dd5c30caec2c737178285e6c929c0348cf24ce01e4468c09ce72a3723d
|
data/.github/workflows/main.yml
CHANGED
@@ -1,18 +1,73 @@
|
|
1
1
|
name: Ruby
|
2
2
|
|
3
|
-
on: [push,pull_request]
|
3
|
+
on: [push, pull_request]
|
4
4
|
|
5
5
|
jobs:
|
6
|
-
|
6
|
+
lint:
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
steps:
|
9
|
-
|
10
|
-
|
11
|
-
uses: ruby/setup-ruby@v1
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
9
|
+
- uses: actions/checkout@v2
|
10
|
+
|
11
|
+
- uses: ruby/setup-ruby@v1
|
12
|
+
with:
|
13
|
+
ruby-version: 3.0
|
14
|
+
bundler-cache: true
|
15
|
+
|
16
|
+
- name: Run the default task
|
17
|
+
run: |
|
18
|
+
gem install bundler -v 2.2.15
|
19
|
+
bundle install
|
20
|
+
bundle exec rubocop
|
21
|
+
test:
|
22
|
+
runs-on: ubuntu-latest
|
23
|
+
strategy:
|
24
|
+
matrix:
|
25
|
+
ruby: [2.6, 2.7, 3.0]
|
26
|
+
steps:
|
27
|
+
- uses: actions/checkout@v2
|
28
|
+
|
29
|
+
- uses: ruby/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
bundler-cache: true
|
33
|
+
|
34
|
+
- name: Start Gremlin server
|
35
|
+
run: |
|
36
|
+
docker-compose up -d --build
|
37
|
+
sleep 3
|
38
|
+
|
39
|
+
- name: Install deps
|
40
|
+
run: |
|
41
|
+
gem install bundler -v 2.2.15
|
42
|
+
bundle install
|
43
|
+
|
44
|
+
- name: Run tests
|
45
|
+
run: bundle exec rspec
|
46
|
+
publish:
|
47
|
+
runs-on: ubuntu-latest
|
48
|
+
needs:
|
49
|
+
- lint
|
50
|
+
- test
|
51
|
+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
52
|
+
steps:
|
53
|
+
- uses: actions/checkout@v2
|
54
|
+
|
55
|
+
- uses: ruby/setup-ruby@v1
|
56
|
+
with:
|
57
|
+
ruby-version: 3.0
|
58
|
+
bundler-cache: true
|
59
|
+
|
60
|
+
- name: Build gem
|
61
|
+
run: gem build
|
62
|
+
|
63
|
+
- name: Create credentials
|
64
|
+
run: |
|
65
|
+
mkdir ~/.gem
|
66
|
+
cat << EOF > ~/.gem/credentials
|
67
|
+
---
|
68
|
+
:rubygems_api_key: ${{ secrets.rubygems_api_key }}
|
69
|
+
EOF
|
70
|
+
chmod 0600 /home/runner/.gem/credentials
|
71
|
+
|
72
|
+
- name: Push gem
|
73
|
+
run: gem push *gem
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
grumlin (0.1.
|
4
|
+
grumlin (0.1.1)
|
5
5
|
async-websocket (~> 0.18)
|
6
6
|
|
7
7
|
GEM
|
@@ -74,7 +74,6 @@ GEM
|
|
74
74
|
protocol-http1 (~> 0.2)
|
75
75
|
racc (1.5.2)
|
76
76
|
rainbow (3.0.0)
|
77
|
-
rake (13.0.3)
|
78
77
|
regexp_parser (2.1.1)
|
79
78
|
reverse_markdown (2.0.0)
|
80
79
|
nokogiri
|
@@ -150,7 +149,6 @@ DEPENDENCIES
|
|
150
149
|
async-rspec
|
151
150
|
factory_bot
|
152
151
|
grumlin!
|
153
|
-
rake
|
154
152
|
rspec
|
155
153
|
rubocop
|
156
154
|
rubocop-performance
|
data/docker-compose.yml
ADDED
data/lib/grumlin/version.rb
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grumlin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Sinyavskiy
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-05-27 00:00:00.000000000 Z
|
@@ -41,10 +41,12 @@ files:
|
|
41
41
|
- Gemfile.lock
|
42
42
|
- LICENSE.txt
|
43
43
|
- README.md
|
44
|
-
- Rakefile
|
45
44
|
- bin/console
|
46
45
|
- bin/setup
|
47
46
|
- bin/stress
|
47
|
+
- docker-compose.yml
|
48
|
+
- gremlin_server/Dockerfile
|
49
|
+
- gremlin_server/tinkergraph-empty.properties
|
48
50
|
- grumlin.gemspec
|
49
51
|
- lib/grumlin.rb
|
50
52
|
- lib/grumlin/client.rb
|
@@ -64,7 +66,7 @@ metadata:
|
|
64
66
|
homepage_uri: https://github.com/zhulik/grumlin
|
65
67
|
source_code_uri: https://github.com/zhulik/grumlin
|
66
68
|
changelog_uri: https://github.com/zhulik/grumlin/blob/master/CHANGELOG.md
|
67
|
-
post_install_message:
|
69
|
+
post_install_message:
|
68
70
|
rdoc_options: []
|
69
71
|
require_paths:
|
70
72
|
- lib
|
@@ -80,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
82
|
version: '0'
|
81
83
|
requirements: []
|
82
84
|
rubygems_version: 3.2.15
|
83
|
-
signing_key:
|
85
|
+
signing_key:
|
84
86
|
specification_version: 4
|
85
87
|
summary: A ruby client for Gremlin query language.
|
86
88
|
test_files: []
|