bettertabs 1.2 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,11 @@
1
1
  Bettertabs Changelog
2
2
  ====================
3
3
 
4
+ 2011-05-02 Mario Izquierdo Martinez <tothemario@gmail.com>
5
+
6
+ * Tag v1.2.1
7
+ * Bugfix on the bettertabs helper inline script
8
+
4
9
  2011-05-02 Mario Izquierdo Martinez <tothemario@gmail.com>
5
10
 
6
11
  * Tag v1.2
data/README.md CHANGED
@@ -182,6 +182,16 @@ Perhaps the most important CSS rule here is to define `display: none;` for `div.
182
182
  Use the [Bettertabs Styles Reference Guide](https://github.com/agoragames/bettertabs/blob/master/lib/bettertabs/stylesheets/README.md) to get a stylesheet that you can use as a starting point.
183
183
 
184
184
 
185
+ ## How to help make Bettertabs even Better ##
186
+
187
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
188
+ * Fork the project
189
+ * Start a feature/bugfix branch
190
+ * Commit and push until you are happy with your contribution
191
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
192
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
193
+
194
+
185
195
  ## Future work ##
186
196
 
187
197
  * Improve the Rails testing application: it should use rspec and capybabra to test even the javascript (http://media.railscasts.com/videos/257_request_specs_and_capybara.mov)
@@ -57,7 +57,7 @@ module BettertabsHelper
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($){ $('##{@bettertabs_id}').bettertabs(); });") if options[:attach_jquery_bettertabs_inline]
60
+ b += javascript_tag("jQuery(function($){ $('##{options[:id]}').bettertabs(); });") if options[: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 (Jun-2-2011)
3
+ version: 1.2.1 (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 (Jun-2-2011)
4
+ version: 1.2.1 (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 (Jun-2-2011)
4
+ version: 1.2.1 (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"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bettertabs
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "1.2"
5
+ version: 1.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mario Izquierdo