tabs_on_rails 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Changelog
2
2
 
3
+ == Release 1.3.1
4
+
5
+ * FIXED: Error wrong number of arguments (2 for 3) (closes #3)
6
+
3
7
 
4
8
  == Release 1.3.0
5
9
 
data/README.rdoc CHANGED
@@ -313,6 +313,8 @@ This is the final result.
313
313
 
314
314
  * {Homepage}[http://www.simonecarletti.com/code/tabs_on_rails]
315
315
  * {Source}[http://github.com/weppos/tabs_on_rails]
316
+ * {API Documentation}[http://www.simonecarletti.com/code/tabs_on_rails/api/]
317
+ * {Wiki}[http://code.simonecarletti.com/projects/tabsonrails]
316
318
  * {Bugs & Features}[http://github.com/weppos/tabs_on_rails/issues]
317
319
 
318
320
 
data/Rakefile CHANGED
@@ -1,7 +1,11 @@
1
1
  require "rubygems"
2
2
  require "rake/testtask"
3
- require "rake/rdoctask"
4
3
  require "rake/gempackagetask"
4
+ begin
5
+ require "hanna/rdoctask"
6
+ rescue LoadError
7
+ require "rake/rdoctask"
8
+ end
5
9
 
6
10
  $:.unshift(File.dirname(__FILE__) + "/lib")
7
11
  require "tabs_on_rails"
@@ -61,7 +61,7 @@ module TabsOnRails
61
61
  else
62
62
  "".tap do |html|
63
63
  html << open_tabs(open_tabs_options).to_s
64
- html << capture(self, &block)
64
+ html << @context.capture(self, &block)
65
65
  html << close_tabs(close_tabs_options).to_s
66
66
  end.html_safe
67
67
  end
@@ -19,7 +19,7 @@ module TabsOnRails
19
19
  module Version
20
20
  MAJOR = 1
21
21
  MINOR = 3
22
- PATCH = 0
22
+ PATCH = 1
23
23
  BUILD = nil
24
24
 
25
25
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabs_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Simone Carletti
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-10 00:00:00 +02:00
18
+ date: 2010-08-16 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -35,7 +35,6 @@ files:
35
35
  - CHANGELOG.rdoc
36
36
  - LICENSE.rdoc
37
37
  - README.rdoc
38
- - tabs_on_rails.gemspec
39
38
  - test/controller_mixin_test.rb
40
39
  - test/fixtures/mixin/default.html.erb
41
40
  - test/fixtures/mixin/with_item_options.html.erb
@@ -1,30 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{tabs_on_rails}
5
- s.version = "1.2.0"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Simone Carletti"]
9
- s.date = %q{2010-08-10}
10
- s.description = %q{ TabsOnRails is a simple Ruby on Rails plugin for creating and managing Tabs. It provides helpers for creating tabs with a flexible interface.
11
- }
12
- s.email = %q{weppos@weppos.net}
13
- s.extra_rdoc_files = ["CHANGELOG.rdoc", "LICENSE.rdoc", "README.rdoc"]
14
- s.files = ["Rakefile", "init.rb", "CHANGELOG.rdoc", "LICENSE.rdoc", "README.rdoc", "tabs_on_rails.gemspec", "test/controller_mixin_test.rb", "test/fixtures/mixin/default.html.erb", "test/fixtures/mixin/with_open_close_tabs.html.erb", "test/tabs/builder_test.rb", "test/tabs/tabs_builder_test.rb", "test/tabs_test.rb", "test/test_helper.rb", "lib/tabs_on_rails/controller_mixin.rb", "lib/tabs_on_rails/railtie.rb", "lib/tabs_on_rails/tabs/builder.rb", "lib/tabs_on_rails/tabs/tabs_builder.rb", "lib/tabs_on_rails/tabs.rb", "lib/tabs_on_rails/version.rb", "lib/tabs_on_rails.rb", "rails/init.rb"]
15
- s.homepage = %q{http://www.simonecarletti.com/code/tabs_on_rails}
16
- s.rdoc_options = ["--main", "README.rdoc"]
17
- s.require_paths = ["lib"]
18
- s.rubygems_version = %q{1.3.7}
19
- s.summary = %q{A simple Ruby on Rails plugin for creating and managing Tabs.}
20
-
21
- if s.respond_to? :specification_version then
22
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
- s.specification_version = 3
24
-
25
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
- else
27
- end
28
- else
29
- end
30
- end