acts_as_extjs 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ begin
8
8
  gem.summary = %Q{ActiveRecord Helper for Extjs}
9
9
  gem.description = %Q{ActiveRecord Helper for Extjs}
10
10
  gem.email = "develop@marco-scholl.de"
11
- gem.homepage = "http://github.com/traxanos/acts_as_extjs"
11
+ gem.homepage = "http://github.com/phatworx/acts_as_extjs"
12
12
  gem.authors = ["Marco Scholl"]
13
13
  gem.add_development_dependency "rspec", ">= 1.2.9"
14
14
  gem.add_runtime_dependency "activerecord", ">= 3.0.0"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.3.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acts_as_extjs}
8
- s.version = "0.3.3"
8
+ s.version = "0.3.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marco Scholl"]
12
- s.date = %q{2011-04-19}
12
+ s.date = %q{2011-04-20}
13
13
  s.description = %q{ActiveRecord Helper for Extjs}
14
14
  s.email = %q{develop@marco-scholl.de}
15
15
  s.extra_rdoc_files = [
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  "spec/spec.opts",
28
28
  "spec/spec_helper.rb"
29
29
  ]
30
- s.homepage = %q{http://github.com/traxanos/acts_as_extjs}
30
+ s.homepage = %q{http://github.com/phatworx/acts_as_extjs}
31
31
  s.require_paths = ["lib"]
32
32
  s.rubygems_version = %q{1.6.2}
33
33
  s.summary = %q{ActiveRecord Helper for Extjs}
@@ -115,6 +115,9 @@ module Extjs #:nodoc:
115
115
  if row[field].is_a? ActiveSupport::TimeWithZone or row[field[:name]].is_a? DateTime or row[field[:name]].is_a? Time
116
116
  row[field[:name]] = row[field[:name]].strftime("%Y-%m-%d %H:%M:%S")
117
117
  end
118
+
119
+ row[field[:name]] = row[field[:name]].to_f if field[:type] == :float
120
+ row[field[:name]] = row[field[:name]].to_i if field[:type] == :int
118
121
  end
119
122
  end
120
123
  rows << row
@@ -165,4 +168,4 @@ module Extjs #:nodoc:
165
168
  end
166
169
  end
167
170
  end
168
- ActiveRecord::Base.send(:include, Extjs::ActsAsExtjs)
171
+ ActiveRecord::Base.send(:include, Extjs::ActsAsExtjs)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: acts_as_extjs
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.3
5
+ version: 0.3.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marco Scholl
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-19 00:00:00 +02:00
13
+ date: 2011-04-20 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -66,7 +66,7 @@ files:
66
66
  - spec/spec.opts
67
67
  - spec/spec_helper.rb
68
68
  has_rdoc: true
69
- homepage: http://github.com/traxanos/acts_as_extjs
69
+ homepage: http://github.com/phatworx/acts_as_extjs
70
70
  licenses: []
71
71
 
72
72
  post_install_message: