css3-progress-bar-rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +8 -25
- data/css3-progress-bar-rails.gemspec +1 -1
- data/lib/css3-progress-bar-rails/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59707b63d7b645a113615afc658a88d5977e034c
|
4
|
+
data.tar.gz: 9a72f9cbab9733375e32020788c045db59b65232
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e9a0e8d2e25da9fdfd4624b00ef9f7156fe014f9148bf03852bc5654df40a8cd52af7a1d5c6cf34a8e4b8ed5f69770fef6077551666b420db1e338e340dd740
|
7
|
+
data.tar.gz: c253b64f9de3a5ef70c4c99cbf1a7279061e0a29f132c6ddef8f77300a32b44ad303d05aa569a67ef39920046c8fc479653db891131b78700deab2456e9ab3ba
|
data/README.markdown
CHANGED
@@ -1,21 +1,11 @@
|
|
1
1
|
## CSS3 Progress Bars for Rails
|
2
2
|
|
3
|
-
[![Travis CI Build Status](http://travis-ci.org/yrgoldteeth/css3-progress-bar-rails.png)](http://travis-ci.org/yrgoldteeth/css3-progress-bar-rails)
|
4
|
-
|
5
|
-
### Inspiration
|
6
|
-
|
7
|
-
[Josh Sullivan][js] made some very pretty [progress bars][blog] in CSS3.
|
8
|
-
|
9
|
-
[I][vanity] wrote some helper methods for Rails to generate the HTML for the progress bars.
|
10
|
-
|
11
|
-
Thought it might be useful.
|
12
|
-
|
13
3
|
### Instruction
|
14
4
|
|
15
5
|
This gem assumes you're using Rails 3.1+, including the asset pipeline.
|
16
6
|
|
17
|
-
Into the Gemfile:
|
18
|
-
|
7
|
+
Into the Gemfile:
|
8
|
+
|
19
9
|
gem 'css3-progress-bar-rails'
|
20
10
|
|
21
11
|
Into the application.css header:
|
@@ -24,22 +14,15 @@ Into the application.css header:
|
|
24
14
|
|
25
15
|
In a view:
|
26
16
|
|
27
|
-
<%= progress_bar(33, :color => 'blue', :rounded => true) %>
|
28
|
-
|
29
|
-
Also, I have added support for the upcoming [Twitter Bootstrap 2][tweetin]
|
30
|
-
progress bar styling as well. To use:
|
17
|
+
<%= progress_bar(33, :color => 'blue', :rounded => true) %>
|
31
18
|
|
32
|
-
|
19
|
+
Twitter Bootstrap Flavored (may not fully work with current version)
|
33
20
|
|
34
|
-
|
21
|
+
<%= bootstrap_progress_bar(33, :color => 'info', :striped => true) %>
|
35
22
|
|
36
23
|
### Indication
|
37
24
|
|
38
|
-
Except where indicated:
|
39
|
-
Copyright (c)
|
25
|
+
Except where indicated:
|
26
|
+
Copyright (c) 2017 [Nicholas Fine][vanity], released under the MIT license.
|
40
27
|
|
41
|
-
[
|
42
|
-
[blog]: http://dipperstove.com/design/css3-progress-bars.html
|
43
|
-
[vanity]: http://ndfine.com
|
44
|
-
[examples]: http://ndfine.com/2012/01/03/css3-progress-bars-for-rails.html
|
45
|
-
[tweetin]: http://markdotto.com/bs2/docs/components.html#progress
|
28
|
+
[vanity]: https://twitter.com/yrgoldteeth
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = Css3::Progress::Bar::Rails::VERSION
|
8
8
|
s.authors = ["Nicholas Fine", "Josh Sullivan"]
|
9
9
|
s.email = ["nicholas.fine@gmail.com", "josh@dipperstove.com"]
|
10
|
-
s.homepage = "
|
10
|
+
s.homepage = "https://github.com/yrgoldteeth/css3-progress-bar-rails"
|
11
11
|
s.summary = %q{Integrates Josh Sullivan's CSS3 Progress Bars into Rails 3.1+ Projects.}
|
12
12
|
s.description = %q{Integrates Josh Sullivan's CSS3 Progress Bars into Rails and adds ActionView helpers for generation.}
|
13
13
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: css3-progress-bar-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Fine
|
@@ -9,48 +9,48 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '3.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '3.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: minitest
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: nokogiri
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
description: Integrates Josh Sullivan's CSS3 Progress Bars into Rails and adds ActionView
|
@@ -62,8 +62,8 @@ executables: []
|
|
62
62
|
extensions: []
|
63
63
|
extra_rdoc_files: []
|
64
64
|
files:
|
65
|
-
- .gitignore
|
66
|
-
- .travis.yml
|
65
|
+
- ".gitignore"
|
66
|
+
- ".travis.yml"
|
67
67
|
- Gemfile
|
68
68
|
- README.markdown
|
69
69
|
- Rakefile
|
@@ -74,7 +74,7 @@ files:
|
|
74
74
|
- lib/css3-progress-bar-rails.rb
|
75
75
|
- lib/css3-progress-bar-rails/version.rb
|
76
76
|
- test/css3_progress_bars_helper_test.rb
|
77
|
-
homepage:
|
77
|
+
homepage: https://github.com/yrgoldteeth/css3-progress-bar-rails
|
78
78
|
licenses: []
|
79
79
|
metadata: {}
|
80
80
|
post_install_message:
|
@@ -83,17 +83,17 @@ require_paths:
|
|
83
83
|
- lib
|
84
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - ">="
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
95
|
rubyforge_project: css3-progress-bar-rails
|
96
|
-
rubygems_version: 2.
|
96
|
+
rubygems_version: 2.5.2
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Integrates Josh Sullivan's CSS3 Progress Bars into Rails 3.1+ Projects.
|