protocol 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd98524da174341f1dc25b039f03b5ad05adfdc8
4
- data.tar.gz: b94806b796960a8413af5b89dd0d6d150db9e174
3
+ metadata.gz: c5a6e574c6a7e481f83ca95daada71f299edb932
4
+ data.tar.gz: dedb9e24930b8a181197fa1a1cefe294b966cd5d
5
5
  SHA512:
6
- metadata.gz: 61bc4d85d2fc9f9e08f66eaed176f890ba848cbdd5197708abc86d15992321dafe651d3c007e09e497b600dcfdf54f0585f44a33e22c71319c9aa5857a19592a
7
- data.tar.gz: c78f6dde5b37c2fe123b19cc799c64492f50e9d889b370640bc60c1462c4fb5df49f815a9b015458b69c938d130870a3551fc28d42db7b6664be9c4de65f2781
6
+ metadata.gz: 44746928c286fde8d894ca7bd7ce7cc4fd4dd8d52cebc77c5c0b9141df1b480383105423340d166481e5dec7fbbafbdaa70254079a8fa9ab5489bf6a59008746
7
+ data.tar.gz: c8d5db4af17119799fb6d2535db1c0bfcf5c1d1e78a84079b85b37c92a75fc6a47da44682056cbb03102ebe1207aad978440d9bd74498ac90a0e73da33ff64d6
data/Rakefile CHANGED
@@ -15,6 +15,7 @@ like Java Interfaces, but as mixin modules they can also contain already
15
15
  implemented methods. Additionaly you can define preconditions/postconditions
16
16
  for methods specified in a protocol.
17
17
  EOT
18
+ licenses << 'GPL-2'
18
19
  test_dir 'tests'
19
20
  ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', 'coverage', '.rvmrc', '.AppleDouble'
20
21
  readme 'README.rdoc'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -1,7 +1,7 @@
1
1
  module Protocol
2
2
  # Protocol version
3
- VERSION = '1.0.0'
4
- VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
3
+ VERSION = '1.0.1'
4
+ VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
7
7
  VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
data/protocol.gemspec CHANGED
@@ -2,16 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "protocol"
5
- s.version = "1.0.0"
5
+ s.version = "1.0.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Florian Frank"]
9
- s.date = "2013-07-18"
9
+ s.date = "2013-07-19"
10
10
  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"
11
11
  s.email = "flori@ping.de"
12
12
  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"]
13
13
  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"]
14
14
  s.homepage = "http://flori.github.com/protocol"
15
+ s.licenses = ["GPL-2"]
15
16
  s.rdoc_options = ["--title", "Protocol - Method Protocols for Ruby Classes", "--main", "README.rdoc"]
16
17
  s.require_paths = ["lib"]
17
18
  s.rubygems_version = "2.0.4"
@@ -22,16 +23,16 @@ Gem::Specification.new do |s|
22
23
  s.specification_version = 4
23
24
 
24
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
- s.add_development_dependency(%q<gem_hadar>, ["~> 0.1.8"])
26
+ s.add_development_dependency(%q<gem_hadar>, ["~> 0.3.2"])
26
27
  s.add_development_dependency(%q<simplecov>, [">= 0"])
27
28
  s.add_runtime_dependency(%q<ruby_parser>, ["~> 3.0"])
28
29
  else
29
- s.add_dependency(%q<gem_hadar>, ["~> 0.1.8"])
30
+ s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
30
31
  s.add_dependency(%q<simplecov>, [">= 0"])
31
32
  s.add_dependency(%q<ruby_parser>, ["~> 3.0"])
32
33
  end
33
34
  else
34
- s.add_dependency(%q<gem_hadar>, ["~> 0.1.8"])
35
+ s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
35
36
  s.add_dependency(%q<simplecov>, [">= 0"])
36
37
  s.add_dependency(%q<ruby_parser>, ["~> 3.0"])
37
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-18 00:00:00.000000000 Z
11
+ date: 2013-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.8
19
+ version: 0.3.2
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.8
26
+ version: 0.3.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: simplecov
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -111,7 +111,8 @@ files:
111
111
  - tests/protocol_test.rb
112
112
  - tests/test_helper.rb
113
113
  homepage: http://flori.github.com/protocol
114
- licenses: []
114
+ licenses:
115
+ - GPL-2
115
116
  metadata: {}
116
117
  post_install_message:
117
118
  rdoc_options: