nprogress-rails 0.2.0.1 → 0.2.0.2

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: 77ba90bd6f78e626d7444f232ea7db7206e7f318
4
- data.tar.gz: 1060bcba4d62c7c41a231684e110bd442bc0a6de
3
+ metadata.gz: a597002caa2154089946d99ff383efaccf666ecb
4
+ data.tar.gz: 618f433c2fb92e70cdb23c2c988c0d6882e879b9
5
5
  SHA512:
6
- metadata.gz: 5cfd700419a2963be604cec027a5a08cb099b569bf6605d79b1979f88c87586f2a4dc5f37868755d93c00fa930b38ab9c934c77f9447dc68469c8285d9b9673b
7
- data.tar.gz: f748df4b7fa17507686f6e9dbc88c235d54da62f897370136718db11584a1ab361938e68a531fd7ec60508f5143b854e5e271510e0518e1a9658b57dc61cc0e2
6
+ metadata.gz: dfe7a46377cd08700b0647260cf2906f73e209ccb894e7247d0bc137fa4b9f1d338d52d449f88509b9d0f77851e614c0d0e3cfe45a0d6a2dd745712e1b992085
7
+ data.tar.gz: 7be8de375f829196bf6328307d2323b8a8a8bf6160d47cb713a55f267c8e854673bb0a6a9460790bb49e93722980d4ece394ad308788d56636a96e6cf2e62411
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # nprogress-rails [![Gem Version](https://badge.fury.io/rb/nprogress-rails.svg)](http://badge.fury.io/rb/nprogress-rails) [![Dependency Status](https://gemnasium.com/caarlos0/nprogress-rails.svg)](https://gemnasium.com/caarlos0/nprogress-rails) [![Stories in Ready](https://badge.waffle.io/caarlos0/nprogress-rails.png?label=ready&title=Ready)](https://waffle.io/caarlos0/nprogress-rails)
2
2
 
3
3
  This is basically a ruby gem for asset pipeline which includes the version
4
- 0.1.6 of the awesome [rstacruz][rstacruz]' [nprogress][lib] library.
4
+ 0.2.0 of the awesome [rstacruz][rstacruz]' [nprogress][lib] library.
5
5
 
6
6
  - [**Original lib**][lib]
7
7
  - [**Demo**][demo]
@@ -44,12 +44,16 @@ Also, into your `application.css.scss` file:
44
44
  ```scss
45
45
  *= require nprogress
46
46
  *= require nprogress-bootstrap
47
+ *= require nprogress-turbolinks5
47
48
  ```
48
49
 
49
50
  The `nprogress-bootstrap` is required if you use bootstrap and have a fixed
50
51
  toolbar or anything else. tl;dr: if the console shows no errors, but the
51
52
  progress doesn't appear, try this.
52
53
 
54
+ The `nprogress-turbolinks5` is required if you use turbolinks 5 and does not
55
+ want the default turbolinks progress to show up.
56
+
53
57
  ### Angular.js support
54
58
 
55
59
  You can try the Angular.js support with something like this (again,
@@ -1,5 +1,4 @@
1
1
  jQuery(function() {
2
- if (Turbolinks.ProgressBar) { Turbolinks.ProgressBar.disable(); }
3
2
  jQuery(document).on('page:fetch turbolinks:request-start', function() {
4
3
  NProgress.start();
5
4
  });
@@ -0,0 +1,3 @@
1
+ .turbolinks-progress-bar {
2
+ visibility: hidden;
3
+ }
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'nprogress-rails'
7
- spec.version = '0.2.0.1'
7
+ spec.version = '0.2.0.2'
8
8
  spec.authors = ['Carlos Alexandro Becker']
9
9
  spec.email = ['caarlos0@gmail.com']
10
10
  spec.description = %q{This is a gem for the rstacruz' nprogress implementation. It's based on version nprogress 0.2.0.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nprogress-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.1
4
+ version: 0.2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Alexandro Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-28 00:00:00.000000000 Z
11
+ date: 2016-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,6 +86,7 @@ files:
86
86
  - app/assets/javascripts/nprogress-turbolinks.js
87
87
  - app/assets/javascripts/nprogress.js
88
88
  - app/assets/stylesheets/nprogress-bootstrap.css
89
+ - app/assets/stylesheets/nprogress-turbolinks5.css
89
90
  - app/assets/stylesheets/nprogress.scss
90
91
  - lib/nprogress-rails.rb
91
92
  - nprogress-rails.gemspec