Skip to content

Commit 4143b0c

Browse files
committed
version 2.5.1
1 parent 083339d commit 4143b0c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 2.5.1
2+
3+
- Do validate on directly assignment (#202)
4+
5+
```rb
6+
irb> Setting.default_locale = "foo"
7+
ActiveRecord::RecordInvalid: (Validation failed: Default locale is not included in [zh-CN, en, jp])
8+
```
9+
110
## 2.5.0
211

312
- Add `validates` options to special the Rails Validation for fields (#201)

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
rails-settings-cached (2.5.0)
4+
rails-settings-cached (2.5.1)
55
rails (>= 5.0.0)
66

77
GEM

lib/rails-settings/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RailsSettings
44
class << self
55
def version
6-
"2.5.0"
6+
"2.5.1"
77
end
88
end
99
end

0 commit comments

Comments
 (0)