Sha256: 73be50c05fb77feca80f9779967fcccfc4051a30fc49dad74f6697f1ddf408d6

Contents?: true

Size: 293 Bytes

Versions: 11

Compression:

Stored size: 293 Bytes

Contents

module GemRelease
  class License < Template
    attr_reader :author, :email, :year

    def initialize(options = {})
      super

      @author  ||= user_name
      @email   ||= user_email
      @year    ||= Time.now.year
    end

    def template_name
      'gemspec.erb'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gem-release-0.1.3 lib/gem_release/license.rb
gem-release-0.1.2 lib/gem_release/license.rb
gem-release-0.1.1 lib/gem_release/license.rb
gem-release-0.1.0 lib/gem_release/license.rb
gem-release-0.0.24 lib/gem_release/license.rb
gem-release-0.0.23 lib/gem_release/license.rb
gem-release-0.0.22 lib/gem_release/license.rb
gem-release-0.0.21 lib/gem_release/license.rb
gem-release-0.0.20 lib/gem_release/license.rb
gem-release-0.0.19 lib/gem_release/license.rb
gem-release-0.0.17 lib/gem_release/license.rb