active_record_survey 0.1.44 → 0.1.45

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: f946ba156789de15394c69e91b562a102b046b57
4
- data.tar.gz: f10f2b482a0522dff5028172205e69c56762b072
3
+ metadata.gz: f15d8d045bf321f5d7268594b42c8cb2cceb9dcd
4
+ data.tar.gz: b32ee3894276b2c1005f6ba3ecbe8fb5cefaec50
5
5
  SHA512:
6
- metadata.gz: 043b935b0cb4a714811685febc81d6d67c7bac689dca3916f11749e292da71c7fbe7c946a01710353cf7eeb9dc980d653ef7668755207a26329ec06e3e0528dc
7
- data.tar.gz: 00d73a743e0874b61d6387f3f1590ba69788161d06068875923e8440bca76342e8e70039a0911f0bdd3801e5fd559768d7c5f021e4ccbe8f267474386fa67df4
6
+ metadata.gz: 04b156619131ab3532ee9aff962d01a4b424c8c362a4b41344652b4c384005ee4e63bcda9910a23d1a786716b5c3dac393b5e1b0ce6daefb60efbe1f9fa28b06
7
+ data.tar.gz: 9564a29336242f01d03fb9e9efce05a597f5ed32a0ade9915e05581f3a3dd38a71efe7f9c437004d765c4000e32b85478d40f57be2900f87b19846f40e5974ea
@@ -41,10 +41,12 @@ module ActiveRecordSurvey
41
41
  def build_answer(question_node)
42
42
  self.survey = question_node.survey
43
43
 
44
- question_node_maps = self.survey.node_maps.select { |i| i.node == question_node && !i.marked_for_destruction? }
44
+ question_node_maps = self.survey.node_maps.select { |i|
45
+ i.node == question_node && !i.marked_for_destruction?
46
+ }
45
47
 
46
48
  answer_node_maps = self.survey.node_maps.select { |i|
47
- i.node == self && i.parent.nil?
49
+ i.node == self && i.parent.nil? && !i.marked_for_destruction?
48
50
  }.collect { |i|
49
51
  i.survey = self.survey
50
52
 
@@ -61,7 +63,7 @@ module ActiveRecordSurvey
61
63
 
62
64
  # Each instance of this question needs the answer hung from it
63
65
  self.survey.node_maps.select { |i|
64
- i.node == last_answer_in_chain
66
+ i.node == last_answer_in_chain && !i.marked_for_destruction?
65
67
  }.each_with_index { |node_map, index|
66
68
  if answer_node_maps[index]
67
69
  new_node_map = answer_node_maps[index]
@@ -15,7 +15,7 @@ module ActiveRecordSurvey
15
15
 
16
16
  nm = self.survey.node_maps
17
17
 
18
- self.answers.collect { |answer|
18
+ answers = self.answers.collect { |answer|
19
19
  nm.select { |i|
20
20
  i.node == answer
21
21
  }
@@ -30,9 +30,15 @@ module ActiveRecordSurvey
30
30
  answer_node_map.node.survey = self.survey
31
31
  answer_node_map.node.save
32
32
 
33
- self.build_answer(answer_node_map.node)
33
+ answer_node_map.send((answer_node_map.new_record?)? :destroy : :mark_for_destruction)
34
34
 
35
- answer_node_map
35
+ answer_node_map.node
36
+ }.uniq
37
+
38
+ answers.each { |answer|
39
+ answer.survey = self.survey
40
+
41
+ self.build_answer(answer)
36
42
  }
37
43
  end
38
44
 
@@ -76,11 +82,12 @@ module ActiveRecordSurvey
76
82
 
77
83
  # If any questions existed directly following this question, insert after this answer
78
84
  self.survey.node_maps.select { |i|
79
- i.node == answer_node
85
+ i.node == answer_node && !i.marked_for_destruction?
80
86
  }.each { |answer_node_map|
81
87
  self.survey.node_maps.select { |j|
82
88
  # Same parent
83
89
  # Is a question
90
+ !j.marked_for_destruction? &&
84
91
  j.parent == answer_node_map.parent && j.node.class.ancestors.include?(::ActiveRecordSurvey::Node::Question)
85
92
  }.each { |j|
86
93
  answer_node_map.survey = self.survey
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordSurvey
2
- VERSION = "0.1.44"
2
+ VERSION = "0.1.45"
3
3
  end
@@ -115,48 +115,69 @@ describe ActiveRecordSurvey::Node::Question, :question_spec => true do
115
115
  end
116
116
 
117
117
  describe "#update_question_type" do
118
- before(:each) do
119
- @survey = ActiveRecordSurvey::Survey.new()
120
-
121
- @q1 = ActiveRecordSurvey::Node::Question.new(:text => "Q1", :survey => @survey)
122
- @q1_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q1 A1")
123
- @q1_a2 = ActiveRecordSurvey::Node::Answer.new(:text => "Q1 A2")
124
- @q1.build_answer(@q1_a1)
125
- @q1.build_answer(@q1_a2)
126
-
127
- @q2 = ActiveRecordSurvey::Node::Question.new(:text => "Q2", :survey => @survey)
128
- @q2_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q2 A1")
129
- @q2.build_answer(@q2_a1)
118
+ describe "simple case" do
119
+ before(:each) do
120
+ @survey = ActiveRecordSurvey::Survey.new()
121
+
122
+ @q1 = ActiveRecordSurvey::Node::Question.new(:text => "Q1", :survey => @survey)
123
+ @q1_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q1 A1")
124
+ @q1_a2 = ActiveRecordSurvey::Node::Answer.new(:text => "Q1 A2")
125
+ @q1.build_answer(@q1_a1)
126
+ @q1.build_answer(@q1_a2)
127
+
128
+ @q2 = ActiveRecordSurvey::Node::Question.new(:text => "Q2", :survey => @survey)
129
+ @q2_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q2 A1")
130
+ @q2.build_answer(@q2_a1)
131
+
132
+ @q3 = ActiveRecordSurvey::Node::Question.new(:text => "Q3", :survey => @survey)
133
+ @q3_a1 = ActiveRecordSurvey::Node::Answer::Boolean.new(:text => "Q3 A1")
134
+ @q3_a2 = ActiveRecordSurvey::Node::Answer::Boolean.new(:text => "Q3 A2")
135
+ @q3.build_answer(@q3_a1)
136
+ @q3.build_answer(@q3_a2)
137
+
138
+ @survey.save
139
+ end
140
+ it 'should raise exception linked to another question' do
141
+ @q1_a1.build_link(@q2)
142
+ @survey.save
143
+
144
+ expect{@q1.update_question_type(ActiveRecordSurvey::Node::Answer::Boolean)}.to raise_error(RuntimeError)
145
+ end
146
+ it 'should change ActiveRecordSurvey::Node::Answer to ActiveRecordSurvey::Node::Answer::Boolean' do
147
+ @q1.update_question_type(ActiveRecordSurvey::Node::Answer::Boolean)
148
+ expect(@survey.as_map(:no_ids => true)).to eq([{"text"=>"Q1", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q1 A1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q1 A2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}, {"text"=>"Q2", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q2 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}, {"text"=>"Q3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 A1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q3 A2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}])
149
+ expect(@q1.answers.length).to eq(2)
150
+ @q1.answers.each { |answer|
151
+ expect(answer.class).to eq(ActiveRecordSurvey::Node::Answer::Boolean)
152
+ }
153
+ end
154
+ it 'should change ActiveRecordSurvey::Node::Answer::Boolean to ActiveRecordSurvey::Node::Answer' do
155
+ @q3.update_question_type(ActiveRecordSurvey::Node::Answer)
156
+ expect(@survey.as_map(:no_ids => true)).to eq([{"text"=>"Q1", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q1 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q1 A2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}, {"text"=>"Q2", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q2 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}, {"text"=>"Q3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q3 A2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}])
157
+ expect(@q3.answers.length).to eq(2)
158
+ @q3.answers.each { |answer|
159
+ expect(answer.class).to eq(ActiveRecordSurvey::Node::Answer)
160
+ }
161
+ end
162
+ end
163
+ describe "advanced case", :focus => true do
164
+ before(:each) do
165
+ @survey = FactoryGirl.build(:basic_survey2)
166
+ @survey.save
167
+ end
130
168
 
131
- @q3 = ActiveRecordSurvey::Node::Question.new(:text => "Q3", :survey => @survey)
132
- @q3_a1 = ActiveRecordSurvey::Node::Answer::Boolean.new(:text => "Q3 A1")
133
- @q3_a2 = ActiveRecordSurvey::Node::Answer::Boolean.new(:text => "Q3 A2")
134
- @q3.build_answer(@q3_a1)
135
- @q3.build_answer(@q3_a2)
169
+ it "should convert from ActiveRecordSurvey::Node::Answer to ActiveRecordSurvey::Node::Answer::Boolean and back again" do
170
+ q4 = nil
171
+ @survey.questions.each {|question|
172
+ q4 = question if question.text === "Question #4"
173
+ }
136
174
 
137
- @survey.save
138
- end
139
- it 'should raise exception linked to another question' do
140
- @q1_a1.build_link(@q2)
141
- @survey.save
175
+ q4.update_question_type(ActiveRecordSurvey::Node::Answer::Boolean)
176
+ expect(@survey.as_map(:no_ids => true)).to eq([{"text"=>"Question #1", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q1 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #2", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q2 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}]}, {"text"=>"Q2 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}]}, {"text"=>"Q3 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}]}]}]}]}]}, {"text"=>"Q1 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}]}, {"text"=>"Q3 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}]}]}]}, {"text"=>"Q1 Answer #3", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}]}]}])
142
177
 
143
- expect{@q1.update_question_type(ActiveRecordSurvey::Node::Answer::Boolean)}.to raise_error(RuntimeError)
144
- end
145
- it 'should change ActiveRecordSurvey::Node::Answer to ActiveRecordSurvey::Node::Answer::Boolean' do
146
- @q1.update_question_type(ActiveRecordSurvey::Node::Answer::Boolean)
147
- expect(@survey.as_map(:no_ids => true)).to eq([{"text"=>"Q1", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q1 A1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q1 A2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}, {"text"=>"Q2", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q2 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}, {"text"=>"Q3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 A1", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[{"text"=>"Q3 A2", :type=>"ActiveRecordSurvey::Node::Answer::Boolean", :children=>[]}]}]}])
148
- expect(@q1.answers.length).to eq(2)
149
- @q1.answers.each { |answer|
150
- expect(answer.class).to eq(ActiveRecordSurvey::Node::Answer::Boolean)
151
- }
152
- end
153
- it 'should change ActiveRecordSurvey::Node::Answer::Boolean to ActiveRecordSurvey::Node::Answer' do
154
- @q3.update_question_type(ActiveRecordSurvey::Node::Answer)
155
- expect(@survey.as_map(:no_ids => true)).to eq([{"text"=>"Q1", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q1 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q1 A2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}, {"text"=>"Q2", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q2 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}, {"text"=>"Q3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 A1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q3 A2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}])
156
- expect(@q3.answers.length).to eq(2)
157
- @q3.answers.each { |answer|
158
- expect(answer.class).to eq(ActiveRecordSurvey::Node::Answer)
159
- }
178
+ q4.update_question_type(ActiveRecordSurvey::Node::Answer)
179
+ expect(@survey.as_map(:no_ids => true)).to eq([{"text"=>"Question #1", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q1 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #2", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q2 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}]}, {"text"=>"Q2 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}]}, {"text"=>"Q3 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}]}]}]}]}]}, {"text"=>"Q1 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #3", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q3 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}]}, {"text"=>"Q3 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}]}]}]}, {"text"=>"Q1 Answer #3", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[{"text"=>"Question #4", :type=>"ActiveRecordSurvey::Node::Question", :children=>[{"text"=>"Q4 Answer #1", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}, {"text"=>"Q4 Answer #2", :type=>"ActiveRecordSurvey::Node::Answer", :children=>[]}]}]}]}])
180
+ end
160
181
  end
161
182
  end
162
183
 
@@ -166,6 +166,47 @@ module FactoryGirlSurveyHelpers
166
166
  # Link up Q5
167
167
  q5_a2.build_link(q6)
168
168
  end
169
+
170
+ def build_basic_survey2(survey)
171
+ q1 = survey.questions.build(:type => "ActiveRecordSurvey::Node::Question", :text => "Question #1", :survey => survey)
172
+ q1_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q1 Answer #1")
173
+ q1_a2 = ActiveRecordSurvey::Node::Answer.new(:text => "Q1 Answer #2")
174
+ q1_a3 = ActiveRecordSurvey::Node::Answer.new(:text => "Q1 Answer #3")
175
+ q1.build_answer(q1_a1)
176
+ q1.build_answer(q1_a2)
177
+ q1.build_answer(q1_a3)
178
+
179
+ q2 = survey.questions.build(:type => "ActiveRecordSurvey::Node::Question", :text => "Question #2", :survey => survey)
180
+ q2_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q2 Answer #1")
181
+ q2_a2 = ActiveRecordSurvey::Node::Answer.new(:text => "Q2 Answer #2")
182
+ q2.build_answer(q2_a1)
183
+ q2.build_answer(q2_a2)
184
+
185
+ q3 = survey.questions.build(:type => "ActiveRecordSurvey::Node::Question", :text => "Question #3", :survey => survey)
186
+ q3_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q3 Answer #1")
187
+ q3_a2 = ActiveRecordSurvey::Node::Answer.new(:text => "Q3 Answer #2")
188
+ q3.build_answer(q3_a1)
189
+ q3.build_answer(q3_a2)
190
+
191
+ q4 = survey.questions.build(:type => "ActiveRecordSurvey::Node::Question", :text => "Question #4", :survey => survey)
192
+ q4_a1 = ActiveRecordSurvey::Node::Answer.new(:text => "Q4 Answer #1")
193
+ q4_a2 = ActiveRecordSurvey::Node::Answer.new(:text => "Q4 Answer #2")
194
+ q4.build_answer(q4_a1)
195
+ q4.build_answer(q4_a2)
196
+
197
+ # Link up Q1
198
+ q1_a1.build_link(q2)
199
+ q1_a2.build_link(q3)
200
+ q1_a3.build_link(q4)
201
+
202
+ # Link up Q2
203
+ q2_a1.build_link(q4)
204
+ q2_a2.build_link(q3)
205
+
206
+ # Link up Q3
207
+ q3_a1.build_link(q4)
208
+ q3_a2.build_link(q4)
209
+ end
169
210
  end
170
211
 
171
212
  FactoryGirl.define do
@@ -185,6 +226,10 @@ FactoryGirl.define do
185
226
  after(:build) { |survey| FactoryGirlSurveyHelpers.build_basic_survey(survey) }
186
227
  end
187
228
 
229
+ factory :basic_survey2, parent: :survey do |f|
230
+ after(:build) { |survey| FactoryGirlSurveyHelpers.build_basic_survey2(survey) }
231
+ end
232
+
188
233
  factory :boolean_survey, parent: :survey do |f|
189
234
  after(:build) { |survey| FactoryGirlSurveyHelpers.build_boolean_survey(survey) }
190
235
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_survey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.44
4
+ version: 0.1.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Butch Marshall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-26 00:00:00.000000000 Z
11
+ date: 2016-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord