arctic_admin 1.4.0 → 1.4.1

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: 24649ce7d552b3ddcf673c8e4c9031f7da52fad2
4
- data.tar.gz: 6a8f81bbc35061ad3826c2ec42c127fa5d1e21fe
3
+ metadata.gz: cc0ade458ebc198960e35b07ef03e0704ac1e16d
4
+ data.tar.gz: '090b8aa98a689b80c130088f72381487d6532d6f'
5
5
  SHA512:
6
- metadata.gz: 9dd14542d333b55ebaadcd8b73e3daae4b49b4a1365f4821d79e632e2509dcad0724d93065d68296e1519064dd39981257843c012aae9ad3bf58e3b3743402f7
7
- data.tar.gz: fa16e2cede3daf268e661d38632c5b2ed89d940ed0a553d8142037d13e9e0ccbf36888d90172e6ebecabff2644f5cb6b59294d37562b14c98de92d7dd7a17ac5
6
+ metadata.gz: 1ad5d50c0445de83879c9efb6478995ff7b1340e9638debc419a44c2d116fc2885a2967d7bd5482cb03ae5f89b65f2ca2bb1f9c578f3a27e4f642df503283131
7
+ data.tar.gz: c1ac362ecaacc56311506a4e59acfbe3dba5509ae78b1ca5704c27c4e16fc872d3889c17aca2247622b16eb7e06be14e95a8a6a5527f9372c53caf50065ad389
data/Readme.md CHANGED
@@ -21,12 +21,12 @@ gem 'arctic_admin'
21
21
 
22
22
  - Run `bundle install`.
23
23
 
24
- - Add this line to the file `config/application.rb`
24
+ - Add this line to the file `config/initializers/active_admin.rb`
25
25
 
26
26
  ```ruby
27
27
  meta_tags_options = { viewport: 'width=device-width, initial-scale=1' }
28
- ActiveAdmin.application.meta_tags = meta_tags_options
29
- ActiveAdmin.application.meta_tags_for_logged_out_pages = meta_tags_options
28
+ config.meta_tags = meta_tags_options
29
+ config.meta_tags_for_logged_out_pages = meta_tags_options
30
30
  ```
31
31
 
32
32
  if you use ActiveAdmin from Github, use the branch `2-0-alpha` like this :
@@ -2,8 +2,24 @@
2
2
  font-size: 13px;
3
3
  margin-bottom: 10px;
4
4
 
5
+ .page {
6
+ text-align: center;
7
+ }
8
+
5
9
  .page a, .next a, .last a, .first a, .prev a {
6
- @include primary-button($primary-color, white);
7
- padding: 3px 4px;
10
+ padding: .3rem .4rem;
11
+ color: $text-color;
12
+ @include transition-button();
13
+
14
+ &:hover {
15
+ color: $primary-color;
16
+ }
17
+ }
18
+ .page.current {
19
+ background-color: $primary-color;
20
+ color: #fff;
21
+ border-radius: $border-radius;
22
+ padding: .3rem .4rem;
23
+ cursor: normal;
8
24
  }
9
25
  }
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
6
 
7
- <title><%= [@page_title, ActiveAdmin.application.site_title(self)].compact.join(" | ") %></title>
7
+ <title><%= [@page_title, render_or_call_method_or_proc_on(self, ActiveAdmin.application.site_title)].compact.join(" | ") %></title>
8
8
 
9
9
  <% ActiveAdmin.application.stylesheets.each do |style, options| %>
10
10
  <%= stylesheet_link_tag style, options %>
@@ -20,7 +20,6 @@
20
20
  <% end %>
21
21
 
22
22
  <%= csrf_meta_tag %>
23
- <meta name='viewport' content='width=device-width, initial-scale=1'>
24
23
  </head>
25
24
  <body class="active_admin logged_out <%= controller.action_name %>">
26
25
  <div id="wrapper">
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arctic_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clément Prod'homme
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-15 00:00:00.000000000 Z
11
+ date: 2018-01-19 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: 2.0.0.alpha
47
+ version: 1.1.0
48
48
  type: :runtime
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: 2.0.0.alpha
54
+ version: 1.1.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jquery-rails
57
57
  requirement: !ruby/object:Gem::Requirement