cerberus-annotations 0.0.1 → 0.0.2

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: 07cae43a204adaf7202bdf5bbbd2b5ae7429fa3e
4
- data.tar.gz: 8612361186f4e3be2256bc8d2ebf74a18422a1a2
3
+ metadata.gz: 32d4dd8302ec156f305dcffa084cf3d0d324b9c5
4
+ data.tar.gz: 0254122394b273be0e7b8e901a574ac7da1b6538
5
5
  SHA512:
6
- metadata.gz: b31856248e71ecdb931386fcd228ccd3902bcca0abfad15af5c9df0ab0ea7b3007989fb029354893412bccdf6b20ddc52733330392ea17bf2160576f389cb687
7
- data.tar.gz: e97c79581b2c32aa32c7b6211b4d9077b2a5038e79d5a6ba51a07ff3971da6f91c18136f6ab71293e69b8e5f7f64f3304db70659158ee0ca4d5029b88963b486
6
+ metadata.gz: b8b2229d199e1c471a8c234b55fd86548561ba2cae28477d4545e3ad56f0824daed3c087595238ff69f629434b52cc3a0992b1509f00ce713f4414f7aa6b5f16
7
+ data.tar.gz: 35786e957bc0b9bb94604b86152ccdd444984b6e2404d31af01ffdabb6c8ca580889d047986e1ccc888008ff69a9b9bcb0b41f2ac8f51d353547e3bfd454810a
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/sul-dlss/cerberus-annotations.svg?branch=master)](https://travis-ci.org/sul-dlss/cerberus-annotations) [![Dependency Status](https://gemnasium.com/sul-dlss/cerberus-annotations.svg)](https://gemnasium.com/sul-dlss/cerberus-annotations) [![Gem Version](https://badge.fury.io/rb/cerberus-annotations.svg)](http://badge.fury.io/rb/cerberus-annotations)
2
+
1
3
  # Cerberus annotations
2
4
 
3
5
  Demonstration linked data application to support the Linked Data for Libraries use cases.
@@ -10,4 +10,6 @@
10
10
  // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
12
12
  //
13
+ //= require jquery
14
+ //= require bootstrap-sprockets
13
15
  //= require_tree .
@@ -13,3 +13,6 @@
13
13
  *= require_tree .
14
14
  *= require_self
15
15
  */
16
+
17
+ @import "bootstrap-sprockets";
18
+ @import "bootstrap";
@@ -1,3 +1,4 @@
1
+ <h1>Annotations</h1>
1
2
  <ul>
2
3
  <% @annotations.each do |a| %>
3
4
  <li><%= link_to a, annotation_path(a) %></li>
@@ -1,2 +1,4 @@
1
1
  <h1>Annotation</h1>
2
+ <pre>
2
3
  <%= @annotation.graph.dump(:ttl) %>
4
+ </pre>
@@ -1,14 +1,37 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
4
7
  <title>Cerberus</title>
5
8
  <%= stylesheet_link_tag "cerberus/annotations/application", media: "all" %>
6
9
  <%= javascript_include_tag "cerberus/annotations/application" %>
7
10
  <%= csrf_meta_tags %>
8
11
  </head>
9
12
  <body>
10
-
11
- <%= yield %>
12
-
13
+ <div class="container">
14
+ <!-- Static navbar -->
15
+ <div class="navbar navbar-default" role="navigation">
16
+ <div class="container-fluid">
17
+ <div class="navbar-header">
18
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
19
+ <span class="sr-only">Toggle navigation</span>
20
+ <span class="icon-bar"></span>
21
+ <span class="icon-bar"></span>
22
+ <span class="icon-bar"></span>
23
+ </button>
24
+ <%= link_to "Cerberus", root_path, class: 'navbar-brand' %>
25
+ </div>
26
+ <div class="navbar-collapse collapse">
27
+ <ul class="nav navbar-nav">
28
+ </ul>
29
+ <ul class="nav navbar-nav navbar-right">
30
+ </ul>
31
+ </div><!--/.nav-collapse -->
32
+ </div><!--/.container-fluid -->
33
+ </div>
34
+ <%= yield %>
35
+ </div>
13
36
  </body>
14
37
  </html>
@@ -1,4 +1,7 @@
1
1
  require 'linkeddata'
2
+ require 'rdf/open_annotation'
3
+ require 'bootstrap-sass'
4
+
2
5
  module Cerberus
3
6
  module Annotations
4
7
  require "cerberus/annotations/engine"
@@ -1,5 +1,5 @@
1
1
  module Cerberus
2
2
  module Annotations
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cerberus-annotations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-05 00:00:00.000000000 Z
11
+ date: 2014-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -52,6 +52,48 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdf-open_annotation
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: bootstrap-sass
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: sass-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 5.0.0.beta1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 5.0.0.beta1
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: sqlite3
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -146,7 +188,7 @@ files:
146
188
  - README.md
147
189
  - Rakefile
148
190
  - app/assets/javascripts/cerberus/annotations/application.js
149
- - app/assets/stylesheets/cerberus/annotations/application.css
191
+ - app/assets/stylesheets/cerberus/annotations/application.css.scss
150
192
  - app/controllers/cerberus/annotations/annotations_controller.rb
151
193
  - app/controllers/cerberus/annotations/application_controller.rb
152
194
  - app/helpers/cerberus/annotations/application_helper.rb
@@ -181,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
223
  version: '0'
182
224
  requirements: []
183
225
  rubyforge_project:
184
- rubygems_version: 2.2.2
226
+ rubygems_version: 2.2.0
185
227
  signing_key:
186
228
  specification_version: 4
187
229
  summary: Open Annotation demonstrator for LD4L