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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6baf5ccbed26227f68924f4fd6e771212d5453f8
4
- data.tar.gz: a9f6ad3d2403b258a0b6474c84ff106730424143
2
+ SHA256:
3
+ metadata.gz: 79951d02439eb2cfe02f21dfc8fbe347da0ccd679dfa9eea95200309b9ade9d1
4
+ data.tar.gz: 11b1625f62e6994c182095f681566b61e1cffd7820ea4f77dbe1d69fc16850af
5
5
  SHA512:
6
- metadata.gz: d2d121eafee9f87871559812c2d5b77fba805a91adcbd2fbb8271799a1612afac796823ac4b67cf9ff2dee6e6627fb745f7ea846457e43930aa452eb24b72bcd
7
- data.tar.gz: f2fc14f21bf83e8fb8dbd94dce17e8ec3ac6a92eb7db0df0fc1e7e18b6d1173e9f5b5e6f2649e9346b391b93a83b2659f81ee0a945a342e46e5e38266bb2dbc4
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
- before_filter :require_model, :require_fields
3
+ before_action :require_model, :require_fields
9
4
 
10
5
  if ActiveModel.const_defined?(:ForbiddenAttributesProtection)
11
6
  include ActiveModel::ForbiddenAttributesProtection
@@ -1,3 +1,3 @@
1
1
  module Comply
2
- VERSION = '1.9.0'
2
+ VERSION = '2.0.0.beta'
3
3
  end
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.9.0
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: 2016-10-10 00:00:00.000000000 Z
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: 3.2.0
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: 3.2.0
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: '0'
128
+ version: 1.3.1
129
129
  requirements: []
130
- rubyforge_project:
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: