Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
500 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ rdoc | |
coverage | ||
pkg | ||
*.gem | ||
Gemfile.lock | ||
Gemfile.lock | ||
gemfiles/Gemfile*.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
before_install: gem install bundler --pre | ||
language: ruby | ||
notifications: | ||
email: | ||
- parndt@gmail.com | ||
script: bundle exec rspec spec | ||
env: | ||
- DB=sqlite3 | ||
- DB=sqlite3mem | ||
- DB=postgresql | ||
- DB=mysql | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.2 | ||
- 2.0.0 | ||
- 1.9.3 | ||
- rbx | ||
- jruby | ||
- 1.8.7 | ||
- rbx-19mode | ||
- jruby-19mode | ||
- rbx-18mode | ||
- jruby-18mode | ||
gemfile: | ||
- gemfiles/Gemfile.rails-3.0.rb | ||
- gemfiles/Gemfile.rails-3.1.rb | ||
- gemfiles/Gemfile.rails-3.2.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,31 @@ | ||
source 'http://rubygems.org' | ||
gem 'combustion', :github => 'pat/combustion' | ||
|
||
gemspec | ||
source 'https://rubygems.org' | ||
|
||
gem 'mysql2', :platform => :ruby | ||
gem 'pg', :platform => :ruby | ||
gem 'sqlite3', :platform => :ruby | ||
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby | ||
gem 'rspec-rails', '~> 2.8' | ||
gemspec :path => File.expand_path('../', __FILE__) | ||
|
||
platforms :jruby do | ||
gem 'activerecord-jdbcsqlite3-adapter' | ||
gem 'activerecord-jdbcmysql-adapter' | ||
gem 'activerecord-jdbcpostgresql-adapter' | ||
gem 'jruby-openssl' | ||
end | ||
|
||
platforms :ruby do | ||
gem 'sqlite3' | ||
gem 'mysql2', (MYSQL2_VERSION if defined? MYSQL2_VERSION) | ||
gem 'pg' | ||
end | ||
|
||
RAILS_VERSION = nil unless defined? RAILS_VERSION | ||
gem 'railties', RAILS_VERSION | ||
gem 'activerecord', RAILS_VERSION | ||
gem 'actionpack', RAILS_VERSION | ||
|
||
# Add Oracle Adapters | ||
# gem 'ruby-oci8' | ||
# gem 'activerecord-oracle_enhanced-adapter' | ||
|
||
# Debuggers | ||
# gem 'pry' | ||
# gem 'pry-nav' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
# -*- encoding: utf-8 -*- | ||
lib = File.expand_path('../lib/', __FILE__) | ||
$:.unshift lib unless $:.include?(lib) | ||
require 'awesome_nested_set/version' | ||
require File.expand_path('../lib/awesome_nested_set/version', __FILE__) | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{awesome_nested_set} | ||
s.version = ::AwesomeNestedSet::VERSION | ||
s.authors = ["Brandon Keepers", "Daniel Morrison", "Philip Arndt"] | ||
s.description = %q{An awesome nested set implementation for Active Record} | ||
s.email = %q{info@collectiveidea.com} | ||
s.extra_rdoc_files = [ | ||
"README.rdoc" | ||
] | ||
s.extra_rdoc_files = %w[README.rdoc] | ||
s.files = Dir.glob("lib/**/*") + %w(MIT-LICENSE README.rdoc CHANGELOG) | ||
s.homepage = %q{http://github.com/collectiveidea/awesome_nested_set} | ||
s.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--line-numbers"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = %q{1.3.6} | ||
s.summary = %q{An awesome nested set implementation for Active Record} | ||
s.license = %q{MIT} | ||
|
||
s.add_runtime_dependency 'activerecord', '>= 3.0.0' | ||
|
||
s.add_development_dependency 'rspec-rails', '~> 2.12' | ||
s.add_development_dependency 'rake', '~> 10' | ||
s.add_development_dependency 'combustion', '>= 0.3.3' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MYSQL2_VERSION = '~> 0.2.18' | ||
RAILS_VERSION = '~> 3.0.17' | ||
|
||
eval File.read(File.expand_path('../../Gemfile', __FILE__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MYSQL2_VERSION = '>= 0.3' | ||
RAILS_VERSION = '~> 3.1.0' | ||
|
||
eval File.read(File.expand_path('../../Gemfile', __FILE__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MYSQL2_VERSION = '>= 0.3' | ||
RAILS_VERSION = '~> 3.2.0' | ||
|
||
eval File.read(File.expand_path('../../Gemfile', __FILE__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.