mumukit 2.14.0 → 2.14.1

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: 4270834ad05f2bdd88613e3f275bcb4111b1302b
4
- data.tar.gz: bd04b12f55dad942d779f70096761b298cf44b5d
3
+ metadata.gz: 7758fa35fa91acd76501a3469fb23b19f3da4925
4
+ data.tar.gz: 43b1fc3ab8de68aab62013edce80032781f23eaf
5
5
  SHA512:
6
- metadata.gz: ce5ed388a4a714642fd8e70ab733ed6acb7fcc12ebd3768454d94330576a930e4e5da411bd0cf6275fd55310f97906b5b475c4e2ed4f28756e0c48a7660a8886
7
- data.tar.gz: 07ceb5f73163906bc3cd346ed833fddaa6b66d41395fa049472c09a30ae817f834fdb528bff191cb1ac681e334dc432febea2bf0ff791b4b081b8a161199c536
6
+ metadata.gz: 076f28843295ef90b382371989317369466e75f9907262b9cd71417ee114db07475bbd8e3652609a8d2d250b6027abdc7f9fcf72de0031cb508303c64348676c
7
+ data.tar.gz: 023d9451f31f82053b08fc4106f5e41869a5e8dbf8b0d63184ce65d2d5ad8ac9aa1169d641660254c7805cae7b3ad1dce7a66de9efd2b9427c1b046dda8a770f
@@ -52,7 +52,7 @@ module Mumukit
52
52
 
53
53
  def self.structured(value=true, separator: nil)
54
54
  if value
55
- @@separator = separator
55
+ @separator = separator
56
56
  include Mumukit::Templates::WithStructuredResults
57
57
  end
58
58
  end
@@ -15,7 +15,7 @@ module Mumukit::Templates::WithStructuredResults
15
15
  end
16
16
 
17
17
  def extract_result(result)
18
- separator = self.class.class_variable_get :@@separator
18
+ separator = self.class.instance_variable_get :@separator
19
19
  result = result.split(separator).last if separator.present?
20
20
  result
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Mumukit
2
- VERSION = '2.14.0'
2
+ VERSION = '2.14.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0
4
+ version: 2.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli