ndr_ui 2.3.0 → 3.0.0

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
  SHA256:
3
- metadata.gz: d0fdbcdfefa799141a11842d423f2b696eb20ded9a05403d511e261363ca1a52
4
- data.tar.gz: 19ab6a1335afa5060fe8139733ed21d2fcb85de96348600af07f6e92b3de22c0
3
+ metadata.gz: c2ff0be798e49d6cbfecd8a82543a26ffbacbb2f174d845514c85a5a7559d47c
4
+ data.tar.gz: 5976e1781c40230a0b1119d6471e1f426f6c993c9773ae1e96a13ee8a3c05533
5
5
  SHA512:
6
- metadata.gz: d73c5cb8b8d40e39e90e1df48bcf0b1481e321107e74361df020bce72528410a9f92b95f61787a461f6568eb24295aecc66153839f703baa18c8c34453681f0c
7
- data.tar.gz: 4520d208204125033fc82dc0ef5f4d31caf49b0616f0e2cd502ce4b11f74cd4fef6166f2b3e33023187ca6c257e4193a92b53d677bbcc630a35743e6829c175b
6
+ metadata.gz: a795f3be88fbe72eb68194117c5cff8c7292860164fb28d2ee0e0b047bd04a58ce1967cfcda8071aebf0cd681757259c913afca1acda9a8b83cf04bc09101515
7
+ data.tar.gz: 96d6ea40d4816fbffca4c974be97ad0ca749871b12dc12d60c1e785c9755e7fc7c17e118668f6b46d2b9b70f6b4703900962b8c5b43e820ccba250efee696335
@@ -1 +1 @@
1
- //= require bootstrap-datepicker-1.6.0-dist/js/bootstrap-datepicker
1
+ //= require js/bootstrap-datepicker
@@ -1,4 +1,4 @@
1
- //= require jquery-timeago-1.5.3/jquery.timeago.js
1
+ //= require jquery.timeago.js
2
2
 
3
3
  jQuery(document).ready(function() {
4
4
  jQuery("time.timeago,abbr.timeago").timeago();
@@ -1,4 +1,4 @@
1
- @import "bootstrap-datepicker.scss";
1
+ @import 'bootstrap-datepicker-scss-fix.scss';
2
2
 
3
3
  // Ensure date picker renders over the static nav
4
4
  .datepicker {
@@ -6,7 +6,13 @@ module NdrUi
6
6
  class Engine < ::Rails::Engine
7
7
  isolate_namespace NdrUi
8
8
 
9
- config.assets.paths << File.expand_path('../../../vendor/assets', __FILE__)
9
+ # Hook into host app's asset pipeline, allowing all the gem's assets
10
+ # to be complied alongside. This allows the gem's assets to be referenced
11
+ # directly by templates without issue, rather than needing to go via
12
+ # an asset manifest in the host.
13
+ initializer 'ndr_ui.assets.precompile' do |app|
14
+ app.config.assets.precompile += %w(*.scss *.js *.gif)
15
+ end
10
16
 
11
17
  # We configure the generator of the host app
12
18
  config.app_generators do |g|
@@ -2,5 +2,5 @@
2
2
 
3
3
  # This stores the current version of the NdrUi gem. Use semantic versioning http://semver.org
4
4
  module NdrUi
5
- VERSION = '2.3.0'.freeze
5
+ VERSION = '3.0.0'.freeze
6
6
  end
@@ -0,0 +1 @@
1
+ ./../bootstrap-datepicker-1.6.0-dist/css/bootstrap-datepicker3.css
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ndr_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - NDR Development Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-03 00:00:00.000000000 Z
11
+ date: 2019-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -281,7 +281,7 @@ files:
281
281
  - vendor/assets/bootstrap-datepicker-1.6.0-dist/locales/bootstrap-datepicker.vi.min.js
282
282
  - vendor/assets/bootstrap-datepicker-1.6.0-dist/locales/bootstrap-datepicker.zh-CN.min.js
283
283
  - vendor/assets/bootstrap-datepicker-1.6.0-dist/locales/bootstrap-datepicker.zh-TW.min.js
284
- - vendor/assets/bootstrap-datepicker.scss
284
+ - vendor/assets/datepicker-scss-fix/bootstrap-datepicker-scss-fix.scss
285
285
  - vendor/assets/jquery-timeago-1.5.3/jquery.timeago.js
286
286
  - vendor/assets/jquery-timeago-1.5.3/locales/README.md
287
287
  - vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.af.js
@@ -1 +0,0 @@
1
- ./bootstrap-datepicker-1.6.0-dist/css/bootstrap-datepicker3.css