softwear-lib 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/softwear/lib/api_controller.rb +7 -3
- data/lib/softwear/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 864b5c964defd38d95f0babe1f777872d7447a15
|
4
|
+
data.tar.gz: 81fd57e764ae6587640c8c3e440579fde2e9706d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a6cf094bc25f28d52bbf4cde74b1eeb7b2098676b0274196bb257b74bf6878afcc5f507d790f3f1b8ad24952e85afce323cb58453e87821e398af59d36c782
|
7
|
+
data.tar.gz: 9ca5a860d554af59229db8f9a1b7d663f27b72b0b3592638cc97fd132d511a0494456b49f9a4eb05bab7b6ae6d546486321d5397e29338279c4cfdb39b1e737b
|
@@ -92,15 +92,19 @@ module Softwear
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def records
|
95
|
-
instance_variable_get("@#{
|
95
|
+
instance_variable_get("@#{resource_class.model_name.collection}")
|
96
96
|
end
|
97
97
|
|
98
98
|
def records=(r)
|
99
|
-
instance_variable_set("@#{
|
99
|
+
instance_variable_set("@#{resource_class.model_name.collection}", r)
|
100
100
|
end
|
101
101
|
|
102
102
|
def record
|
103
|
-
instance_variable_get("@#{
|
103
|
+
instance_variable_get("@#{resource_class.model_name.element}")
|
104
|
+
end
|
105
|
+
|
106
|
+
def record=(r)
|
107
|
+
instance_variable_set("@#{resource_class.model_name.element}", r)
|
104
108
|
end
|
105
109
|
|
106
110
|
def allow_origin
|
data/lib/softwear/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softwear-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nigel Baillie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|