rails_admin_history_rollback 0.0.9 → 0.1.0

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: ad8e01d385fb4babfe7299bc0c4798a61380744e
4
- data.tar.gz: 639f8de8cf6e082ca0ae3918d2b50480f07c54e8
3
+ metadata.gz: 544e259df56dfd6b384325f65c4deeb938225967
4
+ data.tar.gz: 36ccb25b8546825d7ee8476f4bdc9f2626e75904
5
5
  SHA512:
6
- metadata.gz: d335aba686497911a92e333a7a84a66f33408427ce7f7b0308c26499ce0dd53fe9e4518e2ce1b13cdb28cb4ed26be27463b5238731ffa3dc515aaaa094339dce
7
- data.tar.gz: b36f963ac72e08ba4ed501b1773b025772793d40f32cdc1089e66c423ab893ac670a9a9d6942497eebecb5e245155c2143701b155ece63281009382b4e544908
6
+ metadata.gz: 10cff254edf4b302be8ce395fe6f24894400d866ec35b44ddfaa5ef4040e40e576112d17c931351c80e2d651bcd94714316c4a4c16ee6df8275d6f367cfdc20c
7
+ data.tar.gz: 0bbcd549ad62b21aa7c3a3b8b4d63185962f7e26653382da2bfc6b2e267aff4bf1b96b07299d3e375cad679b5f353dea2eef676defb617f339d7ced2e94d0e4d
@@ -53,6 +53,6 @@
53
53
  %td= link_to(t("admin.history_rollback.table_headers.view_changes"), "#", class: "changeset", :data => {:url => url_for(action: action(:history_index, @abstract_model).action_name, model_name: @abstract_model.to_param, version_id: object.version_id)})
54
54
 
55
55
  - unless params[:all] || !@history.respond_to?(:current_page)
56
- = paginate(@history, theme: 'ra-twitter-bootstrap', remote: true)
56
+ = paginate(@history, theme: lookup_context.exists?('kaminari/ra-twitter-bootstrap/_paginator') ? 'ra-twitter-bootstrap' : 'twitter-bootstrap', remote: true)
57
57
  = link_to(t("admin.misc.show_all"), send(path_method, params.merge(all: true)), class: "show-all btn pjax") unless (tc = @history.total_count) <= @history.size || tc > 100
58
58
 
@@ -1,3 +1,3 @@
1
1
  module RailsAdminHistoryRollback
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_history_rollback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rikki Pitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-20 00:00:00.000000000 Z
11
+ date: 2016-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails