typed_form 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab5449edccd43bad3e14733d9b82bb90de304bf8
4
- data.tar.gz: 6b073c538628ecc3c444c0f74831ebf8517dcff4
3
+ metadata.gz: dea2e5cf910569b3daf3dff7eff7645b5abf8e33
4
+ data.tar.gz: b8bb58ad56431e0655909db568b0ae4e3e8347ae
5
5
  SHA512:
6
- metadata.gz: dd0c5d90fedf79764a064b5afd998cf7eea2560ac29eaff4bf83ab16791186bbf30269f60a4963ace0f2a9f7b6390ad477334e1bf80c976091b3ade1c91b0913
7
- data.tar.gz: 0b51cd19c52a243fca662e09a24f822d037f82d0d4493231dae920f0b091c69cbb8425657447d9566314ef22b3d96bb6516e9d6d3598c335b8b408307b9ba18f
6
+ metadata.gz: f0b4b12cffa15dc3c4534401a54cf9602b213f225e413e09473ecf66877c29d4b9755c2b93202b844871afcade0500ef5ef992ba6a26a8a4c62c52d593f0bfe7
7
+ data.tar.gz: 8b5360f05bb2581acb6b313599c5dee1dd94d1686d7d5708fcbdd58cc1f5a43984f3a44a91da396bd6bef6b5aaddde629066e3762d056d8cbe3479a9f33b4785
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ### [0.1.5] - 2017-03-20
4
+
5
+ Update Arendelle.
6
+
7
+ Arendelle 0.1.1 introduced a change in their naming of instance
8
+ variables in order to support ivars that start with numbers. This
9
+ updates the ivar behavior (which relies on a private implementation
10
+ detail to handle Typeform's bizarre multiple choice question format).
11
+
3
12
  ### [0.1.4] - 2017-03-16
4
13
 
5
14
  Strips additional whitespace and isolates whitespace stripping behavior to a Util class, to allow for easier test coverage. Adds raw_json accessors to models where we normalize JSON input to allow for end-users to determine whether they want clean/normalized JSON or the original results from Typeform. This prevents mismatches in the regular expression => attribute matching in VirtualModel, which were running into issues when `" " != " "`, preventing the regular expressions from matching.
@@ -87,7 +87,7 @@ module TypedForm
87
87
  end
88
88
 
89
89
  def find_answer_by_id(id)
90
- answers.instance_variable_get("@#{id}")
90
+ answers.instance_variable_get("@_#{id}")
91
91
  end
92
92
 
93
93
  def form_duplicated_on_typeform?
@@ -1,4 +1,4 @@
1
1
  module TypedForm
2
2
  # Up-to-date version of gem.
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
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.4
4
+ version: 0.1.5
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-03-17 00:00:00.000000000 Z
12
+ date: 2017-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty