Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated dependencies. Dropped Jeweler.

  • Loading branch information...
commit ce8c92285cc5981ad65270cadcb674d29f139606 1 parent 555c85c
@fnando authored
Showing with 27 additions and 87 deletions.
  1. +2 −1  .gitignore
  2. +1 −0  .rspec
  3. +2 −9 Gemfile
  4. +4 −23 Rakefile
  5. +18 −54 tokens.gemspec
View
3  .gitignore
@@ -1,3 +1,4 @@
pkg
Gemfile.lock
-.bundle
+.bundle
+*.log
View
1  .rspec
@@ -0,0 +1 @@
+--color --format documentation
View
11 Gemfile
@@ -1,9 +1,2 @@
-source :gemcutter
-
-gem "rspec-rails", "2.0.0.rc"
-gem "rails", "3.0.0"
-gem "sqlite3-ruby"
-
-platforms :mri_19 do
- gem "ruby-debug19", :require => "ruby-debug"
-end
+source :rubygems
+gemspec
View
27 Rakefile
@@ -1,24 +1,5 @@
-require "rspec/core/rake_task"
-require "./lib/tokens/version"
-
-begin
- require "jeweler"
-
- JEWEL = Jeweler::Tasks.new do |gem|
- gem.name = "tokens"
- gem.email = "fnando.vieira@gmail.com"
- gem.homepage = "http://github.com/fnando/tokens"
- gem.authors = ["Nando Vieira"]
- gem.version = Tokens::Version::STRING
- gem.summary = "Generate named tokens on your ActiveRecord models."
- gem.files = FileList["{Rakefile,README.rdoc,Gemfile,Gemfile.lock,tokens.gemspec}", "{lib,spec,templates}/**/*"]
- end
+require "bundler"
+Bundler::GemHelper.install_tasks
- Jeweler::GemcutterTasks.new
-rescue LoadError => e
- puts "[JEWELER] You can't build a gem until you install jeweler with `gem install jeweler`"
-end
-
-RSpec::Core::RakeTask.new do |t|
- t.ruby_opts = %[ -Ilib -Ispec ]
-end
+require "rspec/core/rake_task"
+RSpec::Core::RakeTask.new
View
72 tokens.gemspec
@@ -1,61 +1,25 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "tokens/version"
Gem::Specification.new do |s|
- s.name = %q{tokens}
- s.version = "0.2.1"
+ s.name = "tokens"
+ s.version = Tokens::Version::STRING
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Nando Vieira"]
+ s.email = ["fnando.vieira@gmail.com"]
+ s.homepage = "http://rubygems.org/gems/tokens"
+ s.summary = "Generate named tokens on your ActiveRecord models."
+ s.description = s.summary
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Nando Vieira"]
- s.date = %q{2010-10-06}
- s.email = %q{fnando.vieira@gmail.com}
- s.extra_rdoc_files = [
- "README.rdoc"
- ]
- s.files = [
- "Gemfile",
- "Gemfile.lock",
- "README.rdoc",
- "Rakefile",
- "lib/tokens.rb",
- "lib/tokens/active_record.rb",
- "lib/tokens/generator.rb",
- "lib/tokens/railtie.rb",
- "lib/tokens/token.rb",
- "lib/tokens/version.rb",
- "spec/schema.rb",
- "spec/spec_helper.rb",
- "spec/support/config/boot.rb",
- "spec/support/config/database.yml",
- "spec/support/log/test.log",
- "spec/support/models.rb",
- "spec/tokens_spec.rb",
- "templates/tokens.rb",
- "tokens.gemspec"
- ]
- s.homepage = %q{http://github.com/fnando/tokens}
- s.rdoc_options = ["--charset=UTF-8"]
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Generate named tokens on your ActiveRecord models.}
- s.test_files = [
- "spec/schema.rb",
- "spec/spec_helper.rb",
- "spec/support/config/boot.rb",
- "spec/support/models.rb",
- "spec/tokens_spec.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
+ s.add_development_dependency "rails" , "~> 3.1"
+ s.add_development_dependency "rake" , "~> 0.8.7"
+ s.add_development_dependency "rspec-rails" , "~> 2.6"
+ s.add_development_dependency "sqlite3" , "~> 1.3.3"
+ s.add_development_dependency "ruby-debug19"
end
-
Please sign in to comment.
Something went wrong with that request. Please try again.