nps_surveys 0.2.2 → 0.2.3

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: a74cc017e4ee09753961a88290bc25b39014b6c0
4
- data.tar.gz: c2eaab839a1b3635c7a4f0a08d7711e4d20c3ab2
3
+ metadata.gz: 62d719d89d433f51f6eab2dc59ea46a8bd2fad6a
4
+ data.tar.gz: 9a3bbea3b795cf097db3905444b8a99b6b29fc07
5
5
  SHA512:
6
- metadata.gz: 812cb72b97508afe0dfb248bca38a68ca866f13d033ad1a6a80b7c76958e4dfdc8b44f5787179242b5ea72bb8aab274bb69ac68e23930635a504c75b22384714
7
- data.tar.gz: ae1b66cb553863d582fa2a8ceae3bd8029f7e85eb9a20cf222787272dc3cd2ab4ada3478792e9b8efb014a8e833923a6fefe60a83d074e5ee2bfca7d0aaf24c5
6
+ metadata.gz: cf9d4e69594e60b8ba05d15e604208923b530d8f667ebc30f6397ced073c094ad27c86a1aba61c7f1f3209f92bc7a7d3f7f0a83ed5aed9eb3d9fc488c6c02e2d
7
+ data.tar.gz: ab372a02a6fc3623fd02a7735ecd9ed07379460926db564e781ad2039a29c2b860d847f770ac5783c98f59557e392a365c87883ea9ea2245e108ee80257c78cb
@@ -27,7 +27,7 @@ module NPSSurveys
27
27
  def create_survey_response
28
28
  response = ::NPSSurveys::Response.new
29
29
  response.user_id = NPSSurveys.current_user.call(self).id
30
- response.score = params[:score].to_i
30
+ response.score = params[:score]
31
31
  response.feedback = params[:feedback]
32
32
  response.survey = params[:survey]
33
33
  response.save
@@ -1,3 +1,3 @@
1
1
  module NPSSurveys
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nps_surveys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Redbooth team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-22 00:00:00.000000000 Z
11
+ date: 2016-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails