Sha256: f1ba5baf858348a8e3e2eb4d376cc3943c85a4756edb7f7309678bd9064b02b1

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "strftime/version"

Gem::Specification.new do |s|
  s.name        = "strftime"
  s.version     = Strftime::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Jim Gay"]
  s.email       = ["jim@saturnflyer.com"]
  s.homepage    = "http://rubygems.org/gems/strftime"
  s.summary     = %q{Convenient list of strftime format directives}
  s.description = %q{Convenient list of strftime format directives}

  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) }
  s.require_paths = ["lib"]

  s.add_development_dependency('rspec', '~> 2.3.0')
  s.add_development_dependency('aruba', '~> 0.3.2')

  s.post_install_message = %{
  Thanks for installing strftime. You can use these methods to
  better understand the formats used in Date and Time strftime

  Strftime::Directive.all                #=> a full array of directives
  Strftime::Directive['%y']              #=> a Strftime::Directive with
                                         #   a key of the given argument

  Strftime::Directive.default_collection #=> standard directives
                                         #   unchanged by your code

  strfd                                  #=> shorthand to get directives
  strfd('%y')                            #=> shorthand to get details
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
strftime-2.0.0.beta strftime.gemspec
strftime-2.0.0.alpha strftime.gemspec