knowledge_base 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +28 -0
- data/app/assets/javascripts/knowledge_base/application.js +13 -0
- data/app/assets/stylesheets/knowledge_base/application.css +15 -0
- data/app/controllers/knowledge_base/application_controller.rb +4 -0
- data/app/controllers/knowledge_base/articles_controller.rb +17 -0
- data/app/controllers/knowledge_base/categories_controller.rb +13 -0
- data/app/helpers/knowledge_base/application_helper.rb +4 -0
- data/app/models/knowledge_base/article.rb +13 -0
- data/app/models/knowledge_base/category.rb +16 -0
- data/app/models/knowledge_base/category_article_association.rb +6 -0
- data/app/models/knowledge_base/section.rb +9 -0
- data/app/models/knowledge_base/sectionables.rb +7 -0
- data/app/models/knowledge_base/sectionables/gallery.rb +5 -0
- data/app/models/knowledge_base/sectionables/gallery/image.rb +7 -0
- data/app/models/knowledge_base/sectionables/image.rb +5 -0
- data/app/models/knowledge_base/sectionables/links.rb +5 -0
- data/app/models/knowledge_base/sectionables/links/link.rb +10 -0
- data/app/models/knowledge_base/sectionables/list.rb +5 -0
- data/app/models/knowledge_base/sectionables/list/item.rb +5 -0
- data/app/models/knowledge_base/sectionables/text.rb +4 -0
- data/app/models/knowledge_base/sectionables/video.rb +9 -0
- data/app/uploaders/knowledge_base/image_uploader.rb +53 -0
- data/app/views/knowledge_base/articles/show.html.erb +11 -0
- data/app/views/knowledge_base/categories/index.html.erb +11 -0
- data/app/views/knowledge_base/categories/show.html.erb +15 -0
- data/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb +17 -0
- data/app/views/knowledge_base/sectionables/images/_image.html.erb +5 -0
- data/app/views/knowledge_base/sectionables/links/_links.html.erb +5 -0
- data/app/views/knowledge_base/sectionables/lists/_list.html.erb +17 -0
- data/app/views/knowledge_base/sectionables/texts/_text.html.erb +9 -0
- data/app/views/knowledge_base/sectionables/videos/_video.html.erb +1 -0
- data/app/views/layouts/knowledge_base/application.html.erb +14 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20140303102920_create_knowledge_base_categories.rb +16 -0
- data/db/migrate/20140303152945_create_knowledge_base_articles.rb +13 -0
- data/db/migrate/20140305134249_create_knowledge_base_sections.rb +13 -0
- data/db/migrate/20140306103853_create_knowledge_base_sectionables_texts.rb +11 -0
- data/db/migrate/20140306123236_create_knowledge_base_sectionables_images.rb +10 -0
- data/db/migrate/20140306134124_add_article_id_to_sections.rb +7 -0
- data/db/migrate/20140306134616_remove_kind_from_sections.rb +5 -0
- data/db/migrate/20140306162143_polymorphize_sections.rb +11 -0
- data/db/migrate/20140306181906_create_knowledge_base_sectionables_videos.rb +9 -0
- data/db/migrate/20140306194339_create_knowledge_base_sectionables_galleries.rb +10 -0
- data/db/migrate/20140306194600_create_knowledge_base_sectionables_gallery_images.rb +12 -0
- data/db/migrate/20140306200631_create_knowledge_base_sectionables_lists.rb +10 -0
- data/db/migrate/20140306210259_create_knowledge_base_sectionables_list_items.rb +12 -0
- data/db/migrate/20140307080616_create_knowledge_base_category_article_associations.rb +16 -0
- data/db/migrate/20140307092627_create_knowledge_base_sectionables_links.rb +8 -0
- data/db/migrate/20140307092719_create_knowledge_base_sectionables_links_links.rb +12 -0
- data/lib/knowledge_base.rb +15 -0
- data/lib/knowledge_base/configuration.rb +5 -0
- data/lib/knowledge_base/engine.rb +15 -0
- data/lib/knowledge_base/version.rb +3 -0
- data/lib/tasks/knowledge_base_tasks.rake +4 -0
- data/spec/controllers/knowledge_base/articles_controller_spec.rb +20 -0
- data/spec/controllers/knowledge_base/categories_controller_spec.rb +25 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +30 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +83 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +134 -0
- data/spec/dummy/db/seeds.rb +28 -0
- data/spec/dummy/log/development.log +12030 -0
- data/spec/dummy/log/test.log +917 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/uploads/knowledge_base/sectionables/gallery/image/image/1/parrot.png +0 -0
- data/spec/dummy/public/uploads/knowledge_base/sectionables/gallery/image/image/2/parrot.png +0 -0
- data/spec/dummy/public/uploads/knowledge_base/sectionables/image/image/1/parrot.png +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/062b47a3a70e4df7224b893bf001a98f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/183c0bd4fe8641adfc2b9f735484664a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f86727a5dfdf38270057bb8a6b140bc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/32c50a0141ffd19eb481b35a22532865 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/806fae72d2de8ab235cdf1503e8c950b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e9c371dd2bf884ad2ab7c34915daf486 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/knowledge_base_articles.rb +9 -0
- data/spec/factories/knowledge_base_categories.rb +10 -0
- data/spec/factories/knowledge_base_category_article_associations.rb +9 -0
- data/spec/factories/knowledge_base_sectionables_galleries.rb +8 -0
- data/spec/factories/knowledge_base_sectionables_gallery_images.rb +10 -0
- data/spec/factories/knowledge_base_sectionables_images.rb +8 -0
- data/spec/factories/knowledge_base_sectionables_links.rb +6 -0
- data/spec/factories/knowledge_base_sectionables_links_links.rb +9 -0
- data/spec/factories/knowledge_base_sectionables_list_items.rb +10 -0
- data/spec/factories/knowledge_base_sectionables_lists.rb +8 -0
- data/spec/factories/knowledge_base_sectionables_texts.rb +11 -0
- data/spec/factories/knowledge_base_sectionables_videos.rb +7 -0
- data/spec/factories/knowledge_base_sections.rb +9 -0
- data/spec/fixtures/parrot.png +0 -0
- data/spec/lib/knowledge_base/configuration_spec.rb +14 -0
- data/spec/models/knowledge_base/article_spec.rb +7 -0
- data/spec/models/knowledge_base/category_article_association_spec.rb +7 -0
- data/spec/models/knowledge_base/category_spec.rb +7 -0
- data/spec/models/knowledge_base/section_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/gallery/image_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/gallery_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/image_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/links/link_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/links_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/list/item_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/list_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/text_spec.rb +7 -0
- data/spec/models/knowledge_base/sectionables/video_spec.rb +13 -0
- data/spec/spec_helper.rb +20 -0
- data/spec/views/knowledge_base/articles/show.html.erb_spec.rb +5 -0
- data/spec/views/knowledge_base/categories/index.html.erb_spec.rb +5 -0
- data/spec/views/knowledge_base/categories/show.html.erb_spec.rb +5 -0
- metadata +375 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module KnowledgeBase
|
4
|
+
describe Sectionables::Video do
|
5
|
+
describe '#youtube_id' do
|
6
|
+
let(:video) { create :video, url: 'http://www.youtube.com/watch?v=rv1o6Em9P7I' }
|
7
|
+
|
8
|
+
it 'can derive its YouTube id' do
|
9
|
+
expect(video.youtube_id).to eq 'rv1o6Em9P7I'
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
require 'factory_girl_rails'
|
7
|
+
|
8
|
+
Rails.backtrace_cleaner.remove_silencers!
|
9
|
+
|
10
|
+
# Load support files
|
11
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
12
|
+
|
13
|
+
RSpec.configure do |config|
|
14
|
+
config.mock_with :rspec
|
15
|
+
config.use_transactional_fixtures = true
|
16
|
+
config.infer_base_class_for_anonymous_controllers = false
|
17
|
+
config.order = "random"
|
18
|
+
|
19
|
+
config.include FactoryGirl::Syntax::Methods
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,375 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: knowledge_base
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Johannes Gorset
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-03-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: friendly_id
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 5.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 5.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: publishable
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: carrierwave
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.10.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.10.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sqlite3
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: faker
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_girl_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: Knowledge Base is a bunch of models for Ruby on Rails that you probably
|
126
|
+
need to build your own
|
127
|
+
email:
|
128
|
+
- johannes@hyper.no
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- MIT-LICENSE
|
134
|
+
- Rakefile
|
135
|
+
- app/assets/javascripts/knowledge_base/application.js
|
136
|
+
- app/assets/stylesheets/knowledge_base/application.css
|
137
|
+
- app/controllers/knowledge_base/application_controller.rb
|
138
|
+
- app/controllers/knowledge_base/articles_controller.rb
|
139
|
+
- app/controllers/knowledge_base/categories_controller.rb
|
140
|
+
- app/helpers/knowledge_base/application_helper.rb
|
141
|
+
- app/models/knowledge_base/article.rb
|
142
|
+
- app/models/knowledge_base/category.rb
|
143
|
+
- app/models/knowledge_base/category_article_association.rb
|
144
|
+
- app/models/knowledge_base/section.rb
|
145
|
+
- app/models/knowledge_base/sectionables.rb
|
146
|
+
- app/models/knowledge_base/sectionables/gallery.rb
|
147
|
+
- app/models/knowledge_base/sectionables/gallery/image.rb
|
148
|
+
- app/models/knowledge_base/sectionables/image.rb
|
149
|
+
- app/models/knowledge_base/sectionables/links.rb
|
150
|
+
- app/models/knowledge_base/sectionables/links/link.rb
|
151
|
+
- app/models/knowledge_base/sectionables/list.rb
|
152
|
+
- app/models/knowledge_base/sectionables/list/item.rb
|
153
|
+
- app/models/knowledge_base/sectionables/text.rb
|
154
|
+
- app/models/knowledge_base/sectionables/video.rb
|
155
|
+
- app/uploaders/knowledge_base/image_uploader.rb
|
156
|
+
- app/views/knowledge_base/articles/show.html.erb
|
157
|
+
- app/views/knowledge_base/categories/index.html.erb
|
158
|
+
- app/views/knowledge_base/categories/show.html.erb
|
159
|
+
- app/views/knowledge_base/sectionables/galleries/_gallery.html.erb
|
160
|
+
- app/views/knowledge_base/sectionables/images/_image.html.erb
|
161
|
+
- app/views/knowledge_base/sectionables/links/_links.html.erb
|
162
|
+
- app/views/knowledge_base/sectionables/lists/_list.html.erb
|
163
|
+
- app/views/knowledge_base/sectionables/texts/_text.html.erb
|
164
|
+
- app/views/knowledge_base/sectionables/videos/_video.html.erb
|
165
|
+
- app/views/layouts/knowledge_base/application.html.erb
|
166
|
+
- config/routes.rb
|
167
|
+
- db/migrate/20140303102920_create_knowledge_base_categories.rb
|
168
|
+
- db/migrate/20140303152945_create_knowledge_base_articles.rb
|
169
|
+
- db/migrate/20140305134249_create_knowledge_base_sections.rb
|
170
|
+
- db/migrate/20140306103853_create_knowledge_base_sectionables_texts.rb
|
171
|
+
- db/migrate/20140306123236_create_knowledge_base_sectionables_images.rb
|
172
|
+
- db/migrate/20140306134124_add_article_id_to_sections.rb
|
173
|
+
- db/migrate/20140306134616_remove_kind_from_sections.rb
|
174
|
+
- db/migrate/20140306162143_polymorphize_sections.rb
|
175
|
+
- db/migrate/20140306181906_create_knowledge_base_sectionables_videos.rb
|
176
|
+
- db/migrate/20140306194339_create_knowledge_base_sectionables_galleries.rb
|
177
|
+
- db/migrate/20140306194600_create_knowledge_base_sectionables_gallery_images.rb
|
178
|
+
- db/migrate/20140306200631_create_knowledge_base_sectionables_lists.rb
|
179
|
+
- db/migrate/20140306210259_create_knowledge_base_sectionables_list_items.rb
|
180
|
+
- db/migrate/20140307080616_create_knowledge_base_category_article_associations.rb
|
181
|
+
- db/migrate/20140307092627_create_knowledge_base_sectionables_links.rb
|
182
|
+
- db/migrate/20140307092719_create_knowledge_base_sectionables_links_links.rb
|
183
|
+
- lib/knowledge_base.rb
|
184
|
+
- lib/knowledge_base/configuration.rb
|
185
|
+
- lib/knowledge_base/engine.rb
|
186
|
+
- lib/knowledge_base/version.rb
|
187
|
+
- lib/tasks/knowledge_base_tasks.rake
|
188
|
+
- spec/controllers/knowledge_base/articles_controller_spec.rb
|
189
|
+
- spec/controllers/knowledge_base/categories_controller_spec.rb
|
190
|
+
- spec/dummy/README.rdoc
|
191
|
+
- spec/dummy/Rakefile
|
192
|
+
- spec/dummy/app/assets/javascripts/application.js
|
193
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
194
|
+
- spec/dummy/app/controllers/application_controller.rb
|
195
|
+
- spec/dummy/app/helpers/application_helper.rb
|
196
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
197
|
+
- spec/dummy/bin/bundle
|
198
|
+
- spec/dummy/bin/rails
|
199
|
+
- spec/dummy/bin/rake
|
200
|
+
- spec/dummy/config.ru
|
201
|
+
- spec/dummy/config/application.rb
|
202
|
+
- spec/dummy/config/boot.rb
|
203
|
+
- spec/dummy/config/database.yml
|
204
|
+
- spec/dummy/config/environment.rb
|
205
|
+
- spec/dummy/config/environments/development.rb
|
206
|
+
- spec/dummy/config/environments/production.rb
|
207
|
+
- spec/dummy/config/environments/test.rb
|
208
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
209
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
210
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
211
|
+
- spec/dummy/config/initializers/inflections.rb
|
212
|
+
- spec/dummy/config/initializers/mime_types.rb
|
213
|
+
- spec/dummy/config/initializers/session_store.rb
|
214
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
215
|
+
- spec/dummy/config/locales/en.yml
|
216
|
+
- spec/dummy/config/routes.rb
|
217
|
+
- spec/dummy/config/secrets.yml
|
218
|
+
- spec/dummy/db/development.sqlite3
|
219
|
+
- spec/dummy/db/schema.rb
|
220
|
+
- spec/dummy/db/seeds.rb
|
221
|
+
- spec/dummy/log/development.log
|
222
|
+
- spec/dummy/log/test.log
|
223
|
+
- spec/dummy/public/404.html
|
224
|
+
- spec/dummy/public/422.html
|
225
|
+
- spec/dummy/public/500.html
|
226
|
+
- spec/dummy/public/favicon.ico
|
227
|
+
- spec/dummy/public/uploads/knowledge_base/sectionables/gallery/image/image/1/parrot.png
|
228
|
+
- spec/dummy/public/uploads/knowledge_base/sectionables/gallery/image/image/2/parrot.png
|
229
|
+
- spec/dummy/public/uploads/knowledge_base/sectionables/image/image/1/parrot.png
|
230
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/062b47a3a70e4df7224b893bf001a98f
|
231
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/183c0bd4fe8641adfc2b9f735484664a
|
232
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2f86727a5dfdf38270057bb8a6b140bc
|
233
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/32c50a0141ffd19eb481b35a22532865
|
234
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/806fae72d2de8ab235cdf1503e8c950b
|
235
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/e9c371dd2bf884ad2ab7c34915daf486
|
236
|
+
- spec/dummy/tmp/pids/server.pid
|
237
|
+
- spec/factories/knowledge_base_articles.rb
|
238
|
+
- spec/factories/knowledge_base_categories.rb
|
239
|
+
- spec/factories/knowledge_base_category_article_associations.rb
|
240
|
+
- spec/factories/knowledge_base_sectionables_galleries.rb
|
241
|
+
- spec/factories/knowledge_base_sectionables_gallery_images.rb
|
242
|
+
- spec/factories/knowledge_base_sectionables_images.rb
|
243
|
+
- spec/factories/knowledge_base_sectionables_links.rb
|
244
|
+
- spec/factories/knowledge_base_sectionables_links_links.rb
|
245
|
+
- spec/factories/knowledge_base_sectionables_list_items.rb
|
246
|
+
- spec/factories/knowledge_base_sectionables_lists.rb
|
247
|
+
- spec/factories/knowledge_base_sectionables_texts.rb
|
248
|
+
- spec/factories/knowledge_base_sectionables_videos.rb
|
249
|
+
- spec/factories/knowledge_base_sections.rb
|
250
|
+
- spec/fixtures/parrot.png
|
251
|
+
- spec/lib/knowledge_base/configuration_spec.rb
|
252
|
+
- spec/models/knowledge_base/article_spec.rb
|
253
|
+
- spec/models/knowledge_base/category_article_association_spec.rb
|
254
|
+
- spec/models/knowledge_base/category_spec.rb
|
255
|
+
- spec/models/knowledge_base/section_spec.rb
|
256
|
+
- spec/models/knowledge_base/sectionables/gallery/image_spec.rb
|
257
|
+
- spec/models/knowledge_base/sectionables/gallery_spec.rb
|
258
|
+
- spec/models/knowledge_base/sectionables/image_spec.rb
|
259
|
+
- spec/models/knowledge_base/sectionables/links/link_spec.rb
|
260
|
+
- spec/models/knowledge_base/sectionables/links_spec.rb
|
261
|
+
- spec/models/knowledge_base/sectionables/list/item_spec.rb
|
262
|
+
- spec/models/knowledge_base/sectionables/list_spec.rb
|
263
|
+
- spec/models/knowledge_base/sectionables/text_spec.rb
|
264
|
+
- spec/models/knowledge_base/sectionables/video_spec.rb
|
265
|
+
- spec/spec_helper.rb
|
266
|
+
- spec/views/knowledge_base/articles/show.html.erb_spec.rb
|
267
|
+
- spec/views/knowledge_base/categories/index.html.erb_spec.rb
|
268
|
+
- spec/views/knowledge_base/categories/show.html.erb_spec.rb
|
269
|
+
homepage: http://github.com/hyperoslo/knowledge_Base
|
270
|
+
licenses:
|
271
|
+
- MIT
|
272
|
+
metadata: {}
|
273
|
+
post_install_message:
|
274
|
+
rdoc_options: []
|
275
|
+
require_paths:
|
276
|
+
- lib
|
277
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
278
|
+
requirements:
|
279
|
+
- - '>='
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: '0'
|
282
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
|
+
requirements:
|
284
|
+
- - '>='
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
version: '0'
|
287
|
+
requirements: []
|
288
|
+
rubyforge_project:
|
289
|
+
rubygems_version: 2.2.2
|
290
|
+
signing_key:
|
291
|
+
specification_version: 4
|
292
|
+
summary: Knowledge Base is a bunch of models for Ruby on Rails that you probably need
|
293
|
+
to build your own
|
294
|
+
test_files:
|
295
|
+
- spec/controllers/knowledge_base/articles_controller_spec.rb
|
296
|
+
- spec/controllers/knowledge_base/categories_controller_spec.rb
|
297
|
+
- spec/dummy/app/assets/javascripts/application.js
|
298
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
299
|
+
- spec/dummy/app/controllers/application_controller.rb
|
300
|
+
- spec/dummy/app/helpers/application_helper.rb
|
301
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
302
|
+
- spec/dummy/bin/bundle
|
303
|
+
- spec/dummy/bin/rails
|
304
|
+
- spec/dummy/bin/rake
|
305
|
+
- spec/dummy/config/application.rb
|
306
|
+
- spec/dummy/config/boot.rb
|
307
|
+
- spec/dummy/config/database.yml
|
308
|
+
- spec/dummy/config/environment.rb
|
309
|
+
- spec/dummy/config/environments/development.rb
|
310
|
+
- spec/dummy/config/environments/production.rb
|
311
|
+
- spec/dummy/config/environments/test.rb
|
312
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
313
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
314
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
315
|
+
- spec/dummy/config/initializers/inflections.rb
|
316
|
+
- spec/dummy/config/initializers/mime_types.rb
|
317
|
+
- spec/dummy/config/initializers/session_store.rb
|
318
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
319
|
+
- spec/dummy/config/locales/en.yml
|
320
|
+
- spec/dummy/config/routes.rb
|
321
|
+
- spec/dummy/config/secrets.yml
|
322
|
+
- spec/dummy/config.ru
|
323
|
+
- spec/dummy/db/development.sqlite3
|
324
|
+
- spec/dummy/db/schema.rb
|
325
|
+
- spec/dummy/db/seeds.rb
|
326
|
+
- spec/dummy/log/development.log
|
327
|
+
- spec/dummy/log/test.log
|
328
|
+
- spec/dummy/public/404.html
|
329
|
+
- spec/dummy/public/422.html
|
330
|
+
- spec/dummy/public/500.html
|
331
|
+
- spec/dummy/public/favicon.ico
|
332
|
+
- spec/dummy/public/uploads/knowledge_base/sectionables/gallery/image/image/1/parrot.png
|
333
|
+
- spec/dummy/public/uploads/knowledge_base/sectionables/gallery/image/image/2/parrot.png
|
334
|
+
- spec/dummy/public/uploads/knowledge_base/sectionables/image/image/1/parrot.png
|
335
|
+
- spec/dummy/Rakefile
|
336
|
+
- spec/dummy/README.rdoc
|
337
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/062b47a3a70e4df7224b893bf001a98f
|
338
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/183c0bd4fe8641adfc2b9f735484664a
|
339
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2f86727a5dfdf38270057bb8a6b140bc
|
340
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/32c50a0141ffd19eb481b35a22532865
|
341
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/806fae72d2de8ab235cdf1503e8c950b
|
342
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/e9c371dd2bf884ad2ab7c34915daf486
|
343
|
+
- spec/dummy/tmp/pids/server.pid
|
344
|
+
- spec/factories/knowledge_base_articles.rb
|
345
|
+
- spec/factories/knowledge_base_categories.rb
|
346
|
+
- spec/factories/knowledge_base_category_article_associations.rb
|
347
|
+
- spec/factories/knowledge_base_sectionables_galleries.rb
|
348
|
+
- spec/factories/knowledge_base_sectionables_gallery_images.rb
|
349
|
+
- spec/factories/knowledge_base_sectionables_images.rb
|
350
|
+
- spec/factories/knowledge_base_sectionables_links.rb
|
351
|
+
- spec/factories/knowledge_base_sectionables_links_links.rb
|
352
|
+
- spec/factories/knowledge_base_sectionables_list_items.rb
|
353
|
+
- spec/factories/knowledge_base_sectionables_lists.rb
|
354
|
+
- spec/factories/knowledge_base_sectionables_texts.rb
|
355
|
+
- spec/factories/knowledge_base_sectionables_videos.rb
|
356
|
+
- spec/factories/knowledge_base_sections.rb
|
357
|
+
- spec/fixtures/parrot.png
|
358
|
+
- spec/lib/knowledge_base/configuration_spec.rb
|
359
|
+
- spec/models/knowledge_base/article_spec.rb
|
360
|
+
- spec/models/knowledge_base/category_article_association_spec.rb
|
361
|
+
- spec/models/knowledge_base/category_spec.rb
|
362
|
+
- spec/models/knowledge_base/section_spec.rb
|
363
|
+
- spec/models/knowledge_base/sectionables/gallery/image_spec.rb
|
364
|
+
- spec/models/knowledge_base/sectionables/gallery_spec.rb
|
365
|
+
- spec/models/knowledge_base/sectionables/image_spec.rb
|
366
|
+
- spec/models/knowledge_base/sectionables/links/link_spec.rb
|
367
|
+
- spec/models/knowledge_base/sectionables/links_spec.rb
|
368
|
+
- spec/models/knowledge_base/sectionables/list/item_spec.rb
|
369
|
+
- spec/models/knowledge_base/sectionables/list_spec.rb
|
370
|
+
- spec/models/knowledge_base/sectionables/text_spec.rb
|
371
|
+
- spec/models/knowledge_base/sectionables/video_spec.rb
|
372
|
+
- spec/spec_helper.rb
|
373
|
+
- spec/views/knowledge_base/articles/show.html.erb_spec.rb
|
374
|
+
- spec/views/knowledge_base/categories/index.html.erb_spec.rb
|
375
|
+
- spec/views/knowledge_base/categories/show.html.erb_spec.rb
|