blacklight_user_generated_content 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/app/controllers/user_generated_content_controller.rb +4 -0
- data/blacklight_user_generated_content.gemspec +19 -0
- data/lib/blacklight_user_generated_content.rb +1 -0
- data/lib/blacklight_user_generated_content/solr_helper.rb +1 -0
- metadata +17 -15
- data/app/controllers/user_generated_content.rb +0 -4
data/.gitignore
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Provide a simple gemspec so you can easily use your enginex
|
2
|
+
# project in your rails apps through git.
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "blacklight_user_generated_content"
|
5
|
+
s.summary = "User Generated Content plugin for Blacklight"
|
6
|
+
s.description = "Tags and Comments for Blacklight documents"
|
7
|
+
s.authors = ["Chris Beer"]
|
8
|
+
s.files = `git ls-files`.split("\n")
|
9
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
10
|
+
s.require_paths = ["lib"]
|
11
|
+
s.version = "0.0.3"
|
12
|
+
|
13
|
+
s.add_dependency "rails", "~> 3.0"
|
14
|
+
s.add_dependency "blacklight" #, "~> 3.0"
|
15
|
+
s.add_dependency "rsolr-ext"
|
16
|
+
s.add_dependency "cancan"
|
17
|
+
s.add_dependency "acts-as-taggable-on"
|
18
|
+
s.add_dependency "acts_as_commentable"
|
19
|
+
end
|
@@ -11,6 +11,7 @@ module BlacklightUserGeneratedContent
|
|
11
11
|
autoload :Commentable, 'blacklight_user_generated_content/commentable'
|
12
12
|
autoload :Comment, 'blacklight_user_generated_content/comment'
|
13
13
|
autoload :RouteSets, 'blacklight_user_generated_content/route_sets'
|
14
|
+
autoload :Helper, 'blacklight_user_generated_content/helper'
|
14
15
|
|
15
16
|
require 'blacklight_user_generated_content/engine' if defined?(Rails)
|
16
17
|
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight_user_generated_content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
|
12
|
+
authors:
|
13
|
+
- Chris Beer
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
@@ -103,7 +103,7 @@ dependencies:
|
|
103
103
|
version: "0"
|
104
104
|
type: :runtime
|
105
105
|
version_requirements: *id006
|
106
|
-
description:
|
106
|
+
description: Tags and Comments for Blacklight documents
|
107
107
|
email:
|
108
108
|
executables: []
|
109
109
|
|
@@ -112,9 +112,14 @@ extensions: []
|
|
112
112
|
extra_rdoc_files: []
|
113
113
|
|
114
114
|
files:
|
115
|
+
- .gitignore
|
116
|
+
- Gemfile
|
117
|
+
- MIT-LICENSE
|
118
|
+
- README.rdoc
|
119
|
+
- Rakefile
|
115
120
|
- app/controllers/comments_controller.rb
|
116
121
|
- app/controllers/tags_controller.rb
|
117
|
-
- app/controllers/
|
122
|
+
- app/controllers/user_generated_content_controller.rb
|
118
123
|
- app/models/tag.rb
|
119
124
|
- app/models/tagging.rb
|
120
125
|
- app/views/comments/_comment.html.erb
|
@@ -128,6 +133,9 @@ files:
|
|
128
133
|
- app/views/tags/show.html.erb
|
129
134
|
- app/views/user_generated_content/_index_partials/_ugc.html.erb
|
130
135
|
- app/views/user_generated_content/index.html.erb
|
136
|
+
- blacklight_user_generated_content.gemspec
|
137
|
+
- config/routes.rb
|
138
|
+
- lib/blacklight_user_generated_content.rb
|
131
139
|
- lib/blacklight_user_generated_content/active_record_duck_type.rb
|
132
140
|
- lib/blacklight_user_generated_content/comment.rb
|
133
141
|
- lib/blacklight_user_generated_content/commentable.rb
|
@@ -136,18 +144,12 @@ files:
|
|
136
144
|
- lib/blacklight_user_generated_content/findable.rb
|
137
145
|
- lib/blacklight_user_generated_content/helper.rb
|
138
146
|
- lib/blacklight_user_generated_content/route_sets.rb
|
139
|
-
- lib/blacklight_user_generated_content/solr_helper/scope.rb
|
140
147
|
- lib/blacklight_user_generated_content/solr_helper.rb
|
148
|
+
- lib/blacklight_user_generated_content/solr_helper/scope.rb
|
141
149
|
- lib/blacklight_user_generated_content/taggable.rb
|
142
|
-
- lib/blacklight_user_generated_content.rb
|
143
150
|
- lib/generators/blacklight_user_generated_content/blacklight_user_generated_content_generator.rb
|
144
151
|
- lib/generators/blacklight_user_generated_content/templates/alter_commentable_id_to_string.rb
|
145
152
|
- lib/generators/blacklight_user_generated_content/templates/alter_taggable_id_to_string.rb
|
146
|
-
- config/routes.rb
|
147
|
-
- MIT-LICENSE
|
148
|
-
- Rakefile
|
149
|
-
- Gemfile
|
150
|
-
- README.rdoc
|
151
153
|
has_rdoc: true
|
152
154
|
homepage:
|
153
155
|
licenses: []
|
@@ -181,6 +183,6 @@ rubyforge_project:
|
|
181
183
|
rubygems_version: 1.5.3
|
182
184
|
signing_key:
|
183
185
|
specification_version: 3
|
184
|
-
summary:
|
186
|
+
summary: User Generated Content plugin for Blacklight
|
185
187
|
test_files: []
|
186
188
|
|