Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit 49614af

Browse files
committed
fix
1 parent 5049add commit 49614af

20 files changed

+26
-266
lines changed

.travis.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,18 @@ language: ruby
22
sudo: false
33
cache: bundler
44
rvm:
5-
- 1.9.3
6-
- 2.0
7-
- 2.1
85
- 2.2.6
96
- 2.3.3
107
- 2.4.0
118
- ruby-head
129

1310
gemfile:
14-
- gemfiles/Gemfile-rails-4.0-stable
15-
- gemfiles/Gemfile-rails-4.1-stable
16-
- gemfiles/Gemfile-rails-4.2-stable
1711
- gemfiles/Gemfile-rails-5.0-stable
1812
- gemfiles/Gemfile-rails-5.1-stable
19-
- gemfiles/Gemfile-rails-4.0
20-
- gemfiles/Gemfile-rails-4.1
21-
- gemfiles/Gemfile-rails-4.2
2213
- gemfiles/Gemfile-rails-5.0
2314
- gemfiles/Gemfile-rails-5.1
2415

2516
matrix:
26-
exclude:
27-
- rvm: 1.9.3
28-
gemfile: gemfiles/Gemfile-rails-5.0
29-
- rvm: 1.9.3
30-
gemfile: gemfiles/Gemfile-rails-5.0-stable
31-
- rvm: 1.9.3
32-
gemfile: gemfiles/Gemfile-rails-5.1
33-
- rvm: 1.9.3
34-
gemfile: gemfiles/Gemfile-rails-5.1-stable
35-
- rvm: 2.0
36-
gemfile: gemfiles/Gemfile-rails-5.0
37-
- rvm: 2.0
38-
gemfile: gemfiles/Gemfile-rails-5.0-stable
39-
- rvm: 2.0
40-
gemfile: gemfiles/Gemfile-rails-5.1
41-
- rvm: 2.0
42-
gemfile: gemfiles/Gemfile-rails-5.1-stable
43-
- rvm: 2.1
44-
gemfile: gemfiles/Gemfile-rails-5.0
45-
- rvm: 2.1
46-
gemfile: gemfiles/Gemfile-rails-5.0-stable
47-
- rvm: 2.1
48-
gemfile: gemfiles/Gemfile-rails-5.1
49-
- rvm: 2.1
50-
gemfile: gemfiles/Gemfile-rails-5.1-stable
51-
5217
allow_failures:
5318
- rvm: ruby-head
5419

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
## 1.2.5
1+
## 1.3.0
22

3+
* Add Rails 5.1 support
34
* Dont require activerecord in non-activerecord environments
5+
* Drop support for Rails 4, it now only support Rails 5
46

57
## 1.2.4
68

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://rubygems.org'
22

3-
gem 'rails', '>=4.0'
3+
gem 'rails', '~>5.0'
44

55
gemspec

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
[![Build Status](https://api.travis-ci.org/westonganger/protected_attributes_continued.svg?branch=master)](https://travis-ci.org/westonganger/protected_attributes_continued)
44

5-
This is the community continued version of `protected_attributes`. This library is maintained and supports Rails 5+
6-
7-
I have created this gem and changed the name because the Rails team refuses to support the `protected_attributes` gem for Rails 5+. For people who would like to continue using this feature in their Rails 5+ apps lets continue here. This is in use successfully on number of my Rails 5 production apps.
5+
This is the community continued version of `protected_attributes`. It works with Rails 5 only and I recommend you only use it to support legacy portions of your application that you do not want to upgrade. Note that this feature was dropped by the Rails team and switched to strong_parameters because of security issues, just so you understand your risks. This is in use successfully in some of my Rails 5 apps in which security like this is a non-issue. For people who would like to continue using this feature in their Rails 5 apps lets continue the work here.
86

97
Protect attributes from mass-assignment in Active Record models.
108

gemfiles/Gemfile-rails-4.0

Lines changed: 0 additions & 17 deletions
This file was deleted.

gemfiles/Gemfile-rails-4.0-stable

Lines changed: 0 additions & 17 deletions
This file was deleted.

gemfiles/Gemfile-rails-4.1

Lines changed: 0 additions & 17 deletions
This file was deleted.

gemfiles/Gemfile-rails-4.1-stable

Lines changed: 0 additions & 17 deletions
This file was deleted.

gemfiles/Gemfile-rails-4.2

Lines changed: 0 additions & 17 deletions
This file was deleted.

gemfiles/Gemfile-rails-4.2-stable

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)