comply 1.5.2 → 1.7.0
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: f2093d423f8fa4b54e49b7122e1ea13c93aa7b2a
|
4
|
+
data.tar.gz: 87d69cb316312e9a4d34754e3ae2822c3b6468f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07d31a395dbf14779c2055b78feabdfce488b2a6fa9a40a52ed62317e40d119719fb4c5bd3a404f6899b42a72b7bfa71efeda7f8a6fce80954a67646427b90d2
|
7
|
+
data.tar.gz: 4841e13268f817816b740765004280724a9289d20cfa8e5d857f7f8c70e997f67880d5bd1957b220e6abd0a8b162a56d4eeae01653a3dabd40f9c0bbc750967d
|
@@ -5,8 +5,6 @@ end
|
|
5
5
|
|
6
6
|
module Comply
|
7
7
|
class ValidationsController < Comply::ApplicationController
|
8
|
-
ssl_allowed :show
|
9
|
-
|
10
8
|
before_filter :require_model, :require_fields
|
11
9
|
|
12
10
|
if ActiveModel.const_defined?(:ForbiddenAttributesProtection)
|
@@ -15,7 +13,7 @@ module Comply
|
|
15
13
|
|
16
14
|
def show
|
17
15
|
@instance = validation_instance
|
18
|
-
@instance.valid?
|
16
|
+
@instance.valid?(:comply)
|
19
17
|
render json: { error: @instance.errors }
|
20
18
|
end
|
21
19
|
|
data/lib/comply/version.rb
CHANGED
data/lib/comply.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comply
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "@jacobaweiss"
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2016-
|
15
|
+
date: 2016-08-19 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: coffee-rails
|
@@ -28,48 +28,20 @@ dependencies:
|
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0'
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: bartt-ssl_requirement
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
34
|
-
requirements:
|
35
|
-
- - "~>"
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 1.4.2
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
requirements:
|
42
|
-
- - "~>"
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 1.4.2
|
45
31
|
- !ruby/object:Gem::Dependency
|
46
32
|
name: rails
|
47
33
|
requirement: !ruby/object:Gem::Requirement
|
48
34
|
requirements:
|
49
|
-
- - "
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version: 3.2.0
|
52
|
-
type: :runtime
|
53
|
-
prerelease: false
|
54
|
-
version_requirements: !ruby/object:Gem::Requirement
|
55
|
-
requirements:
|
56
|
-
- - "~>"
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version: 3.2.0
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: strong_parameters
|
61
|
-
requirement: !ruby/object:Gem::Requirement
|
62
|
-
requirements:
|
63
|
-
- - "~>"
|
35
|
+
- - ">="
|
64
36
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0
|
37
|
+
version: '0'
|
66
38
|
type: :runtime
|
67
39
|
prerelease: false
|
68
40
|
version_requirements: !ruby/object:Gem::Requirement
|
69
41
|
requirements:
|
70
|
-
- - "
|
42
|
+
- - ">="
|
71
43
|
- !ruby/object:Gem::Version
|
72
|
-
version: 0
|
44
|
+
version: '0'
|
73
45
|
- !ruby/object:Gem::Dependency
|
74
46
|
name: pry-nav
|
75
47
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,4 +133,3 @@ signing_key:
|
|
161
133
|
specification_version: 4
|
162
134
|
summary: Inline validation of your ActiveRecord models via the AJAX internets
|
163
135
|
test_files: []
|
164
|
-
has_rdoc:
|