boltless 1.1.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +28 -0
- data/Envfile +3 -0
- data/Makefile +31 -9
- data/Rakefile +0 -1
- data/docker-compose.yml +10 -9
- data/lib/boltless/extensions/connection_pool.rb +3 -3
- data/lib/boltless/request.rb +1 -1
- data/lib/boltless/version.rb +1 -1
- data/spec/boltless/extensions/connection_pool_spec.rb +4 -3
- data/spec/boltless/extensions/transactions_spec.rb +4 -4
- data/spec/boltless/extensions/utilities_spec.rb +2 -2
- data/spec/boltless/transaction_spec.rb +1 -1
- data/spec/boltless_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -51
- data/spec/support/helpers.rb +44 -0
- data/spec/support/suite_context.rb +11 -0
- metadata +53 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88dc165632f28b71d32b8fc06b253e66f1e6df7654234cc7a621399a7914b91a
|
4
|
+
data.tar.gz: 2830e7b2e4fb9dda29b664775b69c32d4d0e173d1497137d7e5a4fc2560cfe5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09a49bdc13725730c55646631a38eb9c9e0d3b22271ee31a7c946ea87014e688327a850ffbf1b346595fc22015c118eda2184f9ec49a5d3b9bb247e291a05960'
|
7
|
+
data.tar.gz: 8f63a6463ca18b9b7764e3d6e0e27526da64838a8ee20baba3ee63df44de9c122427a4af2d8e8be1e736d92055afa31e1811f51776dc3388c99241d629f99c9c
|
data/Dockerfile
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
FROM hausgold/ruby:2.5
|
2
|
+
MAINTAINER Hermann Mayer <hermann.mayer@hausgold.de>
|
3
|
+
|
4
|
+
# Update system gem
|
5
|
+
RUN gem update --system '3.3.26'
|
6
|
+
|
7
|
+
# Install system packages and the latest bundler
|
8
|
+
RUN apt-get update -yqqq && \
|
9
|
+
apt-get install -y \
|
10
|
+
build-essential locales sudo vim \
|
11
|
+
ca-certificates \
|
12
|
+
bash-completion inotify-tools && \
|
13
|
+
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && /usr/sbin/locale-gen && \
|
14
|
+
gem install bundler -v '~> 2.3.0' --no-document --no-prerelease
|
15
|
+
|
16
|
+
# Add new web user
|
17
|
+
RUN mkdir /app && \
|
18
|
+
adduser web --home /home/web --shell /bin/bash \
|
19
|
+
--disabled-password --gecos ""
|
20
|
+
COPY config/docker/* /home/web/
|
21
|
+
RUN chown web:web -R /app /home/web /usr/local/bundle && \
|
22
|
+
mkdir -p /home/web/.ssh
|
23
|
+
|
24
|
+
# Set the root password and grant root access to web
|
25
|
+
RUN echo 'root:root' | chpasswd
|
26
|
+
RUN echo 'web ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
27
|
+
|
28
|
+
WORKDIR /app
|
data/Envfile
ADDED
data/Makefile
CHANGED
@@ -23,11 +23,12 @@ MKDIR ?= mkdir
|
|
23
23
|
RM ?= rm
|
24
24
|
|
25
25
|
# Container binaries
|
26
|
-
BUNDLE ?= bundle
|
27
26
|
APPRAISAL ?= appraisal
|
27
|
+
BUNDLE ?= bundle
|
28
|
+
GUARD ?= guard
|
28
29
|
RAKE ?= rake
|
30
|
+
RSPEC ?= rspec
|
29
31
|
RUBOCOP ?= rubocop
|
30
|
-
GUARD ?= guard
|
31
32
|
YARD ?= yard
|
32
33
|
|
33
34
|
# Files
|
@@ -55,8 +56,11 @@ all:
|
|
55
56
|
# Boltless
|
56
57
|
#
|
57
58
|
# install Install the dependencies
|
58
|
-
#
|
59
|
+
# update Update the local Gemset dependencies
|
59
60
|
# clean Clean the dependencies
|
61
|
+
#
|
62
|
+
# test Run the whole test suite
|
63
|
+
# test-style Test the code styles
|
60
64
|
# watch Watch for code changes and rerun the test suite
|
61
65
|
#
|
62
66
|
# docs Generate the Ruby documentation of the library
|
@@ -76,6 +80,16 @@ install:
|
|
76
80
|
@$(call run-shell,$(BUNDLE) check || $(BUNDLE) install --path $(VENDOR_DIR))
|
77
81
|
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
|
78
82
|
|
83
|
+
update:
|
84
|
+
# Install the dependencies
|
85
|
+
@$(MKDIR) -p $(VENDOR_DIR)
|
86
|
+
@$(call run-shell,$(BUNDLE) update)
|
87
|
+
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) update)
|
88
|
+
|
89
|
+
watch: install .interactive
|
90
|
+
# Watch for code changes and rerun the test suite
|
91
|
+
@$(call run-shell,$(BUNDLE) exec $(GUARD))
|
92
|
+
|
79
93
|
test: \
|
80
94
|
test-specs \
|
81
95
|
test-style
|
@@ -87,7 +101,7 @@ test-specs:
|
|
87
101
|
$(TEST_GEMFILES): GEMFILE=$(@:test-%=%)
|
88
102
|
$(TEST_GEMFILES):
|
89
103
|
# Run the whole test suite ($(GEMFILE))
|
90
|
-
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) $(GEMFILE) $(
|
104
|
+
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) $(GEMFILE) $(RSPEC))
|
91
105
|
|
92
106
|
test-style: \
|
93
107
|
test-style-ruby
|
@@ -96,13 +110,13 @@ test-style-ruby:
|
|
96
110
|
# Run the static code analyzer (rubocop)
|
97
111
|
@$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a)
|
98
112
|
|
99
|
-
watch: install .interactive
|
100
|
-
# Watch for code changes and rerun the test suite
|
101
|
-
@$(call run-shell,$(BUNDLE) exec $(GUARD))
|
102
|
-
|
103
113
|
clean:
|
104
114
|
# Clean the dependencies
|
105
115
|
@$(RM) -rf $(VENDOR_DIR)
|
116
|
+
@$(RM) -rf $(GEMFILES_DIR)/vendor
|
117
|
+
@$(RM) -rf $(GEMFILES_DIR)/*.lock
|
118
|
+
@$(RM) -rf .bundle .yardoc coverage pkg Gemfile.lock doc/api \
|
119
|
+
.rspec_status
|
106
120
|
|
107
121
|
clean-containers:
|
108
122
|
# Clean running containers
|
@@ -110,7 +124,15 @@ ifeq ($(MAKE_ENV),docker)
|
|
110
124
|
@$(COMPOSE) down
|
111
125
|
endif
|
112
126
|
|
113
|
-
|
127
|
+
clean-images:
|
128
|
+
# Clean build images
|
129
|
+
ifeq ($(MAKE_ENV),docker)
|
130
|
+
@-$(DOCKER) images | $(GREP) $(shell basename "`pwd`") \
|
131
|
+
| $(AWK) '{ print $$3 }' \
|
132
|
+
| $(XARGS) -rn1 $(DOCKER) rmi -f
|
133
|
+
endif
|
134
|
+
|
135
|
+
distclean: clean clean-containers clean-images
|
114
136
|
|
115
137
|
shell:
|
116
138
|
# Run an interactive shell on the container
|
data/Rakefile
CHANGED
data/docker-compose.yml
CHANGED
@@ -1,14 +1,5 @@
|
|
1
1
|
version: "3"
|
2
2
|
services:
|
3
|
-
test:
|
4
|
-
image: ruby:2.7
|
5
|
-
network_mode: bridge
|
6
|
-
working_dir: /app
|
7
|
-
links:
|
8
|
-
- neo4j
|
9
|
-
volumes:
|
10
|
-
- .:/app
|
11
|
-
|
12
3
|
neo4j:
|
13
4
|
image: hausgold/neo4j:4.4
|
14
5
|
network_mode: bridge
|
@@ -18,3 +9,13 @@ services:
|
|
18
9
|
environment:
|
19
10
|
MDNS_HOSTNAME: neo4j.boltless.local
|
20
11
|
NEO4J_dbms_logs_http_enabled: 'true'
|
12
|
+
|
13
|
+
test:
|
14
|
+
build: .
|
15
|
+
env_file: Envfile
|
16
|
+
network_mode: bridge
|
17
|
+
working_dir: /app
|
18
|
+
volumes:
|
19
|
+
- .:/app
|
20
|
+
links:
|
21
|
+
- neo4j
|
@@ -59,9 +59,9 @@ module Boltless
|
|
59
59
|
raise e if @upstream_retry_count >= max_retries
|
60
60
|
|
61
61
|
logger.warn do
|
62
|
-
'> neo4j is unavailable, retry in 2 seconds' \
|
63
|
-
|
64
|
-
|
62
|
+
'> neo4j is unavailable, retry in 2 seconds ' \
|
63
|
+
"(#{@upstream_retry_count}/#{max_retries}, " \
|
64
|
+
"#{configuration.base_url})"
|
65
65
|
.colorize(:yellow)
|
66
66
|
end
|
67
67
|
sleep(retry_sleep)
|
data/lib/boltless/request.rb
CHANGED
@@ -58,7 +58,7 @@ module Boltless
|
|
58
58
|
@access_mode = mode = access_mode.to_s.upcase
|
59
59
|
unless %(READ WRITE).include? mode
|
60
60
|
raise ArgumentError, "Unknown access mode '#{access_mode}'. " \
|
61
|
-
|
61
|
+
"Use ':read' or ':write'."
|
62
62
|
end
|
63
63
|
|
64
64
|
@connection = connection
|
data/lib/boltless/version.rb
CHANGED
@@ -20,15 +20,16 @@ RSpec.describe Boltless::Extensions::ConnectionPool do
|
|
20
20
|
let(:action) { described_class.connection_pool }
|
21
21
|
let(:options) { action.checkout.default_options }
|
22
22
|
let(:auth) do
|
23
|
-
Base64.decode64(
|
24
|
-
options.headers['Authorization'].split(' ').last
|
25
|
-
).split(':')
|
23
|
+
Base64.decode64(options.headers['Authorization'].split.last).split(':')
|
26
24
|
end
|
27
25
|
|
26
|
+
# rubocop:disable RSpec/IdenticalEqualityAssertion because we want to
|
27
|
+
# check for a memoized result
|
28
28
|
it 'returns a memoized connection pool instance' do
|
29
29
|
expect(described_class.connection_pool).to \
|
30
30
|
be(described_class.connection_pool)
|
31
31
|
end
|
32
|
+
# rubocop:enable RSpec/IdenticalEqualityAssertion
|
32
33
|
|
33
34
|
it 'returns a HTTP client instance when requested' do
|
34
35
|
expect(action.checkout).to be_a(HTTP::Client)
|
@@ -96,7 +96,7 @@ RSpec.describe Boltless::Extensions::Transactions do
|
|
96
96
|
let(:statement) { statement_with_syntax_errors }
|
97
97
|
|
98
98
|
it 'returns nil' do
|
99
|
-
expect(action).to
|
99
|
+
expect(action).to be_nil
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
@@ -120,7 +120,7 @@ RSpec.describe Boltless::Extensions::Transactions do
|
|
120
120
|
let(:opts) { { access_mode: :read } }
|
121
121
|
|
122
122
|
it 'returns nil' do
|
123
|
-
expect(action).to
|
123
|
+
expect(action).to be_nil
|
124
124
|
end
|
125
125
|
end
|
126
126
|
end
|
@@ -193,7 +193,7 @@ RSpec.describe Boltless::Extensions::Transactions do
|
|
193
193
|
end
|
194
194
|
|
195
195
|
it 'returns nil' do
|
196
|
-
expect(action).to
|
196
|
+
expect(action).to be_nil
|
197
197
|
end
|
198
198
|
|
199
199
|
it 'rolls back the transaction (no data is written)' do
|
@@ -324,7 +324,7 @@ RSpec.describe Boltless::Extensions::Transactions do
|
|
324
324
|
end
|
325
325
|
|
326
326
|
it 'returns nil' do
|
327
|
-
expect(action).to
|
327
|
+
expect(action).to be_nil
|
328
328
|
end
|
329
329
|
|
330
330
|
it 'rolls back the transaction (no data is written)' do
|
@@ -207,7 +207,7 @@ RSpec.describe Boltless::Extensions::Utilities do
|
|
207
207
|
res = described_class.prepare_label(
|
208
208
|
[:a], [true, [false, ['"nice"', "o'neil"], nil]]
|
209
209
|
)
|
210
|
-
expect(res).to be_eql("A:False:True:`\"nice\"`:`O
|
210
|
+
expect(res).to be_eql("A:False:True:`\"nice\"`:`O'neil`")
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
@@ -302,7 +302,7 @@ RSpec.describe Boltless::Extensions::Utilities do
|
|
302
302
|
res = described_class.prepare_type(
|
303
303
|
[:a], [true, [false, ['"nice"', "o'neil"], nil], 1], 12.14
|
304
304
|
)
|
305
|
-
expect(res).to be_eql("1|A|FALSE|TRUE|`\"NICE\"`|`12.14`|`O
|
305
|
+
expect(res).to be_eql("1|A|FALSE|TRUE|`\"NICE\"`|`12.14`|`O'NEIL`")
|
306
306
|
end
|
307
307
|
end
|
308
308
|
|
data/spec/boltless_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -8,21 +8,8 @@ require 'active_support/core_ext/kernel/reporting'
|
|
8
8
|
require 'yaml'
|
9
9
|
require 'boltless'
|
10
10
|
|
11
|
-
#
|
12
|
-
|
13
|
-
Boltless.logger.level = :info
|
14
|
-
Boltless.reset_configuration!
|
15
|
-
# Check for CI in order to set the correct neo4j base URL
|
16
|
-
Boltless.configuration.base_url = 'http://neo4j.boltless.local:7474' \
|
17
|
-
unless ENV['GITHUB_ACTIONS'].nil?
|
18
|
-
end
|
19
|
-
|
20
|
-
# Clean neo4j database (nodes/relationships).
|
21
|
-
def clean_neo4j!
|
22
|
-
Boltless.logger.level = :error
|
23
|
-
Boltless.clear_database!
|
24
|
-
reset_boltless_config!
|
25
|
-
end
|
11
|
+
# Load all support helpers and shared examples
|
12
|
+
Dir[File.join(__dir__, 'support', '**', '*.rb')].sort.each { |f| require f }
|
26
13
|
|
27
14
|
RSpec.configure do |config|
|
28
15
|
# Enable flags like --only-failures and --next-failure
|
@@ -51,39 +38,3 @@ RSpec.configure do |config|
|
|
51
38
|
reset_boltless_config!
|
52
39
|
end
|
53
40
|
end
|
54
|
-
|
55
|
-
# Print some information
|
56
|
-
puts
|
57
|
-
puts <<DESC
|
58
|
-
-------------- Versions --------------
|
59
|
-
Ruby: #{RUBY_VERSION}
|
60
|
-
Active Support: #{ActiveSupport.version}
|
61
|
-
--------------------------------------
|
62
|
-
DESC
|
63
|
-
puts
|
64
|
-
|
65
|
-
# Fetch a file fixture by name/path.
|
66
|
-
#
|
67
|
-
# @param path [String, Symbol] the path to fetch
|
68
|
-
# @return [Pathname] the found file fixture
|
69
|
-
def file_fixture(path)
|
70
|
-
Pathname.new(File.expand_path(File.join(__dir__, "fixtures/files/#{path}")))
|
71
|
-
end
|
72
|
-
|
73
|
-
# Return a neo4j raw result from a file fixture. It looks excatly like produced
|
74
|
-
# by +Boltless::Request#handle_response_body+.
|
75
|
-
#
|
76
|
-
# @param suffixes [Array<String, Symbol>] additional file suffixes, check the
|
77
|
-
# +spec/fixtures/files/+ directory for all available variants
|
78
|
-
def raw_result_fixture(*suffixes)
|
79
|
-
suffixes = suffixes.map(&:to_s).join('_')
|
80
|
-
suffixes = "_#{suffixes}" unless suffixes.empty?
|
81
|
-
file = "raw_result#{suffixes}.yml"
|
82
|
-
|
83
|
-
yml_meth = YAML.respond_to?(:unsafe_load) ? :unsafe_load : :load
|
84
|
-
res = YAML.send(yml_meth, file_fixture(file).read)
|
85
|
-
|
86
|
-
res = res.map(&:deep_symbolize_keys) if res.is_a? Array
|
87
|
-
res = res.deep_symbolize_keys if res.is_a? Hash
|
88
|
-
res
|
89
|
-
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Reset the gem configuration.
|
4
|
+
def reset_boltless_config!
|
5
|
+
Boltless.logger.level = :info
|
6
|
+
Boltless.reset_configuration!
|
7
|
+
# Check for CI in order to set the correct neo4j base URL
|
8
|
+
Boltless.configuration.base_url = 'http://neo4j.boltless.local:7474' \
|
9
|
+
unless ENV['GITHUB_ACTIONS'].nil?
|
10
|
+
end
|
11
|
+
|
12
|
+
# Clean neo4j database (nodes/relationships).
|
13
|
+
def clean_neo4j!
|
14
|
+
Boltless.logger.level = :error
|
15
|
+
Boltless.clear_database!
|
16
|
+
reset_boltless_config!
|
17
|
+
end
|
18
|
+
|
19
|
+
# Fetch a file fixture by name/path.
|
20
|
+
#
|
21
|
+
# @param path [String, Symbol] the path to fetch
|
22
|
+
# @return [Pathname] the found file fixture
|
23
|
+
def file_fixture(path)
|
24
|
+
Pathname.new(File.expand_path(File.join(__dir__,
|
25
|
+
"../fixtures/files/#{path}")))
|
26
|
+
end
|
27
|
+
|
28
|
+
# Return a neo4j raw result from a file fixture. It looks excatly like produced
|
29
|
+
# by +Boltless::Request#handle_response_body+.
|
30
|
+
#
|
31
|
+
# @param suffixes [Array<String, Symbol>] additional file suffixes, check the
|
32
|
+
# +spec/fixtures/files/+ directory for all available variants
|
33
|
+
def raw_result_fixture(*suffixes)
|
34
|
+
suffixes = suffixes.map(&:to_s).join('_')
|
35
|
+
suffixes = "_#{suffixes}" unless suffixes.empty?
|
36
|
+
file = "raw_result#{suffixes}.yml"
|
37
|
+
|
38
|
+
yml_meth = YAML.respond_to?(:unsafe_load) ? :unsafe_load : :load
|
39
|
+
res = YAML.send(yml_meth, file_fixture(file).read)
|
40
|
+
|
41
|
+
res = res.map(&:deep_symbolize_keys) if res.is_a? Array
|
42
|
+
res = res.deep_symbolize_keys if res.is_a? Hash
|
43
|
+
res
|
44
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Print some information
|
4
|
+
puts
|
5
|
+
puts <<DESC
|
6
|
+
-------------- Versions --------------
|
7
|
+
Ruby: #{"#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"}
|
8
|
+
Active Support: #{ActiveSupport.version}
|
9
|
+
--------------------------------------
|
10
|
+
DESC
|
11
|
+
puts
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boltless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.2
|
19
|
+
version: '5.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.2
|
26
|
+
version: '5.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: colorize
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.3'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
54
|
+
version: '2.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: fast_jsonparser
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,26 +86,26 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
89
|
+
version: '3.13'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
96
|
+
version: '3.13'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '13.0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '13.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
@@ -114,28 +114,28 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '2.
|
117
|
+
version: '2.6'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '2.
|
124
|
+
version: '2.6'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: appraisal
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '2.4'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '2.4'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: benchmark-ips
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,36 +154,30 @@ dependencies:
|
|
154
154
|
name: bundler
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '1.16'
|
160
|
-
- - "<"
|
157
|
+
- - "~>"
|
161
158
|
- !ruby/object:Gem::Version
|
162
|
-
version: '3'
|
159
|
+
version: '2.3'
|
163
160
|
type: :development
|
164
161
|
prerelease: false
|
165
162
|
version_requirements: !ruby/object:Gem::Requirement
|
166
163
|
requirements:
|
167
|
-
- - "
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '1.16'
|
170
|
-
- - "<"
|
164
|
+
- - "~>"
|
171
165
|
- !ruby/object:Gem::Version
|
172
|
-
version: '3'
|
166
|
+
version: '2.3'
|
173
167
|
- !ruby/object:Gem::Dependency
|
174
168
|
name: countless
|
175
169
|
requirement: !ruby/object:Gem::Requirement
|
176
170
|
requirements:
|
177
171
|
- - "~>"
|
178
172
|
- !ruby/object:Gem::Version
|
179
|
-
version: '1.
|
173
|
+
version: '1.1'
|
180
174
|
type: :development
|
181
175
|
prerelease: false
|
182
176
|
version_requirements: !ruby/object:Gem::Requirement
|
183
177
|
requirements:
|
184
178
|
- - "~>"
|
185
179
|
- !ruby/object:Gem::Version
|
186
|
-
version: '1.
|
180
|
+
version: '1.1'
|
187
181
|
- !ruby/object:Gem::Dependency
|
188
182
|
name: guard-rspec
|
189
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,28 +212,28 @@ dependencies:
|
|
218
212
|
requirements:
|
219
213
|
- - "~>"
|
220
214
|
- !ruby/object:Gem::Version
|
221
|
-
version: '3.
|
215
|
+
version: '3.12'
|
222
216
|
type: :development
|
223
217
|
prerelease: false
|
224
218
|
version_requirements: !ruby/object:Gem::Requirement
|
225
219
|
requirements:
|
226
220
|
- - "~>"
|
227
221
|
- !ruby/object:Gem::Version
|
228
|
-
version: '3.
|
222
|
+
version: '3.12'
|
229
223
|
- !ruby/object:Gem::Dependency
|
230
224
|
name: rubocop
|
231
225
|
requirement: !ruby/object:Gem::Requirement
|
232
226
|
requirements:
|
233
227
|
- - "~>"
|
234
228
|
- !ruby/object:Gem::Version
|
235
|
-
version: '1.
|
229
|
+
version: '1.28'
|
236
230
|
type: :development
|
237
231
|
prerelease: false
|
238
232
|
version_requirements: !ruby/object:Gem::Requirement
|
239
233
|
requirements:
|
240
234
|
- - "~>"
|
241
235
|
- !ruby/object:Gem::Version
|
242
|
-
version: '1.
|
236
|
+
version: '1.28'
|
243
237
|
- !ruby/object:Gem::Dependency
|
244
238
|
name: rubocop-rails
|
245
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -272,42 +266,42 @@ dependencies:
|
|
272
266
|
name: simplecov
|
273
267
|
requirement: !ruby/object:Gem::Requirement
|
274
268
|
requirements:
|
275
|
-
- - "
|
269
|
+
- - ">="
|
276
270
|
- !ruby/object:Gem::Version
|
277
|
-
version: '0.
|
271
|
+
version: '0.22'
|
278
272
|
type: :development
|
279
273
|
prerelease: false
|
280
274
|
version_requirements: !ruby/object:Gem::Requirement
|
281
275
|
requirements:
|
282
|
-
- - "
|
276
|
+
- - ">="
|
283
277
|
- !ruby/object:Gem::Version
|
284
|
-
version: '0.
|
278
|
+
version: '0.22'
|
285
279
|
- !ruby/object:Gem::Dependency
|
286
280
|
name: yard
|
287
281
|
requirement: !ruby/object:Gem::Requirement
|
288
282
|
requirements:
|
289
|
-
- - "
|
283
|
+
- - ">="
|
290
284
|
- !ruby/object:Gem::Version
|
291
|
-
version: 0.9.
|
285
|
+
version: 0.9.28
|
292
286
|
type: :development
|
293
287
|
prerelease: false
|
294
288
|
version_requirements: !ruby/object:Gem::Requirement
|
295
289
|
requirements:
|
296
|
-
- - "
|
290
|
+
- - ">="
|
297
291
|
- !ruby/object:Gem::Version
|
298
|
-
version: 0.9.
|
292
|
+
version: 0.9.28
|
299
293
|
- !ruby/object:Gem::Dependency
|
300
294
|
name: yard-activesupport-concern
|
301
295
|
requirement: !ruby/object:Gem::Requirement
|
302
296
|
requirements:
|
303
|
-
- - "
|
297
|
+
- - ">="
|
304
298
|
- !ruby/object:Gem::Version
|
305
299
|
version: 0.0.1
|
306
300
|
type: :development
|
307
301
|
prerelease: false
|
308
302
|
version_requirements: !ruby/object:Gem::Requirement
|
309
303
|
requirements:
|
310
|
-
- - "
|
304
|
+
- - ">="
|
311
305
|
- !ruby/object:Gem::Version
|
312
306
|
version: 0.0.1
|
313
307
|
description: neo4j driver, via the HTTP API
|
@@ -317,6 +311,8 @@ executables: []
|
|
317
311
|
extensions: []
|
318
312
|
extra_rdoc_files: []
|
319
313
|
files:
|
314
|
+
- Dockerfile
|
315
|
+
- Envfile
|
320
316
|
- Gemfile
|
321
317
|
- Guardfile
|
322
318
|
- Makefile
|
@@ -359,10 +355,18 @@ files:
|
|
359
355
|
- spec/fixtures/files/raw_result_with_meta.yml
|
360
356
|
- spec/fixtures/files/raw_result_with_stats.yml
|
361
357
|
- spec/spec_helper.rb
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
358
|
+
- spec/support/helpers.rb
|
359
|
+
- spec/support/suite_context.rb
|
360
|
+
homepage:
|
361
|
+
licenses:
|
362
|
+
- MIT
|
363
|
+
metadata:
|
364
|
+
homepage_uri: https://github.com/hausgold/boltless
|
365
|
+
source_code_uri: https://github.com/hausgold/boltless
|
366
|
+
changelog_uri: https://github.com/hausgold/boltless/blob/master/CHANGELOG.md
|
367
|
+
bug_tracker_uri: https://github.com/hausgold/boltless/issues
|
368
|
+
documentation_uri: https://www.rubydoc.info/gems/boltless
|
369
|
+
post_install_message:
|
366
370
|
rdoc_options: []
|
367
371
|
require_paths:
|
368
372
|
- lib
|
@@ -377,8 +381,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
377
381
|
- !ruby/object:Gem::Version
|
378
382
|
version: '0'
|
379
383
|
requirements: []
|
380
|
-
rubygems_version: 3.3.
|
381
|
-
signing_key:
|
384
|
+
rubygems_version: 3.3.26
|
385
|
+
signing_key:
|
382
386
|
specification_version: 4
|
383
387
|
summary: neo4j driver, via the HTTP API
|
384
388
|
test_files: []
|