Permalink
Browse files

Add gemspec and other support files for Gem generation

  • Loading branch information...
1 parent f0d14eb commit 7688d56cdbcafe86eceb87286bd1a2d0d8c19f32 Riccardo Cambiassi committed Feb 17, 2012
Showing with 99 additions and 0 deletions.
  1. +3 −0 Gemfile
  2. +36 −0 Gemfile.lock
  3. +23 −0 Rakefile
  4. +3 −0 lib/radian6/version.rb
  5. +34 −0 radian6.gemspec
View
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gemspec
View
@@ -0,0 +1,36 @@
+PATH
+ remote: .
+ specs:
+ radian6 (0.1)
+ nokogiri (>= 1.4.4)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ addressable (2.2.7)
+ crack (0.3.1)
+ diff-lcs (1.1.3)
+ nokogiri (1.5.0)
+ rake (0.9.2.2)
+ rspec (2.8.0)
+ rspec-core (~> 2.8.0)
+ rspec-expectations (~> 2.8.0)
+ rspec-mocks (~> 2.8.0)
+ rspec-core (2.8.0)
+ rspec-expectations (2.8.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.8.0)
+ webmock (1.7.10)
+ addressable (~> 2.2, > 2.2.5)
+ crack (>= 0.1.7)
+ yard (0.7.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ radian6!
+ rake (~> 0.8)
+ rspec (~> 2.5)
+ webmock
+ yard
View
@@ -0,0 +1,23 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
+
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
+
+task :test => :spec
+task :default => :spec
+
+namespace :doc do
+ require 'yard'
+ YARD::Rake::YardocTask.new do |task|
+ task.files = ['HISTORY.mkd', 'LICENSE.mkd', 'lib/**/*.rb']
+ task.options = [
+ '--protected',
+ '--output-dir', 'doc/yard',
+ '--tag', 'format:Supported formats',
+ '--tag', 'authenticated:Requires Authentication',
+ '--tag', 'rate_limited:Rate Limited',
+ '--markup', 'markdown',
+ ]
+ end
+end
View
@@ -0,0 +1,3 @@
+module Radian6
+ VERSION = "0.1"
+end
View
@@ -0,0 +1,34 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/radian6/version', __FILE__)
+
+Gem::Specification.new do |s|
+ s.add_development_dependency('rake', '~> 0.8')
+ s.add_development_dependency('rspec', '~> 2.5')
+ s.add_development_dependency('yard')
+ s.add_development_dependency('webmock')
+ s.add_runtime_dependency('nokogiri', '>= 1.4.4')
+ s.authors = ["Riccardo Cambiassi"]
+ s.description = %q{A Ruby wrapper for the Radian6 REST API}
+ s.post_install_message =<<eos
+********************************************************************************
+
+ Thank you for installing radian6
+
+ Follow @bru on Twitter for announcements, updates, and news.
+ https://twitter.com/bru
+
+********************************************************************************
+eos
+ s.email = ['bru@codewitch.org']
+ # s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.files = `git ls-files`.split("\n")
+ s.homepage = 'https://github.com/bru/radian6'
+ s.name = 'radian6'
+ s.platform = Gem::Platform::RUBY
+ s.require_paths = ['lib']
+ s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
+ s.rubyforge_project = s.name
+ s.summary = %q{Ruby wrapper for the Radian6 API}
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.version = Radian6::VERSION.dup
+end

0 comments on commit 7688d56

Please sign in to comment.