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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b170fb86855c280c301bc017f239132bdec16cbf
4
- data.tar.gz: fa3ba9c3662ae81a36d20f4121cceb5e124f003d
3
+ metadata.gz: 258dfb5d0362d97435137502ae3f3a5c3a21289e
4
+ data.tar.gz: 34cc4f333cf6bc2ec832675be825a370430e01f8
5
5
  SHA512:
6
- metadata.gz: ae0016c631226c51cce7344c00121c868f02bf599c700a81037f2279ddb7bab34aea79678439f154e6538d87da36da1a133c6dca1b0f470796582066e020a76b
7
- data.tar.gz: 6e7309959aed607565164ddd640bc465d1917822a3bba499b0eedb0f07afd43553d760e5ac60206df1d622183921d7aa854bfb524318d96efbf8553cc8df18d8
6
+ metadata.gz: 68e7c2876eb3029a02a3dff1ddda078a1ea748fdb9d1b02496cb18f0c6d56f4e9b837afccd14b6777673a952bd783c704d9b7c92a035d858c90b7a602f86e3ff
7
+ data.tar.gz: 6c8e2ff475b32c8f8d57e60c48194a04db7d797afb50d2faf5b6ea7aa0a8122f87fa349284ac0071245812213b45f0900957ef01441aa76f7aa247c9cec5c1b8
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  rvm:
4
- 2.1.0
4
+ - 2.1
5
+ - 2.2
5
6
 
6
7
  script: "bundle exec rake test"
@@ -13,8 +13,7 @@
13
13
  @include align-items(center);
14
14
  @include justify-content(center);
15
15
 
16
- padding: 8px 12px;
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-bottom: 1vh;
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: 2vh 5% 0 5%;
122
+ margin: 0;
125
123
  top: 0;
126
124
  left: 0;
127
125
  right: 0;
@@ -3,7 +3,7 @@
3
3
  @include justify-content(center);
4
4
  @include align-items(center);
5
5
  min-height: 100vh;
6
- width: 100vw;
6
+ width: 100%;
7
7
  position: absolute;
8
8
  top: 0;
9
9
  left: 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>
@@ -40,12 +40,16 @@ module Ecrire
40
40
  # knowing which module it should load based on the current
41
41
  # configuration.
42
42
  #
43
- # For that reason, this method is overloaded.
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
@@ -1,3 +1,3 @@
1
1
  module Ecrire
2
- VERSION = '0.30.2'
2
+ VERSION = '0.30.3'
3
3
  end
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.2
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-03 00:00:00.000000000 Z
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