-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gemspec, README and a few other changes to support gem install
- Loading branch information
alex
committed
Dec 16, 2009
1 parent
5a1c2e4
commit dad1acd
Showing
6 changed files
with
68 additions
and
2 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -5,3 +5,4 @@ | ||
debug.log | debug.log | ||
coverage | coverage | ||
coverage.data | coverage.data | ||
pkg/ |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
begin | |||
require 'jeweler' | |||
Jeweler::Tasks.new do |gemspec| | |||
gemspec.name = "statistics" | |||
gemspec.summary = "An ActiveRecord gem that makes it easier to do reporting." | |||
gemspec.email = "acatighera@gmail.com" | |||
gemspec.homepage = "http://github.com/acatighera/statistics" | |||
gemspec.authors = ["Alexandru Catighera"] | |||
end | |||
rescue LoadError | |||
puts "Jeweler not available. Install it with: sudo gem install jeweler" | |||
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,2 +1 @@ | |||
require File.join(File.dirname(__FILE__), 'lib', 'statistics') | require File.join(File.dirname(__FILE__), 'lib', 'statistics') | ||
ActiveRecord::Base.send(:include, Statistics) |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,48 @@ | |||
# Generated by jeweler | |||
# DO NOT EDIT THIS FILE DIRECTLY | |||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | |||
# -*- encoding: utf-8 -*- | |||
|
|||
Gem::Specification.new do |s| | |||
s.name = %q{statistics} | |||
s.version = "0.1.1" | |||
|
|||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | |||
s.authors = ["Alexandru Catighera"] | |||
s.date = %q{2009-12-16} | |||
s.email = %q{acatighera@gmail.com} | |||
s.extra_rdoc_files = [ | |||
"README.markdown" | |||
] | |||
s.files = [ | |||
".gitignore", | |||
"CHANGES.markdown", | |||
"MIT-LICENSE", | |||
"README.markdown", | |||
"Rakefile", | |||
"VERSION", | |||
"init.rb", | |||
"lib/statistics.rb", | |||
"statistics.gemspec", | |||
"test/statistics_test.rb" | |||
] | |||
s.homepage = %q{http://github.com/acatighera/statistics} | |||
s.rdoc_options = ["--charset=UTF-8"] | |||
s.require_paths = ["lib"] | |||
s.rubygems_version = %q{1.3.5} | |||
s.summary = %q{An ActiveRecord gem that makes it easier to do reporting.} | |||
s.test_files = [ | |||
"test/statistics_test.rb" | |||
] | |||
|
|||
if s.respond_to? :specification_version then | |||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | |||
s.specification_version = 3 | |||
|
|||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | |||
else | |||
end | |||
else | |||
end | |||
end | |||
|