rails_admin_settings 0.7.2 → 0.7.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 908dcd24b950848fd0f8b1a5fce547058ee042f7
|
4
|
+
data.tar.gz: 549e88df99639d5d23af8c85694a15aee17be356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9cfe2dd187e70566acebc5d862781e553b85f89fb6ce5c2e1e08ca14a13cd2840b7e839d439ac2d552c2c596c5ca0ec6d20c57e476510b566e73e79b27fc6ea
|
7
|
+
data.tar.gz: 99178fd67c8bbf9718b5d3cd29ad4e497638c48bc552b0cdaf9155ef4d94a8161aeb429e6844f9418192923749b875d278233f31cb072b8d83fd823131c06fb6
|
@@ -20,8 +20,9 @@ module RailsAdminSettings
|
|
20
20
|
else
|
21
21
|
base.has_mongoid_attached_file(:file, path: "#{File.dirname(__FILE__)}/../../uploads/:filename", url: '/uploads/:filename')
|
22
22
|
end
|
23
|
-
base.
|
24
|
-
|
23
|
+
if base.respond_to?(:do_not_validate_attachment_file_type)
|
24
|
+
base.do_not_validate_attachment_file_type :file
|
25
|
+
end
|
25
26
|
|
26
27
|
Settings.file_uploads_supported = true
|
27
28
|
Settings.file_uploads_engine = :paperclip
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
|
31
31
|
spec.add_development_dependency "safe_yaml", "~> 1.0.0"
|
32
32
|
spec.add_development_dependency "russian_phone", "~> 0.3.2"
|
33
|
-
spec.add_development_dependency "sanitize", "~> 2.0
|
33
|
+
spec.add_development_dependency "sanitize", "~> 2.1.0"
|
34
34
|
spec.add_development_dependency "validates_email_format_of", "~> 1.5.3"
|
35
35
|
spec.add_development_dependency "geocoder", "~> 1.1.6"
|
36
36
|
spec.add_development_dependency "addressable", "~> 2.3.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Tv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - ~>
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.0
|
159
|
+
version: 2.1.0
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - ~>
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 2.0
|
166
|
+
version: 2.1.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: validates_email_format_of
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|