conversocial 0.1.5 → 0.1.6
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/lib/conversocial/resources/models/base.rb +2 -2
- data/lib/conversocial/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: 71ebb3c5bca00bfc41f2110905d87609297146d0
|
|
4
|
+
data.tar.gz: bab8e4fd2d7e16adedef1d57d9afda6975e1b4cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18fb460e2d4c8732f125da04e0707244190e87d669cdac48ecbd34b28df48c4e9ac28de4bbb81d47cdcf22994fc220d4721db3d3fdf3364e06d154e6faa2ec0d
|
|
7
|
+
data.tar.gz: b46339d9199763a9bf0467fdfb9e07954c75786b3adb54b4cb7b739aa1d5c2cf1bae0fe59882d06877610b1d972fd719651d6109f268d370d6ab9a7f317f506d
|
|
@@ -139,8 +139,8 @@ module Conversocial
|
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
def association_attribute? attribute_value
|
|
142
|
-
attribute_value.kind_of?(Hash) && attribute_value.keys.sort == %w{id url}
|
|
143
|
-
|
|
142
|
+
attribute_value.kind_of?(Hash) && (attribute_value.keys.sort == %w{id url} || attribute_value.keys.sort == %w{id name url})
|
|
143
|
+
end
|
|
144
144
|
|
|
145
145
|
def pluralized_resource_type_from_association_attribute attribute_value
|
|
146
146
|
attribute_value['url'].split('v1.1/').last.split('/').first
|
data/lib/conversocial/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: conversocial
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Misha Conway
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|