Skip to content

Commit

Permalink
Fix circular dependency in project rake tasks - gemspecs should not f…
Browse files Browse the repository at this point in the history
…ind their way into manifests!
  • Loading branch information
raggi committed Jan 1, 2009
1 parent 72e78d4 commit 7a2e32e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
pkg
5 changes: 5 additions & 0 deletions History.txt
@@ -1,3 +1,8 @@
== 0.1.1 / 2009-01-01

* 1 minor enhancement
* Fix circular dependency issue in dev tasks

== 0.1.0 / 2009-01-01

* 1 major enhancement
Expand Down
1 change: 0 additions & 1 deletion Manifest.txt
Expand Up @@ -2,7 +2,6 @@ History.txt
Manifest.txt
README.rdoc
Rakefile
bin/any_data
lib/any_data.rb
tasks/autospec.rake
tasks/bones.rake
Expand Down
10 changes: 4 additions & 6 deletions any_data.gemspec
Expand Up @@ -7,19 +7,17 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["James Tucker"]
s.date = %q{2009-01-01}
s.default_executable = %q{any_data}
s.description = %q{FIXME (describe your package)}
s.description = %q{Small helper which provides and IO like ruby's DATA for $0, but for any file.}
s.email = %q{raggi@rubyforge.org}
s.executables = ["any_data"]
s.extra_rdoc_files = ["History.txt", "bin/any_data"]
s.files = ["History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "bin/any_data", "lib/any_data.rb", "tasks/autospec.rake", "tasks/bones.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/manifest.rake", "tasks/notes.rake", "tasks/post_load.rake", "tasks/rdoc.rake", "tasks/rubyforge.rake", "tasks/setup.rb", "tasks/test.rake", "test/end_data.rb", "test/helper.rb", "test/runner", "test/spec_any_data.rb"]
s.extra_rdoc_files = ["History.txt"]
s.files = ["History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "lib/any_data.rb", "tasks/autospec.rake", "tasks/bones.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/manifest.rake", "tasks/notes.rake", "tasks/post_load.rake", "tasks/rdoc.rake", "tasks/rubyforge.rake", "tasks/setup.rb", "tasks/test.rake", "test/end_data.rb", "test/helper.rb", "test/runner", "test/spec_any_data.rb"]
s.has_rdoc = true
s.homepage = %q{http://github.com/raggi/any_data}
s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{libraggi}
s.rubygems_version = %q{1.3.1}
s.summary = %q{FIXME (describe your package)}
s.summary = %q{Small helper which provides and IO like ruby's DATA for $0, but for any file}
s.test_files = ["test/spec_any_data.rb"]

if s.respond_to? :specification_version then
Expand Down
6 changes: 0 additions & 6 deletions bin/any_data

This file was deleted.

2 changes: 1 addition & 1 deletion lib/any_data.rb
@@ -1,5 +1,5 @@
class AnyData < File
def self.version; '0.1.0'; end
def self.version; '0.1.1'; end

class NoDataError < Exception
attr_accessor :file
Expand Down
2 changes: 1 addition & 1 deletion tasks/setup.rb
Expand Up @@ -19,7 +19,7 @@ class OpenStruct; undef :gem; end
:url => "\000",
:version => ENV['VERSION'] || '0.0.0',
:exclude => %w(tmp$ bak$ ~$ CVS \.git/ \.hg/ \.svn/ ^pkg/ ^doc/ \.DS_Store
\.hgignore \.gitignore \.dotest \.swp$),
\.hgignore \.gitignore \.dotest \.swp$ .*\.gemspec$),
:release_name => ENV['RELEASE'],

# System Defaults
Expand Down

0 comments on commit 7a2e32e

Please sign in to comment.