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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30c0de8dba83157b465e1455956272549e210830cc8fe296aec744b0d046ca1c
4
- data.tar.gz: 53652aefc5c51511b5f43df0c598ae6754e596e78a4be02aa01fa7e3dd40b95b
3
+ metadata.gz: 2f2ed0612bc75fa65d51698a55ee988a5c490a4d3effb5427dd4d1a28e6245dd
4
+ data.tar.gz: 427329473b539b834b336fa06b1d7ec2112a1518eee77ade08b82bbd7aefb2a8
5
5
  SHA512:
6
- metadata.gz: 1ac88d0e37967ad77c5f6b7ffa96646910c90be6cc8fc2d6adead616e73673b8601b2664a0851eec3fbc0eaa2e968a7b5cce7b5ffb89187ca4c77bb12ae6d875
7
- data.tar.gz: 55ceda21948c6ca6c872b863e22da925d00014625075a77e195f877f154b00ce31fe0a4e63c18a7e0c43b015a023617b4a33c6d4c23da95bee6f6652cc371a88
6
+ metadata.gz: 4dc7f6abcdccab03224a92f2d7086afa8efa1b20f9fda55289028ccb5530ed930d0e0ed3ca56954fc25f376edad07d3bc0483dbeb69c0675ee7d7698f9786876
7
+ data.tar.gz: 2c061b3ecf31c7b75481f973ea947c1d722f8bb052b22b20cab86fc45417227d35deede8b91afd585935a4371ab44dfefbc72d3d3f3f872c6a2709c54fd8b722
@@ -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
@@ -1,3 +1,13 @@
1
+ ### 1.8.1
2
+
3
+ Remove Rails 5.2 and 6.0 support
4
+
5
+ Remove Ruby 2.7 support
6
+
7
+ Add Rails 7.1 support
8
+
9
+ Add Ruby 3.2 and 3.3 support
10
+
1
11
  ### 1.8.0
2
12
 
3
13
  Support different touch interval based on expiration time (Daniel André da Silva)
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:3.1-alpine
1
+ FROM ruby:3.3-alpine
2
2
 
3
3
  RUN apk add build-base sqlite-dev tzdata git bash
4
4
  RUN gem update --system && gem install bundler
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.0.gemfile
16
+ - BUNDLE_GEMFILE=gemfiles/rails7.1.gemfile
16
17
  redis:
17
18
  image: "redis:6-alpine"
18
19
  command: redis-server
@@ -2,6 +2,6 @@ source "https://rubygems.org"
2
2
 
3
3
  gem "rails", "~> 6.1.0"
4
4
  gem "mongoid"
5
- gem "sqlite3"
5
+ gem "sqlite3", "~> 1.4"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@ source "https://rubygems.org"
2
2
 
3
3
  gem "rails", "~> 7.0.2"
4
4
  gem "mongoid"
5
- gem "sqlite3"
5
+ gem "sqlite3", "~> 1.4"
6
6
 
7
7
  gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "rails", "~> 7.1.3"
4
+ gem "mongoid"
5
+ gem "sqlite3", "~> 1.4"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module Tiddle
2
- VERSION = "1.8.0".freeze
2
+ VERSION = "1.8.1".freeze
3
3
  end
@@ -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
- if Gem::Requirement.new(">= 6.0.0") =~ Rails.gem_version
27
- ActiveRecord::MigrationContext.new(
28
- path,
29
- ActiveRecord::SchemaMigration
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 = '>= 2.7.0'
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", ">= 5.2.0"
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.0
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: 2023-04-18 00:00:00.000000000 Z
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: 5.2.0
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: 5.2.0
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: 2.7.0
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.1.6
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:
@@ -1,7 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 5.2.1"
4
- gem "mongoid", "~> 6"
5
- gem "sqlite3", "~> 1.3.13"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 6.0.0"
4
- gem "mongoid", "~> 7"
5
- gem "sqlite3"
6
-
7
- gemspec path: "../"