acts_as_extjs 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/acts_as_extjs.gemspec +1 -1
- data/lib/acts_as_extjs.rb +5 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/acts_as_extjs.gemspec
CHANGED
data/lib/acts_as_extjs.rb
CHANGED
@@ -20,7 +20,11 @@ module Extjs #:nodoc:
|
|
20
20
|
#
|
21
21
|
def acts_as_extjs
|
22
22
|
# empty named sop
|
23
|
-
|
23
|
+
if Rails.version.at(0).to_i >= 3
|
24
|
+
scope :extjs
|
25
|
+
else
|
26
|
+
named_scope :extjs
|
27
|
+
end
|
24
28
|
include Extjs::ActsAsExtjs::InstanceMethods
|
25
29
|
extend Extjs::ActsAsExtjs::SingletonMethods
|
26
30
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_extjs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marco Scholl
|