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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31a6f06e1de4ee8e65b282673f608b242320829c
4
- data.tar.gz: a09a80c364f5d80d08b9706e13a0522f455b8bf4
3
+ metadata.gz: f6a542e42eb7957a722b4584d00d59ab85bb2966
4
+ data.tar.gz: e546fde787775e3a0d17d3128345a100e9e310a5
5
5
  SHA512:
6
- metadata.gz: 06ec3df659c962719dadea1a89a99923a5afa6f640964bbd050d8cf2af27e607cfbf0340d0279f3b2b756e9696c986bdcc114184de72640785b8896735bb0d6f
7
- data.tar.gz: a5032ffaba5ed36c9d243a0b2a50c2fcfd2ce171e1322a1f1f69f3b2665879261d8ebbe414e983b7872f0a57a679758a4eef73a0379277d16e2575addc48cb91
6
+ metadata.gz: b87013ffa15ac148275546a09bd9185816fc58ef830178ceb60bc251f9668049e695902923c102088097865574ea6263ac63195e1f65fd7a39eb788f5789df6e
7
+ data.tar.gz: f634cf1ad6156135b1c19bd5f907a480c468fcc7eeac32354cbd6bea3104d223bd4e5eef3972c32de8b74cc3ca00f93683afac35d942d293b6ce9ca06d46916c
@@ -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 find_answer_by_id(fields.first.id) if answers_found.size == 1
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
 
@@ -1,4 +1,4 @@
1
1
  module TypedForm
2
2
  # Up-to-date version of gem.
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
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.7
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-08-10 00:00:00.000000000 Z
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.11
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