tabs_on_rails 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gemtest ADDED
File without changes
data/CHANGELOG.rdoc CHANGED
@@ -1,6 +1,11 @@
1
1
  = Changelog
2
2
 
3
3
 
4
+ == Release 2.0.1
5
+
6
+ * NEW: Added support for rubygems-test.
7
+
8
+
4
9
  == Release 2.0.0
5
10
 
6
11
  Nothing changed. No longer a --pre release.
data/Rakefile CHANGED
@@ -1,17 +1,17 @@
1
- require "rubygems"
2
- require "rake/testtask"
3
- require "rake/gempackagetask"
1
+ require 'rubygems'
2
+ require 'rake/testtask'
3
+ require 'rake/gempackagetask'
4
4
  begin
5
- require "hanna/rdoctask"
5
+ require 'hanna/rdoctask'
6
6
  rescue LoadError
7
- require "rake/rdoctask"
7
+ require 'rake/rdoctask'
8
8
  end
9
9
 
10
- $:.unshift(File.dirname(__FILE__) + "/lib")
11
- require "tabs_on_rails"
10
+ $:.unshift(File.dirname(__FILE__) + '/lib')
11
+ require 'tabs_on_rails/version'
12
12
 
13
13
 
14
- PKG_NAME = ENV['PKG_NAME'] || TabsOnRails::GEM
14
+ PKG_NAME = ENV['PKG_NAME'] || "tabs_on_rails"
15
15
  PKG_VERSION = ENV['PKG_VERSION'] || TabsOnRails::VERSION
16
16
 
17
17
  if ENV['SNAPSHOT'].to_i == 1
@@ -20,7 +20,7 @@ end
20
20
 
21
21
 
22
22
  # Run test by default.
23
- task :default => ["test"]
23
+ task :default => :test
24
24
 
25
25
  # This builds the actual gem. For details of what all these options
26
26
  # mean, and other ones you can add, check the documentation here:
@@ -46,7 +46,7 @@ spec = Gem::Specification.new do |s|
46
46
  s.rdoc_options = %w(--main README.rdoc)
47
47
 
48
48
  # Add any extra files to include in the gem (like your README)
49
- s.files = %w( Rakefile LICENSE init.rb ) + Dir.glob("*.{rdoc,gemspec}") + Dir.glob("{test,lib,rails}/**/*")
49
+ s.files = %w( Rakefile LICENSE init.rb .gemtest ) + Dir.glob("*.{rdoc,gemspec}") + Dir.glob("{lib,test,rails}/**/*")
50
50
  s.require_paths = ["lib"]
51
51
 
52
52
  # If you want to depend on other gems, add them here, along with any
@@ -55,7 +55,7 @@ spec = Gem::Specification.new do |s|
55
55
 
56
56
  # If your tests use any gems, include them here
57
57
  s.add_development_dependency("bundler")
58
- s.add_development_dependency("rails", "~> 3.0.3")
58
+ s.add_development_dependency("rails", "3.0.3")
59
59
  s.add_development_dependency("mocha", "~> 0.9.10")
60
60
  end
61
61
 
@@ -20,7 +20,7 @@ module TabsOnRails
20
20
  module Version
21
21
  MAJOR = 2
22
22
  MINOR = 0
23
- PATCH = 0
23
+ PATCH = 1
24
24
  BUILD = nil
25
25
 
26
26
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tabs_on_rails}
5
- s.version = "2.0.0.pre2"
5
+ s.version = "2.0.1"
6
6
 
7
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
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 = %q{2011-02-03}
9
+ s.date = %q{2011-02-13}
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
11
  }
12
12
  s.email = %q{weppos@weppos.net}
13
13
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc"]
14
- s.files = ["Rakefile", "LICENSE", "init.rb", "CHANGELOG.rdoc", "README.rdoc", "tabs_on_rails.gemspec", "test/tabs_on_rails/controller_mixin_test.rb", "test/tabs_on_rails/tabs/builder_test.rb", "test/tabs_on_rails/tabs/tabs_builder_test.rb", "test/tabs_on_rails/tabs_test.rb", "test/test_helper.rb", "test/views/working/default.html.erb", "test/views/working/with_item_options.html.erb", "test/views/working/with_open_close_tabs.html.erb", "lib/tabs_on_rails/action_controller.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"]
14
+ s.files = ["Rakefile", "LICENSE", "init.rb", ".gemtest", "CHANGELOG.rdoc", "README.rdoc", "tabs_on_rails.gemspec", "lib/tabs_on_rails/action_controller.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", "test/tabs_on_rails/controller_mixin_test.rb", "test/tabs_on_rails/tabs/builder_test.rb", "test/tabs_on_rails/tabs/tabs_builder_test.rb", "test/tabs_on_rails/tabs_test.rb", "test/test_helper.rb", "test/views/working/default.html.erb", "test/views/working/with_item_options.html.erb", "test/views/working/with_open_close_tabs.html.erb"]
15
15
  s.homepage = %q{http://www.simonecarletti.com/code/tabs_on_rails}
16
16
  s.rdoc_options = ["--main", "README.rdoc"]
17
17
  s.require_paths = ["lib"]
18
- s.rubygems_version = %q{1.4.2}
18
+ s.rubygems_version = %q{1.5.2}
19
19
  s.summary = %q{A simple Ruby on Rails plugin for creating and managing Tabs.}
20
20
 
21
21
  if s.respond_to? :specification_version then
@@ -23,16 +23,16 @@ Gem::Specification.new do |s|
23
23
 
24
24
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
25
  s.add_development_dependency(%q<bundler>, [">= 0"])
26
- s.add_development_dependency(%q<rails>, ["~> 3.0.3"])
26
+ s.add_development_dependency(%q<rails>, ["= 3.0.3"])
27
27
  s.add_development_dependency(%q<mocha>, ["~> 0.9.10"])
28
28
  else
29
29
  s.add_dependency(%q<bundler>, [">= 0"])
30
- s.add_dependency(%q<rails>, ["~> 3.0.3"])
30
+ s.add_dependency(%q<rails>, ["= 3.0.3"])
31
31
  s.add_dependency(%q<mocha>, ["~> 0.9.10"])
32
32
  end
33
33
  else
34
34
  s.add_dependency(%q<bundler>, [">= 0"])
35
- s.add_dependency(%q<rails>, ["~> 3.0.3"])
35
+ s.add_dependency(%q<rails>, ["= 3.0.3"])
36
36
  s.add_dependency(%q<mocha>, ["~> 0.9.10"])
37
37
  end
38
38
  end
data/test/test_helper.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require 'rubygems'
2
- require 'bundler'
3
- Bundler.setup
2
+ require 'bundler/setup'
4
3
 
5
4
  require 'test/unit'
6
5
  require 'mocha'
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabs_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 2
7
- - 0
8
- - 0
9
- version: 2.0.0
4
+ prerelease:
5
+ version: 2.0.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Simone Carletti
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-08 00:00:00 +01:00
13
+ date: 2011-02-13 00:00:00 +01:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,8 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
24
  version: "0"
31
25
  type: :development
32
26
  version_requirements: *id001
@@ -36,12 +30,8 @@ dependencies:
36
30
  requirement: &id002 !ruby/object:Gem::Requirement
37
31
  none: false
38
32
  requirements:
39
- - - ~>
33
+ - - "="
40
34
  - !ruby/object:Gem::Version
41
- segments:
42
- - 3
43
- - 0
44
- - 3
45
35
  version: 3.0.3
46
36
  type: :development
47
37
  version_requirements: *id002
@@ -53,10 +43,6 @@ dependencies:
53
43
  requirements:
54
44
  - - ~>
55
45
  - !ruby/object:Gem::Version
56
- segments:
57
- - 0
58
- - 9
59
- - 10
60
46
  version: 0.9.10
61
47
  type: :development
62
48
  version_requirements: *id003
@@ -73,9 +59,17 @@ files:
73
59
  - Rakefile
74
60
  - LICENSE
75
61
  - init.rb
62
+ - .gemtest
76
63
  - CHANGELOG.rdoc
77
64
  - README.rdoc
78
65
  - tabs_on_rails.gemspec
66
+ - lib/tabs_on_rails/action_controller.rb
67
+ - lib/tabs_on_rails/railtie.rb
68
+ - lib/tabs_on_rails/tabs/builder.rb
69
+ - lib/tabs_on_rails/tabs/tabs_builder.rb
70
+ - lib/tabs_on_rails/tabs.rb
71
+ - lib/tabs_on_rails/version.rb
72
+ - lib/tabs_on_rails.rb
79
73
  - test/tabs_on_rails/controller_mixin_test.rb
80
74
  - test/tabs_on_rails/tabs/builder_test.rb
81
75
  - test/tabs_on_rails/tabs/tabs_builder_test.rb
@@ -84,13 +78,6 @@ files:
84
78
  - test/views/working/default.html.erb
85
79
  - test/views/working/with_item_options.html.erb
86
80
  - test/views/working/with_open_close_tabs.html.erb
87
- - lib/tabs_on_rails/action_controller.rb
88
- - lib/tabs_on_rails/railtie.rb
89
- - lib/tabs_on_rails/tabs/builder.rb
90
- - lib/tabs_on_rails/tabs/tabs_builder.rb
91
- - lib/tabs_on_rails/tabs.rb
92
- - lib/tabs_on_rails/version.rb
93
- - lib/tabs_on_rails.rb
94
81
  has_rdoc: true
95
82
  homepage: http://www.simonecarletti.com/code/tabs_on_rails
96
83
  licenses: []
@@ -106,21 +93,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
93
  requirements:
107
94
  - - ">="
108
95
  - !ruby/object:Gem::Version
109
- segments:
110
- - 0
111
96
  version: "0"
112
97
  required_rubygems_version: !ruby/object:Gem::Requirement
113
98
  none: false
114
99
  requirements:
115
100
  - - ">="
116
101
  - !ruby/object:Gem::Version
117
- segments:
118
- - 0
119
102
  version: "0"
120
103
  requirements: []
121
104
 
122
105
  rubyforge_project:
123
- rubygems_version: 1.3.7
106
+ rubygems_version: 1.5.2
124
107
  signing_key:
125
108
  specification_version: 3
126
109
  summary: A simple Ruby on Rails plugin for creating and managing Tabs.