poptart 0.0.12 → 0.0.13

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: 486c943e81a4c9a8c4164ce70bc089054f97c581
4
- data.tar.gz: ae93effe4989af29b6bab132839e30e213bc45c4
3
+ metadata.gz: e454a49d246480fbceba4a7a07fbfbb43ecb6949
4
+ data.tar.gz: 3688f52a375033dbc60a778f4cee1f9d7321bd57
5
5
  SHA512:
6
- metadata.gz: 5314be76233f219d5316f06796728809c42fdaff118951958b7b3c1c8de140955d8a5e89225c4acb62f225e4e6c4c15e0fa6133d7c0f0ecd99ed4d6c18b8668c
7
- data.tar.gz: 57a1985febbd60967772071d5049c5d4d297e7be01d55925a85ae6742cfe12fd43c89ebf600d7c167ac717545008706a42e854df6764fa96da7afc2900281f34
6
+ metadata.gz: 9ec9f2b803bfd4ad5a28f0af65a3c5e7b2d5286bb2d938941c9dba4e43175f5643072c6e8a9e8f998a4663de2db5a2f2dc570e7529f1e708eaf1451f5120373b
7
+ data.tar.gz: 0918d4b46bbc134b55d9e5660a022e28d27928070a12e14760a21a220a8317711905af2fe3a85965475463ecc035867fc2c8fa44eeabd0845f92b751b94ca4c6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- poptart (0.0.12)
4
+ poptart (0.0.13)
5
5
  activesupport
6
6
  addressable
7
7
  faraday
@@ -14,7 +14,7 @@ module Poptart
14
14
  else
15
15
  SurveyQuestion.new(survey_question)
16
16
  end
17
- end.sort_by { |survey_question| survey_question.id }
17
+ end
18
18
  end
19
19
 
20
20
  def add_question(question)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Poptart
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
@@ -46,6 +46,7 @@ describe 'Answering survey questions' do
46
46
 
47
47
  survey = user.survey_for_id(survey.id)
48
48
  survey.survey_questions.first.answer.should == true
49
+ survey.completed?.should == true
49
50
  end
50
51
 
51
52
  it "answers a multiple choice question", :vcr do