comply 1.9.0 → 2.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +0 -5
- data/app/controllers/comply/validations_controller.rb +1 -6
- data/lib/comply/version.rb +1 -1
- metadata +9 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 79951d02439eb2cfe02f21dfc8fbe347da0ccd679dfa9eea95200309b9ade9d1
|
4
|
+
data.tar.gz: 11b1625f62e6994c182095f681566b61e1cffd7820ea4f77dbe1d69fc16850af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0666d15222e8585ff5f6ca58d5b764ecc4f78ed03d243c493980b849a9094c712b3424345dcecb86748bc725faff274d0f9b7f8e7d36dc7dfc559418764974a
|
7
|
+
data.tar.gz: a5b290fc2732d251bc790137859e2f72794258e58095fc9d5ccef99dd426120d93a8d1178758467bef4b72f6ce94af09c9e4725993e97fee893741836365cc29
|
data/README.md
CHANGED
@@ -13,11 +13,6 @@ Include Comply in your gemfile:
|
|
13
13
|
```ruby
|
14
14
|
gem 'comply'
|
15
15
|
```
|
16
|
-
If you are using Rails 3, you need to include `strong_parameters`
|
17
|
-
```ruby
|
18
|
-
gem 'comply'
|
19
|
-
gem 'strong_parameters'
|
20
|
-
```
|
21
16
|
Mount the engine in your `routes.rb`:
|
22
17
|
```ruby
|
23
18
|
mount Comply::Engine => '/comply'
|
@@ -1,11 +1,6 @@
|
|
1
|
-
begin
|
2
|
-
require 'strong_parameters'
|
3
|
-
rescue LoadError
|
4
|
-
end
|
5
|
-
|
6
1
|
module Comply
|
7
2
|
class ValidationsController < Comply::ApplicationController
|
8
|
-
|
3
|
+
before_action :require_model, :require_fields
|
9
4
|
|
10
5
|
if ActiveModel.const_defined?(:ForbiddenAttributesProtection)
|
11
6
|
include ActiveModel::ForbiddenAttributesProtection
|
data/lib/comply/version.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:
|
4
|
+
version: 2.0.0.beta
|
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:
|
15
|
+
date: 2020-05-17 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: coffee-rails
|
@@ -60,16 +60,16 @@ dependencies:
|
|
60
60
|
name: rspec-rails
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- - "
|
63
|
+
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
65
|
+
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- - "
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
72
|
+
version: '0'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: sqlite3
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,14 +123,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- - "
|
126
|
+
- - ">"
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
128
|
+
version: 1.3.1
|
129
129
|
requirements: []
|
130
|
-
|
131
|
-
rubygems_version: 2.2.5
|
130
|
+
rubygems_version: 3.1.2
|
132
131
|
signing_key:
|
133
132
|
specification_version: 4
|
134
133
|
summary: Inline validation of your ActiveRecord models via the AJAX internets
|
135
134
|
test_files: []
|
136
|
-
has_rdoc:
|