spektrix 0.0.2.1 → 0.0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/lib/models/events/event.rb +1 -1
- data/lib/models/events/instance.rb +1 -1
- data/lib/spektrix.rb +2 -0
- data/lib/spektrix/response_parser.rb +1 -1
- data/lib/spektrix/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb3dcfd7c10200a66658eadbbc930811d250803f
|
4
|
+
data.tar.gz: fd6243f72c38d749f66e82469715bdc287f105d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b0dcff7e02794cbbee2c3ab7a96e0b52685c7d70b9a099af321704ae65da9bd5b093f536766c5a635e3b206c2ddaed3e7a690de86f7663e7acf2fc1eb130523
|
7
|
+
data.tar.gz: 796752a78e0bdd2818d95d565aa53eaf6633444d0d2df3b8a30feee65356c27db9f2a3815b66542e46bd0e2f1bb34f1a1604618963484733fd117bf86cd35a0a
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
spektrix
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.2.3
|
data/lib/models/events/event.rb
CHANGED
data/lib/spektrix.rb
CHANGED
@@ -21,8 +21,8 @@ module Spektrix
|
|
21
21
|
|
22
22
|
# Traverse the array, fixing up any attributes called 'attribute'
|
23
23
|
data.each do |item|
|
24
|
+
item[:custom_attributes] = {}
|
24
25
|
if item.has_key?(:attribute)
|
25
|
-
item[:custom_attributes] = {}
|
26
26
|
item[:attribute].each do |attribute_pair|
|
27
27
|
next unless attribute_pair.is_a?(Hash)
|
28
28
|
key = attribute_pair.values.first.underscore.downcase.parameterize("_").to_sym
|
data/lib/spektrix/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spektrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.2.
|
4
|
+
version: 0.0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ed Jones
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -90,6 +90,8 @@ extensions: []
|
|
90
90
|
extra_rdoc_files: []
|
91
91
|
files:
|
92
92
|
- ".gitignore"
|
93
|
+
- ".ruby-gemset"
|
94
|
+
- ".ruby-version"
|
93
95
|
- CONDUCT.md
|
94
96
|
- Gemfile
|
95
97
|
- LICENSE.txt
|