cm_quiz 0.0.4 → 0.0.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: 750cc9ee999c24c646ef9d0046f66e2f275bfa33
4
- data.tar.gz: 3702eba4b6bce5c9214f02792d954ab037e34402
3
+ metadata.gz: 20e543eeac8e0548fb300d2995c07c3a62e19660
4
+ data.tar.gz: 1b4619ec3ffb67fe1e5c5065296aaa5ebb749f1f
5
5
  SHA512:
6
- metadata.gz: 8f1e937d5ec03b5836ee14d3cc44efe0de414c147fa0c17df144fcda73e718b9e03b65cd483ad3b6a2e5fa29e24141a886eb0771dd9695ed253eac3b710fe8a9
7
- data.tar.gz: e39685cfecf923658206aa82b8e8aa683cbee0ecea6ab814288d7b74c98991fead65de0db0ab15c2142a39f38d67a253c81e5a940f9abbe8ebdf395388dffe3f
6
+ metadata.gz: 08a4d51a613d827a82a1e5087da80e33f3f95856f43a0a1108b6ec2e9d1abf7e6c3cd9f8d80a12f8ee8e617e270c24e53754ad8f45149fc3cd2551de78a3bafe
7
+ data.tar.gz: 63cbc9c75e3a055a0262105f7912dd33367e4ed7108453bbfb4bf2dbcdd7d3acb87496e072598612a437e32742ff3711b900aca8e9e9d972cf83289f6198da81
@@ -50,7 +50,7 @@ module CmQuiz
50
50
  messages << "Error message:"
51
51
  messages << ""
52
52
  error_message = result[2].to_s
53
- error_message = error_message.truncate(500) + '...' if error_message.size > 500
53
+ error_message = error_message.slice(0, 500) + '...' if error_message.size > 500
54
54
  messages << error_message + "\n"
55
55
 
56
56
  messages.join("\n")
@@ -1,3 +1,3 @@
1
1
  module CmQuiz
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm_quiz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ben
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.6.8
132
+ rubygems_version: 2.6.12
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Review your codementor quiz