ecrire 0.30.2 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/lib/ecrire/app/assets/stylesheets/admin/navigation.scss +3 -5
- data/lib/ecrire/app/assets/stylesheets/shared/popup.scss +1 -1
- data/lib/ecrire/app/views/admin/_navigation.html.erb +6 -6
- data/lib/ecrire/application.rb +5 -1
- data/lib/ecrire/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 258dfb5d0362d97435137502ae3f3a5c3a21289e
|
|
4
|
+
data.tar.gz: 34cc4f333cf6bc2ec832675be825a370430e01f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68e7c2876eb3029a02a3dff1ddda078a1ea748fdb9d1b02496cb18f0c6d56f4e9b837afccd14b6777673a952bd783c704d9b7c92a035d858c90b7a602f86e3ff
|
|
7
|
+
data.tar.gz: 6c8e2ff475b32c8f8d57e60c48194a04db7d797afb50d2faf5b6ea7aa0a8122f87fa349284ac0071245812213b45f0900957ef01441aa76f7aa247c9cec5c1b8
|
data/.travis.yml
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
@include align-items(center);
|
|
14
14
|
@include justify-content(center);
|
|
15
15
|
|
|
16
|
-
padding: 8px
|
|
17
|
-
margin-top: auto;
|
|
16
|
+
padding: 12px 8px;
|
|
18
17
|
|
|
19
18
|
&:hover > svg {
|
|
20
19
|
fill: lighten($light-blue, 45%);
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
|
|
33
32
|
#AdminNavigation > div.current.user {
|
|
34
33
|
position: relative;
|
|
35
|
-
margin
|
|
34
|
+
margin: 1vh 5% 0 5%;
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
#AdminNavigation > div.current.user > a.home {
|
|
@@ -48,7 +47,6 @@
|
|
|
48
47
|
@include justify-content(space-between);
|
|
49
48
|
|
|
50
49
|
border-radius: 2px;
|
|
51
|
-
margin: 2vh 5% 0 5%;
|
|
52
50
|
background-color: rgba(darken($bright-blue, 25%), 0.2);
|
|
53
51
|
padding: 4px 8px;
|
|
54
52
|
|
|
@@ -121,7 +119,7 @@
|
|
|
121
119
|
|
|
122
120
|
#AdminNavigation [as='Popup'] {
|
|
123
121
|
position: absolute;
|
|
124
|
-
margin:
|
|
122
|
+
margin: 0;
|
|
125
123
|
top: 0;
|
|
126
124
|
left: 0;
|
|
127
125
|
right: 0;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
<nav id='AdminNavigation'>
|
|
2
|
+
<%= link_to '/', class: %w(home) do %>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Arrow_circled_left" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
|
4
|
+
<path d="M10,0.4c-5.303,0-9.601,4.298-9.601,9.6c0,5.303,4.298,9.601,9.601,9.601c5.301,0,9.6-4.298,9.6-9.601 C19.6,4.698,15.301,0.4,10,0.4z M9.999,17.6c-4.197,0-7.6-3.402-7.6-7.6s3.402-7.6,7.6-7.6S17.6,5.803,17.6,10 S14.196,17.6,9.999,17.6z M10,5.5L5.5,10l4.5,4.5V12h4V8h-4V5.5z"/>
|
|
5
|
+
</svg>
|
|
6
|
+
Back to your blog
|
|
7
|
+
<% end %>
|
|
2
8
|
|
|
3
9
|
<div class='current user' as='Profiles.Menu'>
|
|
4
10
|
<%= link_to admin_profile_path, class: %w(profile menu), remote: true do %>
|
|
@@ -30,10 +36,4 @@
|
|
|
30
36
|
<%= yield('Navigation::Tags') if content_for?('Navigation::Tags') %>
|
|
31
37
|
</div>
|
|
32
38
|
|
|
33
|
-
<%= link_to '/', class: %w(home) do %>
|
|
34
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Arrow_circled_left" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
|
35
|
-
<path d="M10,0.4c-5.303,0-9.601,4.298-9.601,9.6c0,5.303,4.298,9.601,9.601,9.601c5.301,0,9.6-4.298,9.6-9.601 C19.6,4.698,15.301,0.4,10,0.4z M9.999,17.6c-4.197,0-7.6-3.402-7.6-7.6s3.402-7.6,7.6-7.6S17.6,5.803,17.6,10 S14.196,17.6,9.999,17.6z M10,5.5L5.5,10l4.5,4.5V12h4V8h-4V5.5z"/>
|
|
36
|
-
</svg>
|
|
37
|
-
Back to your blog
|
|
38
|
-
<% end %>
|
|
39
39
|
</nav>
|
data/lib/ecrire/application.rb
CHANGED
|
@@ -40,12 +40,16 @@ module Ecrire
|
|
|
40
40
|
# knowing which module it should load based on the current
|
|
41
41
|
# configuration.
|
|
42
42
|
#
|
|
43
|
-
#
|
|
43
|
+
# Another issue happens with railties being memoized before
|
|
44
|
+
# Ecrire could figure out if the user needs to be onboarded.
|
|
45
|
+
#
|
|
46
|
+
# For those reasons, this method is overloaded.
|
|
44
47
|
#
|
|
45
48
|
def initialize!(group=:default) #:nodoc:
|
|
46
49
|
raise "Application has been already initialized." if @initialized
|
|
47
50
|
|
|
48
51
|
ActiveSupport.run_load_hooks(:before_initialize, self)
|
|
52
|
+
@railties = Railties.new
|
|
49
53
|
|
|
50
54
|
run_initializers(group, self)
|
|
51
55
|
@initialized = true
|
data/lib/ecrire/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ecrire
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.30.
|
|
4
|
+
version: 0.30.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pier-Olivier Thibault
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Blog engine on Rails
|
|
14
14
|
email: pothibo@gmail.com
|