bht_survey 0.6.0 → 0.7.0

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: 9e48ddc74db891e7f672c9560d3f177911b4fce4
4
- data.tar.gz: ddbf06d75105ddabdc68f430c63b7a4042eed33c
3
+ metadata.gz: 0dc4241101ce69628262589428f675856c86bc9d
4
+ data.tar.gz: 936e59f6e7cb8c9b3475d9ea4bbc7eab3d98126d
5
5
  SHA512:
6
- metadata.gz: 23f4e53781172554e839423806c40e6e6fdcd7ba90b01b09ad11c28c1d02f039e524b3525eb3b55735ac0153455da8435dd3fa3c630fe80e68f9e0bc884610b4
7
- data.tar.gz: e2313f04c9f855ec06ca52df346de81e6988d2daa73943c150b764cb21d20f708edb1ad7d64c56b65633834ef4ea2eae5f9b5dc7cce09cb10a097cba40e2f050
6
+ metadata.gz: 8709980101001d9fc65c514cde20a7a6fc81937b45fbdce097807a8235bc4ccae61985ca0dc8bca0185861a2ce740909cd393c34b5b46cd608f5c19c34015666
7
+ data.tar.gz: bb09621421f56b158483ee07a85389ca13ec8c8c15d434491328ffa14822bb2ab3e57999c5e6fe19e9f8fb7be1ba73195132cb139102aac4be366d593fe2c799
@@ -17,12 +17,6 @@ module QualtricsInterface
17
17
  # The Account table is used for saving credentials for multiple survey developers.
18
18
 
19
19
  def get_workspace_key
20
- #Workers do not have access to session so this hack is used.
21
- begin
22
- session
23
- rescue
24
- session = {}
25
- end
26
20
  api_params = {
27
21
  qualtrics_id: ENV['QUALTRICS_ID'],
28
22
  qualtrics_library: ENV['QUALTRICS_LIBRARY'],
@@ -30,7 +24,7 @@ module QualtricsInterface
30
24
  }
31
25
  Rails.logger.debug ">>>>>>>>>>>>>>>>>>> #{api_params.inspect}"
32
26
  result = get_api 'api/v1/study_workspace', api_params
33
- session[:workspace_key] = result['response']['workspace_key']
27
+ result['response']['workspace_key']
34
28
  end
35
29
 
36
30
  def get_participant_states participant_id
@@ -1,3 +1,3 @@
1
1
  module BhtSurvey
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bht_survey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfinucane