protip 0.32.2 → 0.33.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b00d08f38111e8b0182e50c6f4e452787d0f9168
|
4
|
+
data.tar.gz: 963dc1bde387ed8308925a2185a4f9b5d5494631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 736fe9fc7445f0fa83b608a142cd74001ef30b96304be7297f1653016fa795668cfc7685f0f4e2ca01047ab14fc033b41425e2f5e2ea0c5db8e9454cf850be31
|
7
|
+
data.tar.gz: 0ad6ab1ff91ff83179093f5dbdc71a776632c0147687e88819894525a90aaea5cfcf08637663d3927aa46681b89c62f3ae06545b19a96eda5b77da712dc699b8
|
data/lib/protip/resource.rb
CHANGED
@@ -353,12 +353,5 @@ module Protip
|
|
353
353
|
def errors
|
354
354
|
@errors ||= ActiveModel::Errors.new(self)
|
355
355
|
end
|
356
|
-
|
357
|
-
private
|
358
|
-
# needed for ActiveModel::Dirty in earlier ActiveModel versions
|
359
|
-
def changes_applied
|
360
|
-
@previously_changed = changes
|
361
|
-
@changed_attributes.clear
|
362
|
-
end
|
363
356
|
end
|
364
357
|
end
|
@@ -129,7 +129,7 @@ describe ::Protip::Transformers::PrimitivesTransformer do
|
|
129
129
|
end
|
130
130
|
|
131
131
|
it 'raises an exception if non-boolean values passed to a boolean field' do
|
132
|
-
[
|
132
|
+
['test', Object.new, 2, {}, []].each do |bad_value|
|
133
133
|
assert_raises TypeError do
|
134
134
|
transformer.to_message(bad_value, field)
|
135
135
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AngelList
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -16,40 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '6.0'
|
19
|
+
version: 5.2.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '6.0'
|
26
|
+
version: 5.2.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: activesupport
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - ">="
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '6.0'
|
33
|
+
version: 5.2.0
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
46
37
|
requirements:
|
47
38
|
- - ">="
|
48
39
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '6.0'
|
40
|
+
version: 5.2.0
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
42
|
name: google-protobuf
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
280
|
version: '0'
|
293
281
|
requirements: []
|
294
282
|
rubyforge_project:
|
295
|
-
rubygems_version: 2.5.
|
283
|
+
rubygems_version: 2.5.2.3
|
296
284
|
signing_key:
|
297
285
|
specification_version: 4
|
298
286
|
summary: Resources backed by protobuf messages
|