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
7 changed files
with
84 additions
and
20 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 |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
pkg | |||
*.swp | |||
*.log | |||
doc | |||
coverage | |||
.DS_Store | |||
.yardoc | |||
tmp | |||
tags | |||
ctags | |||
.bundle | |||
*.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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
source "http://rubygems.org" | |||
|
|||
# Specify your gem's dependencies in publisher.gemspec | |||
gemspec |
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,37 @@ | |||
require 'rubygems' | |||
require 'hoe' | |||
require './lib/publisher.rb' | |||
require 'rake' | |||
require 'rake/testtask' | |||
|
|||
task :default => [ :test ] | |||
|
|||
desc "Run the unit tests in test" | |||
Rake::TestTask.new("test") { |t| | |||
t.libs << "test" | |||
t.pattern = 'test/**/*_test.rb' | |||
t.verbose = true | |||
} | |||
|
|||
# | |||
# Hoe stuff: rubyforge project release | |||
# | |||
Hoe.new('publisher', Publisher::VERSION) do |p| | |||
p.rubyforge_name = 'atomicobjectrb' | |||
p.author = 'Atomic Object' | |||
p.email = 'dev@atomicobject.com' | |||
p.summary = 'Event subscription and firing mechanism' | |||
p.description = 'publisher is a module for extending a class with event subscription and firing capabilities. This is helpful for implementing objects that participate in the Observer design pattern.' | |||
p.url = 'http://atomicobject.github.com/publisher' | |||
|
|||
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n") | |||
end | |||
|
|||
if File.exists?("../tools/") | |||
load "../tools/tasks/homepage.rake" | |||
load "../tools/tasks/release_tagging.rake" | |||
ReleaseTagging.new do |t| | |||
t.package = "publisher" | |||
t.version = Publisher::VERSION | |||
end | |||
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
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,3 @@ | |||
module Publisher | |||
VERSION = "1.1.2" | |||
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 |
---|---|---|---|
@@ -0,0 +1,24 @@ | |||
# -*- encoding: utf-8 -*- | |||
$:.push File.expand_path("../lib", __FILE__) | |||
require "publisher/version" | |||
|
|||
Gem::Specification.new do |s| | |||
s.rubyforge_project = "publisher" | |||
s.name = "publisher" | |||
s.version = Publisher::VERSION | |||
s.authors = ["Atomic Object"] | |||
s.email = ["dev@atomicobject.com"] | |||
s.homepage = 'http://atomicobject.github.com/publisher' | |||
|
|||
s.summary = 'Event subscription and firing mechanism' | |||
s.description = 'publisher is a module for extending a class with event subscription and firing capabilities. This is helpful for implementing objects that participate in the Observer design pattern.' | |||
|
|||
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"] | |||
|
|||
# specify any dependencies here; for example: | |||
# s.add_development_dependency "rspec" | |||
# s.add_runtime_dependency "rest-client" | |||
end |