pace-rails 0.0.8 → 0.0.9
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 +4 -4
- data/app/assets/javascripts/pace/pace.js +8 -4
- data/app/assets/stylesheets/pace/pace-theme-barber-shop.css +1 -2
- data/app/assets/stylesheets/pace/pace-theme-big-counter.css +1 -1
- data/app/assets/stylesheets/pace/pace-theme-bounce.css +0 -1
- data/app/assets/stylesheets/pace/pace-theme-center-circle.css +1 -2
- data/app/assets/stylesheets/pace/pace-theme-center-radar.css +1 -2
- data/app/assets/stylesheets/pace/pace-theme-corner-indicator.css +1 -2
- data/app/assets/stylesheets/pace/pace-theme-fill-left.css +1 -2
- data/app/assets/stylesheets/pace/pace-theme-flash.css +1 -2
- data/app/assets/stylesheets/pace/pace-theme-flat-top.css +0 -1
- data/app/assets/stylesheets/pace/pace-theme-loading-bar.css +0 -1
- data/app/assets/stylesheets/pace/pace-theme-mac-osx.css +2 -2
- data/app/assets/stylesheets/pace/pace-theme-minimal.css +1 -2
- data/lib/pace/rails/version.rb +1 -1
- data/vendor/assets/javascripts/pace/pace.js +8 -4
- data/vendor/assets/stylesheets/pace/pace-theme-barber-shop.css +1 -2
- data/vendor/assets/stylesheets/pace/pace-theme-big-counter.css +1 -1
- data/vendor/assets/stylesheets/pace/pace-theme-bounce.css +0 -1
- data/vendor/assets/stylesheets/pace/pace-theme-center-circle.css +1 -2
- data/vendor/assets/stylesheets/pace/pace-theme-center-radar.css +1 -2
- data/vendor/assets/stylesheets/pace/pace-theme-corner-indicator.css +1 -2
- data/vendor/assets/stylesheets/pace/pace-theme-fill-left.css +1 -2
- data/vendor/assets/stylesheets/pace/pace-theme-flash.css +1 -2
- data/vendor/assets/stylesheets/pace/pace-theme-flat-top.css +0 -1
- data/vendor/assets/stylesheets/pace/pace-theme-loading-bar.css +0 -1
- data/vendor/assets/stylesheets/pace/pace-theme-mac-osx.css +2 -2
- data/vendor/assets/stylesheets/pace/pace-theme-minimal.css +1 -2
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb08650aa3410a0876b64430f14badaba95eaa44
|
4
|
+
data.tar.gz: 3443fc86c8a6e31a9adc062a4b497cbe11e08e4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24bb06fd4a47c369e32e1d8493f836d23e2226a962253f5934ba6c147f4c45604d730109c49759d6c1105d4bc5c08a4162bbacd43b9fe542e54f0e6b80c4f2d4
|
7
|
+
data.tar.gz: 517da5d976d78459f39459f777bf1406dc4af2697b79bb542ea60c162d70166831f4fc5ca4a39de1067c0e433702ae21be5a580c3ad0a8956f26508cfb42e979
|
@@ -55,10 +55,14 @@
|
|
55
55
|
tick = function() {
|
56
56
|
var diff;
|
57
57
|
diff = now() - last;
|
58
|
-
|
59
|
-
|
60
|
-
return
|
61
|
-
|
58
|
+
if (diff >= 33) {
|
59
|
+
last = now();
|
60
|
+
return fn(diff, function() {
|
61
|
+
return requestAnimationFrame(tick);
|
62
|
+
});
|
63
|
+
} else {
|
64
|
+
return setTimeout(tick, 33 - diff);
|
65
|
+
}
|
62
66
|
};
|
63
67
|
return tick();
|
64
68
|
};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -69,4 +68,4 @@
|
|
69
68
|
@keyframes pace-stripe-animation {
|
70
69
|
0% { transform: none; transform: none; }
|
71
70
|
100% { transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
72
|
-
}
|
71
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -67,4 +66,4 @@
|
|
67
66
|
@keyframes pace-rotation {
|
68
67
|
0% { transform: rotate(0deg); }
|
69
68
|
100% { transform: rotate(359deg); }
|
70
|
-
}
|
69
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -19,4 +18,4 @@
|
|
19
18
|
-moz-transition: width 1s;
|
20
19
|
-o-transition: width 1s;
|
21
20
|
transition: width 1s;
|
22
|
-
}
|
21
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -78,4 +77,4 @@
|
|
78
77
|
@keyframes pace-spinner {
|
79
78
|
0% { transform: rotate(0deg); transform: rotate(0deg); }
|
80
79
|
100% { transform: rotate(360deg); transform: rotate(360deg); }
|
81
|
-
}
|
80
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -55,6 +54,7 @@
|
|
55
54
|
-moz-background-size: 28px 100%;
|
56
55
|
-o-background-size: 28px 100%;
|
57
56
|
background-size: 28px 100%;
|
57
|
+
|
58
58
|
-webkit-animation: pace-stripe-animation 500ms linear infinite;
|
59
59
|
-moz-animation: pace-stripe-animation 500ms linear infinite;
|
60
60
|
-ms-animation: pace-stripe-animation 500ms linear infinite;
|
@@ -81,4 +81,4 @@
|
|
81
81
|
@keyframes pace-stripe-animation {
|
82
82
|
0% { transform: none; transform: none; }
|
83
83
|
100% { transform: translate(-28px, 0); transform: translate(-28px, 0); }
|
84
|
-
}
|
84
|
+
}
|
data/lib/pace/rails/version.rb
CHANGED
@@ -55,10 +55,14 @@
|
|
55
55
|
tick = function() {
|
56
56
|
var diff;
|
57
57
|
diff = now() - last;
|
58
|
-
|
59
|
-
|
60
|
-
return
|
61
|
-
|
58
|
+
if (diff >= 33) {
|
59
|
+
last = now();
|
60
|
+
return fn(diff, function() {
|
61
|
+
return requestAnimationFrame(tick);
|
62
|
+
});
|
63
|
+
} else {
|
64
|
+
return setTimeout(tick, 33 - diff);
|
65
|
+
}
|
62
66
|
};
|
63
67
|
return tick();
|
64
68
|
};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -69,4 +68,4 @@
|
|
69
68
|
@keyframes pace-stripe-animation {
|
70
69
|
0% { transform: none; transform: none; }
|
71
70
|
100% { transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
72
|
-
}
|
71
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -67,4 +66,4 @@
|
|
67
66
|
@keyframes pace-rotation {
|
68
67
|
0% { transform: rotate(0deg); }
|
69
68
|
100% { transform: rotate(359deg); }
|
70
|
-
}
|
69
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -19,4 +18,4 @@
|
|
19
18
|
-moz-transition: width 1s;
|
20
19
|
-o-transition: width 1s;
|
21
20
|
transition: width 1s;
|
22
|
-
}
|
21
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -78,4 +77,4 @@
|
|
78
77
|
@keyframes pace-spinner {
|
79
78
|
0% { transform: rotate(0deg); transform: rotate(0deg); }
|
80
79
|
100% { transform: rotate(360deg); transform: rotate(360deg); }
|
81
|
-
}
|
80
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* This is a compiled file, you should be editing the file in the templates directory */
|
2
1
|
.pace {
|
3
2
|
-webkit-pointer-events: none;
|
4
3
|
pointer-events: none;
|
@@ -55,6 +54,7 @@
|
|
55
54
|
-moz-background-size: 28px 100%;
|
56
55
|
-o-background-size: 28px 100%;
|
57
56
|
background-size: 28px 100%;
|
57
|
+
|
58
58
|
-webkit-animation: pace-stripe-animation 500ms linear infinite;
|
59
59
|
-moz-animation: pace-stripe-animation 500ms linear infinite;
|
60
60
|
-ms-animation: pace-stripe-animation 500ms linear infinite;
|
@@ -81,4 +81,4 @@
|
|
81
81
|
@keyframes pace-stripe-animation {
|
82
82
|
0% { transform: none; transform: none; }
|
83
83
|
100% { transform: translate(-28px, 0); transform: translate(-28px, 0); }
|
84
|
-
}
|
84
|
+
}
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pace-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Vera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jquery-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '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
54
|
version: '0'
|
55
55
|
description: Pace automatic web page progress bar
|
@@ -59,7 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- .gitignore
|
62
|
+
- ".gitignore"
|
63
63
|
- Gemfile
|
64
64
|
- LICENSE.txt
|
65
65
|
- README.md
|
@@ -104,17 +104,17 @@ require_paths:
|
|
104
104
|
- lib
|
105
105
|
required_ruby_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- -
|
112
|
+
- - ">="
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.
|
117
|
+
rubygems_version: 2.2.0
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Pace automatic web page progress bar, integrated in Rails assets pipeline.
|