activestorage-validator 0.2.0 → 0.2.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: 581d8fd7eb76407a49d99929d0882eab59e29d193ca0200ffb871e32917fb8b6
4
- data.tar.gz: acc60f49380c73c732e23d56aed5b2fe399fdaac7567214c43b3d1fe9bc3a774
3
+ metadata.gz: 2e91fe85dc58067cd33e9e500608281525b5ca35db6a61b6045c5f546fb887f4
4
+ data.tar.gz: 2ac4c7e835d1bca3dbfab90585ae49fd9fc6188bf50de05ff342874e146bd733
5
5
  SHA512:
6
- metadata.gz: 55c2fc909292f0bbfb6f5a9a0c6a99f7a9eacddab0640bc3e49152a40b2bdfc63b501b4aa20a0f2fdd4c8b52b27041fa77ff90d21b4bc2a88284de60d142810a
7
- data.tar.gz: 6c0efaec232cd0ecc6b175e350427d55d02af366d45c2b668ed4f488a7447f5007e19a5ac6aab65bb9442f0f911b4d08ab9bba6b5e39207ed1765d87af007abb
6
+ metadata.gz: 96e12f5dbb2b2a00a3e377fde498d56e744ebf817d6b716a57b5d858c9b5f6ff9d06d5c06c13bcb240fb2ee7d7cbdffb01efa5f9a6bacd95b6de176a13b6b83b
7
+ data.tar.gz: 5f5acbc500f4b409e422eaeaf91f70f3ca75edc40f29d93083b0ea62bfd9f038450c6a241f7eb47f8e3418bbbb2eec5c0cc9a7d239e00c47657c133f925f239f
@@ -22,8 +22,11 @@ jobs:
22
22
  strategy:
23
23
  fail-fast: false
24
24
  matrix:
25
- ruby: [2.7, 3.0]
26
- gemfile: [rails60, rails61]
25
+ ruby: [2.7, '3.0', 3.1]
26
+ gemfile: [rails60, rails61, rails70]
27
+ exclude:
28
+ - ruby: 3.1
29
+ gemfile: rails60
27
30
  steps:
28
31
  - name: Install packages
29
32
  run: |
data/.gitignore CHANGED
@@ -10,5 +10,6 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  /Gemfile.lock
13
+ gemfiles/*.lock
13
14
  *.sqlite
14
15
  Gemfile.local
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## 0.2.1
4
+
5
+ - Add spanish locale (#28)
6
+
3
7
  ## 0.2.0
4
8
 
5
9
  - Drop support for rails 5.2
@@ -0,0 +1,7 @@
1
+ es:
2
+ activerecord:
3
+ errors:
4
+ messages:
5
+ content_type: "no es un formato válido"
6
+ min_size_error: "tamaño de archivo debe ser mayor a %{min_size}"
7
+ max_size_error: "tamaño de archivo debe ser menor a %{max_size}"
@@ -0,0 +1,6 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'rails', '~> 7.0.0'
4
+ gem 'sqlite3'
5
+
6
+ gemspec path: '../'
@@ -1,5 +1,5 @@
1
1
  module ActiveStorage
2
2
  module Validator
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activestorage-validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - aki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-11 00:00:00.000000000 Z
11
+ date: 2022-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -103,11 +103,13 @@ files:
103
103
  - config.ru
104
104
  - config/locales/de.yml
105
105
  - config/locales/en.yml
106
+ - config/locales/es.yml
106
107
  - config/locales/fr.yml
107
108
  - config/locales/ja.yml
108
109
  - config/locales/pt-br.yml
109
110
  - gemfiles/rails60.gemfile
110
111
  - gemfiles/rails61.gemfile
112
+ - gemfiles/rails70.gemfile
111
113
  - lib/activestorage/validator.rb
112
114
  - lib/activestorage/validator/blob.rb
113
115
  - lib/activestorage/validator/version.rb