replitdb 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/CHANGELOG.md +20 -3
- data/lib/replit.rb +1 -1
- data/lib/replit/database/version.rb +1 -1
- data/replitdb.gemspec +4 -1
- metadata +2 -9
- data/.editorconfig +0 -11
- data/.gitignore +0 -8
- data/.replit +0 -2
- data/.rubocop.yml +0 -29
- data/Rakefile +0 -21
- data/bin/console +0 -15
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e9d97ac82f22776b2e88dfcdb9cb6854639bdc5081f4b2ccb89b483d660d17e
|
4
|
+
data.tar.gz: 6a6e1b2eed63ca9b257f9fe24b0a43ff01453083f68588fcab5aa16742307058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2a5a132095971b80b164e94bb895af69f3412272951bc64c9d0930a69a64bca6b23a8fa4da640238695a7449eaa73c66e7ded570cff4612d9972d718390af48
|
7
|
+
data.tar.gz: c79367ef0b5a046229a6d314a29af13711e39f740200264844e48565b3d9060364e3b8c176c4aa9e8998bcd50bdda15057b403b2b80bfbd162e5bc9049692d6b
|
data/CHANGELOG.md
CHANGED
@@ -6,10 +6,27 @@ The format is based on [Keep a Changelog][Keep a Changelog] and this project adh
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
- Nothing at the moment.
|
10
|
+
|
9
11
|
---
|
10
12
|
|
11
13
|
## [Released]
|
12
14
|
|
15
|
+
## [0.1.0] - 2021-05-02
|
16
|
+
|
17
|
+
### Added
|
18
|
+
|
19
|
+
- All the default methods:
|
20
|
+
- `get(key)`
|
21
|
+
- `set(key, value)`
|
22
|
+
- `delete(key)`
|
23
|
+
- `list(prefix)`
|
24
|
+
- The extra methods from the official Node.js client:
|
25
|
+
- `empty()`
|
26
|
+
- `get_all()`
|
27
|
+
- `set_all(hash)`
|
28
|
+
- `delete_multiple(keys)`
|
29
|
+
|
13
30
|
---
|
14
31
|
|
15
32
|
<!-- Links -->
|
@@ -17,7 +34,7 @@ The format is based on [Keep a Changelog][Keep a Changelog] and this project adh
|
|
17
34
|
[Semantic Versioning]: https://semver.org/
|
18
35
|
|
19
36
|
<!-- Versions -->
|
20
|
-
[Unreleased]: https://github.com/janlindblom/ruby-replitdb/compare/
|
37
|
+
[Unreleased]: https://github.com/janlindblom/ruby-replitdb/compare/v0.1.0...HEAD
|
21
38
|
[Released]: https://github.com/janlindblom/ruby-replitdb/releases
|
22
|
-
[0.
|
23
|
-
[0.0
|
39
|
+
[0.1.1]: https://github.com/janlindblom/ruby-replitdb/compare/v0.1.0..v0.1.1
|
40
|
+
[0.1.0]: https://github.com/janlindblom/ruby-replitdb/releases/tag/v0.1.0
|
data/lib/replit.rb
CHANGED
data/replitdb.gemspec
CHANGED
@@ -20,7 +20,10 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.metadata["changelog_uri"] = "https://github.com/janlindblom/ruby-replitdb/blob/main/CHANGELOG.md"
|
21
21
|
|
22
22
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
-
`git ls-files -z`.split("\x0").reject { |f|
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f|
|
24
|
+
f.match(%r{\A(?:test|spec|features|.github|bin)/}) ||
|
25
|
+
f.match(%r{\A(?:.replit|Rakefile|.rubocop.yml|.gitignore|.editorconfig)})
|
26
|
+
}
|
24
27
|
end
|
25
28
|
spec.bindir = "exe"
|
26
29
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: replitdb
|
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
|
- Jan Lindblom
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -115,19 +115,12 @@ executables: []
|
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
|
-
- ".editorconfig"
|
119
|
-
- ".gitignore"
|
120
|
-
- ".replit"
|
121
|
-
- ".rubocop.yml"
|
122
118
|
- CHANGELOG.md
|
123
119
|
- CODE_OF_CONDUCT.md
|
124
120
|
- Gemfile
|
125
121
|
- Gemfile.lock
|
126
122
|
- LICENSE.txt
|
127
123
|
- README.md
|
128
|
-
- Rakefile
|
129
|
-
- bin/console
|
130
|
-
- bin/setup
|
131
124
|
- lib/replit.rb
|
132
125
|
- lib/replit/database.rb
|
133
126
|
- lib/replit/database/client.rb
|
data/.editorconfig
DELETED
data/.gitignore
DELETED
data/.replit
DELETED
data/.rubocop.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
require: rubocop-rake
|
2
|
-
|
3
|
-
AllCops:
|
4
|
-
TargetRubyVersion: 2.5
|
5
|
-
NewCops: enable
|
6
|
-
|
7
|
-
Style/StringLiterals:
|
8
|
-
Enabled: true
|
9
|
-
EnforcedStyle: double_quotes
|
10
|
-
|
11
|
-
Style/StringLiteralsInInterpolation:
|
12
|
-
Enabled: true
|
13
|
-
EnforcedStyle: double_quotes
|
14
|
-
|
15
|
-
Layout/EndOfLine:
|
16
|
-
Enabled: false
|
17
|
-
|
18
|
-
Naming/AccessorMethodName:
|
19
|
-
Enabled: false
|
20
|
-
|
21
|
-
Lint/ScriptPermission:
|
22
|
-
Enabled: false
|
23
|
-
|
24
|
-
Layout/LineLength:
|
25
|
-
Max: 120
|
26
|
-
|
27
|
-
Lint/SuppressedException:
|
28
|
-
Exclude:
|
29
|
-
- Rakefile
|
data/Rakefile
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "bundler/gem_tasks"
|
4
|
-
|
5
|
-
begin
|
6
|
-
require "rubocop/rake_task"
|
7
|
-
require "yard"
|
8
|
-
require "rspec/core/rake_task"
|
9
|
-
|
10
|
-
RSpec::Core::RakeTask.new(:spec)
|
11
|
-
|
12
|
-
RuboCop::RakeTask.new
|
13
|
-
|
14
|
-
YARD::Rake::YardocTask.new do |t|
|
15
|
-
t.files = ["lib/**/*.rb", "spec/**/*.rb"]
|
16
|
-
t.stats_options = ["--list-undoc"]
|
17
|
-
end
|
18
|
-
|
19
|
-
task default: :rubocop
|
20
|
-
rescue LoadError
|
21
|
-
end
|
data/bin/console
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
require "bundler/setup"
|
5
|
-
require "replit/database"
|
6
|
-
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
9
|
-
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
-
# require "pry"
|
12
|
-
# Pry.start
|
13
|
-
|
14
|
-
require "irb"
|
15
|
-
IRB.start(__FILE__)
|