typed_form 0.1.7 → 0.1.8
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/CHANGELOG.md +4 -0
- data/lib/typed_form/form_data/answers.rb +1 -1
- data/lib/typed_form/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f6a542e42eb7957a722b4584d00d59ab85bb2966
|
|
4
|
+
data.tar.gz: e546fde787775e3a0d17d3128345a100e9e310a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b87013ffa15ac148275546a09bd9185816fc58ef830178ceb60bc251f9668049e695902923c102088097865574ea6263ac63195e1f65fd7a39eb788f5789df6e
|
|
7
|
+
data.tar.gz: f634cf1ad6156135b1c19bd5f907a480c468fcc7eeac32354cbd6bea3104d223bd4e5eef3972c32de8b74cc3ca00f93683afac35d942d293b6ce9ca06d46916c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
### [0.1.8] - 2017-09-13
|
|
4
|
+
|
|
5
|
+
Allows virtual model to import data properly from 'other' questions with interpolation.
|
|
6
|
+
|
|
3
7
|
### [0.1.7] - 2017-08-10
|
|
4
8
|
|
|
5
9
|
Fixes issues interpreting `\xC2\xA0` by replacing it with a standard space (alternate representation of `\u00a0` initially removed in 0.1.2).
|
|
@@ -82,7 +82,7 @@ module TypedForm
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
answers_found = fields.map { |f| find_answer_by_id(f.id) }.compact
|
|
85
|
-
return
|
|
85
|
+
return answers_found.first if answers_found.size == 1
|
|
86
86
|
raise ArgumentError, "Cannot find single answer with field ID ##{id}"
|
|
87
87
|
end
|
|
88
88
|
|
data/lib/typed_form/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: typed_form
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rob Cole
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|
|
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
165
165
|
version: '0'
|
|
166
166
|
requirements: []
|
|
167
167
|
rubyforge_project:
|
|
168
|
-
rubygems_version: 2.6.
|
|
168
|
+
rubygems_version: 2.6.13
|
|
169
169
|
signing_key:
|
|
170
170
|
specification_version: 4
|
|
171
171
|
summary: typed_form provides an interface for retrieving results from Typeform surveys
|