tiddle 1.8.0 → 1.8.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/ruby.yml +3 -12
- data/.rubocop.yml +1 -61
- data/CHANGELOG.md +10 -0
- data/Dockerfile +1 -1
- data/docker-compose.yml +2 -1
- data/gemfiles/rails6.1.gemfile +1 -1
- data/gemfiles/rails7.0.gemfile +1 -1
- data/gemfiles/rails7.1.gemfile +7 -0
- data/lib/tiddle/version.rb +1 -1
- data/spec/support/backend.rb +4 -8
- data/tiddle.gemspec +2 -2
- metadata +11 -12
- data/gemfiles/rails5.2.gemfile +0 -7
- data/gemfiles/rails6.0.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f2ed0612bc75fa65d51698a55ee988a5c490a4d3effb5427dd4d1a28e6245dd
|
4
|
+
data.tar.gz: 427329473b539b834b336fa06b1d7ec2112a1518eee77ade08b82bbd7aefb2a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dc7f6abcdccab03224a92f2d7086afa8efa1b20f9fda55289028ccb5530ed930d0e0ed3ca56954fc25f376edad07d3bc0483dbeb69c0675ee7d7698f9786876
|
7
|
+
data.tar.gz: 2c061b3ecf31c7b75481f973ea947c1d722f8bb052b22b20cab86fc45417227d35deede8b91afd585935a4371ab44dfefbc72d3d3f3f872c6a2709c54fd8b722
|
data/.github/workflows/ruby.yml
CHANGED
@@ -12,26 +12,17 @@ jobs:
|
|
12
12
|
fail-fast: false
|
13
13
|
matrix:
|
14
14
|
gemfile:
|
15
|
-
- rails5.2
|
16
|
-
- rails6.0
|
17
15
|
- rails6.1
|
18
16
|
- rails7.0
|
17
|
+
- rails7.1
|
19
18
|
ruby:
|
20
|
-
- "2.7"
|
21
19
|
- "3.0"
|
22
20
|
- "3.1"
|
21
|
+
- "3.2"
|
22
|
+
- "3.3"
|
23
23
|
backend:
|
24
24
|
- active_record
|
25
25
|
- mongoid
|
26
|
-
exclude:
|
27
|
-
- gemfile: rails5.2
|
28
|
-
ruby: "3.0"
|
29
|
-
- gemfile: rails5.2
|
30
|
-
ruby: "3.1"
|
31
|
-
- gemfile: rails6.0
|
32
|
-
ruby: "3.1"
|
33
|
-
- gemfile: rails6.1
|
34
|
-
ruby: "3.1"
|
35
26
|
name: ${{ matrix.gemfile }}, ruby ${{ matrix.ruby }}, ${{ matrix.backend }}
|
36
27
|
runs-on: ubuntu-latest
|
37
28
|
env:
|
data/.rubocop.yml
CHANGED
@@ -8,6 +8,7 @@ AllCops:
|
|
8
8
|
- 'spec/spec_helper.rb'
|
9
9
|
- 'vendor/bundle/**/*'
|
10
10
|
SuggestExtensions: false
|
11
|
+
NewCops: enable
|
11
12
|
Style/StringLiterals:
|
12
13
|
Enabled: false
|
13
14
|
Style/Documentation:
|
@@ -25,64 +26,3 @@ Metrics/BlockLength:
|
|
25
26
|
- 'spec/**/*'
|
26
27
|
Metrics/MethodLength:
|
27
28
|
Max: 15
|
28
|
-
|
29
|
-
Gemspec/DeprecatedAttributeAssignment:
|
30
|
-
Enabled: true
|
31
|
-
Layout/SpaceBeforeBrackets:
|
32
|
-
Enabled: true
|
33
|
-
Lint/AmbiguousAssignment:
|
34
|
-
Enabled: true
|
35
|
-
Lint/DeprecatedConstants:
|
36
|
-
Enabled: true
|
37
|
-
Lint/DuplicateBranch:
|
38
|
-
Enabled: true
|
39
|
-
Lint/DuplicateRegexpCharacterClassElement:
|
40
|
-
Enabled: true
|
41
|
-
Lint/EmptyBlock:
|
42
|
-
Enabled: true
|
43
|
-
Lint/EmptyClass:
|
44
|
-
Enabled: true
|
45
|
-
Lint/LambdaWithoutLiteralBlock:
|
46
|
-
Enabled: true
|
47
|
-
Lint/NoReturnInBeginEndBlocks:
|
48
|
-
Enabled: true
|
49
|
-
Lint/NumberedParameterAssignment:
|
50
|
-
Enabled: true
|
51
|
-
Lint/OrAssignmentToConstant:
|
52
|
-
Enabled: true
|
53
|
-
Lint/RedundantDirGlobSort:
|
54
|
-
Enabled: true
|
55
|
-
Lint/SymbolConversion:
|
56
|
-
Enabled: true
|
57
|
-
Lint/ToEnumArguments:
|
58
|
-
Enabled: true
|
59
|
-
Lint/TripleQuotes:
|
60
|
-
Enabled: true
|
61
|
-
Lint/UnexpectedBlockArity:
|
62
|
-
Enabled: true
|
63
|
-
Lint/UnmodifiedReduceAccumulator:
|
64
|
-
Enabled: true
|
65
|
-
Style/ArgumentsForwarding:
|
66
|
-
Enabled: true
|
67
|
-
Style/CollectionCompact:
|
68
|
-
Enabled: true
|
69
|
-
Style/DocumentDynamicEvalDefinition:
|
70
|
-
Enabled: true
|
71
|
-
Style/EndlessMethod:
|
72
|
-
Enabled: true
|
73
|
-
Style/HashConversion:
|
74
|
-
Enabled: true
|
75
|
-
Style/HashExcept:
|
76
|
-
Enabled: true
|
77
|
-
Style/IfWithBooleanLiteralBranches:
|
78
|
-
Enabled: true
|
79
|
-
Style/NegatedIfElseCondition:
|
80
|
-
Enabled: true
|
81
|
-
Style/NilLambda:
|
82
|
-
Enabled: true
|
83
|
-
Style/RedundantArgument:
|
84
|
-
Enabled: true
|
85
|
-
Style/StringChars:
|
86
|
-
Enabled: true
|
87
|
-
Style/SwapValues:
|
88
|
-
Enabled: true
|
data/CHANGELOG.md
CHANGED
data/Dockerfile
CHANGED
data/docker-compose.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
version: "3.9"
|
2
2
|
services:
|
3
3
|
library:
|
4
|
+
platform: linux/x86_64
|
4
5
|
build:
|
5
6
|
context: .
|
6
7
|
stdin_open: true
|
@@ -12,7 +13,7 @@ services:
|
|
12
13
|
- redis
|
13
14
|
environment:
|
14
15
|
- REDIS_URL=redis://redis:6379/1
|
15
|
-
- BUNDLE_GEMFILE=gemfiles/rails7.
|
16
|
+
- BUNDLE_GEMFILE=gemfiles/rails7.1.gemfile
|
16
17
|
redis:
|
17
18
|
image: "redis:6-alpine"
|
18
19
|
command: redis-server
|
data/gemfiles/rails6.1.gemfile
CHANGED
data/gemfiles/rails7.0.gemfile
CHANGED
data/lib/tiddle/version.rb
CHANGED
data/spec/support/backend.rb
CHANGED
@@ -23,14 +23,10 @@ module Backend
|
|
23
23
|
# Do initial migration
|
24
24
|
path = File.expand_path("../rails_app_active_record/db/migrate/", File.dirname(__FILE__))
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
).migrate
|
31
|
-
else
|
32
|
-
ActiveRecord::MigrationContext.new(path).migrate
|
33
|
-
end
|
26
|
+
ActiveRecord::MigrationContext.new(
|
27
|
+
path,
|
28
|
+
ActiveRecord::SchemaMigration
|
29
|
+
).migrate
|
34
30
|
end
|
35
31
|
end
|
36
32
|
|
data/tiddle.gemspec
CHANGED
@@ -16,10 +16,10 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
|
-
spec.required_ruby_version = '>=
|
19
|
+
spec.required_ruby_version = '>= 3.0.0'
|
20
20
|
|
21
21
|
spec.add_dependency "devise", ">= 4.0.0.rc1", "< 5"
|
22
|
-
spec.add_dependency "activerecord", ">=
|
22
|
+
spec.add_dependency "activerecord", ">= 6.1.0"
|
23
23
|
spec.add_development_dependency "rake"
|
24
24
|
spec.add_development_dependency "rspec-rails"
|
25
25
|
spec.add_development_dependency "simplecov"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiddle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Niedzielski
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 6.1.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 6.1.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,7 +128,7 @@ dependencies:
|
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '0'
|
131
|
-
description:
|
131
|
+
description:
|
132
132
|
email:
|
133
133
|
- adamsunday@gmail.com
|
134
134
|
executables: []
|
@@ -148,10 +148,9 @@ files:
|
|
148
148
|
- Rakefile
|
149
149
|
- config/locales/en.yml
|
150
150
|
- docker-compose.yml
|
151
|
-
- gemfiles/rails5.2.gemfile
|
152
|
-
- gemfiles/rails6.0.gemfile
|
153
151
|
- gemfiles/rails6.1.gemfile
|
154
152
|
- gemfiles/rails7.0.gemfile
|
153
|
+
- gemfiles/rails7.1.gemfile
|
155
154
|
- lib/tiddle.rb
|
156
155
|
- lib/tiddle/model.rb
|
157
156
|
- lib/tiddle/model_name.rb
|
@@ -197,7 +196,7 @@ homepage: ''
|
|
197
196
|
licenses:
|
198
197
|
- MIT
|
199
198
|
metadata: {}
|
200
|
-
post_install_message:
|
199
|
+
post_install_message:
|
201
200
|
rdoc_options: []
|
202
201
|
require_paths:
|
203
202
|
- lib
|
@@ -205,15 +204,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
204
|
requirements:
|
206
205
|
- - ">="
|
207
206
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
207
|
+
version: 3.0.0
|
209
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
210
209
|
requirements:
|
211
210
|
- - ">="
|
212
211
|
- !ruby/object:Gem::Version
|
213
212
|
version: '0'
|
214
213
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
216
|
-
signing_key:
|
214
|
+
rubygems_version: 3.5.12
|
215
|
+
signing_key:
|
217
216
|
specification_version: 4
|
218
217
|
summary: Token authentication for Devise which supports multiple tokens per model
|
219
218
|
test_files:
|
data/gemfiles/rails5.2.gemfile
DELETED