dynflow 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -5,5 +5,3 @@ Gemfile.lock
5
5
  .bin
6
6
  .bundle
7
7
  .idea
8
- web/bower_components
9
- web/node_modules
@@ -279,8 +279,8 @@ module Dynflow
279
279
  steps,
280
280
  string_to_time(hash[:started_at]),
281
281
  string_to_time(hash[:ended_at]),
282
- hash[:execution_time],
283
- hash[:real_time])
282
+ hash[:execution_time].to_f,
283
+ hash[:real_time].to_f)
284
284
  end
285
285
 
286
286
  def compute_execution_time
@@ -138,10 +138,10 @@ module Dynflow
138
138
  world,
139
139
  string_to_time(hash[:started_at]),
140
140
  string_to_time(hash[:ended_at]),
141
- hash[:execution_time],
142
- hash[:real_time],
143
- hash[:progress_done],
144
- hash[:progress_weight]
141
+ hash[:execution_time].to_f,
142
+ hash[:real_time].to_f,
143
+ hash[:progress_done].to_f,
144
+ hash[:progress_weight].to_f
145
145
  end
146
146
 
147
147
  private
@@ -1,3 +1,3 @@
1
1
  module Dynflow
2
- VERSION = '0.7.3'
2
+ VERSION = '0.7.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-12 00:00:00.000000000 Z
12
+ date: 2014-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport