activestorage-validator 0.1.2 → 0.1.3

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: e219b0a7a48931178b22053cfe7bcde70bd54b09ffe8845034366f18d984f964
4
- data.tar.gz: f7cf49daa5173000b4c7ad796e4df57d73b425bfdf0e6db6764e732228eea8ae
3
+ metadata.gz: d62b298ee77a1af7580dd1a780ee91c5ff145087a8dbc5721949c03a29df33c6
4
+ data.tar.gz: 287be031b1b25318e4459766cce0c1487ee69876006495aec9c6aa4c4007e3f1
5
5
  SHA512:
6
- metadata.gz: b15f5858646799dab6af1e050b080885265d9e1755c42b838b00a1f6461af23f08ffbb5d10b840515ea18f3b9477daa3ee596a993926d0c4b4d7a7f009ef7d01
7
- data.tar.gz: 4c3ffb53043130c2161a69391d1c3fd81c7e3c674612f34a148734793a95fc5862d4c2a4653c417920ad845c8c030f4c539fd141cd8cedfd73bb5e7473d375a1
6
+ metadata.gz: b9ab75bc93db61035575a9400eb8ff4c1b6d47f7d44a33c10aabf8d260ae40031625e00bacb0f8fe4e6488cb3797b309c6445923351b94362775917f6059acfc
7
+ data.tar.gz: '02621985bdb659307b03a4871d1931abdb75680a38a665a50bc3205e1148a0edf31cbad87dd501a6b215d37387b269ca12e885e39d73a18f5fc2f3f8575bef42'
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ /Gemfile.lock
@@ -1,3 +1,8 @@
1
+ ## 0.1.3
2
+
3
+ - Update dependency
4
+ - Add German locale
5
+
1
6
  ## 0.1.2
2
7
 
3
8
  - Fix typo
data/Gemfile CHANGED
@@ -6,3 +6,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6
6
  gemspec
7
7
 
8
8
  gem 'sqlite3'
9
+ gem 'rails', '5.2.3'
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency "rails", "~> 5.2.0"
27
- spec.add_development_dependency "bundler", "~> 1.16"
26
+ spec.add_dependency "rails", ">= 5.2.0"
27
+ spec.add_development_dependency "bundler", "~> 2.0"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
30
  end
@@ -0,0 +1,7 @@
1
+ de:
2
+ activerecord:
3
+ errors:
4
+ messages:
5
+ content_type: "ist kein gültiges Dateiformat"
6
+ min_size_error: "Dateigröße sollte weniger als %{min_size} betragen"
7
+ max_size_error: "Dateigröße sollte weniger als %{max_size} betragen"
@@ -1,5 +1,5 @@
1
1
  module ActiveStorage
2
2
  module Validator
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activestorage-validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - aki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-17 00:00:00.000000000 Z
11
+ date: 2019-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 5.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 5.2.0
27
27
  - !ruby/object:Gem::Dependency
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
33
+ version: '2.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.16'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -79,13 +79,13 @@ files:
79
79
  - CHANGELOG.md
80
80
  - CODE_OF_CONDUCT.md
81
81
  - Gemfile
82
- - Gemfile.lock
83
82
  - LICENSE.txt
84
83
  - README.md
85
84
  - Rakefile
86
85
  - activestorage-validator.gemspec
87
86
  - bin/console
88
87
  - bin/setup
88
+ - config/locales/de.yml
89
89
  - config/locales/en.yml
90
90
  - config/locales/ja.yml
91
91
  - lib/activestorage/validator.rb
@@ -110,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubyforge_project:
114
- rubygems_version: 2.7.6
113
+ rubygems_version: 3.0.3
115
114
  signing_key:
116
115
  specification_version: 4
117
116
  summary: ActiveStorage blob validator.
@@ -1,144 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- activestorage-validator (0.1.2)
5
- rails (~> 5.2.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (5.2.2)
11
- actionpack (= 5.2.2)
12
- nio4r (~> 2.0)
13
- websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.2)
15
- actionpack (= 5.2.2)
16
- actionview (= 5.2.2)
17
- activejob (= 5.2.2)
18
- mail (~> 2.5, >= 2.5.4)
19
- rails-dom-testing (~> 2.0)
20
- actionpack (5.2.2)
21
- actionview (= 5.2.2)
22
- activesupport (= 5.2.2)
23
- rack (~> 2.0)
24
- rack-test (>= 0.6.3)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.2)
28
- activesupport (= 5.2.2)
29
- builder (~> 3.1)
30
- erubi (~> 1.4)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.2)
34
- activesupport (= 5.2.2)
35
- globalid (>= 0.3.6)
36
- activemodel (5.2.2)
37
- activesupport (= 5.2.2)
38
- activerecord (5.2.2)
39
- activemodel (= 5.2.2)
40
- activesupport (= 5.2.2)
41
- arel (>= 9.0)
42
- activestorage (5.2.2)
43
- actionpack (= 5.2.2)
44
- activerecord (= 5.2.2)
45
- marcel (~> 0.3.1)
46
- activesupport (5.2.2)
47
- concurrent-ruby (~> 1.0, >= 1.0.2)
48
- i18n (>= 0.7, < 2)
49
- minitest (~> 5.1)
50
- tzinfo (~> 1.1)
51
- arel (9.0.0)
52
- builder (3.2.3)
53
- concurrent-ruby (1.1.4)
54
- crass (1.0.4)
55
- diff-lcs (1.3)
56
- erubi (1.7.1)
57
- globalid (0.4.1)
58
- activesupport (>= 4.2.0)
59
- i18n (1.2.0)
60
- concurrent-ruby (~> 1.0)
61
- loofah (2.2.3)
62
- crass (~> 1.0.2)
63
- nokogiri (>= 1.5.9)
64
- mail (2.7.1)
65
- mini_mime (>= 0.1.1)
66
- marcel (0.3.3)
67
- mimemagic (~> 0.3.2)
68
- method_source (0.9.2)
69
- mimemagic (0.3.2)
70
- mini_mime (1.0.1)
71
- mini_portile2 (2.4.0)
72
- minitest (5.11.3)
73
- nio4r (2.3.1)
74
- nokogiri (1.9.0)
75
- mini_portile2 (~> 2.4.0)
76
- rack (2.0.6)
77
- rack-test (1.1.0)
78
- rack (>= 1.0, < 3)
79
- rails (5.2.2)
80
- actioncable (= 5.2.2)
81
- actionmailer (= 5.2.2)
82
- actionpack (= 5.2.2)
83
- actionview (= 5.2.2)
84
- activejob (= 5.2.2)
85
- activemodel (= 5.2.2)
86
- activerecord (= 5.2.2)
87
- activestorage (= 5.2.2)
88
- activesupport (= 5.2.2)
89
- bundler (>= 1.3.0)
90
- railties (= 5.2.2)
91
- sprockets-rails (>= 2.0.0)
92
- rails-dom-testing (2.0.3)
93
- activesupport (>= 4.2.0)
94
- nokogiri (>= 1.6)
95
- rails-html-sanitizer (1.0.4)
96
- loofah (~> 2.2, >= 2.2.2)
97
- railties (5.2.2)
98
- actionpack (= 5.2.2)
99
- activesupport (= 5.2.2)
100
- method_source
101
- rake (>= 0.8.7)
102
- thor (>= 0.19.0, < 2.0)
103
- rake (10.5.0)
104
- rspec (3.8.0)
105
- rspec-core (~> 3.8.0)
106
- rspec-expectations (~> 3.8.0)
107
- rspec-mocks (~> 3.8.0)
108
- rspec-core (3.8.0)
109
- rspec-support (~> 3.8.0)
110
- rspec-expectations (3.8.1)
111
- diff-lcs (>= 1.2.0, < 2.0)
112
- rspec-support (~> 3.8.0)
113
- rspec-mocks (3.8.0)
114
- diff-lcs (>= 1.2.0, < 2.0)
115
- rspec-support (~> 3.8.0)
116
- rspec-support (3.8.0)
117
- sprockets (3.7.2)
118
- concurrent-ruby (~> 1.0)
119
- rack (> 1, < 3)
120
- sprockets-rails (3.2.1)
121
- actionpack (>= 4.0)
122
- activesupport (>= 4.0)
123
- sprockets (>= 3.0.0)
124
- sqlite3 (1.3.13)
125
- thor (0.20.3)
126
- thread_safe (0.3.6)
127
- tzinfo (1.2.5)
128
- thread_safe (~> 0.1)
129
- websocket-driver (0.7.0)
130
- websocket-extensions (>= 0.1.0)
131
- websocket-extensions (0.1.3)
132
-
133
- PLATFORMS
134
- ruby
135
-
136
- DEPENDENCIES
137
- activestorage-validator!
138
- bundler (~> 1.16)
139
- rake (~> 10.0)
140
- rspec (~> 3.0)
141
- sqlite3
142
-
143
- BUNDLED WITH
144
- 1.17.1