ruby-miradore 3.3.9 → 3.3.10
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/Gemfile.lock +1 -1
- data/lib/ruby/miradore/version.rb +1 -1
- data/lib/ruby/miradore.rb +5 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5544643d4203ff31e5e1f670dd79edee4042c693329a6946e5d490e3c51a047
|
|
4
|
+
data.tar.gz: 27aa64da0c960fcc6134e84e8c226714c2679b4ee85783dc77da4edfcc7eaee9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f40c1ae482d458770d80f9e7897ca1168417c82431921844afaca8de19f1c83a293138974838a4059cba9941907f4171227a1b43ff3796c5d1de89236390da1
|
|
7
|
+
data.tar.gz: 9bb0a7dd28569eeeeada1d384007af37d57a1e66c4912014f539b82e157b4edf815ef564baa6453a97454e3942e0f7fee244cdb4a9ef642c640550c25ed36977
|
data/Gemfile.lock
CHANGED
data/lib/ruby/miradore.rb
CHANGED
|
@@ -64,6 +64,11 @@ module Ruby
|
|
|
64
64
|
# It won't use instance private method anymore. In order to keep consistency between Request and Device,User,Organization
|
|
65
65
|
# all call will happen the same way, creating a new instance.
|
|
66
66
|
# class << self
|
|
67
|
+
protected
|
|
68
|
+
|
|
69
|
+
def version
|
|
70
|
+
superclass == Object ? :request_v1 : :item_v1
|
|
71
|
+
end
|
|
67
72
|
|
|
68
73
|
private
|
|
69
74
|
|
|
@@ -90,10 +95,6 @@ module Ruby
|
|
|
90
95
|
{ error: "#{self.class.to_s.split("::").last}(s) not found", status: :not_found }
|
|
91
96
|
end
|
|
92
97
|
|
|
93
|
-
def version
|
|
94
|
-
superclass == Object ? :request_v1 : :item_v1
|
|
95
|
-
end
|
|
96
|
-
|
|
97
98
|
end
|
|
98
99
|
|
|
99
100
|
class Device < Request
|