Skip to content

Commit

Permalink
Add license information to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
flori committed Jul 19, 2013
1 parent 2c4441b commit 9916dd3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ like Java Interfaces, but as mixin modules they can also contain already
implemented methods. Additionaly you can define preconditions/postconditions
for methods specified in a protocol.
EOT
licenses << 'GPL-2'
test_dir 'tests'
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', 'coverage', '.rvmrc', '.AppleDouble'
readme 'README.rdoc'
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
4 changes: 2 additions & 2 deletions lib/protocol/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Protocol
# Protocol version
VERSION = '1.0.0'
VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
VERSION = '1.0.1'
VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
Expand Down
11 changes: 6 additions & 5 deletions protocol.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@

Gem::Specification.new do |s|
s.name = "protocol"
s.version = "1.0.0"
s.version = "1.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Florian Frank"]
s.date = "2013-07-18"
s.date = "2013-07-19"
s.description = "This library offers an implementation of protocols against which you can check\nthe conformity of your classes or instances of your classes. They are a bit\nlike Java Interfaces, but as mixin modules they can also contain already\nimplemented methods. Additionaly you can define preconditions/postconditions\nfor methods specified in a protocol.\n"
s.email = "flori@ping.de"
s.extra_rdoc_files = ["README.rdoc", "lib/protocol.rb", "lib/protocol/core.rb", "lib/protocol/descriptor.rb", "lib/protocol/errors.rb", "lib/protocol/message.rb", "lib/protocol/method_parser/ruby_parser.rb", "lib/protocol/post_condition.rb", "lib/protocol/protocol_module.rb", "lib/protocol/utilities.rb", "lib/protocol/version.rb", "lib/protocol/xt.rb"]
s.files = [".gitignore", ".travis.yml", "CHANGES", "COPYING", "Gemfile", "README.rdoc", "Rakefile", "VERSION", "benchmarks/data/.keep", "benchmarks/method_parser.rb", "examples/assignments.rb", "examples/comparing.rb", "examples/enumerating.rb", "examples/game.rb", "examples/hello_world_patternitis.rb", "examples/indexing.rb", "examples/locking.rb", "examples/queue.rb", "examples/stack.rb", "install.rb", "lib/protocol.rb", "lib/protocol/core.rb", "lib/protocol/descriptor.rb", "lib/protocol/errors.rb", "lib/protocol/message.rb", "lib/protocol/method_parser/ruby_parser.rb", "lib/protocol/post_condition.rb", "lib/protocol/protocol_module.rb", "lib/protocol/utilities.rb", "lib/protocol/version.rb", "lib/protocol/xt.rb", "protocol.gemspec", "tests/protocol_method_parser_test.rb", "tests/protocol_test.rb", "tests/test_helper.rb"]
s.homepage = "http://flori.github.com/protocol"
s.licenses = ["GPL-2"]
s.rdoc_options = ["--title", "Protocol - Method Protocols for Ruby Classes", "--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubygems_version = "2.0.4"
Expand All @@ -22,16 +23,16 @@ Gem::Specification.new do |s|
s.specification_version = 4

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<gem_hadar>, ["~> 0.1.8"])
s.add_development_dependency(%q<gem_hadar>, ["~> 0.3.2"])
s.add_development_dependency(%q<simplecov>, [">= 0"])
s.add_runtime_dependency(%q<ruby_parser>, ["~> 3.0"])
else
s.add_dependency(%q<gem_hadar>, ["~> 0.1.8"])
s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
s.add_dependency(%q<simplecov>, [">= 0"])
s.add_dependency(%q<ruby_parser>, ["~> 3.0"])
end
else
s.add_dependency(%q<gem_hadar>, ["~> 0.1.8"])
s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
s.add_dependency(%q<simplecov>, [">= 0"])
s.add_dependency(%q<ruby_parser>, ["~> 3.0"])
end
Expand Down

0 comments on commit 9916dd3

Please sign in to comment.