weak_parameters 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -20
- data/lib/weak_parameters/base_validator.rb +1 -1
- data/lib/weak_parameters/version.rb +1 -1
- data/spec/requests/recipes_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eeea4e867c594c1a75ba205e0c6bf1038121afc5
|
|
4
|
+
data.tar.gz: 43331276b21d5828492bc965efa415847a9dc9dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58bd29edf5a084ba22db0fe3e10c0997cb12c59a17baa8cba1f7d83350dbeebcc78d20d82181cb71648736f7517e5efd1a8e35c3764c437ba0e88e29bb88b662
|
|
7
|
+
data.tar.gz: f8a5204ee8b78c6eb038437a17f6cf12b07379a48fb826eb6289c3e96947e1774677b4eee5bbd3eb476fcd5dcce83103b5ea5882de103fcde61107660ab77797
|
data/CHANGELOG.md
CHANGED
|
@@ -1,55 +1,58 @@
|
|
|
1
|
+
## 0.2.1
|
|
2
|
+
- Fix validtion bug on existence check
|
|
3
|
+
|
|
1
4
|
## 0.2.0
|
|
2
|
-
|
|
5
|
+
- Add strong options on validator DSL (Thx @yoshiori)
|
|
3
6
|
|
|
4
7
|
## 0.1.7
|
|
5
|
-
|
|
8
|
+
- Fix bug on missing `@path` variable (Thx @taka0125)
|
|
6
9
|
|
|
7
10
|
## 0.1.6
|
|
8
|
-
|
|
11
|
+
- Support nested parameters (Thx @mzp)
|
|
9
12
|
|
|
10
13
|
## 0.1.5
|
|
11
|
-
|
|
14
|
+
- Support `file` validator (#6)
|
|
12
15
|
|
|
13
16
|
## 0.1.4
|
|
14
|
-
|
|
17
|
+
- Tiny improvement about Validator#params
|
|
15
18
|
|
|
16
19
|
## 0.1.3
|
|
17
|
-
|
|
20
|
+
- Don't directly touch AC::Base, but do it via AS.on_load
|
|
18
21
|
|
|
19
22
|
## 0.1.2
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
- Add `:handler` option to customize failure behavior
|
|
24
|
+
- Fix bug around `float` validator with block
|
|
22
25
|
|
|
23
26
|
## 0.1.1
|
|
24
|
-
|
|
27
|
+
- Add `any` validator
|
|
25
28
|
|
|
26
29
|
## 0.1.0
|
|
27
|
-
|
|
30
|
+
- Add type checking to `string` validator
|
|
28
31
|
|
|
29
32
|
## 0.0.9
|
|
30
|
-
|
|
33
|
+
- Improve error message
|
|
31
34
|
|
|
32
35
|
## 0.0.8
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
- Add block support to all validators
|
|
37
|
+
- Add `float` validator
|
|
35
38
|
|
|
36
39
|
## 0.0.7
|
|
37
|
-
|
|
40
|
+
- Fix `integer` validator bug
|
|
38
41
|
|
|
39
42
|
## 0.0.6
|
|
40
|
-
|
|
43
|
+
- Change value handling in `:only` & `:except` checking
|
|
41
44
|
|
|
42
45
|
## 0.0.5
|
|
43
|
-
|
|
46
|
+
- Add `:only` & `:except` options
|
|
44
47
|
|
|
45
48
|
## 0.0.4
|
|
46
|
-
|
|
49
|
+
- Fix stored controller name for namespaced controller
|
|
47
50
|
|
|
48
51
|
## 0.0.3
|
|
49
|
-
|
|
52
|
+
- Fix type name bug
|
|
50
53
|
|
|
51
54
|
## 0.0.2
|
|
52
|
-
|
|
55
|
+
- Add `hash` & `boolean` validator
|
|
53
56
|
|
|
54
57
|
## 0.0.1
|
|
55
|
-
|
|
58
|
+
- Release the first version on 2013-06-07
|