# -*- coding: utf-8 -*- # We require your library, mainly to have access to the VERSION number. # Feel free to set $version manually. $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require "falkorlib/version" $version = FalkorLib::Version.to_s # # This is your Gem specification. Default values are provided so that your library # should be correctly packaged given what you have described in the .noespec file. # Gem::Specification.new do |s| ################################################################### ABOUT YOUR GEM # Gem name (required) s.name = "falkorlib" # Gem version (required) s.version = $version # A short summary of this gem # # This is displayed in `gem list -d`. s.summary = "Sebastien Varrette aka Falkor's Common library to share Ruby code and {rake,cap} tasks" # A long description of this gem (required) # # The description should be more detailed than the summary. For example, # you might wish to copy the entire README into the description. s.description = "This is my personal library I use to share the Ruby tidbits, Rake and Capistrano tasks I made for my various projects. \nThis is also my first gem so any comments on the code/organization are welcome, I'm a newbie in this domain. \nNote that I used [Noe](https://github.com/blambeau/noe) to bootstrap this project and get a fully documented environment." # The URL of this gem home page (optional) s.homepage = "https://github.com/Falkor/falkorlib" # Gem publication date (required but auto) # # Today is automatically used by default, uncomment only if # you know what you do! # # s.date = Time.now.strftime('%Y-%m-%d') # The license(s) for the library. Each license must be a short name, no # more than 64 characters. # s.licenses = ['MIT'] # The rubyforge project this gem lives under (optional) # # s.rubyforge_project = nil ################################################################### ABOUT THE AUTHORS # The list of author names who wrote this gem. # # If you are providing multiple authors and multiple emails they should be # in the same order. # s.authors = ["Sebastien Varrette"] # Contact emails for this gem # # If you are providing multiple authors and multiple emails they should be # in the same order. # # NOTE: Somewhat strangly this attribute is always singular! # Don't replace by s.emails = ... s.email = ["Sebastien.Varrette@uni.lu"] ################################################################### PATHS, FILES, BINARIES # Paths in the gem to add to $LOAD_PATH when this gem is # activated (required). # # The default 'lib' is typically sufficient. s.require_paths = ["lib"] # Files included in this gem. # # By default, we take all files included in the .Manifest.txt file on root # of the project. Entries of the manifest are interpreted as Dir[...] # patterns so that lazy people may use wilcards like lib/**/* # here = File.expand_path(File.dirname(__FILE__)) s.files = File.readlines(File.join(here, '.Manifest.txt')). inject([]){|files, pattern| files + Dir[File.join(here, pattern.strip)]}. collect{|x| x[(1+here.size)..-1]} # Test files included in this gem. # s.test_files = Dir["test/**/*"] + Dir["spec/**/*"] # Alternative: #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) } # The path in the gem for executable scripts (optional) # #s.bindir = "bin" # Executables included in the gem. # #s.executables = (Dir["bin/*"]).collect{|f| File.basename(f)} ################################################################### REQUIREMENTS & INSTALL # Remember the gem version requirements operators and schemes: # = Equals version # != Not equal to version # > Greater than version # < Less than version # >= Greater than or equal to # <= Less than or equal to # ~> Approximately greater than # # Don't forget to have a look at http://lmgtfy.com/?q=Ruby+Versioning+Policies # for setting your gem version. # # For your requirements to other gems, remember that # ">= 2.2.0" (optimistic: specify minimal version) # ">= 2.2.0", "< 3.0" (pessimistic: not greater than the next major) # "~> 2.2" (shortcut for ">= 2.2.0", "< 3.0") # "~> 2.2.0" (shortcut for ">= 2.2.0", "< 2.3.0") # #s.add_dependency("rake", ">= 10.1.0") s.add_runtime_dependency 'rake', '~> 10.1', '>= 10.1.0' s.add_runtime_dependency 'git_remote_branch', '~> 0' #s.add_dependency("git_remote_branch") s.add_runtime_dependency 'git', '~> 1.2', '>= 1.2.5' s.add_dependency("term-ansicolor", "~> 1.3") # # One call to add_dependency('gem_name', 'gem version requirement') for each # runtime dependency. These gems will be installed with your gem. # One call to add_development_dependency('gem_name', 'gem version requirement') # for each development dependency. These gems are required for developers # #s.add_development_dependency("rake", ">= 10.1.0") #"~> 0.9.2") s.add_development_dependency("bundler", "~> 1.0") s.add_development_dependency 'rspec', '~> 2.7', '>= 2.7.0' s.add_development_dependency("pry", "~> 0.9") s.add_development_dependency("yard", "~> 0.8") s.add_development_dependency("awesome_print", "~> 1.2") #s.add_development_dependency("bluecloth", "~> 2.2.0") #s.add_development_dependency("wlang", "~> 0.10.2") # The version of ruby required by this gem # # Uncomment and set this if your gem requires specific ruby versions. # # s.required_ruby_version = ">= 0" # The RubyGems version required by this gem # # s.required_rubygems_version = ">= 0" # The platform this gem runs on. See Gem::Platform for details. # # s.platform = nil # Extensions to build when installing the gem. # # Valid types of extensions are extconf.rb files, configure scripts # and rakefiles or mkrf_conf files. # s.extensions = [] # External (to RubyGems) requirements that must be met for this gem to work. # It’s simply information for the user. # s.requirements = nil # A message that gets displayed after the gem is installed # # Uncomment and set this if you want to say something to the user # after gem installation # s.post_install_message = "Thanks for installing FalkorLib.\n" ################################################################### SECURITY # The key used to sign this gem. See Gem::Security for details. # #s.signing_key = "0xDD01D5C0" # The certificate chain used to sign this gem. See Gem::Security for # details. # # s.cert_chain = [] ################################################################### RDOC # An ARGV style array of options to RDoc # # See 'rdoc --help' about this # s.rdoc_options = [] # Extra files to add to RDoc such as README # s.extra_rdoc_files = Dir["README.md"] + Dir["CHANGELOG.md"] + Dir["LICENCE.md"] end