semantic 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dc5eebf14efcd2b4befcb8ba52e60629e76b445b
4
+ data.tar.gz: 9ca2d53ad91425837e2c6f7741fe1226014b397f
5
+ SHA512:
6
+ metadata.gz: 8942617c71dcd13bff01cd7d62f21b7aab644e15938f0c946feadd2c010b8cc9f92a4f98f38af4d26dc6d5f0c4b7e1f76cf3f9e0a4598ef1dc8b2cfd45ed257f
7
+ data.tar.gz: 4232989b6434c546b6ab358a78f14e9c8dd65e59ed49cf1fe15b178a131bbff3687a7290df2fbe4d252c5ba0430762b00cbac4bd4dc8ecc7c80fbf2c39425495
data/lib/semantic.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Semantic
2
- GEM_VERSION = '1.1.0'
2
+ GEM_VERSION = '1.1.1'
3
3
  autoload :Version, 'semantic/version'
4
4
  end
5
5
 
@@ -29,14 +29,14 @@ describe 'Core Extensions' do
29
29
 
30
30
  it "converts the String into a Version object" do
31
31
  @test_versions.each do |v|
32
- expect { v.to_version }.to_not raise_error(ArgumentError)
32
+ expect { v.to_version }.to_not raise_error()
33
33
  v.to_version.should be_a(Semantic::Version)
34
34
  end
35
35
  end
36
36
 
37
37
  it "raises an error on invalid strings" do
38
38
  @bad_versions.each do |v|
39
- expect { v.to_version }.to raise_error(ArgumentError)
39
+ expect { v.to_version }.to raise_error()
40
40
  end
41
41
  end
42
42
  end
data/spec/version_spec.rb CHANGED
@@ -24,13 +24,13 @@ describe Semantic::Version do
24
24
  context "parsing" do
25
25
  it "parses valid SemVer versions" do
26
26
  @test_versions.each do |v|
27
- expect { Semantic::Version.new v }.to_not raise_error(ArgumentError)
27
+ expect { Semantic::Version.new v }.to_not raise_error()
28
28
  end
29
29
  end
30
30
 
31
31
  it "raises an error on invalid versions" do
32
32
  @bad_versions.each do |v|
33
- expect { Semantic::Version.new v }.to raise_error(ArgumentError)
33
+ expect { Semantic::Version.new v }.to raise_error()
34
34
  end
35
35
  end
36
36
 
metadata CHANGED
@@ -1,59 +1,54 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.1.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Josh Lindsey
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-07-23 00:00:00.000000000 Z
11
+ date: 2013-08-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 0.9.2.2
19
+ version: '10.1'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 0.9.2.2
26
+ version: '10.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
37
- version: 2.11.0
33
+ version: '2.14'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
45
- version: 2.11.0
46
- description: ! 'Semantic Version utility class for parsing, storing, and comparing
47
- versions. See: http://semver.org'
40
+ version: '2.14'
41
+ description: 'Semantic Version utility class for parsing, storing, and comparing versions.
42
+ See: http://semver.org'
48
43
  email:
49
44
  - josh@core-apps.com
50
45
  executables: []
51
46
  extensions: []
52
47
  extra_rdoc_files: []
53
48
  files:
49
+ - lib/semantic.rb
54
50
  - lib/semantic/core_ext.rb
55
51
  - lib/semantic/version.rb
56
- - lib/semantic.rb
57
52
  - LICENSE
58
53
  - README.md
59
54
  - spec/core_ext_spec.rb
@@ -62,30 +57,28 @@ files:
62
57
  homepage: https://github.com/jlindsey/semantic
63
58
  licenses:
64
59
  - MIT
60
+ metadata: {}
65
61
  post_install_message:
66
62
  rdoc_options: []
67
63
  require_paths:
68
64
  - lib
69
65
  required_ruby_version: !ruby/object:Gem::Requirement
70
- none: false
71
66
  requirements:
72
- - - ! '>='
67
+ - - '>='
73
68
  - !ruby/object:Gem::Version
74
69
  version: '0'
75
70
  required_rubygems_version: !ruby/object:Gem::Requirement
76
- none: false
77
71
  requirements:
78
- - - ! '>='
72
+ - - '>='
79
73
  - !ruby/object:Gem::Version
80
74
  version: '0'
81
75
  requirements: []
82
76
  rubyforge_project:
83
- rubygems_version: 1.8.23
77
+ rubygems_version: 2.0.3
84
78
  signing_key:
85
- specification_version: 3
79
+ specification_version: 4
86
80
  summary: Semantic Version utility class
87
81
  test_files:
88
82
  - spec/core_ext_spec.rb
89
83
  - spec/spec_helper.rb
90
84
  - spec/version_spec.rb
91
- has_rdoc: