tabs_on_rails 2.1.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,11 @@
1
+ # Bundler
1
2
  .bundle
2
- .idea
3
3
  pkg/*
4
- rdoc
4
+ Gemfile.lock
5
+
6
+ # RVM
7
+ .rvmrc
8
+
9
+ # YARD
10
+ .yardoc
11
+ yardoc/
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## Release 2.2.0
5
+
6
+ * NEW: Ability to configure a default builder (GH-20). [Thanks @ilstar]
7
+
8
+ * NEW: Ability to pass a custom value for the "active" class (GH-23). [Thanks @ruurd]
9
+
10
+
4
11
  ## Release 2.1.1
5
12
 
6
13
  * FIXED: An invalid replace command caused a bug in 2.1.0.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2012 Simone Carletti
1
+ Copyright (c) 2009-2013 Simone Carletti
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -64,12 +64,7 @@ Use the `current_tab` helper method if you need to access the value of current t
64
64
  # In your view
65
65
  <p>The name of current tab is <%= current_tab %>.</p>
66
66
 
67
- Read the [documentation](/code/tabs_on_rails/docs/) to learn more about advanced usage, builders and namespaces.
68
-
69
-
70
- ## Credits
71
-
72
- * [Simone Carletti](http://www.simonecarletti.com/) <weppos@weppos.net> - The Author
67
+ Read the [documentation](http://www.simonecarletti.com/code/tabs_on_rails/docs/) to learn more about advanced usage, builders and namespaces.
73
68
 
74
69
 
75
70
  ## Resources
@@ -83,4 +78,4 @@ Read the [documentation](/code/tabs_on_rails/docs/) to learn more about advanced
83
78
 
84
79
  ## License
85
80
 
86
- *TabsOnRails* is Copyright (c) 2009-2012 Simone Carletti. This is Free Software distributed under the MIT license.
81
+ Copyright (c) 2009-2013 Simone Carletti. This is Free Software distributed under the MIT license.
data/Rakefile CHANGED
@@ -29,7 +29,7 @@ spec = Gem::Specification.new do |s|
29
29
 
30
30
  s.add_development_dependency "rails", ">= 3.0"
31
31
  s.add_development_dependency "appraisal"
32
- s.add_development_dependency "mocha", "~> 0.9.10"
32
+ s.add_development_dependency "mocha"
33
33
  s.add_development_dependency "yard"
34
34
  end
35
35
 
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-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
 
@@ -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-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
 
@@ -156,7 +156,15 @@ module TabsOnRails
156
156
  # # In your view
157
157
  # <p>The name of current tab is <%= current_tab %>.</p>
158
158
  #
159
- # === Customizing a Tab
159
+ #
160
+ # == Options
161
+ #
162
+ # You can pass the following options:
163
+ #
164
+ # - <tt>builder</tt>: the custom builder to use
165
+ # - <tt>active_class</tt>: the custom CSS class to use for active links
166
+ #
167
+ # == Customizing a Tab
160
168
  #
161
169
  # You can pass a hash of options to customize the style and the behavior of the tab item.
162
170
  # Behind the scenes, each time you create a tab, the <tt>#tab_for</tt>
@@ -175,13 +183,10 @@ module TabsOnRails
175
183
  # </ul>
176
184
  #
177
185
  # You can pass any option supported by the <li>content_tag</li> Rails helper.
178
- # Additionally, the following options have a special meaning:
179
- #
180
- # * <tt>link_current</tt>: forces the current tab to be a link, instead of a span tag
181
186
  #
182
187
  # See <tt>TabsOnRails::Tabs::TabsBuilder#tab_for</tt> for more details.
183
188
  #
184
- # === Customizing open_tabs and close_tabs
189
+ # == Customizing open_tabs and close_tabs
185
190
  #
186
191
  # The open_tabs and the close_tabs methods can be customized
187
192
  # with the <tt>:open_tabs</tt> and <tt>:close_tabs</tt> option.
@@ -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-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
 
@@ -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-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
 
@@ -15,9 +15,12 @@ module TabsOnRails
15
15
 
16
16
  class Tabs
17
17
 
18
+ mattr_accessor :default_builder
19
+ @@default_builder = TabsBuilder
20
+
18
21
  def initialize(context, options = {})
19
22
  @context = context
20
- @builder = (options.delete(:builder) || TabsBuilder).new(@context, options)
23
+ @builder = (options.delete(:builder) || self.class.default_builder).new(@context, options)
21
24
  @options = options
22
25
  end
23
26
 
@@ -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-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
 
@@ -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-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
 
@@ -37,9 +37,9 @@ module TabsOnRails
37
37
  #
38
38
  # Implements Builder#tab_for.
39
39
  #
40
- def tab_for(tab, name, options, item_options = {})
41
- item_options[:class] = item_options[:class].to_s.split(" ").push("current").join(" ") if current_tab?(tab)
42
- content = @context.link_to_unless(current_tab?(tab), name, options) do
40
+ def tab_for(tab, name, url_options, item_options = {})
41
+ item_options[:class] = item_options[:class].to_s.split(" ").push(@options[:active_class] || "current").join(" ") if current_tab?(tab)
42
+ content = @context.link_to_unless(current_tab?(tab), name, url_options) do
43
43
  @context.content_tag(:span, name)
44
44
  end
45
45
  @context.content_tag(:li, content, item_options)
@@ -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-2012 Simone Carletti <weppos@weppos.net>
6
+ # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
7
7
  #++
8
8
 
9
9
 
@@ -12,8 +12,8 @@ module TabsOnRails
12
12
  # Holds information about library version.
13
13
  module Version
14
14
  MAJOR = 2
15
- MINOR = 1
16
- PATCH = 1
15
+ MINOR = 2
16
+ PATCH = 0
17
17
  BUILD = nil
18
18
 
19
19
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
@@ -6,13 +6,13 @@ Gem::Specification.new do |s|
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Simone Carletti"]
9
- s.date = "2012-02-03"
9
+ s.date = "2012-05-25"
10
10
  s.description = "TabsOnRails is a simple Rails plugin for creating tabs and navigation menus."
11
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"]
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
13
  s.homepage = "http://www.simonecarletti.com/code/tabs_on_rails"
14
14
  s.require_paths = ["lib"]
15
- s.rubygems_version = "1.8.11"
15
+ s.rubygems_version = "1.8.21"
16
16
  s.summary = "A simple Ruby on Rails plugin for creating tabs and navigation menus."
17
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"]
18
18
 
@@ -22,18 +22,18 @@ Gem::Specification.new do |s|
22
22
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
23
23
  s.add_development_dependency(%q<rails>, [">= 3.0"])
24
24
  s.add_development_dependency(%q<appraisal>, [">= 0"])
25
- s.add_development_dependency(%q<mocha>, ["~> 0.9.10"])
25
+ s.add_development_dependency(%q<mocha>, ["~> 0.11.0"])
26
26
  s.add_development_dependency(%q<yard>, [">= 0"])
27
27
  else
28
28
  s.add_dependency(%q<rails>, [">= 3.0"])
29
29
  s.add_dependency(%q<appraisal>, [">= 0"])
30
- s.add_dependency(%q<mocha>, ["~> 0.9.10"])
30
+ s.add_dependency(%q<mocha>, ["~> 0.11.0"])
31
31
  s.add_dependency(%q<yard>, [">= 0"])
32
32
  end
33
33
  else
34
34
  s.add_dependency(%q<rails>, [">= 3.0"])
35
35
  s.add_dependency(%q<appraisal>, [">= 0"])
36
- s.add_dependency(%q<mocha>, ["~> 0.9.10"])
36
+ s.add_dependency(%q<mocha>, ["~> 0.11.0"])
37
37
  s.add_dependency(%q<yard>, [">= 0"])
38
38
  end
39
39
  end
@@ -105,13 +105,14 @@ class WorkingMixinTestController < ActionController::Base
105
105
  execute("action_welcome")
106
106
  end
107
107
 
108
+
108
109
  private
109
110
 
110
- def execute(method)
111
- if method.to_s =~ /^action_(.*)/
112
- render :action => (params[:template] || 'default')
113
- end
111
+ def execute(method)
112
+ if method.to_s =~ /^action_(.*)/
113
+ render :action => (params[:template] || 'default')
114
114
  end
115
+ end
115
116
 
116
117
 
117
118
  class BlockBuilder < TabsOnRails::Tabs::TabsBuilder
@@ -163,6 +164,14 @@ class WorkingMixinTest < ActionController::TestCase
163
164
  </li></ul>}, @response.body)
164
165
  end
165
166
 
167
+ def test_render_with_option_active_class
168
+ get :action_dashboard, :template => "with_option_active_class"
169
+ assert_dom_equal(%Q{<ul id="tabs">
170
+ <li class="active"><span>Dashboard</span></li>
171
+ <li><a href="/w">Welcome</a></li>
172
+ </ul>}, @response.body)
173
+ end
174
+
166
175
 
167
176
  def test_set_tab
168
177
  get :action_dashboard
@@ -3,7 +3,7 @@ require 'test_helper'
3
3
  class TabsBuilderTest < ActionView::TestCase
4
4
 
5
5
  def setup
6
- @builder = TabsOnRails::Tabs::TabsBuilder.new(self)
6
+ @builder = TabsOnRails::Tabs::TabsBuilder.new(self)
7
7
  end
8
8
 
9
9
  def test_inherits_from_builder
@@ -60,4 +60,13 @@ class TabsBuilderTest < ActionView::TestCase
60
60
  @builder.tab_for(:welcome, "Welcome", "#", :style => "padding: 10px")
61
61
  end
62
62
 
63
+ def test_tab_for_with_option_active_class
64
+ @builder = TabsOnRails::Tabs::TabsBuilder.new(self, :active_class => "active")
65
+ assert_dom_equal %Q{<li class="active"><span>Dashboard</span></li>},
66
+ @builder.tab_for(:dashboard, "Dashboard", "#")
67
+ assert_dom_equal %Q{<li class="custom active"><span>Dashboard</span></li>},
68
+ @builder.tab_for(:dashboard, "Dashboard", "#", :class => "custom")
69
+ assert_dom_equal %Q{<li><a href="#">Welcome</a></li>},
70
+ @builder.tab_for(:welcome, "Welcome", "#")
71
+ end
63
72
  end
@@ -43,6 +43,17 @@ class TabsTest < ActionView::TestCase
43
43
  assert_instance_of builder, @tabs.instance_variable_get(:"@builder")
44
44
  end
45
45
 
46
+ def test_initialize_with_default_builder
47
+ default_builder = TabsOnRails::Tabs.default_builder
48
+ TabsOnRails::Tabs.default_builder = CustomBuilder
49
+
50
+ custom_tab = TabsOnRails::Tabs.new(@template) # doesnt need argument :builder => CustomBuilder
51
+
52
+ assert_instance_of CustomBuilder, custom_tab.instance_variable_get(:"@builder")
53
+
54
+ TabsOnRails::Tabs.default_builder = default_builder
55
+ end
56
+
46
57
 
47
58
  def test_open_tabs
48
59
  assert_equal '<ul>', @tabs.open_tabs
@@ -91,4 +102,21 @@ class TabsTest < ActionView::TestCase
91
102
  assert_dom_equal expected, result
92
103
  end
93
104
 
105
+ class CustomBuilder < TabsOnRails::Tabs::Builder
106
+ def open_tabs(options = {})
107
+ @context.tag("ul", options, open = true)
108
+ end
109
+
110
+ def close_tabs(options = {})
111
+ "</ul>".html_safe
112
+ end
113
+
114
+ def tab_for(tab, name, options, item_options = {})
115
+ item_options[:class] = (current_tab?(tab) ? 'active' : '')
116
+ @context.content_tag(:li, item_options) do
117
+ @context.link_to(name, options)
118
+ end
119
+ end
120
+ end
121
+
94
122
  end
@@ -0,0 +1,4 @@
1
+ <%= tabs_tag(:open_tabs => { :id => "tabs" }, :close_tabs => { :class => "ignored" }, :active_class => "active") do |tabs| %>
2
+ <%= tabs.dashboard 'Dashboard', '/d' %>
3
+ <%= tabs.welcome 'Welcome', '/w' %>
4
+ <% end -%>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabs_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-03 00:00:00.000000000Z
12
+ date: 2013-03-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70306225493560 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70306225493560
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: appraisal
27
- requirement: &70306225493040 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,21 +37,31 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70306225493040
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: mocha
38
- requirement: &70306225492480 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
- - - ~>
51
+ - - ! '>='
42
52
  - !ruby/object:Gem::Version
43
- version: 0.9.10
53
+ version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70306225492480
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: yard
49
- requirement: &70306225491980 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,7 +69,12 @@ dependencies:
54
69
  version: '0'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70306225491980
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  description: TabsOnRails is a simple Rails plugin for creating tabs and navigation
59
79
  menus.
60
80
  email: weppos@weppos.net
@@ -68,8 +88,7 @@ files:
68
88
  - Appraisals
69
89
  - CHANGELOG.md
70
90
  - Gemfile
71
- - Gemfile.lock
72
- - LICENSE
91
+ - LICENSE.txt
73
92
  - README.md
74
93
  - Rakefile
75
94
  - gemfiles/3.0.gemfile
@@ -97,6 +116,7 @@ files:
97
116
  - test/views/working/with_item_block.html.erb
98
117
  - test/views/working/with_item_options.html.erb
99
118
  - test/views/working/with_open_close_tabs.html.erb
119
+ - test/views/working/with_option_active_class.html.erb
100
120
  homepage: http://www.simonecarletti.com/code/tabs_on_rails
101
121
  licenses: []
102
122
  post_install_message:
@@ -109,6 +129,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
129
  - - ! '>='
110
130
  - !ruby/object:Gem::Version
111
131
  version: '0'
132
+ segments:
133
+ - 0
134
+ hash: -246050836927131597
112
135
  required_rubygems_version: !ruby/object:Gem::Requirement
113
136
  none: false
114
137
  requirements:
@@ -117,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
140
  version: '0'
118
141
  requirements: []
119
142
  rubyforge_project:
120
- rubygems_version: 1.8.11
143
+ rubygems_version: 1.8.24
121
144
  signing_key:
122
145
  specification_version: 3
123
146
  summary: A simple Ruby on Rails plugin for creating tabs and navigation menus.
@@ -132,3 +155,4 @@ test_files:
132
155
  - test/views/working/with_item_block.html.erb
133
156
  - test/views/working/with_item_options.html.erb
134
157
  - test/views/working/with_open_close_tabs.html.erb
158
+ - test/views/working/with_option_active_class.html.erb
data/Gemfile.lock DELETED
@@ -1,99 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- tabs_on_rails (2.1.1)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- actionmailer (3.2.1)
10
- actionpack (= 3.2.1)
11
- mail (~> 2.4.0)
12
- actionpack (3.2.1)
13
- activemodel (= 3.2.1)
14
- activesupport (= 3.2.1)
15
- builder (~> 3.0.0)
16
- erubis (~> 2.7.0)
17
- journey (~> 1.0.1)
18
- rack (~> 1.4.0)
19
- rack-cache (~> 1.1)
20
- rack-test (~> 0.6.1)
21
- sprockets (~> 2.1.2)
22
- activemodel (3.2.1)
23
- activesupport (= 3.2.1)
24
- builder (~> 3.0.0)
25
- activerecord (3.2.1)
26
- activemodel (= 3.2.1)
27
- activesupport (= 3.2.1)
28
- arel (~> 3.0.0)
29
- tzinfo (~> 0.3.29)
30
- activeresource (3.2.1)
31
- activemodel (= 3.2.1)
32
- activesupport (= 3.2.1)
33
- activesupport (3.2.1)
34
- i18n (~> 0.6)
35
- multi_json (~> 1.0)
36
- appraisal (0.4.0)
37
- bundler
38
- rake
39
- arel (3.0.0)
40
- builder (3.0.0)
41
- erubis (2.7.0)
42
- hike (1.2.1)
43
- i18n (0.6.0)
44
- journey (1.0.1)
45
- json (1.6.5)
46
- mail (2.4.1)
47
- i18n (>= 0.4.0)
48
- mime-types (~> 1.16)
49
- treetop (~> 1.4.8)
50
- mime-types (1.17.2)
51
- mocha (0.9.12)
52
- multi_json (1.0.4)
53
- polyglot (0.3.3)
54
- rack (1.4.1)
55
- rack-cache (1.1)
56
- rack (>= 0.4)
57
- rack-ssl (1.3.2)
58
- rack
59
- rack-test (0.6.1)
60
- rack (>= 1.0)
61
- rails (3.2.1)
62
- actionmailer (= 3.2.1)
63
- actionpack (= 3.2.1)
64
- activerecord (= 3.2.1)
65
- activeresource (= 3.2.1)
66
- activesupport (= 3.2.1)
67
- bundler (~> 1.0)
68
- railties (= 3.2.1)
69
- railties (3.2.1)
70
- actionpack (= 3.2.1)
71
- activesupport (= 3.2.1)
72
- rack-ssl (~> 1.3.2)
73
- rake (>= 0.8.7)
74
- rdoc (~> 3.4)
75
- thor (~> 0.14.6)
76
- rake (0.9.2.2)
77
- rdoc (3.12)
78
- json (~> 1.4)
79
- sprockets (2.1.2)
80
- hike (~> 1.2)
81
- rack (~> 1.0)
82
- tilt (~> 1.1, != 1.3.0)
83
- thor (0.14.6)
84
- tilt (1.3.3)
85
- treetop (1.4.10)
86
- polyglot
87
- polyglot (>= 0.3.1)
88
- tzinfo (0.3.31)
89
- yard (0.7.5)
90
-
91
- PLATFORMS
92
- ruby
93
-
94
- DEPENDENCIES
95
- appraisal
96
- mocha (~> 0.9.10)
97
- rails (>= 3.0)
98
- tabs_on_rails!
99
- yard