tabs_on_rails 2.2.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -8
- data/.ruby-gemset +1 -0
- data/.travis.yml +13 -10
- data/Appraisals +4 -9
- data/CHANGELOG.md +6 -0
- data/Gemfile +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +302 -40
- data/Rakefile +6 -64
- data/gemfiles/4.2.gemfile +7 -0
- data/gemfiles/5.0.gemfile +7 -0
- data/lib/tabs_on_rails.rb +1 -1
- data/lib/tabs_on_rails/action_controller.rb +2 -2
- data/lib/tabs_on_rails/railtie.rb +3 -6
- data/lib/tabs_on_rails/tabs.rb +7 -3
- data/lib/tabs_on_rails/tabs/builder.rb +1 -1
- data/lib/tabs_on_rails/tabs/tabs_builder.rb +1 -1
- data/lib/tabs_on_rails/version.rb +2 -15
- data/tabs_on_rails.gemspec +23 -34
- data/test/dummy.rb +6 -1
- data/test/test_helper.rb +5 -2
- data/test/unit/action_controller_test.rb +1 -15
- data/test/unit/{tabs/builder_test.rb → builder_test.rb} +4 -4
- data/test/unit/{tabs/tabs_builder_test.rb → tabs_builder_test.rb} +0 -0
- metadata +66 -54
- data/.gemtest +0 -0
- data/gemfiles/3.0.gemfile +0 -7
- data/gemfiles/3.0.gemfile.lock +0 -91
- data/gemfiles/3.1.gemfile +0 -7
- data/gemfiles/3.1.gemfile.lock +0 -100
- data/gemfiles/3.2.gemfile +0 -7
- data/gemfiles/3.2.gemfile.lock +0 -100
- data/init.rb +0 -1
data/Rakefile
CHANGED
@@ -1,62 +1,12 @@
|
|
1
|
-
require '
|
2
|
-
require 'bundler'
|
1
|
+
require 'bundler/gem_tasks'
|
3
2
|
require 'appraisal'
|
4
3
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
PKG_NAME = ENV['PKG_NAME'] || "tabs_on_rails"
|
10
|
-
PKG_VERSION = ENV['PKG_VERSION'] || TabsOnRails::VERSION
|
11
|
-
|
12
|
-
|
13
|
-
# Run test by default.
|
14
|
-
task :default => :test
|
15
|
-
|
16
|
-
spec = Gem::Specification.new do |s|
|
17
|
-
s.name = PKG_NAME
|
18
|
-
s.version = PKG_VERSION
|
19
|
-
s.summary = "A simple Ruby on Rails plugin for creating tabs and navigation menus."
|
20
|
-
s.description = "TabsOnRails is a simple Rails plugin for creating tabs and navigation menus."
|
21
|
-
|
22
|
-
s.author = "Simone Carletti"
|
23
|
-
s.email = "weppos@weppos.net"
|
24
|
-
s.homepage = "http://www.simonecarletti.com/code/tabs_on_rails"
|
25
|
-
|
26
|
-
s.files = `git ls-files`.split("\n")
|
27
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
28
|
-
s.require_paths = %w( lib )
|
29
|
-
|
30
|
-
s.add_development_dependency "rails", ">= 3.0"
|
31
|
-
s.add_development_dependency "appraisal"
|
32
|
-
s.add_development_dependency "mocha"
|
33
|
-
s.add_development_dependency "yard"
|
34
|
-
end
|
35
|
-
|
36
|
-
|
37
|
-
require 'rubygems/package_task'
|
38
|
-
|
39
|
-
Gem::PackageTask.new(spec) do |pkg|
|
40
|
-
pkg.gem_spec = spec
|
41
|
-
end
|
42
|
-
|
43
|
-
desc "Build the gemspec file #{spec.name}.gemspec"
|
44
|
-
task :gemspec do
|
45
|
-
file = File.dirname(__FILE__) + "/#{spec.name}.gemspec"
|
46
|
-
File.open(file, "w") {|f| f << spec.to_ruby }
|
47
|
-
end
|
48
|
-
|
49
|
-
desc "Remove any temporary products, including gemspec"
|
50
|
-
task :clean => [:clobber] do
|
51
|
-
rm "#{spec.name}.gemspec"
|
4
|
+
if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"]
|
5
|
+
task :default => :appraisal
|
6
|
+
else
|
7
|
+
task :default => :test
|
52
8
|
end
|
53
9
|
|
54
|
-
desc "Remove any generated file"
|
55
|
-
task :clobber => [:clobber_rdoc, :clobber_rcov, :clobber_package]
|
56
|
-
|
57
|
-
desc "Package the library and generates the gemspec"
|
58
|
-
task :package => [:gemspec]
|
59
|
-
|
60
10
|
|
61
11
|
require 'rake/testtask'
|
62
12
|
|
@@ -68,18 +18,10 @@ Rake::TestTask.new do |t|
|
|
68
18
|
end
|
69
19
|
|
70
20
|
|
71
|
-
require 'yard'
|
72
21
|
require 'yard/rake/yardoc_task'
|
73
22
|
|
74
23
|
YARD::Rake::YardocTask.new(:yardoc) do |y|
|
75
24
|
y.options = ["--output-dir", "yardoc"]
|
76
25
|
end
|
77
26
|
|
78
|
-
|
79
|
-
desc "Remove YARD products"
|
80
|
-
task :clobber do
|
81
|
-
rm_r "yardoc" rescue nil
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
task :clobber => "yardoc:clobber"
|
27
|
+
CLOBBER.include "yardoc"
|
data/lib/tabs_on_rails.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
@@ -103,7 +103,7 @@ module TabsOnRails
|
|
103
103
|
options = args.extract_options!
|
104
104
|
name, namespace = args
|
105
105
|
|
106
|
-
|
106
|
+
before_action(options) do |controller|
|
107
107
|
controller.send(:set_tab, name, namespace)
|
108
108
|
end
|
109
109
|
end
|
@@ -3,19 +3,16 @@
|
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
10
10
|
module TabsOnRails
|
11
11
|
|
12
12
|
class Railtie < Rails::Railtie
|
13
|
-
|
13
|
+
ActiveSupport.on_load(:action_controller) do
|
14
|
+
::ActionController::Base.send(:include, TabsOnRails::ActionController)
|
14
15
|
end
|
15
16
|
end
|
16
17
|
|
17
18
|
end
|
18
|
-
|
19
|
-
ActiveSupport.on_load(:action_controller) do
|
20
|
-
include TabsOnRails::ActionController
|
21
|
-
end
|
data/lib/tabs_on_rails/tabs.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
@@ -14,9 +14,13 @@ require 'tabs_on_rails/tabs/tabs_builder'
|
|
14
14
|
module TabsOnRails
|
15
15
|
|
16
16
|
class Tabs
|
17
|
+
class << self
|
18
|
+
attr_writer :default_builder
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
+
def default_builder
|
21
|
+
@default_builder ||= TabsBuilder
|
22
|
+
end
|
23
|
+
end
|
20
24
|
|
21
25
|
def initialize(context, options = {})
|
22
26
|
@context = context
|
@@ -3,23 +3,10 @@
|
|
3
3
|
#
|
4
4
|
# A simple Ruby on Rails plugin for creating and managing Tabs.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2017 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
10
10
|
module TabsOnRails
|
11
|
-
|
12
|
-
# Holds information about library version.
|
13
|
-
module Version
|
14
|
-
MAJOR = 2
|
15
|
-
MINOR = 2
|
16
|
-
PATCH = 0
|
17
|
-
BUILD = nil
|
18
|
-
|
19
|
-
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
|
20
|
-
end
|
21
|
-
|
22
|
-
# The current library version.
|
23
|
-
VERSION = Version::STRING
|
24
|
-
|
11
|
+
VERSION = "3.0.0"
|
25
12
|
end
|
data/tabs_on_rails.gemspec
CHANGED
@@ -1,39 +1,28 @@
|
|
1
|
-
#
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'tabs_on_rails/version'
|
2
5
|
|
3
|
-
Gem::Specification.new do |
|
4
|
-
|
5
|
-
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "tabs_on_rails"
|
8
|
+
spec.version = TabsOnRails::VERSION
|
9
|
+
spec.authors = ["Simone Carletti"]
|
10
|
+
spec.email = ["weppos@weppos.net"]
|
6
11
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
s.email = "weppos@weppos.net"
|
12
|
-
s.files = [".gemtest", ".gitignore", ".travis.yml", "Appraisals", "CHANGELOG.md", "Gemfile", "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.21"
|
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"]
|
12
|
+
spec.summary = %q{A simple Ruby on Rails plugin for creating tabs and navigation menu}
|
13
|
+
spec.description = %q{TabsOnRails is a simple Ruby on Rails plugin for creating tabs and navigation menu for a Rails project.}
|
14
|
+
spec.homepage = "https://simonecarletti.com/code/tabs-on-rails"
|
15
|
+
spec.license = "MIT"
|
18
16
|
|
19
|
-
|
20
|
-
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
spec.require_paths = ["lib"]
|
21
20
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
s.add_dependency(%q<appraisal>, [">= 0"])
|
30
|
-
s.add_dependency(%q<mocha>, ["~> 0.11.0"])
|
31
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
32
|
-
end
|
33
|
-
else
|
34
|
-
s.add_dependency(%q<rails>, [">= 3.0"])
|
35
|
-
s.add_dependency(%q<appraisal>, [">= 0"])
|
36
|
-
s.add_dependency(%q<mocha>, ["~> 0.11.0"])
|
37
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
38
|
-
end
|
21
|
+
spec.required_ruby_version = ">= 2.2"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "bundler"
|
24
|
+
spec.add_development_dependency "appraisal"
|
25
|
+
spec.add_development_dependency "rails", ">= 4.2"
|
26
|
+
spec.add_development_dependency "mocha", ">= 1.0"
|
27
|
+
spec.add_development_dependency "yard"
|
39
28
|
end
|
data/test/dummy.rb
CHANGED
@@ -8,7 +8,7 @@ require "rails/railtie"
|
|
8
8
|
class Dummy
|
9
9
|
Routes = ActionDispatch::Routing::RouteSet.new
|
10
10
|
Routes.draw do
|
11
|
-
match ':controller(/:action(/:id))'
|
11
|
+
match ':controller(/:action(/:id))', via: [:get]
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
@@ -39,3 +39,8 @@ class ActiveSupport::TestCase
|
|
39
39
|
end
|
40
40
|
|
41
41
|
end
|
42
|
+
|
43
|
+
# Trigger lazy loading and causes the load_hooks to be executed on
|
44
|
+
# ActionController::API. This is important because breacrumbs_on_rails includes
|
45
|
+
# BreadcrumbsOnRails::ActionController on any module that executes these hooks
|
46
|
+
ActionController::API rescue NameError
|
data/test/test_helper.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
require '
|
2
|
-
require 'mocha'
|
1
|
+
require 'minitest/autorun'
|
2
|
+
require 'mocha/setup'
|
3
3
|
require 'dummy'
|
4
4
|
|
5
5
|
$:.unshift File.expand_path('../../lib', __FILE__)
|
6
6
|
require 'tabs_on_rails'
|
7
7
|
|
8
|
+
Encoding.default_external = Encoding::UTF_8
|
9
|
+
Encoding.default_internal = Encoding::UTF_8
|
10
|
+
|
8
11
|
|
9
12
|
class ActiveSupport::TestCase
|
10
13
|
def current_tab(namespace)
|
@@ -228,16 +228,8 @@ class ControllerMixinHelpersTest < ActionView::TestCase
|
|
228
228
|
include ActionView::Helpers::UrlHelper
|
229
229
|
|
230
230
|
MockBuilder = Class.new(TabsOnRails::Tabs::Builder) do
|
231
|
-
def initialize_with_mocha(*args)
|
232
|
-
checkpoint
|
233
|
-
initialize_without_mocha(*args)
|
234
|
-
end
|
235
|
-
alias_method_chain :initialize, :mocha
|
236
|
-
|
237
|
-
def checkpoint
|
238
|
-
end
|
239
|
-
|
240
231
|
def tab_for(tab, name, *args)
|
232
|
+
"-> #{name}"
|
241
233
|
end
|
242
234
|
end
|
243
235
|
|
@@ -263,14 +255,8 @@ class ControllerMixinHelpersTest < ActionView::TestCase
|
|
263
255
|
def test_tabs_tag_should_raise_local_jump_error_without_block
|
264
256
|
assert_raise(LocalJumpError) { tabs_tag }
|
265
257
|
end
|
266
|
-
|
267
|
-
def test_tabs_tag_with_builder
|
268
|
-
MockBuilder.any_instance.expects(:checkpoint).once
|
269
|
-
tabs_tag(:builder => MockBuilder) { "" }
|
270
|
-
end
|
271
258
|
|
272
259
|
def test_tabs_tag_with_namespace
|
273
|
-
MockBuilder.any_instance.expects(:checkpoint).once
|
274
260
|
tabs_tag(:builder => MockBuilder, :namespace => :custom) do |tabs|
|
275
261
|
builder = tabs.instance_variable_get(:'@builder')
|
276
262
|
assert_equal(:custom, builder.instance_variable_get(:'@namespace'))
|
@@ -65,19 +65,19 @@ class BuilderTest < ActionView::TestCase
|
|
65
65
|
|
66
66
|
|
67
67
|
def test_open_tabs
|
68
|
-
|
68
|
+
assert_nil @builder.open_tabs
|
69
69
|
end
|
70
70
|
|
71
71
|
def test_open_tabs_with_options
|
72
|
-
|
72
|
+
assert_nil @builder.open_tabs(:foo => "bar")
|
73
73
|
end
|
74
74
|
|
75
75
|
def test_close_tabs
|
76
|
-
|
76
|
+
assert_nil @builder.close_tabs
|
77
77
|
end
|
78
78
|
|
79
79
|
def test_close_tabs_with_options
|
80
|
-
|
80
|
+
assert_nil @builder.close_tabs(:foo => "bar")
|
81
81
|
end
|
82
82
|
|
83
83
|
|
File without changes
|
metadata
CHANGED
@@ -1,103 +1,118 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tabs_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Simone Carletti
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: rake
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
26
|
+
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
28
|
+
name: bundler
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
42
|
+
name: appraisal
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mocha
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
62
83
|
- !ruby/object:Gem::Dependency
|
63
84
|
name: yard
|
64
85
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
86
|
requirements:
|
67
|
-
- -
|
87
|
+
- - ">="
|
68
88
|
- !ruby/object:Gem::Version
|
69
89
|
version: '0'
|
70
90
|
type: :development
|
71
91
|
prerelease: false
|
72
92
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
93
|
requirements:
|
75
|
-
- -
|
94
|
+
- - ">="
|
76
95
|
- !ruby/object:Gem::Version
|
77
96
|
version: '0'
|
78
|
-
description: TabsOnRails is a simple Rails plugin for creating tabs and navigation
|
79
|
-
|
80
|
-
email:
|
97
|
+
description: TabsOnRails is a simple Ruby on Rails plugin for creating tabs and navigation
|
98
|
+
menu for a Rails project.
|
99
|
+
email:
|
100
|
+
- weppos@weppos.net
|
81
101
|
executables: []
|
82
102
|
extensions: []
|
83
103
|
extra_rdoc_files: []
|
84
104
|
files:
|
85
|
-
- .
|
86
|
-
- .
|
87
|
-
- .travis.yml
|
105
|
+
- ".gitignore"
|
106
|
+
- ".ruby-gemset"
|
107
|
+
- ".travis.yml"
|
88
108
|
- Appraisals
|
89
109
|
- CHANGELOG.md
|
90
110
|
- Gemfile
|
91
111
|
- LICENSE.txt
|
92
112
|
- README.md
|
93
113
|
- Rakefile
|
94
|
-
- gemfiles/
|
95
|
-
- gemfiles/
|
96
|
-
- gemfiles/3.1.gemfile
|
97
|
-
- gemfiles/3.1.gemfile.lock
|
98
|
-
- gemfiles/3.2.gemfile
|
99
|
-
- gemfiles/3.2.gemfile.lock
|
100
|
-
- init.rb
|
114
|
+
- gemfiles/4.2.gemfile
|
115
|
+
- gemfiles/5.0.gemfile
|
101
116
|
- lib/tabs_on_rails.rb
|
102
117
|
- lib/tabs_on_rails/action_controller.rb
|
103
118
|
- lib/tabs_on_rails/railtie.rb
|
@@ -109,47 +124,44 @@ files:
|
|
109
124
|
- test/dummy.rb
|
110
125
|
- test/test_helper.rb
|
111
126
|
- test/unit/action_controller_test.rb
|
112
|
-
- test/unit/
|
113
|
-
- test/unit/
|
127
|
+
- test/unit/builder_test.rb
|
128
|
+
- test/unit/tabs_builder_test.rb
|
114
129
|
- test/unit/tabs_test.rb
|
115
130
|
- test/views/working/default.html.erb
|
116
131
|
- test/views/working/with_item_block.html.erb
|
117
132
|
- test/views/working/with_item_options.html.erb
|
118
133
|
- test/views/working/with_open_close_tabs.html.erb
|
119
134
|
- test/views/working/with_option_active_class.html.erb
|
120
|
-
homepage:
|
121
|
-
licenses:
|
135
|
+
homepage: https://simonecarletti.com/code/tabs-on-rails
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
122
139
|
post_install_message:
|
123
140
|
rdoc_options: []
|
124
141
|
require_paths:
|
125
142
|
- lib
|
126
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
-
none: false
|
128
144
|
requirements:
|
129
|
-
- -
|
145
|
+
- - ">="
|
130
146
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
hash: -246050836927131597
|
147
|
+
version: '2.2'
|
135
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
149
|
requirements:
|
138
|
-
- -
|
150
|
+
- - ">="
|
139
151
|
- !ruby/object:Gem::Version
|
140
152
|
version: '0'
|
141
153
|
requirements: []
|
142
154
|
rubyforge_project:
|
143
|
-
rubygems_version:
|
155
|
+
rubygems_version: 2.5.2
|
144
156
|
signing_key:
|
145
|
-
specification_version:
|
146
|
-
summary: A simple Ruby on Rails plugin for creating tabs and navigation
|
157
|
+
specification_version: 4
|
158
|
+
summary: A simple Ruby on Rails plugin for creating tabs and navigation menu
|
147
159
|
test_files:
|
148
160
|
- test/dummy.rb
|
149
161
|
- test/test_helper.rb
|
150
162
|
- test/unit/action_controller_test.rb
|
151
|
-
- test/unit/
|
152
|
-
- test/unit/
|
163
|
+
- test/unit/builder_test.rb
|
164
|
+
- test/unit/tabs_builder_test.rb
|
153
165
|
- test/unit/tabs_test.rb
|
154
166
|
- test/views/working/default.html.erb
|
155
167
|
- test/views/working/with_item_block.html.erb
|