tabs_on_rails 2.0.2 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.travis.yml +12 -0
- data/Appraisals +11 -0
- data/{CHANGELOG.rdoc → CHANGELOG.md} +30 -18
- data/Gemfile +3 -0
- data/Gemfile.lock +99 -0
- data/LICENSE +1 -1
- data/README.md +86 -0
- data/Rakefile +27 -40
- data/gemfiles/3.0.gemfile +7 -0
- data/gemfiles/3.0.gemfile.lock +91 -0
- data/gemfiles/3.1.gemfile +7 -0
- data/gemfiles/3.1.gemfile.lock +100 -0
- data/gemfiles/3.2.gemfile +7 -0
- data/gemfiles/3.2.gemfile.lock +100 -0
- data/lib/tabs_on_rails.rb +4 -10
- data/lib/tabs_on_rails/action_controller.rb +64 -73
- data/lib/tabs_on_rails/railtie.rb +3 -10
- data/lib/tabs_on_rails/tabs.rb +4 -10
- data/lib/tabs_on_rails/tabs/builder.rb +3 -10
- data/lib/tabs_on_rails/tabs/tabs_builder.rb +3 -10
- data/lib/tabs_on_rails/version.rb +5 -12
- data/tabs_on_rails.gemspec +21 -22
- data/test/dummy.rb +41 -0
- data/test/test_helper.rb +9 -33
- data/test/unit/{controller_mixin_test.rb → action_controller_test.rb} +0 -0
- data/test/unit/tabs/builder_test.rb +2 -18
- data/test/unit/tabs/tabs_builder_test.rb +3 -20
- data/test/unit/tabs_test.rb +17 -24
- metadata +85 -73
- data/README.rdoc +0 -300
- data/test/unit/tabs/block_builder_test.rb +0 -42
@@ -1,16 +1,9 @@
|
|
1
|
-
|
2
|
-
#
|
1
|
+
#--
|
2
|
+
# Tabs on Rails
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
#
|
7
|
-
# Category:: Rails
|
8
|
-
# Package:: TabsOnRails
|
9
|
-
# Author:: Simone Carletti <weppos@weppos.net>
|
10
|
-
# License:: MIT License
|
11
|
-
#
|
12
|
-
#--
|
13
|
-
#
|
6
|
+
# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
|
14
7
|
#++
|
15
8
|
|
16
9
|
|
data/lib/tabs_on_rails/tabs.rb
CHANGED
@@ -1,22 +1,16 @@
|
|
1
|
-
|
2
|
-
#
|
1
|
+
#--
|
2
|
+
# Tabs on Rails
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
#
|
7
|
-
# Category:: Rails
|
8
|
-
# Package:: TabsOnRails
|
9
|
-
# Author:: Simone Carletti <weppos@weppos.net>
|
10
|
-
# License:: MIT License
|
11
|
-
#
|
12
|
-
#--
|
13
|
-
#
|
6
|
+
# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
|
14
7
|
#++
|
15
8
|
|
16
9
|
|
17
10
|
require 'tabs_on_rails/tabs/builder'
|
18
11
|
require 'tabs_on_rails/tabs/tabs_builder'
|
19
12
|
|
13
|
+
|
20
14
|
module TabsOnRails
|
21
15
|
|
22
16
|
class Tabs
|
@@ -1,16 +1,9 @@
|
|
1
|
-
|
2
|
-
#
|
1
|
+
#--
|
2
|
+
# Tabs on Rails
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
#
|
7
|
-
# Category:: Rails
|
8
|
-
# Package:: TabsOnRails
|
9
|
-
# Author:: Simone Carletti <weppos@weppos.net>
|
10
|
-
# License:: MIT License
|
11
|
-
#
|
12
|
-
#--
|
13
|
-
#
|
6
|
+
# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
|
14
7
|
#++
|
15
8
|
|
16
9
|
|
@@ -1,16 +1,9 @@
|
|
1
|
-
|
2
|
-
#
|
1
|
+
#--
|
2
|
+
# Tabs on Rails
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
#
|
7
|
-
# Category:: Rails
|
8
|
-
# Package:: TabsOnRails
|
9
|
-
# Author:: Simone Carletti <weppos@weppos.net>
|
10
|
-
# License:: MIT License
|
11
|
-
#
|
12
|
-
#--
|
13
|
-
#
|
6
|
+
# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
|
14
7
|
#++
|
15
8
|
|
16
9
|
|
@@ -1,16 +1,9 @@
|
|
1
|
-
|
2
|
-
#
|
1
|
+
#--
|
2
|
+
# Tabs on Rails
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
|
-
#
|
6
|
-
#
|
7
|
-
# Category:: Rails
|
8
|
-
# Package:: TabsOnRails
|
9
|
-
# Author:: Simone Carletti <weppos@weppos.net>
|
10
|
-
# License:: MIT License
|
11
|
-
#
|
12
|
-
#--
|
13
5
|
#
|
6
|
+
# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
|
14
7
|
#++
|
15
8
|
|
16
9
|
|
@@ -19,8 +12,8 @@ module TabsOnRails
|
|
19
12
|
# Holds information about library version.
|
20
13
|
module Version
|
21
14
|
MAJOR = 2
|
22
|
-
MINOR =
|
23
|
-
PATCH =
|
15
|
+
MINOR = 1
|
16
|
+
PATCH = 1
|
24
17
|
BUILD = nil
|
25
18
|
|
26
19
|
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
|
data/tabs_on_rails.gemspec
CHANGED
@@ -1,40 +1,39 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "2.
|
4
|
+
s.name = "tabs_on_rails"
|
5
|
+
s.version = "2.1.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = [
|
9
|
-
s.date =
|
10
|
-
s.description =
|
11
|
-
s.email =
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
16
|
-
s.
|
17
|
-
s.
|
18
|
-
s.summary = %q{A simple Ruby on Rails plugin for creating tabs and navigation menus.}
|
8
|
+
s.authors = ["Simone Carletti"]
|
9
|
+
s.date = "2012-02-03"
|
10
|
+
s.description = "TabsOnRails is a simple Rails plugin for creating tabs and navigation menus."
|
11
|
+
s.email = "weppos@weppos.net"
|
12
|
+
s.files = [".gemtest", ".gitignore", ".travis.yml", "Appraisals", "CHANGELOG.md", "Gemfile", "Gemfile.lock", "LICENSE", "README.md", "Rakefile", "gemfiles/3.0.gemfile", "gemfiles/3.0.gemfile.lock", "gemfiles/3.1.gemfile", "gemfiles/3.1.gemfile.lock", "gemfiles/3.2.gemfile", "gemfiles/3.2.gemfile.lock", "init.rb", "lib/tabs_on_rails.rb", "lib/tabs_on_rails/action_controller.rb", "lib/tabs_on_rails/railtie.rb", "lib/tabs_on_rails/tabs.rb", "lib/tabs_on_rails/tabs/builder.rb", "lib/tabs_on_rails/tabs/tabs_builder.rb", "lib/tabs_on_rails/version.rb", "tabs_on_rails.gemspec", "test/dummy.rb", "test/test_helper.rb", "test/unit/action_controller_test.rb", "test/unit/tabs/builder_test.rb", "test/unit/tabs/tabs_builder_test.rb", "test/unit/tabs_test.rb", "test/views/working/default.html.erb", "test/views/working/with_item_block.html.erb", "test/views/working/with_item_options.html.erb", "test/views/working/with_open_close_tabs.html.erb"]
|
13
|
+
s.homepage = "http://www.simonecarletti.com/code/tabs_on_rails"
|
14
|
+
s.require_paths = ["lib"]
|
15
|
+
s.rubygems_version = "1.8.11"
|
16
|
+
s.summary = "A simple Ruby on Rails plugin for creating tabs and navigation menus."
|
17
|
+
s.test_files = ["test/dummy.rb", "test/test_helper.rb", "test/unit/action_controller_test.rb", "test/unit/tabs/builder_test.rb", "test/unit/tabs/tabs_builder_test.rb", "test/unit/tabs_test.rb", "test/views/working/default.html.erb", "test/views/working/with_item_block.html.erb", "test/views/working/with_item_options.html.erb", "test/views/working/with_open_close_tabs.html.erb"]
|
19
18
|
|
20
19
|
if s.respond_to? :specification_version then
|
21
20
|
s.specification_version = 3
|
22
21
|
|
23
22
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
24
|
-
s.add_development_dependency(%q<
|
25
|
-
s.add_development_dependency(%q<
|
26
|
-
s.add_development_dependency(%q<rails>, ["~> 3.0.6"])
|
23
|
+
s.add_development_dependency(%q<rails>, [">= 3.0"])
|
24
|
+
s.add_development_dependency(%q<appraisal>, [">= 0"])
|
27
25
|
s.add_development_dependency(%q<mocha>, ["~> 0.9.10"])
|
26
|
+
s.add_development_dependency(%q<yard>, [">= 0"])
|
28
27
|
else
|
29
|
-
s.add_dependency(%q<
|
30
|
-
s.add_dependency(%q<
|
31
|
-
s.add_dependency(%q<rails>, ["~> 3.0.6"])
|
28
|
+
s.add_dependency(%q<rails>, [">= 3.0"])
|
29
|
+
s.add_dependency(%q<appraisal>, [">= 0"])
|
32
30
|
s.add_dependency(%q<mocha>, ["~> 0.9.10"])
|
31
|
+
s.add_dependency(%q<yard>, [">= 0"])
|
33
32
|
end
|
34
33
|
else
|
35
|
-
s.add_dependency(%q<
|
36
|
-
s.add_dependency(%q<
|
37
|
-
s.add_dependency(%q<rails>, ["~> 3.0.6"])
|
34
|
+
s.add_dependency(%q<rails>, [">= 3.0"])
|
35
|
+
s.add_dependency(%q<appraisal>, [">= 0"])
|
38
36
|
s.add_dependency(%q<mocha>, ["~> 0.9.10"])
|
37
|
+
s.add_dependency(%q<yard>, [">= 0"])
|
39
38
|
end
|
40
39
|
end
|
data/test/dummy.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
|
3
|
+
require "active_support"
|
4
|
+
require "action_controller"
|
5
|
+
require "rails/railtie"
|
6
|
+
|
7
|
+
|
8
|
+
class Dummy
|
9
|
+
Routes = ActionDispatch::Routing::RouteSet.new
|
10
|
+
Routes.draw do
|
11
|
+
match ':controller(/:action(/:id))'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
ActionController::Base.view_paths = File.join(File.dirname(__FILE__), 'views')
|
16
|
+
ActionController::Base.send :include, Dummy::Routes.url_helpers
|
17
|
+
|
18
|
+
class ActiveSupport::TestCase
|
19
|
+
|
20
|
+
setup do
|
21
|
+
@routes = Dummy::Routes
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
def controller
|
26
|
+
@controller_proxy ||= ControllerProxy.new(@controller)
|
27
|
+
end
|
28
|
+
|
29
|
+
class ControllerProxy
|
30
|
+
def initialize(controller)
|
31
|
+
@controller = controller
|
32
|
+
end
|
33
|
+
def method_missing(method, *args)
|
34
|
+
@controller.instance_eval do
|
35
|
+
m = method(method)
|
36
|
+
m.call(*args)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
data/test/test_helper.rb
CHANGED
@@ -1,44 +1,20 @@
|
|
1
1
|
require 'test/unit'
|
2
2
|
require 'mocha'
|
3
|
-
|
4
|
-
ENV["RAILS_ENV"] = "test"
|
5
|
-
|
6
|
-
require "active_support"
|
7
|
-
require "action_controller"
|
8
|
-
require "rails/railtie"
|
3
|
+
require 'dummy'
|
9
4
|
|
10
5
|
$:.unshift File.expand_path('../../lib', __FILE__)
|
11
6
|
require 'tabs_on_rails'
|
12
7
|
|
13
|
-
ActionController::Base.view_paths = File.join(File.dirname(__FILE__), 'views')
|
14
|
-
|
15
|
-
TabsOnRails::Routes = ActionDispatch::Routing::RouteSet.new
|
16
|
-
TabsOnRails::Routes.draw do
|
17
|
-
match ':controller(/:action(/:id))'
|
18
|
-
end
|
19
|
-
|
20
|
-
ActionController::Base.send :include, TabsOnRails::Routes.url_helpers
|
21
8
|
|
22
9
|
class ActiveSupport::TestCase
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
class ControllerProxy
|
33
|
-
def initialize(controller)
|
34
|
-
@controller = controller
|
35
|
-
end
|
36
|
-
def method_missing(method, *args)
|
37
|
-
@controller.instance_eval do
|
38
|
-
m = method(method)
|
39
|
-
m.call(*args)
|
40
|
-
end
|
10
|
+
def current_tab(namespace)
|
11
|
+
case namespace
|
12
|
+
when nil, :default
|
13
|
+
:dashboard
|
14
|
+
when :foospace
|
15
|
+
:footab
|
16
|
+
else
|
17
|
+
:elsetab
|
41
18
|
end
|
42
19
|
end
|
43
|
-
|
44
20
|
end
|
File without changes
|
@@ -1,25 +1,9 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
|
-
class BuilderTest <
|
4
|
-
|
5
|
-
Template = Class.new do
|
6
|
-
include ActionView::Helpers::TagHelper
|
7
|
-
include ActionView::Helpers::UrlHelper
|
8
|
-
|
9
|
-
def current_tab(namespace)
|
10
|
-
case namespace
|
11
|
-
when nil, :default
|
12
|
-
:dashboard
|
13
|
-
when :foospace
|
14
|
-
:footab
|
15
|
-
else
|
16
|
-
:elsetab
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
3
|
+
class BuilderTest < ActionView::TestCase
|
20
4
|
|
21
5
|
def setup
|
22
|
-
@template =
|
6
|
+
@template = self
|
23
7
|
@builder = TabsOnRails::Tabs::Builder.new(@template)
|
24
8
|
end
|
25
9
|
|
@@ -1,30 +1,13 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
class TabsBuilderTest < ActionView::TestCase
|
4
|
-
tests TabsOnRails::ActionController::HelperMethods
|
5
|
-
|
6
|
-
include ActionView::Helpers::TagHelper
|
7
|
-
include ActionView::Helpers::UrlHelper
|
8
|
-
|
9
|
-
def current_tab(namespace)
|
10
|
-
case namespace
|
11
|
-
when nil, :default
|
12
|
-
:dashboard
|
13
|
-
when :foospace
|
14
|
-
:footab
|
15
|
-
else
|
16
|
-
:elsetab
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
4
|
|
21
5
|
def setup
|
22
|
-
@
|
23
|
-
@builder = @klass.new(self)
|
6
|
+
@builder = TabsOnRails::Tabs::TabsBuilder.new(self)
|
24
7
|
end
|
25
8
|
|
26
|
-
def
|
27
|
-
assert_equal TabsOnRails::Tabs::Builder,
|
9
|
+
def test_inherits_from_builder
|
10
|
+
assert_equal TabsOnRails::Tabs::Builder, TabsOnRails::Tabs::TabsBuilder.superclass
|
28
11
|
end
|
29
12
|
|
30
13
|
|
data/test/unit/tabs_test.rb
CHANGED
@@ -1,22 +1,6 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
|
-
class TabsTest <
|
4
|
-
|
5
|
-
Template = Class.new do
|
6
|
-
include ActionView::Helpers::TagHelper
|
7
|
-
include ActionView::Helpers::UrlHelper
|
8
|
-
|
9
|
-
def current_tab(namespace)
|
10
|
-
case namespace
|
11
|
-
when nil, :default
|
12
|
-
:dashboard
|
13
|
-
when :foospace
|
14
|
-
:footab
|
15
|
-
else
|
16
|
-
:elsetab
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
3
|
+
class TabsTest < ActionView::TestCase
|
20
4
|
|
21
5
|
OpenZeroArgsBuilder = Class.new(TabsOnRails::Tabs::Builder) do
|
22
6
|
def open_tabs
|
@@ -41,21 +25,20 @@ class TabsTest < ActiveSupport::TestCase
|
|
41
25
|
|
42
26
|
|
43
27
|
def setup
|
44
|
-
@template =
|
45
|
-
@
|
46
|
-
@tabs = @klass.new(@template)
|
28
|
+
@template = self
|
29
|
+
@tabs = TabsOnRails::Tabs.new(@template)
|
47
30
|
end
|
48
31
|
|
49
32
|
|
50
33
|
def test_initialize
|
51
|
-
@tabs =
|
34
|
+
@tabs = TabsOnRails::Tabs.new(@template)
|
52
35
|
assert_equal @template, @tabs.instance_variable_get(:"@context")
|
53
36
|
assert_instance_of TabsOnRails::Tabs::TabsBuilder, @tabs.instance_variable_get(:"@builder")
|
54
37
|
end
|
55
38
|
|
56
39
|
def test_initialize_with_option_builder
|
57
40
|
builder = Class.new(TabsOnRails::Tabs::TabsBuilder)
|
58
|
-
@tabs =
|
41
|
+
@tabs = TabsOnRails::Tabs.new(@template, :builder => builder)
|
59
42
|
assert_equal @template, @tabs.instance_variable_get(:"@context")
|
60
43
|
assert_instance_of builder, @tabs.instance_variable_get(:"@builder")
|
61
44
|
end
|
@@ -70,7 +53,7 @@ class TabsTest < ActiveSupport::TestCase
|
|
70
53
|
end
|
71
54
|
|
72
55
|
def test_open_tabs_should_ignore_options_if_arity_is_zero
|
73
|
-
@tabs =
|
56
|
+
@tabs = TabsOnRails::Tabs.new(@template, :builder => OpenZeroArgsBuilder)
|
74
57
|
assert_nothing_raised do
|
75
58
|
assert_equal '<ul>', @tabs.open_tabs(:class => "foo")
|
76
59
|
end
|
@@ -86,7 +69,7 @@ class TabsTest < ActiveSupport::TestCase
|
|
86
69
|
end
|
87
70
|
|
88
71
|
def test_open_tabs_should_ignore_options_if_arity_is_zero
|
89
|
-
@tabs =
|
72
|
+
@tabs = TabsOnRails::Tabs.new(@template, :builder => CloseZeroArgsBuilder)
|
90
73
|
assert_nothing_raised do
|
91
74
|
assert_equal '</ul>', @tabs.close_tabs(:class => "foo")
|
92
75
|
end
|
@@ -98,4 +81,14 @@ class TabsTest < ActiveSupport::TestCase
|
|
98
81
|
@tabs.welcome('Welcome', '#')
|
99
82
|
end
|
100
83
|
|
84
|
+
def test_tab_for_with_block
|
85
|
+
@tabs = TabsOnRails::Tabs.new(@template, :builder => BlockBuilder)
|
86
|
+
expected = %Q{<li class="current"><a href="http://dashboard.com/">Foo Bar</a>More Content</li>}
|
87
|
+
result = @tabs.dashboard('Foo Bar', 'http://dashboard.com/') do
|
88
|
+
"More Content"
|
89
|
+
end
|
90
|
+
|
91
|
+
assert_dom_equal expected, result
|
92
|
+
end
|
93
|
+
|
101
94
|
end
|
metadata
CHANGED
@@ -1,88 +1,95 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: tabs_on_rails
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.1
|
4
5
|
prerelease:
|
5
|
-
version: 2.0.2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Simone Carletti
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
12
|
+
date: 2012-02-03 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &70306225493560 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.0'
|
23
22
|
type: :development
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name:
|
28
|
-
requirement: &
|
24
|
+
version_requirements: *70306225493560
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: appraisal
|
27
|
+
requirement: &70306225493040 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
39
|
-
requirement: &
|
35
|
+
version_requirements: *70306225493040
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: mocha
|
38
|
+
requirement: &70306225492480 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
|
-
requirements:
|
40
|
+
requirements:
|
42
41
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version:
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.9.10
|
45
44
|
type: :development
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
50
|
-
requirement: &
|
46
|
+
version_requirements: *70306225492480
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: yard
|
49
|
+
requirement: &70306225491980 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 0
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
56
55
|
type: :development
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
59
|
-
description: TabsOnRails is a simple Rails plugin for creating tabs and navigation
|
57
|
+
version_requirements: *70306225491980
|
58
|
+
description: TabsOnRails is a simple Rails plugin for creating tabs and navigation
|
59
|
+
menus.
|
60
60
|
email: weppos@weppos.net
|
61
61
|
executables: []
|
62
|
-
|
63
62
|
extensions: []
|
64
|
-
|
65
|
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
|
69
|
-
-
|
63
|
+
extra_rdoc_files: []
|
64
|
+
files:
|
65
|
+
- .gemtest
|
66
|
+
- .gitignore
|
67
|
+
- .travis.yml
|
68
|
+
- Appraisals
|
69
|
+
- CHANGELOG.md
|
70
|
+
- Gemfile
|
71
|
+
- Gemfile.lock
|
70
72
|
- LICENSE
|
73
|
+
- README.md
|
74
|
+
- Rakefile
|
75
|
+
- gemfiles/3.0.gemfile
|
76
|
+
- gemfiles/3.0.gemfile.lock
|
77
|
+
- gemfiles/3.1.gemfile
|
78
|
+
- gemfiles/3.1.gemfile.lock
|
79
|
+
- gemfiles/3.2.gemfile
|
80
|
+
- gemfiles/3.2.gemfile.lock
|
71
81
|
- init.rb
|
72
|
-
- .
|
73
|
-
- CHANGELOG.rdoc
|
74
|
-
- README.rdoc
|
75
|
-
- tabs_on_rails.gemspec
|
82
|
+
- lib/tabs_on_rails.rb
|
76
83
|
- lib/tabs_on_rails/action_controller.rb
|
77
84
|
- lib/tabs_on_rails/railtie.rb
|
85
|
+
- lib/tabs_on_rails/tabs.rb
|
78
86
|
- lib/tabs_on_rails/tabs/builder.rb
|
79
87
|
- lib/tabs_on_rails/tabs/tabs_builder.rb
|
80
|
-
- lib/tabs_on_rails/tabs.rb
|
81
88
|
- lib/tabs_on_rails/version.rb
|
82
|
-
-
|
89
|
+
- tabs_on_rails.gemspec
|
90
|
+
- test/dummy.rb
|
83
91
|
- test/test_helper.rb
|
84
|
-
- test/unit/
|
85
|
-
- test/unit/tabs/block_builder_test.rb
|
92
|
+
- test/unit/action_controller_test.rb
|
86
93
|
- test/unit/tabs/builder_test.rb
|
87
94
|
- test/unit/tabs/tabs_builder_test.rb
|
88
95
|
- test/unit/tabs_test.rb
|
@@ -92,31 +99,36 @@ files:
|
|
92
99
|
- test/views/working/with_open_close_tabs.html.erb
|
93
100
|
homepage: http://www.simonecarletti.com/code/tabs_on_rails
|
94
101
|
licenses: []
|
95
|
-
|
96
102
|
post_install_message:
|
97
|
-
rdoc_options:
|
98
|
-
|
99
|
-
- README.rdoc
|
100
|
-
require_paths:
|
103
|
+
rdoc_options: []
|
104
|
+
require_paths:
|
101
105
|
- lib
|
102
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
107
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version:
|
108
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
113
|
none: false
|
110
|
-
requirements:
|
111
|
-
- -
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version:
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
114
118
|
requirements: []
|
115
|
-
|
116
119
|
rubyforge_project:
|
117
|
-
rubygems_version: 1.8.
|
120
|
+
rubygems_version: 1.8.11
|
118
121
|
signing_key:
|
119
122
|
specification_version: 3
|
120
123
|
summary: A simple Ruby on Rails plugin for creating tabs and navigation menus.
|
121
|
-
test_files:
|
122
|
-
|
124
|
+
test_files:
|
125
|
+
- test/dummy.rb
|
126
|
+
- test/test_helper.rb
|
127
|
+
- test/unit/action_controller_test.rb
|
128
|
+
- test/unit/tabs/builder_test.rb
|
129
|
+
- test/unit/tabs/tabs_builder_test.rb
|
130
|
+
- test/unit/tabs_test.rb
|
131
|
+
- test/views/working/default.html.erb
|
132
|
+
- test/views/working/with_item_block.html.erb
|
133
|
+
- test/views/working/with_item_options.html.erb
|
134
|
+
- test/views/working/with_open_close_tabs.html.erb
|