mitlibraries-theme 0.5.0.pre → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +121 -116
- data/README.md +12 -5
- data/app/views/layouts/_head.html.erb +14 -20
- data/app/views/layouts/_institute_footer.html.erb +6 -8
- data/app/views/layouts/_js_exception_handler.erb +12 -2
- data/app/views/layouts/_libraries_footer.html.erb +46 -11
- data/lib/mitlibraries/theme/version.rb +1 -1
- data/mitlibraries-theme.gemspec +2 -2
- metadata +9 -10
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d0b0b5299c913540804c3d68ae6f53c6f7e9f484027832b0af55534b9d6c3c4
|
4
|
+
data.tar.gz: 8927277d6322eb54467bab00a685ac24275036643d8cecd1ce303d1c06944196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0533922478bd9dcd7766c65eba81ca18189c4e77130d43cc487cb26336d60cdda4d8a76325fefabc5a92cdc0a0f176a5a49bce333ab416dd16fc3098fe2a3029'
|
7
|
+
data.tar.gz: a57443749bf840ad0006324b4a4614233cb30c37c1461d6bc9775541b3d28051bb81d8cb9a3718008d1cb87920ea7dc88567de5904768b95f9b84ea74fb2cbae
|
data/Gemfile.lock
CHANGED
@@ -1,153 +1,158 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mitlibraries-theme (0.
|
5
|
-
rails (
|
6
|
-
|
7
|
-
sass-rails (~> 5)
|
4
|
+
mitlibraries-theme (0.7.0)
|
5
|
+
rails (>= 5, < 8)
|
6
|
+
sassc (~> 2)
|
8
7
|
|
9
8
|
GEM
|
10
9
|
remote: https://rubygems.org/
|
11
10
|
specs:
|
12
|
-
actioncable (
|
13
|
-
actionpack (=
|
11
|
+
actioncable (7.0.2.3)
|
12
|
+
actionpack (= 7.0.2.3)
|
13
|
+
activesupport (= 7.0.2.3)
|
14
14
|
nio4r (~> 2.0)
|
15
15
|
websocket-driver (>= 0.6.1)
|
16
|
-
actionmailbox (
|
17
|
-
actionpack (=
|
18
|
-
activejob (=
|
19
|
-
activerecord (=
|
20
|
-
activestorage (=
|
21
|
-
activesupport (=
|
16
|
+
actionmailbox (7.0.2.3)
|
17
|
+
actionpack (= 7.0.2.3)
|
18
|
+
activejob (= 7.0.2.3)
|
19
|
+
activerecord (= 7.0.2.3)
|
20
|
+
activestorage (= 7.0.2.3)
|
21
|
+
activesupport (= 7.0.2.3)
|
22
22
|
mail (>= 2.7.1)
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
net-imap
|
24
|
+
net-pop
|
25
|
+
net-smtp
|
26
|
+
actionmailer (7.0.2.3)
|
27
|
+
actionpack (= 7.0.2.3)
|
28
|
+
actionview (= 7.0.2.3)
|
29
|
+
activejob (= 7.0.2.3)
|
30
|
+
activesupport (= 7.0.2.3)
|
27
31
|
mail (~> 2.5, >= 2.5.4)
|
32
|
+
net-imap
|
33
|
+
net-pop
|
34
|
+
net-smtp
|
28
35
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (
|
30
|
-
actionview (=
|
31
|
-
activesupport (=
|
32
|
-
rack (~> 2.0)
|
36
|
+
actionpack (7.0.2.3)
|
37
|
+
actionview (= 7.0.2.3)
|
38
|
+
activesupport (= 7.0.2.3)
|
39
|
+
rack (~> 2.0, >= 2.2.0)
|
33
40
|
rack-test (>= 0.6.3)
|
34
41
|
rails-dom-testing (~> 2.0)
|
35
42
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
-
actiontext (
|
37
|
-
actionpack (=
|
38
|
-
activerecord (=
|
39
|
-
activestorage (=
|
40
|
-
activesupport (=
|
43
|
+
actiontext (7.0.2.3)
|
44
|
+
actionpack (= 7.0.2.3)
|
45
|
+
activerecord (= 7.0.2.3)
|
46
|
+
activestorage (= 7.0.2.3)
|
47
|
+
activesupport (= 7.0.2.3)
|
48
|
+
globalid (>= 0.6.0)
|
41
49
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (
|
43
|
-
activesupport (=
|
50
|
+
actionview (7.0.2.3)
|
51
|
+
activesupport (= 7.0.2.3)
|
44
52
|
builder (~> 3.1)
|
45
53
|
erubi (~> 1.4)
|
46
54
|
rails-dom-testing (~> 2.0)
|
47
55
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
-
activejob (
|
49
|
-
activesupport (=
|
56
|
+
activejob (7.0.2.3)
|
57
|
+
activesupport (= 7.0.2.3)
|
50
58
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (
|
52
|
-
activesupport (=
|
53
|
-
activerecord (
|
54
|
-
activemodel (=
|
55
|
-
activesupport (=
|
56
|
-
activestorage (
|
57
|
-
actionpack (=
|
58
|
-
activejob (=
|
59
|
-
activerecord (=
|
60
|
-
|
61
|
-
|
59
|
+
activemodel (7.0.2.3)
|
60
|
+
activesupport (= 7.0.2.3)
|
61
|
+
activerecord (7.0.2.3)
|
62
|
+
activemodel (= 7.0.2.3)
|
63
|
+
activesupport (= 7.0.2.3)
|
64
|
+
activestorage (7.0.2.3)
|
65
|
+
actionpack (= 7.0.2.3)
|
66
|
+
activejob (= 7.0.2.3)
|
67
|
+
activerecord (= 7.0.2.3)
|
68
|
+
activesupport (= 7.0.2.3)
|
69
|
+
marcel (~> 1.0)
|
70
|
+
mini_mime (>= 1.1.0)
|
71
|
+
activesupport (7.0.2.3)
|
62
72
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
63
|
-
i18n (>=
|
64
|
-
minitest (
|
65
|
-
tzinfo (~>
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
erubi (1.
|
71
|
-
ffi (1.
|
72
|
-
globalid (0.
|
73
|
-
activesupport (>=
|
74
|
-
i18n (1.
|
73
|
+
i18n (>= 1.6, < 2)
|
74
|
+
minitest (>= 5.1)
|
75
|
+
tzinfo (~> 2.0)
|
76
|
+
builder (3.2.4)
|
77
|
+
concurrent-ruby (1.1.10)
|
78
|
+
crass (1.0.6)
|
79
|
+
digest (3.1.0)
|
80
|
+
erubi (1.10.0)
|
81
|
+
ffi (1.15.5)
|
82
|
+
globalid (1.0.0)
|
83
|
+
activesupport (>= 5.0)
|
84
|
+
i18n (1.10.0)
|
75
85
|
concurrent-ruby (~> 1.0)
|
76
|
-
loofah (2.
|
86
|
+
loofah (2.16.0)
|
77
87
|
crass (~> 1.0.2)
|
78
88
|
nokogiri (>= 1.5.9)
|
79
89
|
mail (2.7.1)
|
80
90
|
mini_mime (>= 0.1.1)
|
81
|
-
marcel (0.
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
91
|
+
marcel (1.0.2)
|
92
|
+
method_source (1.0.0)
|
93
|
+
mini_mime (1.1.2)
|
94
|
+
mini_portile2 (2.8.0)
|
95
|
+
minitest (5.14.4)
|
96
|
+
net-imap (0.2.3)
|
97
|
+
digest
|
98
|
+
net-protocol
|
99
|
+
strscan
|
100
|
+
net-pop (0.1.1)
|
101
|
+
digest
|
102
|
+
net-protocol
|
103
|
+
timeout
|
104
|
+
net-protocol (0.1.3)
|
105
|
+
timeout
|
106
|
+
net-smtp (0.3.1)
|
107
|
+
digest
|
108
|
+
net-protocol
|
109
|
+
timeout
|
110
|
+
nio4r (2.5.8)
|
111
|
+
nokogiri (1.13.3)
|
112
|
+
mini_portile2 (~> 2.8.0)
|
113
|
+
racc (~> 1.4)
|
114
|
+
racc (1.6.0)
|
115
|
+
rack (2.2.3)
|
92
116
|
rack-test (1.1.0)
|
93
117
|
rack (>= 1.0, < 3)
|
94
|
-
rails (
|
95
|
-
actioncable (=
|
96
|
-
actionmailbox (=
|
97
|
-
actionmailer (=
|
98
|
-
actionpack (=
|
99
|
-
actiontext (=
|
100
|
-
actionview (=
|
101
|
-
activejob (=
|
102
|
-
activemodel (=
|
103
|
-
activerecord (=
|
104
|
-
activestorage (=
|
105
|
-
activesupport (=
|
106
|
-
bundler (>= 1.
|
107
|
-
railties (=
|
108
|
-
sprockets-rails (>= 2.0.0)
|
118
|
+
rails (7.0.2.3)
|
119
|
+
actioncable (= 7.0.2.3)
|
120
|
+
actionmailbox (= 7.0.2.3)
|
121
|
+
actionmailer (= 7.0.2.3)
|
122
|
+
actionpack (= 7.0.2.3)
|
123
|
+
actiontext (= 7.0.2.3)
|
124
|
+
actionview (= 7.0.2.3)
|
125
|
+
activejob (= 7.0.2.3)
|
126
|
+
activemodel (= 7.0.2.3)
|
127
|
+
activerecord (= 7.0.2.3)
|
128
|
+
activestorage (= 7.0.2.3)
|
129
|
+
activesupport (= 7.0.2.3)
|
130
|
+
bundler (>= 1.15.0)
|
131
|
+
railties (= 7.0.2.3)
|
109
132
|
rails-dom-testing (2.0.3)
|
110
133
|
activesupport (>= 4.2.0)
|
111
134
|
nokogiri (>= 1.6)
|
112
|
-
rails-html-sanitizer (1.
|
135
|
+
rails-html-sanitizer (1.4.2)
|
113
136
|
loofah (~> 2.3)
|
114
|
-
railties (
|
115
|
-
actionpack (=
|
116
|
-
activesupport (=
|
137
|
+
railties (7.0.2.3)
|
138
|
+
actionpack (= 7.0.2.3)
|
139
|
+
activesupport (= 7.0.2.3)
|
117
140
|
method_source
|
118
|
-
rake (>=
|
119
|
-
thor (
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
ffi (~> 1.
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
129
|
-
sass-rails (5.1.0)
|
130
|
-
railties (>= 5.2.0)
|
131
|
-
sass (~> 3.1)
|
132
|
-
sprockets (>= 2.8, < 4.0)
|
133
|
-
sprockets-rails (>= 2.0, < 4.0)
|
134
|
-
tilt (>= 1.1, < 3)
|
135
|
-
sprockets (3.7.2)
|
141
|
+
rake (>= 12.2)
|
142
|
+
thor (~> 1.0)
|
143
|
+
zeitwerk (~> 2.5)
|
144
|
+
rake (13.0.3)
|
145
|
+
sassc (2.4.0)
|
146
|
+
ffi (~> 1.9)
|
147
|
+
strscan (3.0.1)
|
148
|
+
thor (1.2.1)
|
149
|
+
timeout (0.2.0)
|
150
|
+
tzinfo (2.0.4)
|
136
151
|
concurrent-ruby (~> 1.0)
|
137
|
-
|
138
|
-
sprockets-rails (3.2.1)
|
139
|
-
actionpack (>= 4.0)
|
140
|
-
activesupport (>= 4.0)
|
141
|
-
sprockets (>= 3.0.0)
|
142
|
-
thor (0.20.3)
|
143
|
-
thread_safe (0.3.6)
|
144
|
-
tilt (2.0.10)
|
145
|
-
tzinfo (1.2.5)
|
146
|
-
thread_safe (~> 0.1)
|
147
|
-
websocket-driver (0.7.1)
|
152
|
+
websocket-driver (0.7.5)
|
148
153
|
websocket-extensions (>= 0.1.0)
|
149
|
-
websocket-extensions (0.1.
|
150
|
-
zeitwerk (2.
|
154
|
+
websocket-extensions (0.1.5)
|
155
|
+
zeitwerk (2.5.4)
|
151
156
|
|
152
157
|
PLATFORMS
|
153
158
|
ruby
|
@@ -156,7 +161,7 @@ DEPENDENCIES
|
|
156
161
|
bundler (~> 2.0)
|
157
162
|
minitest (~> 5.0)
|
158
163
|
mitlibraries-theme!
|
159
|
-
rake (~>
|
164
|
+
rake (~> 13.0)
|
160
165
|
|
161
166
|
BUNDLED WITH
|
162
|
-
2.
|
167
|
+
2.1.4
|
data/README.md
CHANGED
@@ -12,21 +12,27 @@ gem 'mitlibraries-theme'
|
|
12
12
|
|
13
13
|
And then execute:
|
14
14
|
|
15
|
-
|
15
|
+
```shell
|
16
|
+
$ bundle
|
17
|
+
```
|
16
18
|
|
17
19
|
Or install it yourself as:
|
18
20
|
|
19
|
-
|
21
|
+
```shell
|
22
|
+
$ gem install mitlibraries-theme
|
23
|
+
```
|
20
24
|
|
21
25
|
## Usage
|
22
26
|
|
23
27
|
After you bundle, delete your application local `app/views/layouts/application.rb` to use the layout the gem provides.
|
24
28
|
|
25
29
|
Rename your `app/assets/stylesheets/application.css` to `app/assets/stylesheets/application.scss` and remove anything like:
|
26
|
-
|
30
|
+
|
31
|
+
```ruby
|
27
32
|
*= require_tree .
|
28
33
|
*= require_self
|
29
34
|
```
|
35
|
+
|
30
36
|
Add
|
31
37
|
`@import "libraries-main";`
|
32
38
|
|
@@ -46,7 +52,7 @@ If you need to make changes to other templates, you can also copy those to your
|
|
46
52
|
|
47
53
|
You can load additional js to individual pages using:
|
48
54
|
|
49
|
-
```
|
55
|
+
```ruby
|
50
56
|
<% content_for :additional_js do %>
|
51
57
|
<script>alert("hi");</script>
|
52
58
|
<% end %>
|
@@ -61,7 +67,7 @@ for adding external support libraries. For JS you are writing, include via
|
|
61
67
|
|
62
68
|
You can load additional meta headers to individual pages using:
|
63
69
|
|
64
|
-
```
|
70
|
+
```ruby
|
65
71
|
<% content_for :additional_meta_tag do %>
|
66
72
|
<meta name="description" content="Words and stuff about stuff or something.">
|
67
73
|
<meta name="keywords" content="words,stuff,yoyos">
|
@@ -81,6 +87,7 @@ Run `make help` for details.
|
|
81
87
|
|
82
88
|
If your goal is to fetch the latest assets from the style repo and publish the
|
83
89
|
changes, this would get you there:
|
90
|
+
|
84
91
|
- `make update`
|
85
92
|
- manually update the version in `lib/mitlibraries/theme/version.rb`
|
86
93
|
- `make dist`
|
@@ -25,26 +25,20 @@
|
|
25
25
|
|
26
26
|
<%= yield :additional_js %>
|
27
27
|
|
28
|
-
<% if (ENV['
|
28
|
+
<% if (ENV['MATOMO_URL'].present? && ENV['MATOMO_SITE_ID'].present?) %>
|
29
|
+
<!-- Matomo -->
|
29
30
|
<script type="text/javascript">
|
30
|
-
|
31
|
-
|
32
|
-
(
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
a.src=g;
|
42
|
-
m.parentNode.insertBefore(a,m);
|
43
|
-
|
44
|
-
}(window,document,'script','https://www.google-analytics.com/analytics.js','ga'));
|
45
|
-
|
46
|
-
ga('create', '<%= ENV['GOOGLE_ANALYTICS'] %>', 'auto');
|
47
|
-
ga('send', 'pageview');
|
48
|
-
|
31
|
+
var _paq = window._paq || [];
|
32
|
+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
33
|
+
_paq.push(['trackPageView']);
|
34
|
+
_paq.push(['enableLinkTracking']);
|
35
|
+
(function() {
|
36
|
+
var u='<%= ENV['MATOMO_URL'] %>';
|
37
|
+
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
38
|
+
_paq.push(['setSiteId', '<%= ENV['MATOMO_SITE_ID'] %>']);
|
39
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
40
|
+
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
41
|
+
})();
|
49
42
|
</script>
|
43
|
+
<!-- End Matomo Code -->
|
50
44
|
<% end %>
|
@@ -1,17 +1,15 @@
|
|
1
1
|
<div class="wrap-outer-footer-institute layout-band">
|
2
2
|
<div class="wrap-footer-institute">
|
3
|
-
<
|
4
|
-
<a class="link-logo-mit" href="https://www.mit.edu"
|
3
|
+
<footer class="footer-info-institute" aria-label="MIT footer" role="contentinfo">
|
4
|
+
<a class="link-logo-mit" href="https://www.mit.edu">
|
5
5
|
<span class="sr">MIT</span>
|
6
|
-
<svg
|
6
|
+
<svg x="0" y="0" width="54" height="28" viewBox="0 0 54 28" enable-background="new 0 0 54 28" xml:space="preserve" class="logo-mit"><rect x="28.9" y="8.9" width="5.8" height="19.1" class="color"/><rect width="5.8" height="28"/><rect x="9.6" width="5.8" height="18.8"/><rect x="19.3" width="5.8" height="28"/><rect x="38.5" y="8.9" width="5.8" height="19.1"/><rect x="38.8" width="15.2" height="5.6"/><rect x="28.9" width="5.8" height="5.6"/></svg>
|
7
7
|
</a>
|
8
8
|
<div class="about-mit">
|
9
9
|
<span class="item">Massachusetts Institute of Technology</span>
|
10
|
-
<span class="item">77 Massachusetts Avenue</span>
|
11
|
-
<span class="item">Cambridge MA 02139-4307</span>
|
12
10
|
</div>
|
13
|
-
<div class="license">
|
14
|
-
</div
|
15
|
-
</
|
11
|
+
<div class="license">Content created by the MIT Libraries, <a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC</a> unless otherwise noted. <a href="https://libraries.mit.edu/research-support/notices/copyright-notify/">Notify us about copyright concerns</a>.
|
12
|
+
</div>
|
13
|
+
</footer><!-- end .footer-info-institute -->
|
16
14
|
</div>
|
17
15
|
</div>
|
@@ -1,4 +1,14 @@
|
|
1
1
|
<% if ENV['JS_EXCEPTION_LOGGER_KEY'].present? %>
|
2
|
-
<script
|
3
|
-
|
2
|
+
<script
|
3
|
+
src="https://browser.sentry-cdn.com/6.13.3/bundle.min.js"
|
4
|
+
integrity="sha384-sGMbmxgVprpEFMz6afNDyADd4Kav86v5Tvo2Y6w5t8tHUn1P1at3lCjN7IQo2c7E"
|
5
|
+
crossorigin="anonymous"
|
6
|
+
></script>
|
7
|
+
|
8
|
+
<script>
|
9
|
+
Sentry.init({
|
10
|
+
dsn: <%= ENV['JS_EXCEPTION_LOGGER_KEY'] %>,
|
11
|
+
maxBreadcrumbs: 50,
|
12
|
+
});
|
13
|
+
</script>
|
4
14
|
<% end %>
|
@@ -8,18 +8,53 @@
|
|
8
8
|
<%= image_tag("mitlib-wordmark.svg", :alt => "MIT Libraries logo") %>
|
9
9
|
</a>
|
10
10
|
</div>
|
11
|
+
<div class="wrap-social">
|
12
|
+
<p class="text-find-us">Find us on</p>
|
13
|
+
<a href="https://twitter.com/mitlibraries" title="Twitter">
|
14
|
+
<svg class="icon-social--twitter" width="2048" height="2048" viewBox="-192 -384 2048 2048" xmlns="http://www.w3.org/2000/svg"><g transform="scale(1 -1) translate(0 -1280)"><path d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" fill="black"></path></g></svg>
|
15
|
+
<span class="sr">Twitter</span>
|
16
|
+
</a><!-- End Twitter -->
|
17
|
+
|
18
|
+
<a href="https://www.facebook.com/mitlib" title="Facebook">
|
19
|
+
<svg class="icon-social--facebook" width="2048" height="2048" viewBox="-640 -384 2048 2048" xmlns="http://www.w3.org/2000/svg"><g transform="scale(1 -1) translate(0 -1280)"><path d="M511 980h257l-30 -284h-227v-824h-341v824h-170v284h170v171q0 182 86 275.5t283 93.5h227v-284h-142q-39 0 -62.5 -6.5t-34 -23.5t-13.5 -34.5t-3 -49.5v-142z" fill="black"></path></g></svg>
|
20
|
+
<span class="sr">Facebook</span>
|
21
|
+
</a><!-- End Facebook -->
|
22
|
+
|
23
|
+
<a href="https://instagram.com/mitlibraries/" title="Instagram">
|
24
|
+
<svg class="icon-social--instagram" viewBox="0 0 120 120" enable-background="new 0 0 120 120" xml:space="preserve"><path id="Instagram_10_" fill="#FFFFFF" d="M95.1,103.9H24.9c-0.2,0-0.4-0.1-0.6-0.1c-3.9-0.5-7.1-3.4-8-7.2 c-0.1-0.4-0.2-0.9-0.2-1.3V24.8c0-0.2,0.1-0.3,0.1-0.5c0.6-3.9,3.4-7.1,7.3-8c0.4-0.1,0.8-0.2,1.3-0.2h70.4c0.2,0,0.3,0.1,0.5,0.1 c4,0.5,7.2,3.6,8,7.5c0.1,0.4,0.1,0.8,0.2,1.2v70.2c-0.1,0.4-0.1,0.8-0.2,1.2c-0.7,3.6-3.6,6.6-7.2,7.4 C96,103.7,95.5,103.8,95.1,103.9z M25.6,51.7v0.2c0,13,0,26,0,38.9c0,1.9,1.6,3.5,3.5,3.5c20.6,0,41.2,0,61.8,0 c1.9,0,3.5-1.6,3.5-3.5c0-13,0-25.9,0-38.9v-0.3H86c1.2,3.8,1.5,7.6,1.1,11.5c-0.5,3.9-1.7,7.6-3.8,10.9c-2.1,3.4-4.7,6.2-8,8.4 c-8.5,5.8-19.6,6.3-28.6,1.2c-4.5-2.5-8.1-6.1-10.6-10.7c-3.7-6.8-4.3-14-2.1-21.4C31.2,51.7,28.4,51.7,25.6,51.7L25.6,51.7z M60,42.2c-9.7,0-17.6,7.8-17.8,17.5c-0.1,9.9,7.8,17.8,17.4,18c9.9,0.2,18-7.7,18.2-17.4C78,50.4,70,42.2,60,42.2L60,42.2z M86.7,38.7L86.7,38.7c1.4,0,2.9,0,4.3,0c1.9,0,3.4-1.6,3.4-3.5c0-2.8,0-5.5,0-8.3c0-2-1.6-3.6-3.6-3.6c-2.8,0-5.5,0-8.3,0 c-2,0-3.6,1.6-3.6,3.6c0,2.7,0,5.5,0,8.2c0,0.4,0.1,0.8,0.2,1.2c0.5,1.5,1.8,2.4,3.5,2.4C84,38.7,85.3,38.7,86.7,38.7L86.7,38.7z"></path></svg>
|
25
|
+
<span class="sr">Instagram</span>
|
26
|
+
</a><!-- End Instagram -->
|
27
|
+
|
28
|
+
<a href="https://www.youtube.com/user/MITLibraries" title="YouTube">
|
29
|
+
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="icon-social--youtube"><path fill="black" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" class=""></path></svg>
|
30
|
+
<span class="sr">YouTube</span>
|
31
|
+
</a><!-- End YouTube -->
|
32
|
+
|
33
|
+
<a href="https://libguides.mit.edu/mit-feeds" title="RSS">
|
34
|
+
<svg class="icon-social--rss" width="2048" height="2048" viewBox="-320 -384 2048 2048" xmlns="http://www.w3.org/2000/svg"><g transform="scale(1 -1) translate(0 -1280)"><path d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" fill="black"></path></g></svg>
|
35
|
+
<span class="sr">RSS</span>
|
36
|
+
</a><!-- End RSS -->
|
37
|
+
</div><!-- end .social -->
|
38
|
+
<div class="wrap-middle">
|
39
|
+
<div class="wrap-sitemap">
|
40
|
+
<nav class="sitemap-libraries-abbrev" aria-label="MIT Libraries site menu">
|
41
|
+
<h2 class="sr">MIT Libraries navigation</h2>
|
42
|
+
<a class="item" href="https://libraries.mit.edu/search">Search</a>
|
43
|
+
<a class="item" href="https://libraries.mit.edu/hours">Hours & locations</a>
|
44
|
+
<a class="item" href="https://libraries.mit.edu/borrow">Borrow & request</a>
|
45
|
+
<a class="item" href="https://libraries.mit.edu/research-support">Research support</a>
|
46
|
+
<a class="item" href="https://libraries.mit.edu/about">About us</a>
|
47
|
+
</nav>
|
48
|
+
</div><!-- end .links-all -->
|
49
|
+
<div class="wrap-policies">
|
50
|
+
<nav aria-label="MIT Libraries policy menu">
|
51
|
+
<span class="item"><a href="https://libraries.mit.edu/privacy" class="link-sub">Privacy</a></span>
|
52
|
+
<span class="item"><a href="https://libraries.mit.edu/permissions" class="link-sub">Permissions</a></span>
|
53
|
+
<span class="item"><a href="https://libraries.mit.edu/accessibility" class="link-sub">Accessibility</a></span>
|
54
|
+
</nav>
|
55
|
+
</div>
|
56
|
+
</div>
|
11
57
|
</div><!-- end .identity -->
|
12
|
-
<div class="wrap-sitemap">
|
13
|
-
<nav class="sitemap-libraries-abbrev" aria-label="MIT Libraries site menu">
|
14
|
-
<h2 class="sr">MIT Libraries navigation</h2>
|
15
|
-
<a class="item" href="https://libraries.mit.edu/">Home</a>
|
16
|
-
<a class="item" href="https://libraries.mit.edu/search">Search</a>
|
17
|
-
<a class="item" href="https://libraries.mit.edu/hours">Hours & locations</a>
|
18
|
-
<a class="item" href="https://libraries.mit.edu/borrow">Borrow & request</a>
|
19
|
-
<a class="item" href="https://libraries.mit.edu/research-support">Research support</a>
|
20
|
-
<a class="item" href="https://libraries.mit.edu/about">About the Libraries</a>
|
21
|
-
</nav>
|
22
|
-
</div><!-- end .links-all -->
|
23
58
|
</div>
|
24
59
|
</div>
|
25
60
|
</div>
|
data/mitlibraries-theme.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
|
23
23
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
24
24
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
25
|
-
spec.add_development_dependency 'rake', '~>
|
26
|
-
spec.add_dependency 'rails', '>= 5', '<
|
25
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
26
|
+
spec.add_dependency 'rails', '>= 5', '< 8'
|
27
27
|
spec.add_dependency 'sassc', '~> 2'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mitlibraries-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Prevost
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,7 +61,7 @@ dependencies:
|
|
61
61
|
version: '5'
|
62
62
|
- - "<"
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: '
|
64
|
+
version: '8'
|
65
65
|
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -71,7 +71,7 @@ dependencies:
|
|
71
71
|
version: '5'
|
72
72
|
- - "<"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '8'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: sassc
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,6 @@ extensions: []
|
|
94
94
|
extra_rdoc_files: []
|
95
95
|
files:
|
96
96
|
- ".gitignore"
|
97
|
-
- ".travis.yml"
|
98
97
|
- CODE_OF_CONDUCT.md
|
99
98
|
- Gemfile
|
100
99
|
- Gemfile.lock
|
@@ -153,11 +152,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
152
|
version: '0'
|
154
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
154
|
requirements:
|
156
|
-
- - "
|
155
|
+
- - ">="
|
157
156
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
157
|
+
version: '0'
|
159
158
|
requirements: []
|
160
|
-
rubygems_version: 3.
|
159
|
+
rubygems_version: 3.1.2
|
161
160
|
signing_key:
|
162
161
|
specification_version: 4
|
163
162
|
summary: General theme for MIT Libraries Rails apps
|