typed_form 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a388e80e46e93cdf800db1cd021694a69ed9aed0
4
+ data.tar.gz: 2130492e803088d27ecf5d91576c9ba212b3e566
5
+ SHA512:
6
+ metadata.gz: '089b3bdba82b45d19823f71d1474c58dd088ee0516c66a133c7661c4b9f6bd88bc7341f11661930da29232aa85a616e5e69480c32172b4d82a417604dddf3f17'
7
+ data.tar.gz: 5800494788d591fc198451074850f01009665643eca9bb854fcf3c68edcfa12c813b4a3356ba1c8e3b2fd7c2993f516de5e04c799abe9862e9c79f5ae3acee91
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # Change Log
2
+
3
+ ## [0.0.2] - 2017-03-10
4
+
5
+ Added support for interpolated questions (what Typeform refers to as "piping") and for string conversion of multiple choice answers to a single CSV format.
6
+
7
+ ## [0.0.1] - 2017-03-10
8
+
9
+ Initial version released. Added initial support for retrieving results from Typeform Data API.
10
+
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at robcole@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in typed_form.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 robcole
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,119 @@
1
+ # TypedForm
2
+
3
+ TypedForm is a simple wrapper for the [Typeform Data API](https://www.typeform.com/help/data-api/) to expose a simple Q&A format from their JSON schema.
4
+
5
+ The API interface is intentionally kept very minimalistic; the remainder of functionality will be in processing and rebuilding their data format into a format that is usable for a variety of applications (our use case: providing a Q&A view format from cached data-API results).
6
+
7
+ For a more robust API wrapper, you may want to investigate [TypeformData](https://github.com/shearwaterintl/typeform_data) or other wrappers.
8
+
9
+ ## Why?
10
+
11
+ TypedForm was created out of a simple desire: to display a full set of questions and answers provided via a completed survey. Typeform's Data API schema is robust, but delivers data in a format that requires some quite a bit of work to make sense of. For example, the typeform API delivers questions and answers that use [piping](https://www.typeform.com/help/piping/) in the following format (only showing relevant data for this example - their API provides much more data than included below):
12
+
13
+ ```
14
+ # typeform_response.json
15
+
16
+ "questions" [
17
+ {
18
+ "id": "list_p0Qz_choice",
19
+ "question": "I am applying on behalf of:",
20
+ "field_id": 44763792
21
+ },
22
+ {
23
+ "id": "textfield_goYz",
24
+ "question": "What is the name of your {{answer_44763792}}?",
25
+ "field_id": 44763783
26
+ },
27
+ {
28
+ "id": "list_fprR_choice",
29
+ "question": "Does {{answer_44763783}} have an advisor (coach, department head, etc)?",
30
+ "field_id": 44763793
31
+ }
32
+ ],
33
+
34
+ "responses": [
35
+ {
36
+ "answers": {
37
+ "list_p0Qz_choice": "Program or Academic Unit",
38
+ "textfield_goYz": "Rory for President 2017",
39
+ "list_fprR_choice": "Yes -- that's me!"
40
+ }
41
+ ]
42
+ ```
43
+
44
+ In addition to piping/interpolation, Typeform's data is structured in a difficult-to-use manner (that's putting it nicely) when it comes to associating answers with questions on "choice" questions; we seek to remedy this by building arrays from choice values, and building a single canonical question with multiple answers associated with the question.
45
+
46
+ Finally, if you've ever tried to duplicate a Typeform Form, you'll notice that their response field IDs completely change, and can no longer be used for locating answers. This gem attempts to solve that as well, by associating questions and answers together based on their results.
47
+
48
+ Take a look at https://github.com/useed/typed_form/spec/fixtures/ for examples of what you can expect when it comes to their data API; this should help shed some additional light on the purpose behind this gem.
49
+
50
+
51
+ ## Installation
52
+
53
+ Add this line to your application's Gemfile:
54
+
55
+ ```ruby
56
+ gem 'typed_form'
57
+ ```
58
+
59
+ And then execute:
60
+
61
+ $ bundle
62
+
63
+ Or install it yourself as:
64
+
65
+ $ gem install typed_form
66
+
67
+ ## Usage
68
+
69
+ With TypedForm, you can easily extrapolate answers from the data provided into the question, and give your questions a simple interface for accessing the extrapolated (and original) question and answer format:
70
+
71
+ ```ruby
72
+ # Your typeform API key -- keep this a secret!
73
+ api_key = "api_key"
74
+
75
+ # Your typeform form ID
76
+ form_id = "typeform_form_id"
77
+
78
+ # individual response token, provided in responses hash or via webhook data
79
+ token = "form_token"
80
+
81
+ client = TypedForm::Client.new(api_key: api_key)
82
+ json = client.find_form_by(form_id: form_id, token: token)
83
+ => # json response for that specific form submission
84
+
85
+ parsed = TypedForm::JSONResponseHandler.new(json)
86
+ form = TypedForm::FormResponse.new(parsed_questions: parsed.questions,
87
+ parsed_response: parsed.response.first)
88
+ questions = form.questions
89
+
90
+ questions.first.text
91
+ => "What is the name of your Program or Academic Unit?"
92
+
93
+ questions.first.original_text
94
+ => "What is the name of your {{answer_44763792}}?"
95
+
96
+ questions.first.answer
97
+ => "Rory for President 2017"
98
+
99
+ questions.first.type
100
+ => "textfield"
101
+ ```
102
+
103
+
104
+ The most common use case for this is extrapolating question and answers into a simple object that can provide a clean interface for displaying them. Question type information can be used to allow helpers to format and display different field types (most specifically dates) in a more user-friendly format.
105
+
106
+ ## Development
107
+
108
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
109
+
110
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
111
+
112
+ ## Contributing
113
+
114
+ Bug reports and pull requests are welcome on GitHub at https://github.com/useed/typed_form. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
115
+
116
+
117
+ ## License
118
+
119
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "typed_form"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,35 @@
1
+ module TypedForm
2
+ class Client
3
+ attr_reader :api_key
4
+
5
+ include HTTParty
6
+
7
+ def initialize(api_key:)
8
+ @api_key = api_key
9
+ end
10
+
11
+ def forms_by_id(form_id:, **query_params)
12
+ url_params = query_params.map { |k, v| "#{k}=#{v}" }
13
+ request_url = [form_id, authenticated_slug(url_params)].join("?")
14
+ get(request_url).body
15
+ end
16
+
17
+ def find_form_by(form_id:, token:, **query_params)
18
+ forms_by_id(form_id: form_id, token: token, **query_params)
19
+ end
20
+
21
+ private
22
+
23
+ def get(slug)
24
+ self.class.get(base_url + slug)
25
+ end
26
+
27
+ def base_url
28
+ "https://api.typeform.com/v1/form/"
29
+ end
30
+
31
+ def authenticated_slug(url_params)
32
+ ["key=#{api_key}", url_params].join("&")
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,66 @@
1
+ module TypedForm
2
+ class FormAnswers
3
+ extend Forwardable
4
+
5
+ def_delegators :response, :answers, :metadata, :token
6
+ def_delegators :metadata, :date_submit
7
+
8
+ attr_reader :response, :input_questions, :original_questions
9
+
10
+ def self.collate(response:, input_questions:, original_questions:)
11
+ new(response: response,
12
+ input_questions: input_questions,
13
+ original_questions: original_questions).questions
14
+ end
15
+
16
+ def initialize(response:, input_questions:, original_questions:)
17
+ @response = response
18
+ @input_questions = input_questions
19
+ @original_questions = original_questions
20
+ end
21
+
22
+ def questions
23
+ @_questions ||= build_questions
24
+ end
25
+
26
+ private
27
+
28
+ def build_questions
29
+ input_questions.map do |question|
30
+ Question.with_response_data(
31
+ question: question,
32
+ answer: answers_for(question.ids),
33
+ text: extrapolated_question_text(question)
34
+ )
35
+ end
36
+ end
37
+
38
+ def answers_for(ids)
39
+ id_answers = ids.map { |id| find_answer_by_id(id) }.compact
40
+ return if id_answers.size.zero?
41
+ id_answers.join(", ")
42
+ end
43
+
44
+ def extrapolated_question_text(question)
45
+ regex = %r(\{\{answer_(\d+)\}\})
46
+ id_match = question.original_text.match(regex)
47
+ return question.original_text unless id_match
48
+
49
+ question.original_text.gsub(regex, find_answer_by_field_id(id_match[1]))
50
+ end
51
+
52
+ def find_answer_by_field_id(id)
53
+ fields = original_questions.select do |question|
54
+ question.field_id == id.to_i
55
+ end
56
+
57
+ answers_found = fields.map { |field| find_answer_by_id(field.id) }.compact
58
+ return find_answer_by_id(fields.first.id) if answers_found.size == 1
59
+ raise ArgumentError, "Cannot find single answer with field ID ##{id}"
60
+ end
61
+
62
+ def find_answer_by_id(id)
63
+ answers.instance_variable_get("@#{id}")
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,58 @@
1
+ module TypedForm
2
+ class FormResponse
3
+ attr_reader :parsed_questions, :parsed_response
4
+
5
+ def initialize(parsed_questions:, parsed_response:)
6
+ @parsed_questions = parsed_questions
7
+ @parsed_response = parsed_response
8
+ end
9
+
10
+ def questions_and_answers
11
+ FormAnswers.collate(response: parsed_response,
12
+ input_questions: questions,
13
+ original_questions: parsed_questions)
14
+ end
15
+
16
+ def questions
17
+ @_questions ||= build_questions
18
+ end
19
+
20
+ def question_ids
21
+ questions.flat_map(&:ids)
22
+ end
23
+
24
+ def question_texts
25
+ questions.map(&:original_text).uniq
26
+ end
27
+
28
+ private
29
+
30
+ def question_for_grouped(grouped_questions)
31
+ question_texts = grouped_questions.map(&:question)
32
+ return question_texts.first if question_texts.uniq.size == 1
33
+ raise ArgumentError, "Grouped questions do not have matching text"
34
+ end
35
+
36
+ def type_for_grouped(grouped_questions)
37
+ types = questions.map(&:type)
38
+ return types.first if types.uniq.size == 1
39
+ raise ArgumentError, "Grouped questions do not have matching types"
40
+ end
41
+
42
+ def answerable_questions
43
+ parsed_questions
44
+ .reject { |q| q.id.match /(hidden|legal|statement|group)/ }
45
+ .group_by(&:field_id)
46
+ end
47
+
48
+ def build_questions
49
+ answerable_questions.map do |field_id, grouped_questions|
50
+ Question.new(
51
+ ids: grouped_questions.map(&:id),
52
+ field_id: field_id,
53
+ original_text: question_for_grouped(grouped_questions)
54
+ )
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,16 @@
1
+ module TypedForm
2
+ class JSONResponseHandler
3
+ extend Forwardable
4
+ attr_reader :json
5
+
6
+ def_delegators :parsed_json, :questions, :responses
7
+
8
+ def initialize(json)
9
+ @json = json
10
+ end
11
+
12
+ def parsed_json
13
+ @_parsed_json ||= JSON.parse(json, object_class: Arendelle)
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,28 @@
1
+ module TypedForm
2
+ class Question
3
+ attr_reader :ids, :field_id, :original_text
4
+ attr_accessor :answer, :text
5
+
6
+ def initialize(ids:, field_id:, original_text:)
7
+ @ids = ids
8
+ @field_id = field_id
9
+ @original_text = original_text
10
+ end
11
+
12
+ def add_response_data(answer:, text:)
13
+ @answer = answer
14
+ @text = text
15
+ end
16
+
17
+ def type
18
+ @_type ||= field_id.split("_")[0]
19
+ end
20
+
21
+ def self.with_response_data(question:, text:, answer:)
22
+ question.dup.tap do |new_question|
23
+ new_question.answer = answer
24
+ new_question.text = text
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,3 @@
1
+ module TypedForm
2
+ VERSION = "0.0.2"
3
+ end
data/lib/typed_form.rb ADDED
@@ -0,0 +1,12 @@
1
+ require "httparty"
2
+ require "forwardable"
3
+ require "arendelle"
4
+ require "typed_form/client"
5
+ require "typed_form/json_response_handler"
6
+ require "typed_form/form_response"
7
+ require "typed_form/question"
8
+ require "typed_form/form_answers"
9
+ require "typed_form/version"
10
+
11
+ module TypedForm
12
+ end
metadata ADDED
@@ -0,0 +1,168 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: typed_form
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Rob Cole
8
+ - Tim Walsh
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2017-03-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: httparty
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '0.14'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '0.14'
28
+ - !ruby/object:Gem::Dependency
29
+ name: arendelle
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '0.1'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '0.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: byebug
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '9.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '9.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: webmock
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '2.3'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '2.3'
70
+ - !ruby/object:Gem::Dependency
71
+ name: bundler
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.14'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.14'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rake
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '10.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '10.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: rspec
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '3.0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '3.0'
112
+ description: |-
113
+ Typeform exposes a robust schema for form data via
114
+ their data API. typed_form facilitates the ability
115
+ to present this data in an easily presentable format
116
+ by adding types, extrapolating "piped" questions into
117
+ their full text, and associating questions directly
118
+ with answers.
119
+ email:
120
+ - robcole@useed.org
121
+ - tim@useed.org
122
+ executables: []
123
+ extensions: []
124
+ extra_rdoc_files: []
125
+ files:
126
+ - ".gitignore"
127
+ - ".rspec"
128
+ - CHANGELOG.md
129
+ - CODE_OF_CONDUCT.md
130
+ - Gemfile
131
+ - LICENSE.txt
132
+ - README.md
133
+ - Rakefile
134
+ - bin/console
135
+ - bin/setup
136
+ - lib/typed_form.rb
137
+ - lib/typed_form/client.rb
138
+ - lib/typed_form/form_answers.rb
139
+ - lib/typed_form/form_response.rb
140
+ - lib/typed_form/json_response_handler.rb
141
+ - lib/typed_form/question.rb
142
+ - lib/typed_form/version.rb
143
+ homepage: https://github.com/useed/typed_form
144
+ licenses:
145
+ - MIT
146
+ metadata: {}
147
+ post_install_message:
148
+ rdoc_options: []
149
+ require_paths:
150
+ - lib
151
+ required_ruby_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ requirements: []
162
+ rubyforge_project:
163
+ rubygems_version: 2.6.8
164
+ signing_key:
165
+ specification_version: 4
166
+ summary: typed_form provides an interface for retrieving results from Typeform surveys
167
+ and interpolating them into a presentable Q&A format.
168
+ test_files: []