mixlib-versioning 1.2.1 → 1.2.2

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: 75105073144a2c6b947409ff31f4fae6aaa4fb77
4
- data.tar.gz: 27c19f85adc97a86c005da5233187ddfee957eee
3
+ metadata.gz: '0208c6f3c08a6daab946c9930940f32bc430c5c9'
4
+ data.tar.gz: c17a6961d49ee42ae3af96c6bfb7532af19d28de
5
5
  SHA512:
6
- metadata.gz: d6affd7ced58f3caf0ebd9e091e7cdd96745c3cfb0c0e95ab0fc462af358194fb7142c61087acdad3c5934dddfebcf411d4afdb33433654ff3f66419dcd84581
7
- data.tar.gz: cc5f16b52af8badc2e016a97f1d799e62e81e29548836b420bac1bf47a6b7282f5b6ef14d36b596e0e8f2970d57f0198c08f4ba296253d416b405da65aa0b43b
6
+ metadata.gz: 1818dc4222c4dfd7cff6ed49365d6fb0ecbf973020358b9a1e5b6b2da342e65ad2e7ec5901a94fb01344e690539f6bda0646bdb6ab0e96dd9eb0979d273c1a5a
7
+ data.tar.gz: da88326f791927d45b25d1b16855c58151ff9c2de4bdd77edcf71c5794ab1d91367ee51824ac91fbe02af4768cf61a7f09b553b785de2210d212292f4d192d3c
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ test/tmp
18
18
  test/version_tmp
19
19
  tmp
20
20
  bin/
21
+ Gemfile.local
@@ -4,11 +4,14 @@ cache: bundler
4
4
 
5
5
  matrix:
6
6
  include:
7
- - rvm: 2.3.4
7
+ - rvm: 2.0
8
+ - rvm: 2.2
9
+ - rvm: 2.3
8
10
  - rvm: 2.4.1
9
11
  - rvm: ruby-head
10
12
  allow_failures:
11
13
  - rvm: ruby-head
14
+
12
15
  branches:
13
16
  only:
14
17
  - master
@@ -1,18 +1,16 @@
1
1
  # Mixlib::Versioning Changes
2
2
 
3
3
  <!-- latest_release -->
4
- ## [v1.2.1](https://github.com/chef/mixlib-versioning/tree/v1.2.1) (2017-07-24)
4
+ ## [v1.2.2](https://github.com/chef/mixlib-versioning/tree/v1.2.2) (2017-07-27)
5
5
 
6
6
  #### Merged Pull Requests
7
- - Use Expeditor for version bumping and CHANGELOG generation [#23](https://github.com/chef/mixlib-versioning/pull/23) ([schisamo](https://github.com/schisamo))
7
+ - Support older rubies [#27](https://github.com/chef/mixlib-versioning/pull/27) ([schisamo](https://github.com/schisamo))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup -->
11
- ### Changes since latest stable release
10
+ ## [v1.2.1](https://github.com/chef/mixlib-versioning/tree/v1.2.1) (2017-07-24)
12
11
 
13
12
  #### Merged Pull Requests
14
- - Use Expeditor for version bumping and CHANGELOG generation [#23](https://github.com/chef/mixlib-versioning/pull/23) ([schisamo](https://github.com/schisamo)) <!-- 1.2.1 -->
15
- <!-- release_rollup -->
13
+ - Use Expeditor for version bumping and CHANGELOG generation [#23](https://github.com/chef/mixlib-versioning/pull/23) ([schisamo](https://github.com/schisamo))
16
14
 
17
15
  ## [1.1.0](https://github.com/chef/mixlib-versioning/tree/v1.1.0) (2015-06-15)
18
16
 
data/Gemfile CHANGED
@@ -6,3 +6,21 @@ group :docs do
6
6
  gem "redcarpet", "~> 2.2"
7
7
  gem "github-markup", "~> 0.7"
8
8
  end
9
+
10
+ group :test, :development do
11
+ gem "rspec", "~> 3.0"
12
+ gem "rspec-its"
13
+ gem "rake", "~> 12"
14
+ end
15
+
16
+ if RUBY_VERSION =~ /^2/
17
+ group :chefstyle do
18
+ gem "chefstyle"
19
+ end
20
+ end
21
+
22
+ instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
23
+
24
+ # If you want to load debugging tools into the bundle exec sandbox,
25
+ # add these additional dependencies into Gemfile.local
26
+ eval(IO.read(__FILE__ + ".local"), binding) if File.exist?(__FILE__ + ".local")
data/Rakefile CHANGED
@@ -1,32 +1,24 @@
1
1
  require "bundler/gem_tasks"
2
-
3
2
  require "rspec/core/rake_task"
4
- require "mixlib/versioning/version"
5
3
 
6
4
  RSpec::Core::RakeTask.new(:unit)
7
5
 
8
- require "chefstyle"
9
- require "rubocop/rake_task"
10
- desc "Run Ruby style checks"
11
- RuboCop::RakeTask.new(:style)
12
-
13
- require "yard"
14
- YARD::Rake::YardocTask.new(:doc)
15
-
16
6
  begin
17
- require "github_changelog_generator/task"
18
-
19
- GitHubChangelogGenerator::RakeTask.new :changelog do |config|
20
- config.issues = false
21
- config.future_release = Mixlib::Versioning::VERSION
7
+ require "chefstyle"
8
+ require "rubocop/rake_task"
9
+ RuboCop::RakeTask.new(:chefstyle) do |task|
10
+ task.options << "--display-cop-names"
22
11
  end
23
12
  rescue LoadError
24
- puts "github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs"
13
+ puts "chefstyle gem is not installed"
25
14
  end
26
15
 
16
+ require "yard"
17
+ YARD::Rake::YardocTask.new(:doc)
18
+
27
19
  namespace :travis do
28
- desc "Run tests on Travis"
29
- task ci: [:style, :unit]
20
+ desc "Run tests on Travis CI"
21
+ task ci: %w{chefstyle unit}
30
22
  end
31
23
 
32
- task default: [:style, :unit]
24
+ task default: %w{travis:ci}
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
@@ -18,6 +18,6 @@
18
18
 
19
19
  module Mixlib
20
20
  class Versioning
21
- VERSION = "1.2.1"
21
+ VERSION = "1.2.2"
22
22
  end
23
23
  end
@@ -13,16 +13,8 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/chef/mixlib-versioning"
14
14
  spec.license = "Apache 2.0"
15
15
 
16
- spec.required_ruby_version = ">= 2.2"
17
-
18
16
  spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
19
17
  spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
20
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
21
19
  spec.require_paths = ["lib"]
22
-
23
- # Development dependencies
24
- spec.add_development_dependency "chefstyle"
25
- spec.add_development_dependency "rspec", "~> 3.0"
26
- spec.add_development_dependency "rspec-its"
27
- spec.add_development_dependency "rake", "~> 12"
28
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Chisamore
@@ -9,64 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-07-24 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: chefstyle
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ">="
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- type: :development
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- version: '0'
28
- - !ruby/object:Gem::Dependency
29
- name: rspec
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: '3.0'
35
- type: :development
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: '3.0'
42
- - !ruby/object:Gem::Dependency
43
- name: rspec-its
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: '0'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: '0'
56
- - !ruby/object:Gem::Dependency
57
- name: rake
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '12'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '12'
12
+ date: 2017-07-27 00:00:00.000000000 Z
13
+ dependencies: []
70
14
  description: General purpose Ruby library that allows you to parse, compare and manipulate
71
15
  version strings in multiple formats.
72
16
  email:
@@ -126,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
70
  requirements:
127
71
  - - ">="
128
72
  - !ruby/object:Gem::Version
129
- version: '2.2'
73
+ version: '0'
130
74
  required_rubygems_version: !ruby/object:Gem::Requirement
131
75
  requirements:
132
76
  - - ">="