rgviz-rails 0.61 → 0.62

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rgviz_rails.rb +12 -2
  2. metadata +7 -7
data/lib/rgviz_rails.rb CHANGED
@@ -1,8 +1,18 @@
1
+ require 'rgviz'
1
2
  require 'rgviz_rails/init.rb'
2
3
  require 'rgviz_rails/executor.rb'
3
4
  require 'rgviz_rails/js_renderer.rb'
4
5
  require 'rgviz_rails/tqx.rb'
5
6
 
7
+ class Rgviz::Parser
8
+ def parse_time(string)
9
+ Time.zone.parse string
10
+ end
11
+
12
+ def parse_date(string)
13
+ parse_time(string).to_date
14
+ end
15
+ end
16
+
6
17
  module RgvizRails
7
-
8
- end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgviz-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.61'
4
+ version: '0.62'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-02 00:00:00.000000000Z
12
+ date: 2012-03-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rgviz
16
- requirement: &70254349665820 !ruby/object:Gem::Requirement
16
+ requirement: &70194899475220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: '0.43'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70254349665820
24
+ version_requirements: *70194899475220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails
27
- requirement: &70254349665300 !ruby/object:Gem::Requirement
27
+ requirement: &70194899474740 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70254349665300
35
+ version_requirements: *70194899474740
36
36
  description:
37
37
  email: aborenszweig@manas.com.ar
38
38
  executables: []