survey-gizmo-ruby 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/survey_gizmo/resource.rb +1 -1
- data/survey-gizmo-ruby.gemspec +1 -1
- metadata +50 -70
- data/Gemfile.lock +0 -72
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dd47defeb434e3125e30816cadc36817bb1922e8
|
4
|
+
data.tar.gz: a0c2a0a1745a4589f76b9e6a3ae276cfb8b9a865
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6e2cffff19da8ff173814b98a0921faec62e2456af43800dbd5fb6a2e351ccb7aa8c96607815c6b9987a4dbf9a6bcb51faae85cc93f4dc2752415135e60456db
|
7
|
+
data.tar.gz: 5a5d2d3cb769e06547ff2ada54f0e8009313c27ebece07c8ba3f4c3efedcc816e17ef4c060e8ada28454f373c2b85fb5e11c88b5e47541e058417eb6ffdaff0f
|
@@ -292,7 +292,7 @@ module SurveyGizmo
|
|
292
292
|
# Handle really crappy [] notation in SG API, so far just in SurveyResponse
|
293
293
|
(@_data.is_a?(Array) ? @_data : [@_data]).each do |data_item|
|
294
294
|
data_item.keys.grep(/^\[/).each do |key|
|
295
|
-
next
|
295
|
+
next if data_item[key].nil? || data_item[key].length == 0
|
296
296
|
|
297
297
|
parent = find_attribute_parent(key)
|
298
298
|
data_item[parent] = {} unless data_item[parent]
|
data/survey-gizmo-ruby.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "survey-gizmo-ruby"
|
7
|
-
gem.version = "1.0.
|
7
|
+
gem.version = "1.0.3"
|
8
8
|
gem.authors = ["Kabari Hendrick", "Chris Horn", "Adrien Jarthon"]
|
9
9
|
gem.email = ["adrien.jarthon@dimelo.com"]
|
10
10
|
gem.description = "Gem to use the SurveyGizmo.com REST API, v3+"
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: survey-gizmo-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.0.1
|
4
|
+
version: 1.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kabari Hendrick
|
@@ -11,136 +10,120 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2014-10-07 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
|
-
|
16
|
+
name: activesupport
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '3.0'
|
22
|
-
none: false
|
23
|
-
name: activesupport
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
25
|
requirements:
|
28
|
-
- -
|
26
|
+
- - ">="
|
29
27
|
- !ruby/object:Gem::Version
|
30
28
|
version: '3.0'
|
31
|
-
none: false
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
|
-
|
30
|
+
name: i18n
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
34
32
|
requirements:
|
35
|
-
- -
|
33
|
+
- - ">="
|
36
34
|
- !ruby/object:Gem::Version
|
37
35
|
version: '0'
|
38
|
-
none: false
|
39
|
-
name: i18n
|
40
36
|
type: :runtime
|
41
37
|
prerelease: false
|
42
|
-
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
39
|
requirements:
|
44
|
-
- -
|
40
|
+
- - ">="
|
45
41
|
- !ruby/object:Gem::Version
|
46
42
|
version: '0'
|
47
|
-
none: false
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
|
-
|
44
|
+
name: virtus
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
50
46
|
requirements:
|
51
|
-
- -
|
47
|
+
- - ">="
|
52
48
|
- !ruby/object:Gem::Version
|
53
49
|
version: 1.0.0
|
54
|
-
none: false
|
55
|
-
name: virtus
|
56
50
|
type: :runtime
|
57
51
|
prerelease: false
|
58
|
-
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
53
|
requirements:
|
60
|
-
- -
|
54
|
+
- - ">="
|
61
55
|
- !ruby/object:Gem::Version
|
62
56
|
version: 1.0.0
|
63
|
-
none: false
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
|
-
|
58
|
+
name: httparty
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
66
60
|
requirements:
|
67
|
-
- -
|
61
|
+
- - ">="
|
68
62
|
- !ruby/object:Gem::Version
|
69
63
|
version: '0'
|
70
|
-
none: false
|
71
|
-
name: httparty
|
72
64
|
type: :runtime
|
73
65
|
prerelease: false
|
74
|
-
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
67
|
requirements:
|
76
|
-
- -
|
68
|
+
- - ">="
|
77
69
|
- !ruby/object:Gem::Version
|
78
70
|
version: '0'
|
79
|
-
none: false
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
|
-
|
72
|
+
name: addressable
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
82
74
|
requirements:
|
83
|
-
- -
|
75
|
+
- - ">="
|
84
76
|
- !ruby/object:Gem::Version
|
85
77
|
version: '0'
|
86
|
-
none: false
|
87
|
-
name: addressable
|
88
78
|
type: :runtime
|
89
79
|
prerelease: false
|
90
|
-
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
81
|
requirements:
|
92
|
-
- -
|
82
|
+
- - ">="
|
93
83
|
- !ruby/object:Gem::Version
|
94
84
|
version: '0'
|
95
|
-
none: false
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
|
-
|
86
|
+
name: webmock
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
98
88
|
requirements:
|
99
|
-
- -
|
89
|
+
- - ">="
|
100
90
|
- !ruby/object:Gem::Version
|
101
91
|
version: '0'
|
102
|
-
none: false
|
103
|
-
name: webmock
|
104
92
|
type: :development
|
105
93
|
prerelease: false
|
106
|
-
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
95
|
requirements:
|
108
|
-
- -
|
96
|
+
- - ">="
|
109
97
|
- !ruby/object:Gem::Version
|
110
98
|
version: '0'
|
111
|
-
none: false
|
112
99
|
- !ruby/object:Gem::Dependency
|
113
|
-
|
100
|
+
name: rspec
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
114
102
|
requirements:
|
115
|
-
- - ~>
|
103
|
+
- - "~>"
|
116
104
|
- !ruby/object:Gem::Version
|
117
105
|
version: 2.11.0
|
118
|
-
none: false
|
119
|
-
name: rspec
|
120
106
|
type: :development
|
121
107
|
prerelease: false
|
122
|
-
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
109
|
requirements:
|
124
|
-
- - ~>
|
110
|
+
- - "~>"
|
125
111
|
- !ruby/object:Gem::Version
|
126
112
|
version: 2.11.0
|
127
|
-
none: false
|
128
113
|
- !ruby/object:Gem::Dependency
|
129
|
-
|
114
|
+
name: rake
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
130
116
|
requirements:
|
131
|
-
- -
|
117
|
+
- - ">="
|
132
118
|
- !ruby/object:Gem::Version
|
133
119
|
version: '0'
|
134
|
-
none: false
|
135
|
-
name: rake
|
136
120
|
type: :development
|
137
121
|
prerelease: false
|
138
|
-
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
123
|
requirements:
|
140
|
-
- -
|
124
|
+
- - ">="
|
141
125
|
- !ruby/object:Gem::Version
|
142
126
|
version: '0'
|
143
|
-
none: false
|
144
127
|
description: Gem to use the SurveyGizmo.com REST API, v3+
|
145
128
|
email:
|
146
129
|
- adrien.jarthon@dimelo.com
|
@@ -148,11 +131,10 @@ executables: []
|
|
148
131
|
extensions: []
|
149
132
|
extra_rdoc_files: []
|
150
133
|
files:
|
151
|
-
- .document
|
152
|
-
- .gitignore
|
153
|
-
- .rspec
|
134
|
+
- ".document"
|
135
|
+
- ".gitignore"
|
136
|
+
- ".rspec"
|
154
137
|
- Gemfile
|
155
|
-
- Gemfile.lock
|
156
138
|
- LICENSE.txt
|
157
139
|
- README.md
|
158
140
|
- Rakefile
|
@@ -182,27 +164,26 @@ files:
|
|
182
164
|
homepage: http://github.com/RipTheJacker/survey-gizmo-ruby
|
183
165
|
licenses:
|
184
166
|
- MIT
|
167
|
+
metadata: {}
|
185
168
|
post_install_message:
|
186
169
|
rdoc_options: []
|
187
170
|
require_paths:
|
188
171
|
- lib
|
189
172
|
required_ruby_version: !ruby/object:Gem::Requirement
|
190
173
|
requirements:
|
191
|
-
- -
|
174
|
+
- - ">="
|
192
175
|
- !ruby/object:Gem::Version
|
193
176
|
version: '0'
|
194
|
-
none: false
|
195
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
178
|
requirements:
|
197
|
-
- -
|
179
|
+
- - ">="
|
198
180
|
- !ruby/object:Gem::Version
|
199
181
|
version: '0'
|
200
|
-
none: false
|
201
182
|
requirements: []
|
202
183
|
rubyforge_project:
|
203
|
-
rubygems_version:
|
184
|
+
rubygems_version: 2.4.2
|
204
185
|
signing_key:
|
205
|
-
specification_version:
|
186
|
+
specification_version: 4
|
206
187
|
summary: Gem to use the SurveyGizmo.com REST API, v3+
|
207
188
|
test_files:
|
208
189
|
- spec/resource_spec.rb
|
@@ -215,4 +196,3 @@ test_files:
|
|
215
196
|
- spec/test_json/page.json
|
216
197
|
- spec/test_json/question.json
|
217
198
|
- spec/test_json/survey.json
|
218
|
-
has_rdoc:
|
data/Gemfile.lock
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
survey-gizmo-ruby (1.0.0)
|
5
|
-
activesupport (>= 3.0)
|
6
|
-
addressable
|
7
|
-
httparty
|
8
|
-
i18n
|
9
|
-
virtus (>= 1.0.0)
|
10
|
-
|
11
|
-
GEM
|
12
|
-
remote: https://rubygems.org/
|
13
|
-
specs:
|
14
|
-
activesupport (4.0.1)
|
15
|
-
i18n (~> 0.6, >= 0.6.4)
|
16
|
-
minitest (~> 4.2)
|
17
|
-
multi_json (~> 1.3)
|
18
|
-
thread_safe (~> 0.1)
|
19
|
-
tzinfo (~> 0.3.37)
|
20
|
-
addressable (2.3.5)
|
21
|
-
atomic (1.1.14)
|
22
|
-
axiom-types (0.0.5)
|
23
|
-
descendants_tracker (~> 0.0.1)
|
24
|
-
ice_nine (~> 0.9)
|
25
|
-
backports (3.3.5)
|
26
|
-
coercible (0.2.0)
|
27
|
-
backports (~> 3.0, >= 3.1.0)
|
28
|
-
descendants_tracker (~> 0.0.1)
|
29
|
-
crack (0.4.1)
|
30
|
-
safe_yaml (~> 0.9.0)
|
31
|
-
descendants_tracker (0.0.3)
|
32
|
-
diff-lcs (1.1.3)
|
33
|
-
equalizer (0.0.7)
|
34
|
-
httparty (0.12.0)
|
35
|
-
json (~> 1.8)
|
36
|
-
multi_xml (>= 0.5.2)
|
37
|
-
i18n (0.6.5)
|
38
|
-
ice_nine (0.10.0)
|
39
|
-
json (1.8.1)
|
40
|
-
minitest (4.7.5)
|
41
|
-
multi_json (1.8.2)
|
42
|
-
multi_xml (0.5.5)
|
43
|
-
rake (10.1.0)
|
44
|
-
rspec (2.11.0)
|
45
|
-
rspec-core (~> 2.11.0)
|
46
|
-
rspec-expectations (~> 2.11.0)
|
47
|
-
rspec-mocks (~> 2.11.0)
|
48
|
-
rspec-core (2.11.1)
|
49
|
-
rspec-expectations (2.11.3)
|
50
|
-
diff-lcs (~> 1.1.3)
|
51
|
-
rspec-mocks (2.11.3)
|
52
|
-
safe_yaml (0.9.7)
|
53
|
-
thread_safe (0.1.3)
|
54
|
-
atomic
|
55
|
-
tzinfo (0.3.38)
|
56
|
-
virtus (1.0.0)
|
57
|
-
axiom-types (~> 0.0.5)
|
58
|
-
coercible (~> 0.2)
|
59
|
-
descendants_tracker (~> 0.0.1)
|
60
|
-
equalizer (~> 0.0.7)
|
61
|
-
webmock (1.15.2)
|
62
|
-
addressable (>= 2.2.7)
|
63
|
-
crack (>= 0.3.2)
|
64
|
-
|
65
|
-
PLATFORMS
|
66
|
-
ruby
|
67
|
-
|
68
|
-
DEPENDENCIES
|
69
|
-
rake
|
70
|
-
rspec (~> 2.11.0)
|
71
|
-
survey-gizmo-ruby!
|
72
|
-
webmock
|