bettertabs 1.2.1 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,12 @@
1
1
  Bettertabs Changelog
2
2
  ====================
3
3
 
4
+ 2011-06-23 Mario Izquierdo Martinez <tothemario@gmail.com>
5
+
6
+ * Tag v1.2.3
7
+ * Tested with Rails 3.0.9 and HAML 3.1.2
8
+ * Bugfix on the bettertabs helper inline script, avoid to add it as an HTML attribute
9
+
4
10
  2011-05-02 Mario Izquierdo Martinez <tothemario@gmail.com>
5
11
 
6
12
  * Tag v1.2.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bettertabs (1.2)
4
+ bettertabs (1.2.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -12,8 +12,6 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{The better (simple, accessible, usable, flexible and fast) way to split content in tabs for Rails.}
13
13
  s.description = %q{Bettertabs Rails helper (and jQuery plugin) defines the markup for a tabbed area in a easy and declarative way, using the appropiate JavaScript but ensuring accessibility and usability, no matter if the content is loaded statically, via ajax or the tabs are links. In the other hand, the CSS styles are up to you. }
14
14
 
15
- s.rubyforge_project = "bettertabs"
16
-
17
15
  s.files = `git ls-files`.split("\n")
18
16
  s.require_paths = ["lib"]
19
17
  end
@@ -53,11 +53,11 @@ module BettertabsHelper
53
53
  options[:class] ||= "bettertabs"
54
54
  options[:id] ||= bettertabs_id
55
55
  options[:render_only_active_content] = controller.request.xhr? unless options.include?(:render_only_active_content)
56
- options[:attach_jquery_bettertabs_inline] = true unless options.include?(:attach_jquery_bettertabs_inline)
56
+ attach_jquery_bettertabs_inline = options.include?(:attach_jquery_bettertabs_inline) ? options.delete(:attach_jquery_bettertabs_inline) : true
57
57
  builder = BettertabsBuilder.new(bettertabs_id, self, selected_tab_id, options)
58
58
  yield(builder)
59
59
  b = builder.render
60
- b += javascript_tag("jQuery(function($){ $('##{options[:id]}').bettertabs(); });") if options[:attach_jquery_bettertabs_inline]
60
+ b += javascript_tag("jQuery(function($){ $('##{options[:id]}').bettertabs(); });") if attach_jquery_bettertabs_inline
61
61
  b
62
62
  end
63
63
 
@@ -1,6 +1,6 @@
1
1
  ###!
2
2
  jQuery Bettertabs Plugin
3
- version: 1.2.1 (Jun-2-2011)
3
+ version: 1.2.3 (Jun-2-2011)
4
4
  @requires jQuery v1.3 or later
5
5
 
6
6
  Examples and documentation at: https://github.com/agoragames/bettertabs
@@ -1,7 +1,7 @@
1
1
  (function() {
2
2
  /*!
3
3
  jQuery Bettertabs Plugin
4
- version: 1.2.1 (Jun-2-2011)
4
+ version: 1.2.3 (Jun-2-2011)
5
5
  @requires jQuery v1.3 or later
6
6
 
7
7
  Examples and documentation at: https://github.com/agoragames/bettertabs
@@ -1,7 +1,7 @@
1
1
  (function(){
2
2
  /*!
3
3
  jQuery Bettertabs Plugin
4
- version: 1.2.1 (Jun-2-2011)
4
+ version: 1.2.3 (Jun-2-2011)
5
5
  @requires jQuery v1.3 or later
6
6
 
7
7
  Examples and documentation at: https://github.com/agoragames/bettertabs
@@ -1,3 +1,3 @@
1
1
  module Bettertabs
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.3"
3
3
  end
@@ -1,10 +1,12 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '3.0.6'
4
- gem 'haml', '>=3.0.18'
3
+
4
+ gem 'rails', '3.0.9'
5
+ gem 'rake', '0.9.2'
5
6
  gem 'rspec-rails'
7
+ gem 'haml', '3.1.2'
6
8
 
7
- gem 'bettertabs'
9
+ gem 'bettertabs', '1.2.3'
8
10
 
9
11
  # To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
10
12
  # gem 'ruby-debug'
@@ -2,12 +2,12 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- actionmailer (3.0.6)
6
- actionpack (= 3.0.6)
7
- mail (~> 2.2.15)
8
- actionpack (3.0.6)
9
- activemodel (= 3.0.6)
10
- activesupport (= 3.0.6)
5
+ actionmailer (3.0.9)
6
+ actionpack (= 3.0.9)
7
+ mail (~> 2.2.19)
8
+ actionpack (3.0.9)
9
+ activemodel (= 3.0.9)
10
+ activesupport (= 3.0.9)
11
11
  builder (~> 2.1.2)
12
12
  erubis (~> 2.6.6)
13
13
  i18n (~> 0.5.0)
@@ -15,28 +15,28 @@ GEM
15
15
  rack-mount (~> 0.6.14)
16
16
  rack-test (~> 0.5.7)
17
17
  tzinfo (~> 0.3.23)
18
- activemodel (3.0.6)
19
- activesupport (= 3.0.6)
18
+ activemodel (3.0.9)
19
+ activesupport (= 3.0.9)
20
20
  builder (~> 2.1.2)
21
21
  i18n (~> 0.5.0)
22
- activerecord (3.0.6)
23
- activemodel (= 3.0.6)
24
- activesupport (= 3.0.6)
25
- arel (~> 2.0.2)
22
+ activerecord (3.0.9)
23
+ activemodel (= 3.0.9)
24
+ activesupport (= 3.0.9)
25
+ arel (~> 2.0.10)
26
26
  tzinfo (~> 0.3.23)
27
- activeresource (3.0.6)
28
- activemodel (= 3.0.6)
29
- activesupport (= 3.0.6)
30
- activesupport (3.0.6)
27
+ activeresource (3.0.9)
28
+ activemodel (= 3.0.9)
29
+ activesupport (= 3.0.9)
30
+ activesupport (3.0.9)
31
31
  archive-tar-minitar (0.5.2)
32
- arel (2.0.9)
33
- bettertabs (1.1)
32
+ arel (2.0.10)
33
+ bettertabs (1.2.2)
34
34
  builder (2.1.2)
35
35
  columnize (0.3.2)
36
36
  diff-lcs (1.1.2)
37
37
  erubis (2.6.6)
38
38
  abstract (>= 1.0.0)
39
- haml (3.1.1)
39
+ haml (3.1.2)
40
40
  i18n (0.5.0)
41
41
  linecache19 (0.5.12)
42
42
  ruby_core_source (>= 0.1.4)
@@ -47,25 +47,27 @@ GEM
47
47
  treetop (~> 1.4.8)
48
48
  mime-types (1.16)
49
49
  polyglot (0.3.1)
50
- rack (1.2.2)
50
+ rack (1.2.3)
51
51
  rack-mount (0.6.14)
52
52
  rack (>= 1.0.0)
53
53
  rack-test (0.5.7)
54
54
  rack (>= 1.0)
55
- rails (3.0.6)
56
- actionmailer (= 3.0.6)
57
- actionpack (= 3.0.6)
58
- activerecord (= 3.0.6)
59
- activeresource (= 3.0.6)
60
- activesupport (= 3.0.6)
55
+ rails (3.0.9)
56
+ actionmailer (= 3.0.9)
57
+ actionpack (= 3.0.9)
58
+ activerecord (= 3.0.9)
59
+ activeresource (= 3.0.9)
60
+ activesupport (= 3.0.9)
61
61
  bundler (~> 1.0)
62
- railties (= 3.0.6)
63
- railties (3.0.6)
64
- actionpack (= 3.0.6)
65
- activesupport (= 3.0.6)
62
+ railties (= 3.0.9)
63
+ railties (3.0.9)
64
+ actionpack (= 3.0.9)
65
+ activesupport (= 3.0.9)
66
66
  rake (>= 0.8.7)
67
+ rdoc (~> 3.4)
67
68
  thor (~> 0.14.4)
68
- rake (0.8.7)
69
+ rake (0.9.2)
70
+ rdoc (3.6.1)
69
71
  rspec (2.5.0)
70
72
  rspec-core (~> 2.5.0)
71
73
  rspec-expectations (~> 2.5.0)
@@ -92,14 +94,15 @@ GEM
92
94
  thor (0.14.6)
93
95
  treetop (1.4.9)
94
96
  polyglot (>= 0.3.1)
95
- tzinfo (0.3.27)
97
+ tzinfo (0.3.28)
96
98
 
97
99
  PLATFORMS
98
100
  ruby
99
101
 
100
102
  DEPENDENCIES
101
- bettertabs
102
- haml (>= 3.0.18)
103
- rails (= 3.0.6)
103
+ bettertabs (= 1.2.2)
104
+ haml (= 3.1.2)
105
+ rails (= 3.0.9)
106
+ rake (= 0.9.2)
104
107
  rspec-rails
105
108
  ruby-debug19
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bettertabs
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.1
5
+ version: 1.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mario Izquierdo
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-02 00:00:00 Z
13
+ date: 2011-06-23 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: "Bettertabs Rails helper (and jQuery plugin) defines the markup for a tabbed area in a easy and declarative way, using the appropiate JavaScript but ensuring accessibility and usability, no matter if the content is loaded statically, via ajax or the tabs are links. In the other hand, the CSS styles are up to you. "
@@ -108,8 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: "0"
109
109
  requirements: []
110
110
 
111
- rubyforge_project: bettertabs
112
- rubygems_version: 1.7.2
111
+ rubyforge_project:
112
+ rubygems_version: 1.8.3
113
113
  signing_key:
114
114
  specification_version: 3
115
115
  summary: The better (simple, accessible, usable, flexible and fast) way to split content in tabs for Rails.