wacky 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +19 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/wacky/ace.js +12 -0
- data/app/assets/javascripts/wacky/application.js +19 -0
- data/app/assets/stylesheets/wacky/ace.css.scss +6 -0
- data/app/assets/stylesheets/wacky/application.css +13 -0
- data/app/controllers/wacky/application_controller.rb +4 -0
- data/app/controllers/wacky/pages_controller.rb +56 -0
- data/app/helpers/wacky/application_helper.rb +4 -0
- data/app/models/wacky/page.rb +24 -0
- data/app/views/layouts/wacky/application.html.slim +11 -0
- data/app/views/wacky/pages/edit.html.slim +8 -0
- data/app/views/wacky/pages/new.html.slim +11 -0
- data/app/views/wacky/pages/show.html.slim +5 -0
- data/app/views/wacky/pages/version.html.slim +10 -0
- data/app/views/wacky/pages/versions.html.slim +15 -0
- data/config/routes.rb +13 -0
- data/db/migrate/20121228200953_create_pages.rb +9 -0
- data/db/migrate/20121230044818_create_versions.rb +18 -0
- data/lib/tasks/wacky_tasks.rake +4 -0
- data/lib/wacky/engine.rb +5 -0
- data/lib/wacky/version.rb +3 -0
- data/lib/wacky.rb +12 -0
- metadata +379 -0
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2012 YOURNAME
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
## Wacky
|
2
|
+
|
3
|
+
Wacky is an engine for Rails that aims to be the best wiki. The end goal is to
|
4
|
+
have a drop-in wiki for any given Rails app.
|
5
|
+
|
6
|
+
### Installation
|
7
|
+
|
8
|
+
Add wacky to your Gemfile:
|
9
|
+
|
10
|
+
gem 'wacky'
|
11
|
+
|
12
|
+
Mount wacky on your app:
|
13
|
+
|
14
|
+
mount Wacky, at: '/wiki'
|
15
|
+
|
16
|
+
Copy the migrations and run them:
|
17
|
+
|
18
|
+
rake wacky:install:migrations
|
19
|
+
rake db:migrate
|
data/Rakefile
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
begin
|
3
|
+
require 'bundler/setup'
|
4
|
+
rescue LoadError
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
+
end
|
7
|
+
begin
|
8
|
+
require 'rdoc/task'
|
9
|
+
rescue LoadError
|
10
|
+
require 'rdoc/rdoc'
|
11
|
+
require 'rake/rdoctask'
|
12
|
+
RDoc::Task = Rake::RDocTask
|
13
|
+
end
|
14
|
+
|
15
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
16
|
+
rdoc.rdoc_dir = 'rdoc'
|
17
|
+
rdoc.title = 'Wacky'
|
18
|
+
rdoc.options << '--line-numbers'
|
19
|
+
rdoc.rdoc_files.include('README.rdoc')
|
20
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
+
end
|
22
|
+
|
23
|
+
Bundler.require :default, :development
|
24
|
+
Combustion::Application.load_tasks
|
25
|
+
|
26
|
+
Bundler::GemHelper.install_tasks
|
27
|
+
|
28
|
+
require 'rake/testtask'
|
29
|
+
|
30
|
+
Rake::TestTask.new(:test) do |t|
|
31
|
+
t.libs << 'lib'
|
32
|
+
t.libs << 'spec'
|
33
|
+
t.pattern = 'spec/**/*_spec.rb'
|
34
|
+
t.verbose = false
|
35
|
+
end
|
36
|
+
|
37
|
+
task :default => :test
|
@@ -0,0 +1,12 @@
|
|
1
|
+
$(function(){
|
2
|
+
if($('#page_editor')[0]){
|
3
|
+
var editor = ace.edit("page_editor");
|
4
|
+
var textarea = $('#page_body').hide();
|
5
|
+
editor.getSession().setValue(textarea.val());
|
6
|
+
editor.getSession().on('change', function(){
|
7
|
+
textarea.val(editor.getSession().getValue());
|
8
|
+
});
|
9
|
+
editor.setTheme("ace/theme/solarized_dark");
|
10
|
+
editor.getSession().setMode("ace/mode/markdown");
|
11
|
+
}
|
12
|
+
});
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// the compiled file.
|
9
|
+
//
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require ace
|
16
|
+
//= require theme-solarized_dark.js
|
17
|
+
//= require mode-markdown.js
|
18
|
+
//= require keybinding-vim
|
19
|
+
//= require_tree .
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
@@ -0,0 +1,56 @@
|
|
1
|
+
module Wacky
|
2
|
+
class PagesController < Wacky::ApplicationController
|
3
|
+
def show
|
4
|
+
load_page
|
5
|
+
end
|
6
|
+
|
7
|
+
def new
|
8
|
+
@page = Page.new
|
9
|
+
@page.slug = params[:id]
|
10
|
+
end
|
11
|
+
|
12
|
+
def create
|
13
|
+
@page = Page.new
|
14
|
+
@page.slug = params[:page]['slug']
|
15
|
+
@page.body = params[:page]['body']
|
16
|
+
if @page.save
|
17
|
+
redirect_to @page, notice: "Page created successfully."
|
18
|
+
else
|
19
|
+
render 'new', error: 'There was a problem creating the page.'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def edit
|
24
|
+
load_page
|
25
|
+
end
|
26
|
+
|
27
|
+
def update
|
28
|
+
load_page
|
29
|
+
@page.body = params[:page]['body']
|
30
|
+
@page.save
|
31
|
+
redirect_to @page
|
32
|
+
end
|
33
|
+
|
34
|
+
def versions
|
35
|
+
load_page
|
36
|
+
end
|
37
|
+
|
38
|
+
def version
|
39
|
+
load_page
|
40
|
+
@page = @page.versions[params[:version].to_i].reify
|
41
|
+
end
|
42
|
+
|
43
|
+
def revert_to_version
|
44
|
+
load_page
|
45
|
+
@page = @page.versions[params[:version].to_i].reify
|
46
|
+
@page.save
|
47
|
+
redirect_to @page
|
48
|
+
end
|
49
|
+
|
50
|
+
protected
|
51
|
+
def load_page
|
52
|
+
@page = Page.find_by_slug(params[:id])
|
53
|
+
redirect_to new_page_path(id: params[:id]) unless @page
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Wacky
|
2
|
+
class Page < ActiveRecord::Base
|
3
|
+
validates_presence_of :slug
|
4
|
+
has_paper_trail
|
5
|
+
|
6
|
+
def to_html
|
7
|
+
markdown_parser.render(body)
|
8
|
+
end
|
9
|
+
|
10
|
+
def to_param
|
11
|
+
slug
|
12
|
+
end
|
13
|
+
|
14
|
+
private
|
15
|
+
def wiki_parser
|
16
|
+
Wikitop::Parser.new
|
17
|
+
end
|
18
|
+
|
19
|
+
def markdown_parser
|
20
|
+
Redcarpet::Markdown.new(Redcarpet::Render::HTML,
|
21
|
+
:autolink => true, :space_after_headers => true)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
h2 Showing version #{params[:version]} of #{@page.slug}
|
2
|
+
|
3
|
+
= @page.to_html.html_safe
|
4
|
+
|
5
|
+
= form_tag revert_to_version_page_path(@page) do
|
6
|
+
= hidden_field_tag :version, params[:version]
|
7
|
+
= submit_tag "Revert to this version"
|
8
|
+
|
9
|
+
ul.actions
|
10
|
+
li= link_to "Back to original", page_path(@page)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
h2 Versions of #{@page.slug}
|
2
|
+
|
3
|
+
table.subdued.versions
|
4
|
+
thead
|
5
|
+
tr
|
6
|
+
th #
|
7
|
+
th Created At
|
8
|
+
tbody
|
9
|
+
- @page.versions.each do |version|
|
10
|
+
tr class=cycle('odd', 'even')
|
11
|
+
td= link_to(version.index, version_page_path(@page, version: version.index))
|
12
|
+
td= version.created_at.to_s(:db)
|
13
|
+
|
14
|
+
ul.actions
|
15
|
+
li= link_to "Back to original", page_path(@page)
|
data/config/routes.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
class CreateVersions < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :versions do |t|
|
4
|
+
t.string :item_type, :null => false
|
5
|
+
t.integer :item_id, :null => false
|
6
|
+
t.string :event, :null => false
|
7
|
+
t.string :whodunnit
|
8
|
+
t.text :object
|
9
|
+
t.datetime :created_at
|
10
|
+
end
|
11
|
+
add_index :versions, [:item_type, :item_id]
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.down
|
15
|
+
remove_index :versions, [:item_type, :item_id]
|
16
|
+
drop_table :versions
|
17
|
+
end
|
18
|
+
end
|
data/lib/wacky/engine.rb
ADDED
data/lib/wacky.rb
ADDED
metadata
ADDED
@@ -0,0 +1,379 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wacky
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Josh Adams
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.9
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.9
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: wikitop
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: slim
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: redcarpet
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: jquery-rails
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: ace-rails-ap
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: paper_trail
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: sqlite3
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: combustion
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 0.3.1
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 0.3.1
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: minitest
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: minitest-matchers
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: valid_attribute
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: turn
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
name: pry
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ! '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: capybara
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
242
|
+
requirements:
|
243
|
+
- - ! '>='
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0'
|
246
|
+
type: :development
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
254
|
+
- !ruby/object:Gem::Dependency
|
255
|
+
name: launchy
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
258
|
+
requirements:
|
259
|
+
- - ! '>='
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '0'
|
262
|
+
type: :development
|
263
|
+
prerelease: false
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ! '>='
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: '0'
|
270
|
+
- !ruby/object:Gem::Dependency
|
271
|
+
name: minitest-capybara
|
272
|
+
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
274
|
+
requirements:
|
275
|
+
- - ! '>='
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '0'
|
278
|
+
type: :development
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ! '>='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
- !ruby/object:Gem::Dependency
|
287
|
+
name: minitest-spec-rails
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
290
|
+
requirements:
|
291
|
+
- - ! '>='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
type: :development
|
295
|
+
prerelease: false
|
296
|
+
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
298
|
+
requirements:
|
299
|
+
- - ! '>='
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: '0'
|
302
|
+
- !ruby/object:Gem::Dependency
|
303
|
+
name: database_cleaner
|
304
|
+
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
306
|
+
requirements:
|
307
|
+
- - ! '>='
|
308
|
+
- !ruby/object:Gem::Version
|
309
|
+
version: '0'
|
310
|
+
type: :development
|
311
|
+
prerelease: false
|
312
|
+
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
314
|
+
requirements:
|
315
|
+
- - ! '>='
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
318
|
+
description: A wiki engine for rails
|
319
|
+
email:
|
320
|
+
- josh@isotope11.com
|
321
|
+
executables: []
|
322
|
+
extensions: []
|
323
|
+
extra_rdoc_files: []
|
324
|
+
files:
|
325
|
+
- app/views/layouts/wacky/application.html.slim
|
326
|
+
- app/views/wacky/pages/versions.html.slim
|
327
|
+
- app/views/wacky/pages/new.html.slim
|
328
|
+
- app/views/wacky/pages/version.html.slim
|
329
|
+
- app/views/wacky/pages/show.html.slim
|
330
|
+
- app/views/wacky/pages/edit.html.slim
|
331
|
+
- app/models/wacky/page.rb
|
332
|
+
- app/assets/javascripts/wacky/ace.js
|
333
|
+
- app/assets/javascripts/wacky/application.js
|
334
|
+
- app/assets/stylesheets/wacky/ace.css.scss
|
335
|
+
- app/assets/stylesheets/wacky/application.css
|
336
|
+
- app/controllers/wacky/application_controller.rb
|
337
|
+
- app/controllers/wacky/pages_controller.rb
|
338
|
+
- app/helpers/wacky/application_helper.rb
|
339
|
+
- config/routes.rb
|
340
|
+
- db/migrate/20121230044818_create_versions.rb
|
341
|
+
- db/migrate/20121228200953_create_pages.rb
|
342
|
+
- lib/tasks/wacky_tasks.rake
|
343
|
+
- lib/wacky.rb
|
344
|
+
- lib/wacky/version.rb
|
345
|
+
- lib/wacky/engine.rb
|
346
|
+
- MIT-LICENSE
|
347
|
+
- Rakefile
|
348
|
+
- README.md
|
349
|
+
homepage: http://www.isotope11.com
|
350
|
+
licenses: []
|
351
|
+
post_install_message:
|
352
|
+
rdoc_options: []
|
353
|
+
require_paths:
|
354
|
+
- lib
|
355
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
356
|
+
none: false
|
357
|
+
requirements:
|
358
|
+
- - ! '>='
|
359
|
+
- !ruby/object:Gem::Version
|
360
|
+
version: '0'
|
361
|
+
segments:
|
362
|
+
- 0
|
363
|
+
hash: -1376317284474093630
|
364
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
365
|
+
none: false
|
366
|
+
requirements:
|
367
|
+
- - ! '>='
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0'
|
370
|
+
segments:
|
371
|
+
- 0
|
372
|
+
hash: -1376317284474093630
|
373
|
+
requirements: []
|
374
|
+
rubyforge_project:
|
375
|
+
rubygems_version: 1.8.24
|
376
|
+
signing_key:
|
377
|
+
specification_version: 3
|
378
|
+
summary: A wiki engine for rails
|
379
|
+
test_files: []
|