activegroonga 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,8 +45,8 @@ Gem::Specification.new do |spec|
45
45
  spec.files += Dir.glob("doc/text/**/*")
46
46
  spec.test_files += Dir.glob("test/**/*.rb")
47
47
 
48
- spec.add_runtime_dependency("rroonga", ">= 2.1.1")
49
- spec.add_runtime_dependency("activemodel", ">= 3.1.0")
48
+ spec.add_runtime_dependency("rroonga", ">= 2.1.2")
49
+ spec.add_runtime_dependency("activemodel", ">= 3.2.10")
50
50
  spec.add_development_dependency("test-unit")
51
51
  spec.add_development_dependency("test-unit-notify")
52
52
  spec.add_development_dependency("rake")
@@ -1,5 +1,17 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#2-1-2). 2.1.2: 2013-01-04
4
+
5
+ h3. Improvements
6
+
7
+ * Required activemodel 3.2.10 or later.
8
+ * Required rroonga 2.1.2 or later.
9
+ * Supported Kaminari 0.14.0 or later.
10
+
11
+ h3. Thanks
12
+
13
+ * Kazuhiro Yoshida
14
+
3
15
  h2(#2-1-1). 2.1.1: 2013-01-03
4
16
 
5
17
  h3. Improvements
@@ -238,9 +238,13 @@ module ActiveGroonga
238
238
  end
239
239
  end
240
240
 
241
- # For kaminari.
242
- alias_method :num_pages, :n_pages
241
+ # For Kaminari.
243
242
  alias_method :limit_value, :page_size
243
+ ## For Kaminari >= 0.14.0.
244
+ alias_method :total_pages, :n_pages
245
+ ## For Kaminari < 0.14.0.
246
+ ## TODO: Remove me when old Kaminari support is dropped.
247
+ alias_method :num_pages, :n_pages
244
248
  end
245
249
  end
246
250
  end
@@ -17,7 +17,7 @@ module ActiveGroonga
17
17
  module VERSION
18
18
  MAJOR = 2
19
19
  MINOR = 1
20
- TINY = 1
20
+ TINY = 2
21
21
 
22
22
  STRING = [MAJOR, MINOR, TINY].join(".")
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activegroonga
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
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: 2013-01-03 00:00:00.000000000 Z
12
+ date: 2013-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rroonga
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 2.1.1
21
+ version: 2.1.2
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 2.1.1
29
+ version: 2.1.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: activemodel
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 3.1.0
37
+ version: 3.2.10
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 3.1.0
45
+ version: 3.2.10
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: test-unit
48
48
  requirement: !ruby/object:Gem::Requirement