tabs_for 0.1.1 → 0.1.2
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/Gemfile.lock +43 -3
- data/README.md +9 -1
- data/lib/tabs_for/version.rb +1 -1
- data/tabs_for.gemspec +2 -1
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c55582c1d454bd0d7bb11884be5f9c883284a959
|
|
4
|
+
data.tar.gz: 76549b2422b430a9df13f3a23b065d9cb85fcff9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 991a612ab3830e94b113672a80974192f267eb7703e6e78d238b3195380f03b82cc8e1408dbc93f8abf5a9842f67447b72fbb85e6cb31551515615ca5f6413bb
|
|
7
|
+
data.tar.gz: 0235e146fd50f0f73d28ecc69e40bca28ce23250a5c71ffcc89349d9a7ef15ad493999bfc06161aac1cde1427293bc46d31d9e896065577e415bc9cb0e500fb4
|
data/Gemfile.lock
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
tabs_for (0.1.
|
|
5
|
-
|
|
4
|
+
tabs_for (0.1.2)
|
|
5
|
+
rails (>= 3.2, < 5.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
+
actionmailer (4.2.4)
|
|
11
|
+
actionpack (= 4.2.4)
|
|
12
|
+
actionview (= 4.2.4)
|
|
13
|
+
activejob (= 4.2.4)
|
|
14
|
+
mail (~> 2.5, >= 2.5.4)
|
|
15
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
10
16
|
actionpack (4.2.4)
|
|
11
17
|
actionview (= 4.2.4)
|
|
12
18
|
activesupport (= 4.2.4)
|
|
@@ -20,12 +26,23 @@ GEM
|
|
|
20
26
|
erubis (~> 2.7.0)
|
|
21
27
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
22
28
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
29
|
+
activejob (4.2.4)
|
|
30
|
+
activesupport (= 4.2.4)
|
|
31
|
+
globalid (>= 0.3.0)
|
|
32
|
+
activemodel (4.2.4)
|
|
33
|
+
activesupport (= 4.2.4)
|
|
34
|
+
builder (~> 3.1)
|
|
35
|
+
activerecord (4.2.4)
|
|
36
|
+
activemodel (= 4.2.4)
|
|
37
|
+
activesupport (= 4.2.4)
|
|
38
|
+
arel (~> 6.0)
|
|
23
39
|
activesupport (4.2.4)
|
|
24
40
|
i18n (~> 0.7)
|
|
25
41
|
json (~> 1.7, >= 1.7.7)
|
|
26
42
|
minitest (~> 5.1)
|
|
27
43
|
thread_safe (~> 0.3, >= 0.3.4)
|
|
28
44
|
tzinfo (~> 1.1)
|
|
45
|
+
arel (6.0.3)
|
|
29
46
|
builder (3.2.2)
|
|
30
47
|
coveralls (0.8.2)
|
|
31
48
|
json (~> 1.8)
|
|
@@ -37,12 +54,16 @@ GEM
|
|
|
37
54
|
domain_name (0.5.24)
|
|
38
55
|
unf (>= 0.0.5, < 1.0.0)
|
|
39
56
|
erubis (2.7.0)
|
|
57
|
+
globalid (0.3.6)
|
|
58
|
+
activesupport (>= 4.1.0)
|
|
40
59
|
http-cookie (1.0.2)
|
|
41
60
|
domain_name (~> 0.5)
|
|
42
61
|
i18n (0.7.0)
|
|
43
62
|
json (1.8.3)
|
|
44
63
|
loofah (2.0.3)
|
|
45
64
|
nokogiri (>= 1.5.9)
|
|
65
|
+
mail (2.6.3)
|
|
66
|
+
mime-types (>= 1.16, < 3)
|
|
46
67
|
mime-types (2.6.1)
|
|
47
68
|
mini_portile (0.6.2)
|
|
48
69
|
minitest (5.8.0)
|
|
@@ -52,6 +73,17 @@ GEM
|
|
|
52
73
|
rack (1.6.4)
|
|
53
74
|
rack-test (0.6.3)
|
|
54
75
|
rack (>= 1.0)
|
|
76
|
+
rails (4.2.4)
|
|
77
|
+
actionmailer (= 4.2.4)
|
|
78
|
+
actionpack (= 4.2.4)
|
|
79
|
+
actionview (= 4.2.4)
|
|
80
|
+
activejob (= 4.2.4)
|
|
81
|
+
activemodel (= 4.2.4)
|
|
82
|
+
activerecord (= 4.2.4)
|
|
83
|
+
activesupport (= 4.2.4)
|
|
84
|
+
bundler (>= 1.3.0, < 2.0)
|
|
85
|
+
railties (= 4.2.4)
|
|
86
|
+
sprockets-rails
|
|
55
87
|
rails-deprecated_sanitizer (1.0.3)
|
|
56
88
|
activesupport (>= 4.2.0.alpha)
|
|
57
89
|
rails-dom-testing (1.0.7)
|
|
@@ -75,6 +107,13 @@ GEM
|
|
|
75
107
|
json (~> 1.8)
|
|
76
108
|
simplecov-html (~> 0.10.0)
|
|
77
109
|
simplecov-html (0.10.0)
|
|
110
|
+
sprockets (3.3.4)
|
|
111
|
+
rack (~> 1.0)
|
|
112
|
+
sprockets-rails (2.3.3)
|
|
113
|
+
actionpack (>= 3.0)
|
|
114
|
+
activesupport (>= 3.0)
|
|
115
|
+
sprockets (>= 2.8, < 4.0)
|
|
116
|
+
sqlite3 (1.3.10)
|
|
78
117
|
term-ansicolor (1.3.2)
|
|
79
118
|
tins (~> 1.0)
|
|
80
119
|
thor (0.19.1)
|
|
@@ -91,7 +130,8 @@ PLATFORMS
|
|
|
91
130
|
|
|
92
131
|
DEPENDENCIES
|
|
93
132
|
coveralls
|
|
133
|
+
sqlite3
|
|
94
134
|
tabs_for!
|
|
95
135
|
|
|
96
136
|
BUNDLED WITH
|
|
97
|
-
1.10.
|
|
137
|
+
1.10.6
|
data/README.md
CHANGED
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
[fontawesome]: https://fortawesome.github.io/Font-Awesome
|
|
4
4
|
[fontawesomerails]: https://github.com/bokmann/font-awesome-rails
|
|
5
5
|
[coveralls]: https://coveralls.io/r/blacktangent/tabs_for
|
|
6
|
+
[rubygems]: https://rubygems.org/gems/tabs_for
|
|
6
7
|
|
|
7
8
|
# TabsFor
|
|
8
9
|
|
|
9
10
|
[][travis]
|
|
10
11
|
[][codeclimate]
|
|
11
12
|
[][coveralls]
|
|
13
|
+
[][rubygems]
|
|
12
14
|
|
|
13
15
|
ActiveView Helper for creating tabs with Bootstrap.
|
|
14
16
|
|
|
@@ -32,13 +34,19 @@ The gem depends on [Bootstrap 3](http://getbootstrap.com/) to create the tabs. B
|
|
|
32
34
|
your project by using [Bootstrap for Sass](https://github.com/twbs/bootstrap-sass) or you preferred method.
|
|
33
35
|
|
|
34
36
|
Preferred icon and CSS framework is [Font Awesome][fontawesome] and the `help` option uses
|
|
35
|
-
[Font Awesome][fontawesome] to display the help icon.
|
|
37
|
+
[Font Awesome][fontawesome] to display the help icon. This dependency
|
|
38
|
+
could easily be removed in the future.
|
|
36
39
|
Bring [Font Awesome][fontawesome] into your project by using
|
|
37
40
|
[font-awesome-rails][fontawesomerails] or your preferred method.
|
|
38
41
|
|
|
39
42
|
## Screenshot
|
|
40
43
|

|
|
41
44
|
|
|
45
|
+
## Sample Application
|
|
46
|
+
|
|
47
|
+
Sample application using `tabs_for` can be found
|
|
48
|
+
[here](https://github.com/blacktangent/tabs_for-demo).
|
|
49
|
+
|
|
42
50
|
## Usage
|
|
43
51
|
|
|
44
52
|
Generate the tabs with corresponding panes using the API below. `tab`
|
data/lib/tabs_for/version.rb
CHANGED
data/tabs_for.gemspec
CHANGED
|
@@ -20,7 +20,8 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
|
|
21
21
|
spec.required_ruby_version = '>= 1.9.3'
|
|
22
22
|
|
|
23
|
-
spec.add_dependency "
|
|
23
|
+
spec.add_dependency "rails", ">= 3.2", "< 5.0"
|
|
24
24
|
|
|
25
25
|
spec.add_development_dependency "coveralls"
|
|
26
|
+
spec.add_development_dependency "sqlite3"
|
|
26
27
|
end
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tabs_for
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ole J. Rosendahl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
@@ -44,6 +44,20 @@ dependencies:
|
|
|
44
44
|
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '0'
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: sqlite3
|
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
type: :development
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
47
61
|
description: ActiveView Helper for creating tabs with Bootstrap.
|
|
48
62
|
email:
|
|
49
63
|
- ole.johnny.rosendahl@gmail.com
|