model_driven_api 3.0.3 → 3.0.5

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: 5c61d71b8122987272cfb9b2cdac350cf2004f1795c06f51cbb55866313de9c4
4
- data.tar.gz: ce180be16c23ff2c77f11659c7637aac399febb827b8f0dad2d4093ff6ae1729
3
+ metadata.gz: 121cf90a81e77e493340b5349aead00f2511ffbb5ed9ae2ece60b1c42b5df179
4
+ data.tar.gz: 24eced53d7abec52c76ecd4ebf5185f3d66fc532c1c5cb08e0a84bcf71fa5916
5
5
  SHA512:
6
- metadata.gz: 9ffb7e199a5e4ace10e64120481778575221f037b7365bb3f481e70f26ea984b426575cdd0e3069ade1685269f2013220632d044b12ae52cc514876a77f62004
7
- data.tar.gz: 789fdbd33f72814b5d32683ff1e99221326ff71fb048e299ce93238ee32739b34969d1bf06a2d5ec9d084eda10a4618af235d806548112a81c5992137ed8979a
6
+ metadata.gz: 4dde33d3d868f96d4f3ae77087d627fbba457190c2114075129e6ab414379b6debdd4165be69b0c8795c138da100892d063c67f7acbe5655e52367b6c9f0bce3
7
+ data.tar.gz: bf614a1100e17e58c1380ebbdf1422687c2e78050abe970f38366c09365c304f70b3fa2af9ff565d5a89e62c55e7628999a0bb946d5346868044868106f40ef0
@@ -1,12 +1,12 @@
1
- class CreateUsedTokens < ActiveRecord::Migration[6.0]
1
+ class CreateUsedTokens < ActiveRecord::Migration[7.0]
2
2
  def change
3
- create_table :used_tokens do |t|
3
+ create_table :used_tokens, if_not_exists: true do |t|
4
4
  t.string :token
5
5
  t.references :user, null: false, foreign_key: true
6
6
  t.boolean :valid, default: true
7
7
 
8
8
  t.timestamps
9
9
  end
10
- add_index :used_tokens, :token, unique: true
10
+ add_index :used_tokens, :token, unique: true, if_not_exists: true
11
11
  end
12
12
  end
@@ -1,6 +1,6 @@
1
- class RenameValidToIsValidInUsedToken < ActiveRecord::Migration[6.0]
1
+ class RenameValidToIsValidInUsedToken < ActiveRecord::Migration[7.0]
2
2
  def change
3
- change_table :used_tokens do |t|
3
+ change_table :used_tokens, if_not_exists: true do |t|
4
4
  t.rename :valid, :is_valid
5
5
  end
6
6
  end
@@ -1,4 +1,3 @@
1
1
  module ModelDrivenApi
2
- VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`.chomp}"
3
- # VERSION = "3.0.0"
2
+ VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
4
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_driven_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_backend_commons