rails_api_validation_errors 1.0.0 → 1.0.1

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
2
  SHA1:
3
- metadata.gz: c67df19656e245cb94ce548bb15cc5e0e9f45f49
4
- data.tar.gz: 616f41d59a76b0674d2de3839df632c039e2a439
3
+ metadata.gz: dc251d01b4ca23935db17a97ea26f4da07d696a1
4
+ data.tar.gz: 732876eb182c4388cc5d1864c853dd70f11b75bb
5
5
  SHA512:
6
- metadata.gz: 0d845967d8bb35854eb37a0bdab081eaebd9a3118bbe0723d94c8c101621b748582c30bc36873c60cba473418e5610c8f4ea3acca97ae54794ab9f899803329a
7
- data.tar.gz: 0e7f168c9c613c5bf466eed1bf65a19afbe065f352ebd3ed66a04340807595acbf1850d6c0272a91f54cb34722520a1d3f9f1675aed77cde6da4f129414fcda9
6
+ metadata.gz: 17230d3b0e73e78b99223ccfb77531cd22157026fe94ec9d95367d0606fdc677681b80fcb393b414e67077f5f038049f17d08dcc350cf440aa1d85ea11db0b61
7
+ data.tar.gz: 3797cc72d094f7bf1a4e2f0a0fa6d185efc8d3663d0e874c107858b903ebbac94c29742fa19f57b482ed44eb47ba53809499fb7a432f00cbfb74e71798be157e
@@ -7,6 +7,7 @@ module Rails::API::HashValidationErrors
7
7
  def use_hash_validation_errors(&block)
8
8
  ActiveModel::Errors.disable_translations
9
9
  yield
10
+ ensure
10
11
  ActiveModel::Errors.enable_translations
11
12
  end
12
13
 
@@ -1,3 +1,3 @@
1
1
  module RailsApiValidationErrors
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_api_validation_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moritz Lawitschka
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0'
39
+ version: 1.3.9
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0'
46
+ version: 1.3.9
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec-rails
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -51,9 +51,6 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '2.14'
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 2.14.0
57
54
  type: :development
58
55
  prerelease: false
59
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -61,9 +58,6 @@ dependencies:
61
58
  - - "~>"
62
59
  - !ruby/object:Gem::Version
63
60
  version: '2.14'
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: 2.14.0
67
61
  - !ruby/object:Gem::Dependency
68
62
  name: rr
69
63
  requirement: !ruby/object:Gem::Requirement
@@ -71,9 +65,6 @@ dependencies:
71
65
  - - "~>"
72
66
  - !ruby/object:Gem::Version
73
67
  version: '1.1'
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: 1.1.2
77
68
  type: :development
78
69
  prerelease: false
79
70
  version_requirements: !ruby/object:Gem::Requirement
@@ -81,9 +72,6 @@ dependencies:
81
72
  - - "~>"
82
73
  - !ruby/object:Gem::Version
83
74
  version: '1.1'
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- version: 1.1.2
87
75
  - !ruby/object:Gem::Dependency
88
76
  name: simplecov
89
77
  requirement: !ruby/object:Gem::Requirement