mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Got rid of jeweler dependency
This commit is contained in:
parent
50152e17e9
commit
3d9bdc4e9b
5 changed files with 63 additions and 113 deletions
3
Gemfile
Normal file
3
Gemfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
source "http://rubygems.org"
|
||||||
|
gemspec
|
||||||
|
|
26
Gemfile.lock
Normal file
26
Gemfile.lock
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
PATH
|
||||||
|
remote: .
|
||||||
|
specs:
|
||||||
|
awesome_print (1.0.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: http://rubygems.org/
|
||||||
|
specs:
|
||||||
|
diff-lcs (1.1.2)
|
||||||
|
fakefs (0.3.2)
|
||||||
|
rspec (2.6.0)
|
||||||
|
rspec-core (~> 2.6.0)
|
||||||
|
rspec-expectations (~> 2.6.0)
|
||||||
|
rspec-mocks (~> 2.6.0)
|
||||||
|
rspec-core (2.6.4)
|
||||||
|
rspec-expectations (2.6.0)
|
||||||
|
diff-lcs (~> 1.1.2)
|
||||||
|
rspec-mocks (2.6.0)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
awesome_print!
|
||||||
|
fakefs (>= 0.2.1)
|
||||||
|
rspec (>= 2.6.0)
|
48
Rakefile
48
Rakefile
|
@ -1,46 +1,2 @@
|
||||||
require 'rubygems'
|
require 'bundler'
|
||||||
require 'rake'
|
Bundler::GemHelper.install_tasks
|
||||||
|
|
||||||
begin
|
|
||||||
require 'jeweler'
|
|
||||||
Jeweler::Tasks.new do |gem|
|
|
||||||
gem.name = "awesome_print"
|
|
||||||
gem.rubyforge_project = "awesome_print"
|
|
||||||
gem.summary = %Q{Pretty print Ruby objects with proper indentation and colors.}
|
|
||||||
gem.description = %Q{Great Ruby dubugging companion: pretty print Ruby objects to visualize their structure. Supports Rails ActiveRecord objects via included mixin.}
|
|
||||||
gem.email = "mike@dvorkin.net"
|
|
||||||
gem.homepage = "http://github.com/michaeldv/awesome_print"
|
|
||||||
gem.authors = ["Michael Dvorkin"]
|
|
||||||
gem.add_development_dependency "rspec", ">= 2.5.0"
|
|
||||||
gem.files = FileList["[A-Z]*", "lib/**/*.rb", "rails/*.rb", "spec/*", "init.rb"]
|
|
||||||
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
|
||||||
end
|
|
||||||
Jeweler::GemcutterTasks.new
|
|
||||||
rescue LoadError
|
|
||||||
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
|
||||||
end
|
|
||||||
|
|
||||||
require "rspec/core/rake_task"
|
|
||||||
RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
||||||
spec.pattern = 'spec/**/*_spec.rb'
|
|
||||||
spec.rspec_opts = ['--color']
|
|
||||||
end
|
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
|
||||||
spec.rcov = true
|
|
||||||
spec.rcov_opts = %q[--exclude "spec"]
|
|
||||||
end
|
|
||||||
|
|
||||||
task :spec => :check_dependencies
|
|
||||||
|
|
||||||
task :default => :spec
|
|
||||||
|
|
||||||
require 'rake/rdoctask'
|
|
||||||
Rake::RDocTask.new do |rdoc|
|
|
||||||
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
||||||
|
|
||||||
rdoc.rdoc_dir = 'rdoc'
|
|
||||||
rdoc.title = "ap #{version}"
|
|
||||||
rdoc.rdoc_files.include('README*')
|
|
||||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
||||||
end
|
|
||||||
|
|
1
VERSION
1
VERSION
|
@ -1 +0,0 @@
|
||||||
0.4.0
|
|
|
@ -1,70 +1,36 @@
|
||||||
# Generated by jeweler
|
# Copyright (c) 2010-2011 Michael Dvorkin
|
||||||
# DO NOT EDIT THIS FILE DIRECTLY
|
#
|
||||||
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
# Awesome Print is freely distributable under the terms of MIT license.
|
||||||
# -*- encoding: utf-8 -*-
|
# See LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
require "rake"
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
task :default => :spec
|
||||||
s.name = %q{awesome_print}
|
|
||||||
s.version = "0.4.0"
|
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
desc "Run all awesome_print gem specs"
|
||||||
s.authors = ["Michael Dvorkin"]
|
task :spec do
|
||||||
s.date = %q{2011-05-13}
|
# Run plain rspec command without RSpec::Core::RakeTask overrides.
|
||||||
s.description = %q{Great Ruby dubugging companion: pretty print Ruby objects to visualize their structure. Supports Rails ActiveRecord objects via included mixin.}
|
exec "rspec -c spec"
|
||||||
s.email = %q{mike@dvorkin.net}
|
|
||||||
s.extra_rdoc_files = [
|
|
||||||
"LICENSE",
|
|
||||||
"README.md"
|
|
||||||
]
|
|
||||||
s.files = [
|
|
||||||
"CHANGELOG",
|
|
||||||
"LICENSE",
|
|
||||||
"README.md",
|
|
||||||
"Rakefile",
|
|
||||||
"VERSION",
|
|
||||||
"init.rb",
|
|
||||||
"lib/ap.rb",
|
|
||||||
"lib/ap/awesome_print.rb",
|
|
||||||
"lib/ap/core_ext/array.rb",
|
|
||||||
"lib/ap/core_ext/class.rb",
|
|
||||||
"lib/ap/core_ext/kernel.rb",
|
|
||||||
"lib/ap/core_ext/logger.rb",
|
|
||||||
"lib/ap/core_ext/method.rb",
|
|
||||||
"lib/ap/core_ext/object.rb",
|
|
||||||
"lib/ap/core_ext/string.rb",
|
|
||||||
"lib/ap/mixin/action_view.rb",
|
|
||||||
"lib/ap/mixin/active_record.rb",
|
|
||||||
"lib/ap/mixin/active_support.rb",
|
|
||||||
"lib/ap/mixin/mongo_mapper.rb",
|
|
||||||
"lib/awesome_print.rb",
|
|
||||||
"rails/init.rb",
|
|
||||||
"spec/action_view_spec.rb",
|
|
||||||
"spec/active_record_spec.rb",
|
|
||||||
"spec/awesome_print_spec.rb",
|
|
||||||
"spec/colorization_spec.rb",
|
|
||||||
"spec/logger_spec.rb",
|
|
||||||
"spec/methods_spec.rb",
|
|
||||||
"spec/mongo_mapper_spec.rb",
|
|
||||||
"spec/spec_helper.rb",
|
|
||||||
"spec/string_spec.rb"
|
|
||||||
]
|
|
||||||
s.homepage = %q{http://github.com/michaeldv/awesome_print}
|
|
||||||
s.require_paths = ["lib"]
|
|
||||||
s.rubyforge_project = %q{awesome_print}
|
|
||||||
s.rubygems_version = %q{1.3.7}
|
|
||||||
s.summary = %q{Pretty print Ruby objects with proper indentation and colors.}
|
|
||||||
|
|
||||||
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
|
|
||||||
s.add_development_dependency(%q<rspec>, [">= 2.5.0"])
|
|
||||||
else
|
|
||||||
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
|
||||||
end
|
|
||||||
else
|
|
||||||
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Gem::Specification.new do |s|
|
||||||
|
s.name = "awesome_print"
|
||||||
|
s.version = "1.0.0"
|
||||||
|
# s.platform = Gem::Platform::RUBY
|
||||||
|
s.authors = "Michael Dvorkin"
|
||||||
|
s.date = "2011-11-08"
|
||||||
|
s.email = "mike@dvorkin.net"
|
||||||
|
s.homepage = "http://github.com/michaeldv/awesome_print"
|
||||||
|
s.summary = "Pretty print Ruby objects with proper indentation and colors"
|
||||||
|
s.description = "Great Ruby dubugging companion: pretty print Ruby objects to visualize their structure. Supports custom object formatting via plugins"
|
||||||
|
|
||||||
|
s.rubyforge_project = "awesome_print"
|
||||||
|
|
||||||
|
s.files = Rake::FileList["[A-Z]*", "lib/**/*.rb", "spec/*", ".gitignore"]
|
||||||
|
s.test_files = Rake::FileList["spec/*"]
|
||||||
|
s.executables = []
|
||||||
|
s.require_paths = ["lib"]
|
||||||
|
|
||||||
|
s.add_development_dependency "rspec", ">= 2.6.0"
|
||||||
|
s.add_development_dependency "fakefs", ">= 0.2.1"
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue