Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add an explicit version file

  • Loading branch information...
commit 2deae1b0121d4479fd232c68e81f75a328f9a2ea 1 parent 8101470
Corey Donohoe atmos authored
Showing with 21 additions and 22 deletions.
  1. +3 −0  lib/randexp/version.rb
  2. +18 −22 randexp.gemspec
3  lib/randexp/version.rb
View
@@ -0,0 +1,3 @@
+class Randexp
+ VERSION = "0.1.7"
+end
40 randexp.gemspec
View
@@ -1,29 +1,25 @@
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "randexp/version"
Gem::Specification.new do |s|
- s.name = %q{randexp}
- s.version = "0.1.6"
+ s.name = "randexp"
+ s.version = Randexp::VERSION
+ s.authors = ["Ben Burkert"]
+ s.email = ["ben@benburkert.com"]
+ s.homepage = "http://github.com/benburkert/randexp"
+ s.summary = %q{Library for generating random strings.}
+ s.description = %q{Library for generating random strings from regular expressions.}
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Ben Burkert"]
- s.autorequire = %q{randexp}
- s.date = %q{2011-02-10}
- s.description = %q{Library for generating random strings.}
- s.email = %q{ben@benburkert.com}
- s.extra_rdoc_files = ["README", "LICENSE", "TODO"]
- s.files = ["LICENSE", "README", "Rakefile", "TODO", "CHANGELOG", "lib/randexp", "lib/randexp/core_ext", "lib/randexp/core_ext/array.rb", "lib/randexp/core_ext/integer.rb", "lib/randexp/core_ext/range.rb", "lib/randexp/core_ext/regexp.rb", "lib/randexp/core_ext.rb", "lib/randexp/dictionary.rb", "lib/randexp/parser.rb", "lib/randexp/randgen.rb", "lib/randexp/reducer.rb", "lib/randexp/wordlists", "lib/randexp/wordlists/female_names.rb", "lib/randexp/wordlists/male_names.rb", "lib/randexp/wordlists/real_name.rb", "lib/randexp.rb", "spec/regression", "spec/regression/regexp_spec.rb", "spec/spec_helper.rb", "spec/unit", "spec/unit/core_ext", "spec/unit/core_ext/regexp_spec.rb", "spec/unit/randexp", "spec/unit/randexp/parser_spec.rb", "spec/unit/randexp/reducer_spec.rb", "spec/unit/randexp_spec.rb", "spec/unit/randgen_spec.rb", "wordlists/female_names", "wordlists/male_names", "wordlists/surnames"]
- s.homepage = %q{http://github.com/benburkert/randexp}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Library for generating random strings.}
+ s.rubyforge_project = "randexp"
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ 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.extra_rdoc_files = ["README", "LICENSE", "TODO"]
+ s.require_paths = ["lib"]
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
+ # specify any dependencies here; for example:
+ # s.add_development_dependency "rspec"
+ # s.add_runtime_dependency "rest-client"
end
Please sign in to comment.
Something went wrong with that request. Please try again.