refinerycms-acts-as-indexed 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd35f2c68f0578bdd36fae144dd9b8b345b93b56
4
- data.tar.gz: c5cb79c37c85d3c3752444359e5cf9f1382179e0
3
+ metadata.gz: 92fb8b573a5d3d1bdc6c7893900d270b6f52e27f
4
+ data.tar.gz: 94b0e8fbb2b37620e49bbe2863ebe8afee935688
5
5
  SHA512:
6
- metadata.gz: 144588d53ed40546143c86e10f64adc583545854f21e0a1d96a6fb1a904d6aed322ff2feaf69f7bbf3fcfd86c8b22d10ab79b9120aea8822fa5041cd7c7713d2
7
- data.tar.gz: a6ec57f329ab42e690543d3cee4af5f9af0ffa9295c9021e86c846aee585050464ffe13a4d80c329b357d890fc8064929156a25b69936beaa98d7c21e9074468
6
+ metadata.gz: 3b9f80f492c1be463ed148f1c89bc2601e292f3b92a503c2a81811d525d08da42f1aae42b720191a217e1c171b8c3f889a282efdda286eb1c3375e2b0780ce54
7
+ data.tar.gz: d3f62695cd1a0309b1e8bd00515469023ab27f1fcb7fc16f7ec71fe6e70e5f041075bb98775eec17acb217f060717024bb640318e38070de454f146ca233928b
@@ -0,0 +1,8 @@
1
+ require 'acts_as_indexed'
2
+
3
+ begin
4
+ Refinery::Blog::Category.class_eval do
5
+ acts_as_indexed :fields => [:title]
6
+ end
7
+ rescue NameError
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'acts_as_indexed'
2
+
3
+ begin
4
+ Refinery::Blog::Comment.class_eval do
5
+ acts_as_indexed :fields => [:name, :email, :message]
6
+ end
7
+ rescue NameError
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'acts_as_indexed'
2
+
3
+ begin
4
+ Refinery::Blog::Post.class_eval do
5
+ acts_as_indexed :fields => [:title, :body]
6
+ end
7
+ rescue NameError
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-acts-as-indexed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
@@ -9,42 +9,59 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-15 00:00:00.000000000 Z
12
+ date: 2014-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: refinerycms-core
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 2.1.0
20
+ version: 3.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 2.1.0
27
+ version: 3.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: acts_as_indexed
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: 0.8.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: 0.8.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: decorators
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: 1.0.0
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: 1.0.0
42
56
  description: An extension to handle the integration of Refinery CMS and ActsAsIndexed
43
57
  email: info@refinerycms.com
44
58
  executables: []
45
59
  extensions: []
46
60
  extra_rdoc_files: []
47
61
  files:
62
+ - app/decorators/models/refinery/blog/category_decorator.rb
63
+ - app/decorators/models/refinery/blog/comment_decorator.rb
64
+ - app/decorators/models/refinery/blog/post_decorator.rb
48
65
  - app/decorators/models/refinery/image_decorator.rb
49
66
  - app/decorators/models/refinery/inquiries/inquiry_decorator.rb
50
67
  - app/decorators/models/refinery/page_decorator.rb
@@ -66,19 +83,18 @@ require_paths:
66
83
  - lib
67
84
  required_ruby_version: !ruby/object:Gem::Requirement
68
85
  requirements:
69
- - - '>='
86
+ - - ">="
70
87
  - !ruby/object:Gem::Version
71
88
  version: '0'
72
89
  required_rubygems_version: !ruby/object:Gem::Requirement
73
90
  requirements:
74
- - - '>='
91
+ - - ">="
75
92
  - !ruby/object:Gem::Version
76
93
  version: '0'
77
94
  requirements: []
78
95
  rubyforge_project:
79
- rubygems_version: 2.0.3
96
+ rubygems_version: 2.2.2
80
97
  signing_key:
81
98
  specification_version: 4
82
99
  summary: Refinery CMS ActsAsIndexed integration plugin
83
100
  test_files: []
84
- has_rdoc: