sharkey-web 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/Gemfile +4 -0
- data/LICENSE.md +19 -0
- data/README.md +188 -0
- data/Rakefile +8 -0
- data/bin/sharkey-web +9 -0
- data/config.ru +3 -0
- data/lib/sharkey.rb +12 -0
- data/lib/sharkey/app.rb +526 -0
- data/lib/sharkey/importerexporter.rb +79 -0
- data/lib/sharkey/models.rb +295 -0
- data/lib/sharkey/public/css/loading.gif +0 -0
- data/lib/sharkey/public/css/magicsuggest.css +232 -0
- data/lib/sharkey/public/css/nprogress.css +74 -0
- data/lib/sharkey/public/css/styles.css +263 -0
- data/lib/sharkey/public/css/ui.fancytree.css +545 -0
- data/lib/sharkey/public/data/sentences.txt +5 -0
- data/lib/sharkey/public/fonts/Quadrata.eot +0 -0
- data/lib/sharkey/public/fonts/Quadrata.svg +613 -0
- data/lib/sharkey/public/fonts/Quadrata.ttf +0 -0
- data/lib/sharkey/public/fonts/Quadrata.woff +0 -0
- data/lib/sharkey/public/fonts/Quadrata.zip +0 -0
- data/lib/sharkey/public/images/loader.gif +0 -0
- data/lib/sharkey/public/images/sharkey-logo.png +0 -0
- data/lib/sharkey/public/images/sharkey.png +0 -0
- data/lib/sharkey/public/js/ajaxmanager.js +67 -0
- data/lib/sharkey/public/js/keybindings.js +92 -0
- data/lib/sharkey/public/js/lib/bootstrap.min.js +6 -0
- data/lib/sharkey/public/js/lib/jquery-1.9.1.min.js +5 -0
- data/lib/sharkey/public/js/lib/jquery-ui.js +16150 -0
- data/lib/sharkey/public/js/lib/jquery.bootstrap-autohidingnavbar.js +213 -0
- data/lib/sharkey/public/js/lib/jquery.fancytree-all.js +6424 -0
- data/lib/sharkey/public/js/lib/jquery.tagcloud.js +92 -0
- data/lib/sharkey/public/js/lib/magicsuggest.js +1468 -0
- data/lib/sharkey/public/js/lib/mousetrap.min.js +9 -0
- data/lib/sharkey/public/js/lib/nprogress.js +476 -0
- data/lib/sharkey/public/js/page-add-link-autofill.js +102 -0
- data/lib/sharkey/public/js/page-add-link.js +156 -0
- data/lib/sharkey/public/js/page-categories.js +348 -0
- data/lib/sharkey/public/js/page-edit-link.js +103 -0
- data/lib/sharkey/public/js/page-links.js +54 -0
- data/lib/sharkey/public/js/page-settings.js +93 -0
- data/lib/sharkey/public/js/page-tagcloud.js +35 -0
- data/lib/sharkey/public/js/page-tags.js +287 -0
- data/lib/sharkey/public/js/scripts.js +147 -0
- data/lib/sharkey/public/themes/amelia/style.css +7 -0
- data/lib/sharkey/public/themes/bootstrap/style.css +5785 -0
- data/lib/sharkey/public/themes/cerulean/style.css +7 -0
- data/lib/sharkey/public/themes/cosmo/style.css +7 -0
- data/lib/sharkey/public/themes/cyborg/style.css +7 -0
- data/lib/sharkey/public/themes/darkly/style.css +7 -0
- data/lib/sharkey/public/themes/facebook-like/README.md +6 -0
- data/lib/sharkey/public/themes/facebook-like/style.css +6085 -0
- data/lib/sharkey/public/themes/flatly/style.css +7 -0
- data/lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.eot +0 -0
- data/lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.svg +229 -0
- data/lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.woff +0 -0
- data/lib/sharkey/public/themes/holo-like/README.md +5 -0
- data/lib/sharkey/public/themes/holo-like/style.css +5997 -0
- data/lib/sharkey/public/themes/journal/style.css +7 -0
- data/lib/sharkey/public/themes/lumen/style.css +7 -0
- data/lib/sharkey/public/themes/readable/style.css +7 -0
- data/lib/sharkey/public/themes/simplex/style.css +7 -0
- data/lib/sharkey/public/themes/slate/style.css +7 -0
- data/lib/sharkey/public/themes/spacelab/style.css +7 -0
- data/lib/sharkey/public/themes/superhero/style.css +7 -0
- data/lib/sharkey/public/themes/united/style.css +7 -0
- data/lib/sharkey/public/themes/yeti/style.css +7 -0
- data/lib/sharkey/setting.rb +74 -0
- data/lib/sharkey/version.rb +5 -0
- data/lib/sharkey/views/404.slim +4 -0
- data/lib/sharkey/views/about.slim +7 -0
- data/lib/sharkey/views/add_link.slim +157 -0
- data/lib/sharkey/views/categories.slim +101 -0
- data/lib/sharkey/views/category.slim +22 -0
- data/lib/sharkey/views/centered.slim +49 -0
- data/lib/sharkey/views/dashboard.slim +107 -0
- data/lib/sharkey/views/dashboard_index.slim +26 -0
- data/lib/sharkey/views/edit_link.slim +121 -0
- data/lib/sharkey/views/help.slim +74 -0
- data/lib/sharkey/views/keybindings.slim +58 -0
- data/lib/sharkey/views/link.slim +30 -0
- data/lib/sharkey/views/links.slim +22 -0
- data/lib/sharkey/views/navbar.slim +68 -0
- data/lib/sharkey/views/settings.slim +74 -0
- data/lib/sharkey/views/settings_index.slim +220 -0
- data/lib/sharkey/views/single_category.slim +37 -0
- data/lib/sharkey/views/single_link.slim +95 -0
- data/lib/sharkey/views/single_tag.slim +33 -0
- data/lib/sharkey/views/tag.slim +22 -0
- data/lib/sharkey/views/tagcloud.slim +54 -0
- data/lib/sharkey/views/tags.slim +99 -0
- data/sharkey-web.gemspec +44 -0
- metadata +324 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
/ Layout for a single Tag
|
2
|
+
It will get shown as a part of a greater
|
3
|
+
list
|
4
|
+
Local variable: tag
|
5
|
+
|
6
|
+
li.folder.list-group-item.nolink
|
7
|
+
|
8
|
+
/ This span is for FancyTree to allow
|
9
|
+
inserting arbitrary HTML on items
|
10
|
+
span
|
11
|
+
a.tag-link href="/tag/#{tag.id}" = tag.name
|
12
|
+
|
13
|
+
- if not tag.links.empty?
|
14
|
+
ul
|
15
|
+
- tag.links.each do |link|
|
16
|
+
li.list-group-item
|
17
|
+
span
|
18
|
+
/ This empty <a> tag is for FancyTree to redirect
|
19
|
+
to it when pressing ENTER or SPACE.
|
20
|
+
That's because it redirects to the FIRST link
|
21
|
+
it finds.
|
22
|
+
So if you want to redirect to the EXTERNAL link
|
23
|
+
just delete this
|
24
|
+
a.link-internal-link href="/link/#{link.id}"
|
25
|
+
|
26
|
+
- if link.title.empty?
|
27
|
+
a.link-link target="_blank" href="#{link.url}" data-link-id="#{link.id}"
|
28
|
+
| #{link.url}
|
29
|
+
- else
|
30
|
+
a.link-link target="_blank" href="#{link.url}" data-link-id="#{link.id}"
|
31
|
+
| #{link.title}
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/ Layout for a page of a single Tag
|
2
|
+
|
3
|
+
== slim(:navbar, locals: { page: "tag" })
|
4
|
+
|
5
|
+
.col-md.12
|
6
|
+
.container
|
7
|
+
|
8
|
+
h1 Tag: #{tag.name}
|
9
|
+
|
10
|
+
- if tag.links.empty?
|
11
|
+
p No Links with this Tag
|
12
|
+
|
13
|
+
- else
|
14
|
+
ul.list-group
|
15
|
+
- tag.links.each do |link|
|
16
|
+
li.list-group-item
|
17
|
+
a href="/link/#{link.id}"
|
18
|
+
' (Internal Link)
|
19
|
+
|
20
|
+
a href="#{link.url}"
|
21
|
+
| #{if link.title then link.title else link.url end}
|
22
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
|
2
|
+
h1.page-header Tag Cloud
|
3
|
+
|
4
|
+
- if @tags.empty?
|
5
|
+
|
6
|
+
.alert.alert-info
|
7
|
+
| You have no tags!
|
8
|
+
|
9
|
+
- else
|
10
|
+
|
11
|
+
/ Artbitrary values
|
12
|
+
- min = 12
|
13
|
+
- max = 72
|
14
|
+
- smaller = max
|
15
|
+
- bigger = min
|
16
|
+
- rate = 1
|
17
|
+
|
18
|
+
#tagcloud
|
19
|
+
|
20
|
+
/ First we need to see how many links each
|
21
|
+
tag has, compare with the minimum and
|
22
|
+
maximum and finally calculate the growing
|
23
|
+
rate for the font size
|
24
|
+
- @tags.each do |tag|
|
25
|
+
- current = tag.links.count
|
26
|
+
|
27
|
+
- if current < min
|
28
|
+
- current = min + current
|
29
|
+
|
30
|
+
- if current > max
|
31
|
+
- current = max - current
|
32
|
+
|
33
|
+
- smaller = current if current < smaller
|
34
|
+
- bigger = current if current > bigger
|
35
|
+
|
36
|
+
- rate = (max-min)/(bigger-smaller)
|
37
|
+
|
38
|
+
- @tags.each do |tag|
|
39
|
+
- current = (tag.links.count * rate)
|
40
|
+
a href="/tag/#{tag.id}" rel="#{current}" = tag.name
|
41
|
+
|
42
|
+
/ When the page loads, activate the Tag Cloud!
|
43
|
+
We need to define this function out here so
|
44
|
+
it can get changed at `page-tagcloud.js`
|
45
|
+
javascript:
|
46
|
+
var activateTagCloud = function(){}
|
47
|
+
|
48
|
+
script src="/js/lib/jquery.tagcloud.js"
|
49
|
+
script src="/js/page-tagcloud.js"
|
50
|
+
javascript:
|
51
|
+
($(function () {
|
52
|
+
activateTagCloud(#{smaller}, #{bigger})
|
53
|
+
}))
|
54
|
+
|
@@ -0,0 +1,99 @@
|
|
1
|
+
/ Lists all tags
|
2
|
+
|
3
|
+
h1.page-header Tag List
|
4
|
+
|
5
|
+
- if @tags.empty?
|
6
|
+
|
7
|
+
.alert.alert-info
|
8
|
+
| You have no tags!
|
9
|
+
|
10
|
+
- else
|
11
|
+
|
12
|
+
p.help-block
|
13
|
+
| Navigate with your keyboard (arrow keys, enter, space, backspace, + and -)
|
14
|
+
|
15
|
+
.well.well-sm
|
16
|
+
/ Controller for sorting actions on the tag list
|
17
|
+
#tags-sorting
|
18
|
+
ul.nav.nav-pills
|
19
|
+
li#tags-sort-name
|
20
|
+
form role="form" action="/tags" method="GET"
|
21
|
+
input type="hidden" name="sort" value="name"
|
22
|
+
button.btn.btn-default type="submit"
|
23
|
+
span.glyphicon.glyphicon-sort-by-alphabet
|
24
|
+
'
|
25
|
+
| Sort by Name
|
26
|
+
li#tags-sort-name
|
27
|
+
form role="form" action="/tags" method="GET"
|
28
|
+
input type="hidden" name="sort" value="count"
|
29
|
+
button.btn.btn-default type="submit"
|
30
|
+
span.glyphicon.glyphicon-sort-by-order
|
31
|
+
'
|
32
|
+
| Sort by Links
|
33
|
+
li#tags-sort-name
|
34
|
+
form role="form" action="/tags" method="GET"
|
35
|
+
input type="hidden" name="sort" value="id"
|
36
|
+
button.btn.btn-default type="submit"
|
37
|
+
span.glyphicon.glyphicon-sort-by-attributes
|
38
|
+
'
|
39
|
+
| Sort by Creation
|
40
|
+
|
41
|
+
/ Controller for actions on the tag list
|
42
|
+
#tags-buttons
|
43
|
+
ul.nav.nav-pills
|
44
|
+
li#tags-expand
|
45
|
+
button.btn.btn-default
|
46
|
+
span.glyphicon.glyphicon-resize-full
|
47
|
+
'
|
48
|
+
| Expand all
|
49
|
+
li#tags-collapse
|
50
|
+
button.btn.btn-default
|
51
|
+
span.glyphicon.glyphicon-resize-small
|
52
|
+
'
|
53
|
+
| Collapse all
|
54
|
+
li#tags-edit
|
55
|
+
button.btn.btn-default
|
56
|
+
span.glyphicon.glyphicon-pencil
|
57
|
+
'
|
58
|
+
| Edit
|
59
|
+
li#tags-select-all
|
60
|
+
button.btn.btn-default
|
61
|
+
span.glyphicon.glyphicon-check
|
62
|
+
'
|
63
|
+
| Select all
|
64
|
+
li#tags-select-none
|
65
|
+
button.btn.btn-default
|
66
|
+
span.glyphicon.glyphicon-unchecked
|
67
|
+
'
|
68
|
+
| Select none
|
69
|
+
li#tags-select-toggle
|
70
|
+
button.btn.btn-default
|
71
|
+
span.glyphicon.glyphicon-share
|
72
|
+
'
|
73
|
+
| Toggle selection
|
74
|
+
li#tags-delete
|
75
|
+
button.btn.btn-default
|
76
|
+
span.glyphicon.glyphicon-remove
|
77
|
+
'
|
78
|
+
| Delete selected
|
79
|
+
li.btn-group#tags-delete-links data-toggle="buttons"
|
80
|
+
label.btn.btn-warning
|
81
|
+
input type="checkbox"
|
82
|
+
span.glyphicon.glyphicon-fire
|
83
|
+
'
|
84
|
+
| Also delete links within
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
#tags
|
91
|
+
ul.list-group
|
92
|
+
- @tags.each do |the_tag|
|
93
|
+
== slim(:single_tag, locals: { tag: the_tag })
|
94
|
+
|
95
|
+
/ This page's specific scripts
|
96
|
+
script src="/js/lib/jquery.fancytree-all.js"
|
97
|
+
script src="/js/ajaxmanager.js"
|
98
|
+
script src="/js/page-tags.js"
|
99
|
+
|
data/sharkey-web.gemspec
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'sharkey/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'sharkey-web'
|
8
|
+
spec.version = Sharkey::VERSION
|
9
|
+
spec.authors = ["Alexandre Dantas"]
|
10
|
+
spec.email = ["eu@alexdantas.net"]
|
11
|
+
spec.summary = "Misterious project"
|
12
|
+
spec.description = <<END
|
13
|
+
This is a misterious project.
|
14
|
+
|
15
|
+
Deal with it.
|
16
|
+
END
|
17
|
+
|
18
|
+
spec.homepage = "https://github.com/alexdantas/sharkey/"
|
19
|
+
spec.license = "MIT"
|
20
|
+
|
21
|
+
spec.files = `git ls-files`.split($/)
|
22
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
23
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
24
|
+
spec.require_paths = ["lib"]
|
25
|
+
|
26
|
+
spec.required_ruby_version = '>= 1.9.0'
|
27
|
+
|
28
|
+
# Note that the system MUST HAVE sqlite3 and libsqlite3-dev
|
29
|
+
spec.add_dependency 'sinatra', '>= 1.2.1'
|
30
|
+
spec.add_dependency 'slim'
|
31
|
+
spec.add_dependency 'data_mapper'
|
32
|
+
spec.add_dependency 'dm-types'
|
33
|
+
spec.add_dependency 'dm-sqlite-adapter'
|
34
|
+
spec.add_dependency 'chronic_duration'
|
35
|
+
spec.add_dependency 'nokogiri'
|
36
|
+
spec.add_dependency 'metainspector'
|
37
|
+
spec.add_dependency 'vegas'
|
38
|
+
|
39
|
+
spec.add_development_dependency 'rdoc'
|
40
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
41
|
+
spec.add_development_dependency 'rake'
|
42
|
+
spec.add_development_dependency 'shotgun'
|
43
|
+
end
|
44
|
+
|
metadata
ADDED
@@ -0,0 +1,324 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sharkey-web
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.3.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alexandre Dantas
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-07-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sinatra
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.2.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.2.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: slim
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: data_mapper
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dm-types
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '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'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: dm-sqlite-adapter
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
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: chronic_duration
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
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: nokogiri
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
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: metainspector
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
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
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: vegas
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rdoc
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: bundler
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.3'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.3'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rake
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: shotgun
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
description: |
|
196
|
+
This is a misterious project.
|
197
|
+
|
198
|
+
Deal with it.
|
199
|
+
email:
|
200
|
+
- eu@alexdantas.net
|
201
|
+
executables:
|
202
|
+
- sharkey-web
|
203
|
+
extensions: []
|
204
|
+
extra_rdoc_files: []
|
205
|
+
files:
|
206
|
+
- ".gitignore"
|
207
|
+
- Gemfile
|
208
|
+
- LICENSE.md
|
209
|
+
- README.md
|
210
|
+
- Rakefile
|
211
|
+
- bin/sharkey-web
|
212
|
+
- config.ru
|
213
|
+
- lib/sharkey.rb
|
214
|
+
- lib/sharkey/app.rb
|
215
|
+
- lib/sharkey/importerexporter.rb
|
216
|
+
- lib/sharkey/models.rb
|
217
|
+
- lib/sharkey/public/css/loading.gif
|
218
|
+
- lib/sharkey/public/css/magicsuggest.css
|
219
|
+
- lib/sharkey/public/css/nprogress.css
|
220
|
+
- lib/sharkey/public/css/styles.css
|
221
|
+
- lib/sharkey/public/css/ui.fancytree.css
|
222
|
+
- lib/sharkey/public/data/sentences.txt
|
223
|
+
- lib/sharkey/public/fonts/Quadrata.eot
|
224
|
+
- lib/sharkey/public/fonts/Quadrata.svg
|
225
|
+
- lib/sharkey/public/fonts/Quadrata.ttf
|
226
|
+
- lib/sharkey/public/fonts/Quadrata.woff
|
227
|
+
- lib/sharkey/public/fonts/Quadrata.zip
|
228
|
+
- lib/sharkey/public/images/loader.gif
|
229
|
+
- lib/sharkey/public/images/sharkey-logo.png
|
230
|
+
- lib/sharkey/public/images/sharkey.png
|
231
|
+
- lib/sharkey/public/js/ajaxmanager.js
|
232
|
+
- lib/sharkey/public/js/keybindings.js
|
233
|
+
- lib/sharkey/public/js/lib/bootstrap.min.js
|
234
|
+
- lib/sharkey/public/js/lib/jquery-1.9.1.min.js
|
235
|
+
- lib/sharkey/public/js/lib/jquery-ui.js
|
236
|
+
- lib/sharkey/public/js/lib/jquery.bootstrap-autohidingnavbar.js
|
237
|
+
- lib/sharkey/public/js/lib/jquery.fancytree-all.js
|
238
|
+
- lib/sharkey/public/js/lib/jquery.tagcloud.js
|
239
|
+
- lib/sharkey/public/js/lib/magicsuggest.js
|
240
|
+
- lib/sharkey/public/js/lib/mousetrap.min.js
|
241
|
+
- lib/sharkey/public/js/lib/nprogress.js
|
242
|
+
- lib/sharkey/public/js/page-add-link-autofill.js
|
243
|
+
- lib/sharkey/public/js/page-add-link.js
|
244
|
+
- lib/sharkey/public/js/page-categories.js
|
245
|
+
- lib/sharkey/public/js/page-edit-link.js
|
246
|
+
- lib/sharkey/public/js/page-links.js
|
247
|
+
- lib/sharkey/public/js/page-settings.js
|
248
|
+
- lib/sharkey/public/js/page-tagcloud.js
|
249
|
+
- lib/sharkey/public/js/page-tags.js
|
250
|
+
- lib/sharkey/public/js/scripts.js
|
251
|
+
- lib/sharkey/public/themes/amelia/style.css
|
252
|
+
- lib/sharkey/public/themes/bootstrap/style.css
|
253
|
+
- lib/sharkey/public/themes/cerulean/style.css
|
254
|
+
- lib/sharkey/public/themes/cosmo/style.css
|
255
|
+
- lib/sharkey/public/themes/cyborg/style.css
|
256
|
+
- lib/sharkey/public/themes/darkly/style.css
|
257
|
+
- lib/sharkey/public/themes/facebook-like/README.md
|
258
|
+
- lib/sharkey/public/themes/facebook-like/style.css
|
259
|
+
- lib/sharkey/public/themes/flatly/style.css
|
260
|
+
- lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.eot
|
261
|
+
- lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.svg
|
262
|
+
- lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.ttf
|
263
|
+
- lib/sharkey/public/themes/fonts/glyphicons-halflings-regular.woff
|
264
|
+
- lib/sharkey/public/themes/holo-like/README.md
|
265
|
+
- lib/sharkey/public/themes/holo-like/style.css
|
266
|
+
- lib/sharkey/public/themes/journal/style.css
|
267
|
+
- lib/sharkey/public/themes/lumen/style.css
|
268
|
+
- lib/sharkey/public/themes/readable/style.css
|
269
|
+
- lib/sharkey/public/themes/simplex/style.css
|
270
|
+
- lib/sharkey/public/themes/slate/style.css
|
271
|
+
- lib/sharkey/public/themes/spacelab/style.css
|
272
|
+
- lib/sharkey/public/themes/superhero/style.css
|
273
|
+
- lib/sharkey/public/themes/united/style.css
|
274
|
+
- lib/sharkey/public/themes/yeti/style.css
|
275
|
+
- lib/sharkey/setting.rb
|
276
|
+
- lib/sharkey/version.rb
|
277
|
+
- lib/sharkey/views/404.slim
|
278
|
+
- lib/sharkey/views/about.slim
|
279
|
+
- lib/sharkey/views/add_link.slim
|
280
|
+
- lib/sharkey/views/categories.slim
|
281
|
+
- lib/sharkey/views/category.slim
|
282
|
+
- lib/sharkey/views/centered.slim
|
283
|
+
- lib/sharkey/views/dashboard.slim
|
284
|
+
- lib/sharkey/views/dashboard_index.slim
|
285
|
+
- lib/sharkey/views/edit_link.slim
|
286
|
+
- lib/sharkey/views/help.slim
|
287
|
+
- lib/sharkey/views/keybindings.slim
|
288
|
+
- lib/sharkey/views/link.slim
|
289
|
+
- lib/sharkey/views/links.slim
|
290
|
+
- lib/sharkey/views/navbar.slim
|
291
|
+
- lib/sharkey/views/settings.slim
|
292
|
+
- lib/sharkey/views/settings_index.slim
|
293
|
+
- lib/sharkey/views/single_category.slim
|
294
|
+
- lib/sharkey/views/single_link.slim
|
295
|
+
- lib/sharkey/views/single_tag.slim
|
296
|
+
- lib/sharkey/views/tag.slim
|
297
|
+
- lib/sharkey/views/tagcloud.slim
|
298
|
+
- lib/sharkey/views/tags.slim
|
299
|
+
- sharkey-web.gemspec
|
300
|
+
homepage: https://github.com/alexdantas/sharkey/
|
301
|
+
licenses:
|
302
|
+
- MIT
|
303
|
+
metadata: {}
|
304
|
+
post_install_message:
|
305
|
+
rdoc_options: []
|
306
|
+
require_paths:
|
307
|
+
- lib
|
308
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
309
|
+
requirements:
|
310
|
+
- - ">="
|
311
|
+
- !ruby/object:Gem::Version
|
312
|
+
version: 1.9.0
|
313
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
314
|
+
requirements:
|
315
|
+
- - ">="
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
318
|
+
requirements: []
|
319
|
+
rubyforge_project:
|
320
|
+
rubygems_version: 2.2.2
|
321
|
+
signing_key:
|
322
|
+
specification_version: 4
|
323
|
+
summary: Misterious project
|
324
|
+
test_files: []
|