sigbit_admin_rails 0.1.3 → 0.1.4

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: 2ae1f1a1568bf2c4d8c66a5a7ac8516f9a542c4b
4
- data.tar.gz: 8e64710f058c31cd7e74c8be3342881462acddb3
3
+ metadata.gz: f6f9cba359407e1f88a51dc1e51e9d03cea92573
4
+ data.tar.gz: 8dc9411d032253e64f833adc7558b49f6c982821
5
5
  SHA512:
6
- metadata.gz: e3d286a53ad94f5873a08125f356da8c519aef7ebf9f6a171a6e51d2d9ada5067140de1c60a6c6d94266641dc5fb4faf7889cef92f60782e0d0c18fc509e892e
7
- data.tar.gz: 19751205b8f17cf579c365f55d40966db98a1345cc562fec454ea5f22c1c62307d1a9552a84500a9a5787e20bb1284aae8fd597eaa14d96015f90635bc508af1
6
+ metadata.gz: 7a71aa3c41157660ef3f56c7a6542ff04eb047145fbab5eab510f40d0ca48706e33701bff30095f5f15d7b05f676650f02e0f16a9980ba40a27b71c6cc8d2a1a
7
+ data.tar.gz: b4e61b3710fe32a00a6cabe6930f4bcea3c22c9c187abbc747e931026e28e152713a2132a8063316ad3233f4e1a7e6bb46e40abfae65d323a1ea70b044edcfd8
@@ -5,7 +5,7 @@
5
5
  //=require libs/jquery.nestable.js
6
6
  //=require libs/jquery.sortable.min.js
7
7
 
8
- $(document).ready(function() {
8
+ var on_ready = function() {
9
9
  $('.inputfile').each(function () {
10
10
  var $input = $(this),
11
11
  $label = $input.next('label'),
@@ -61,4 +61,10 @@ $(document).ready(function() {
61
61
  $('body').on('show.bs.dropdown', '.table-responsive', function () { $(this).css("overflow", "visible"); })
62
62
  .on('hide.bs.dropdown', '.table-responsive', function () { $(this).css("overflow", "auto"); });
63
63
 
64
- });
64
+ };
65
+
66
+ if(typeof Turbolinks !== 'undefined') {
67
+ $(document).on("turbolinks:load", on_ready);
68
+ } else {
69
+ $(document).ready(on_ready);
70
+ }
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sigbit_admin_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
+ - Johan André
7
8
  - Ante Wall
8
9
  - Andreas Antonsson
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2017-01-23 00:00:00.000000000 Z
13
+ date: 2017-02-21 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: bourbon
@@ -41,7 +42,7 @@ dependencies:
41
42
  version: 4.0.0.alpha5
42
43
  description: Gem for including sigbit-admin and helpers for Rails applications
43
44
  email:
44
- - antewall@gmail.com
45
+ - info@significantbit.se
45
46
  executables: []
46
47
  extensions: []
47
48
  extra_rdoc_files: []
@@ -96,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
97
  version: '0'
97
98
  requirements: []
98
99
  rubyforge_project:
99
- rubygems_version: 2.6.8
100
+ rubygems_version: 2.6.4
100
101
  signing_key:
101
102
  specification_version: 4
102
103
  summary: Significant Bit Admin template for Rails applications