acts_as_extjs 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -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.1.4"
8
+ s.version = "0.1.5"
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{2010-09-04}
12
+ s.date = %q{2010-10-09}
13
13
  s.description = %q{ActiveRecord Helper for Extjs}
14
14
  s.email = %q{develop@marco-scholl.de}
15
15
  s.extra_rdoc_files = [
@@ -34,8 +34,8 @@ Gem::Specification.new do |s|
34
34
  s.rubygems_version = %q{1.3.7}
35
35
  s.summary = %q{ActiveRecord Helper for Extjs}
36
36
  s.test_files = [
37
- "spec/acts_as_extjs_spec.rb",
38
- "spec/spec_helper.rb"
37
+ "spec/spec_helper.rb",
38
+ "spec/acts_as_extjs_spec.rb"
39
39
  ]
40
40
 
41
41
  if s.respond_to? :specification_version then
data/lib/acts_as_extjs.rb CHANGED
@@ -78,7 +78,7 @@ module Extjs #:nodoc:
78
78
  else
79
79
  sort_dir = " ASC"
80
80
  end
81
- order = sort_mapping[sort_by.to_sym] + sort_dir
81
+ order = sort_mapping[sort_by.to_sym].to_s + sort_dir
82
82
  else
83
83
  order = 'created_at DESC'
84
84
  end
@@ -89,7 +89,7 @@ module Extjs #:nodoc:
89
89
  else
90
90
  group_dir = " ASC"
91
91
  end
92
- order = sort_mapping[group_by.to_sym] + group_dir + ', ' + order
92
+ order = sort_mapping[group_by.to_sym].to_s + group_dir + ', ' + order
93
93
  end
94
94
 
95
95
  options[:order] = order if order
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 4
9
- version: 0.1.4
8
+ - 5
9
+ version: 0.1.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marco Scholl
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-04 00:00:00 +02:00
17
+ date: 2010-10-09 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -113,5 +113,5 @@ signing_key:
113
113
  specification_version: 3
114
114
  summary: ActiveRecord Helper for Extjs
115
115
  test_files:
116
- - spec/acts_as_extjs_spec.rb
117
116
  - spec/spec_helper.rb
117
+ - spec/acts_as_extjs_spec.rb