Sha256: dcbc57a8c136084de8b3438df6c0fe62ac8769efd3fcc322b8afab6d6ba5028d

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

# -*- encoding: utf-8 -*-

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'wwj_hello_world/version'

Gem::Specification.new do |gem|
  gem.name          = "wwj_hello_world"
  gem.version       = WwjHelloWorld::VERSION
  gem.summary       = "hello world"
  gem.description   = "hello world"
  gem.license       = "MIT"
  gem.authors       = ["wwj"]
  gem.email         = "wuwenjie718@gmail.com"
  gem.homepage      = "https://rubygems.org/gems/wwj_hello_world"

  gem.files         = `git ls-files`.split($/)

  `git submodule --quiet foreach --recursive pwd`.split($/).each do |submodule|
    submodule.sub!("#{Dir.pwd}/",'')

    Dir.chdir(submodule) do
      `git ls-files`.split($/).map do |subpath|
        gem.files << File.join(submodule,subpath)
      end
    end
  end
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ['lib']

  gem.add_development_dependency 'bundler', '~> 1.10'
  gem.add_development_dependency 'rake', '~> 10.0'
  gem.add_development_dependency 'rdoc', '~> 4.0'
  gem.add_development_dependency 'rspec', '~> 3.0'
  gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wwj_hello_world-0.1.2 wwj_hello_world.gemspec
wwj_hello_world-0.1.1 wwj_hello_world.gemspec
wwj_hello_world-0.1.0 wwj_hello_world.gemspec