Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Gemspec related changes

  • Loading branch information...
commit d065d5a416dcb94b2b8cd9c8f7f986037d380add 1 parent 15b4fba
@mig-hub authored
Showing with 85 additions and 5 deletions.
  1. +2 −0  .gitignore
  2. +10 −5 Rakefile
  3. +73 −0 cerberus.gemspec
View
2  .gitignore
@@ -0,0 +1,2 @@
+pkg
+
View
15 Rakefile
@@ -1,17 +1,22 @@
-spec = Gem::Specification.new do |s|
+require 'rubygems'
+
+gemspec = Gem::Specification.new do |s|
s.name = 'cerberus'
s.version = "0.0.1"
s.platform = Gem::Platform::RUBY
s.summary = "A Rack middleware for form-based authentication"
- s.files = ['cerberus.rb', 'MIT_LICENCE', 'example.ru', 'Rakefile', 'README.rdoc', 'spec.rb']
+ s.description = "A Rack middleware for form-based authentication"
+ s.files = ['cerberus.gemspec', 'cerberus.rb', 'MIT_LICENCE', 'example.ru', 'Rakefile', 'README.rdoc', 'spec.rb']
s.test_files = ['spec.rb']
s.require_path = '.'
- s.autorequire = 'cerberus'
s.author = "Mickael Riga"
s.email = "mig@mypeplum.com"
s.homepage = "http://github.com/mig-hub/cerberus"
end
-Rake::GemPackageTask.new(spec) do |pkg|
- pkg.need_tar = true
+namespace :gem do
+ desc "Update the gemspec for GitHub's gem server"
+ task :github do
+ File.open("cerberus.gemspec", 'w') { |f| f << YAML.dump(gemspec) }
+ end
end
View
73 cerberus.gemspec
@@ -0,0 +1,73 @@
+--- !ruby/object:Gem::Specification
+name: cerberus
+version: !ruby/object:Gem::Version
+ hash: 29
+ prerelease: false
+ segments:
+ - 0
+ - 0
+ - 1
+ version: 0.0.1
+platform: ruby
+authors:
+- Mickael Riga
+autorequire:
+bindir: bin
+cert_chain: []
+
+date: 2010-06-02 00:00:00 +01:00
+default_executable:
+dependencies: []
+
+description: A Rack middleware for form-based authentication
+email: mig@mypeplum.com
+executables: []
+
+extensions: []
+
+extra_rdoc_files: []
+
+files:
+- cerberus.gemspec
+- cerberus.rb
+- MIT_LICENCE
+- example.ru
+- Rakefile
+- README.rdoc
+- spec.rb
+has_rdoc: true
+homepage: http://github.com/mig-hub/cerberus
+licenses: []
+
+post_install_message:
+rdoc_options: []
+
+require_paths:
+- .
+required_ruby_version: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
+ version: "0"
+required_rubygems_version: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
+ version: "0"
+requirements: []
+
+rubyforge_project:
+rubygems_version: 1.3.7
+signing_key:
+specification_version: 3
+summary: A Rack middleware for form-based authentication
+test_files:
+- spec.rb
Please sign in to comment.
Something went wrong with that request. Please try again.