cyrax 0.6.0 → 0.6.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 +8 -8
- data/README.md +1 -1
- data/lib/cyrax/extensions/has_repository.rb +1 -1
- data/lib/cyrax/extensions/has_service.rb +5 -5
- data/lib/cyrax/repository.rb +5 -0
- data/lib/cyrax/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzIwOTAzYWY3MDAzOGIzMzgxYTNkNTAzNWQxYmIzZmVkZDZkYWVjYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGE0ZDNhZjAxYmU4MDIwNzhhOThiOWU1MzgwMmZhNmU2ZGRhYjI4NA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDcyNDVjNzA1ZTQxNTExMTk3NTA4ZWViMGYyZDk1MTc2N2MzYTc3OTM0MWIy
|
10
|
+
YmM5MzQ1MGQ4ZjRjYTQyNmQyNmNkOGZjODhmNDQ3Y2JiM2Q0OGJkZmQxMWU4
|
11
|
+
NDkzYTk1ZTQyMGU1NWQzODA4OWQwZGJlNTdmODQ0ZmMxOWFjYTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2IxOTZkMWZhNjQ2M2EzNDEwMTFhNGY5NGMwY2NlZmFiNTI5ZThjZDc1MTU4
|
14
|
+
ZTAyNmY3MDg3OWQ1NTg4YThjMTE5ZjEzYTI1NWYyYTU3MzgzNGE0YThmZjQy
|
15
|
+
ZmZhNmIxN2E2NDJiNWQxNzRiNmNmYzg3ZTkwZTcwMzZhOGVmYTU=
|
data/README.md
CHANGED
@@ -108,23 +108,23 @@ module Cyrax::Extensions
|
|
108
108
|
# DEPRECATED METHODS
|
109
109
|
def resource_scope
|
110
110
|
ActiveSupport::Deprecation.warn "#resource_scope inside Resource deprecated. Use repository.scope instead."
|
111
|
-
|
111
|
+
repository.scope
|
112
112
|
end
|
113
113
|
def build_collection
|
114
114
|
ActiveSupport::Deprecation.warn "#build_collection inside Resource deprecated. Use repository.find_all instead."
|
115
|
-
|
115
|
+
repository.find_all
|
116
116
|
end
|
117
117
|
def find_resource(id)
|
118
118
|
ActiveSupport::Deprecation.warn "#find_resource inside Resource deprecated. Use repository.find instead."
|
119
|
-
|
119
|
+
repository.find(id)
|
120
120
|
end
|
121
121
|
def save_resource(resource)
|
122
122
|
ActiveSupport::Deprecation.warn "#save_resource inside Resource deprecated. Use repository.save instead."
|
123
|
-
|
123
|
+
repository.save(resource)
|
124
124
|
end
|
125
125
|
def delete_resource(resource)
|
126
126
|
ActiveSupport::Deprecation.warn "#delete_resource inside Resource deprecated. Use repository.delete instead."
|
127
|
-
|
127
|
+
repository.delete(resource)
|
128
128
|
end
|
129
129
|
end
|
130
130
|
end
|
data/lib/cyrax/repository.rb
CHANGED
data/lib/cyrax/version.rb
CHANGED