rake-version2 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +19 -0
- data/LICENSE.txt +20 -0
- data/README.md +92 -0
- data/VERSION +1 -0
- data/lib/rake-version/config.rb +29 -0
- data/lib/rake-version/context.rb +11 -0
- data/lib/rake-version/copier.rb +67 -0
- data/lib/rake-version/ext.rb +7 -0
- data/lib/rake-version/manager.rb +71 -0
- data/lib/rake-version/tasks.rb +78 -0
- data/lib/rake-version/version.rb +58 -0
- data/lib/rake-version.rb +29 -0
- metadata +181 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a7e427756b03ce300d7fa20251e2fa17fad1e51a4e2e430089a784634f9251ca
|
4
|
+
data.tar.gz: 7db1f38c597efb323371c6388364cfd53bbe33d60d0eb69d6cdd4a3bc8722f10
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1e9a54124e69ad040f9105f19842abd3ea16fc854fba3a4b7c0b100348cb4acb212271e29340cf864943a2f683b57f4e3c81ad4957914e170c6d6334e18aff0e
|
7
|
+
data.tar.gz: abc002fc6b978dd1f3440a7592ded4c9f96f2941393e35596bd052aae86c26bb95edfe2533c539d3fb3e179fd491a5a5837c68cd422d235740dd04f682ba7525
|
data/Gemfile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
|
6
|
+
gem 'rake', '> 11.1'
|
7
|
+
|
8
|
+
# Add dependencies to develop your gem here.
|
9
|
+
# Include everything needed to run rake, tests, features, etc.
|
10
|
+
group :development do
|
11
|
+
gem 'rspec', '~> 3.4'
|
12
|
+
gem 'rspec-its', '~> 1.2'
|
13
|
+
gem 'bundler', '> 2.0'
|
14
|
+
gem 'jeweler', '~> 2.0'
|
15
|
+
gem 'simplecov', '~> 0.14'
|
16
|
+
gem 'travis-lint', '~> 2.0'
|
17
|
+
gem 'fakefs', '~> 0.8', require: 'fakefs/safe'
|
18
|
+
gem 'coveralls', '~> 0.8', require: false
|
19
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011-2018 Simon Oulevay (Alpha Hydrae)
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
# rake-version
|
2
|
+
|
3
|
+
**Simple rake tasks for version management.**
|
4
|
+
|
5
|
+
[](http://badge.fury.io/rb/rake-version2)
|
6
|
+
|
7
|
+
**rake-version** helps you manage your `VERSION` file according to the rules of [semantic versioning](http://semver.org).
|
8
|
+
It does nothing more.
|
9
|
+
It does not create tags; it does not commit; it does not push; it does not release.
|
10
|
+
|
11
|
+
Compatible with Ruby 3.2+. Use [`rake-version` v1](https://github.com/AlphaHydrae/rake-version) for older Ruby versions.
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
Add to your Gemfile and `bundle install`:
|
16
|
+
|
17
|
+
```rb
|
18
|
+
gem "rake-version2", "~> 2.0"
|
19
|
+
```
|
20
|
+
|
21
|
+
Add the tasks to your Rakefile:
|
22
|
+
|
23
|
+
```rb
|
24
|
+
require 'rake-version'
|
25
|
+
RakeVersion::Tasks.new
|
26
|
+
```
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
```bash
|
31
|
+
# show current version
|
32
|
+
rake version #=> 1.0.0
|
33
|
+
|
34
|
+
# bump version
|
35
|
+
rake version:bump:patch #=> 1.0.1
|
36
|
+
rake version:bump:minor #=> 1.1.0
|
37
|
+
rake version:bump:major #=> 2.0.0
|
38
|
+
|
39
|
+
# set version
|
40
|
+
rake "version:set[1.2.3]" #=> 1.2.3
|
41
|
+
```
|
42
|
+
|
43
|
+
### Auto-update other files
|
44
|
+
|
45
|
+
When you add the rake version tasks in your Rakefile, you may specify additional files to update with the new version.
|
46
|
+
|
47
|
+
```rb
|
48
|
+
require 'rake-version'
|
49
|
+
RakeVersion::Tasks.new do |v|
|
50
|
+
v.copy 'lib/my-gem.rb' # update single file
|
51
|
+
v.copy 'lib/a.rb', 'lib/b.rb' # update multiple files
|
52
|
+
v.copy 'lib/*.rb' # update all files matching a glob pattern
|
53
|
+
v.copy /lib/ # update all files whose path matches a regexp
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
By default, **rake-version** will replace the first occurrence of a semantic version pattern (`number.number.number(-prerelease)(+build)`) with the new version.
|
58
|
+
It will not modify the prerelease version or build metadata.
|
59
|
+
For example, when bumping the minor version from 1.0.0, it will change the contents of this file:
|
60
|
+
|
61
|
+
```rb
|
62
|
+
class Thing
|
63
|
+
VERSION = '1.0.0'
|
64
|
+
end
|
65
|
+
```
|
66
|
+
|
67
|
+
To this:
|
68
|
+
|
69
|
+
```rb
|
70
|
+
class Thing
|
71
|
+
VERSION = '1.1.0'
|
72
|
+
end
|
73
|
+
```
|
74
|
+
|
75
|
+
You can customize this behavior as follows:
|
76
|
+
|
77
|
+
```rb
|
78
|
+
RakeVersion::Tasks.new do |v|
|
79
|
+
v.copy 'lib/my-gem.rb', all: true # replace all occurrences
|
80
|
+
end
|
81
|
+
```
|
82
|
+
|
83
|
+
### Semantic versioning
|
84
|
+
|
85
|
+
**rake-version** partially supports [semantic versioning v2.0.0](http://semver.org/spec/v2.0.0.html).
|
86
|
+
You can add prerelease (e.g. `-beta`) and build (e.g. `+20131313`) information to your versions,
|
87
|
+
but there are currently no tasks to update them other than `version:set`.
|
88
|
+
|
89
|
+
## Meta
|
90
|
+
|
91
|
+
* **Author:** Simon Oulevay (Alpha Hydrae)
|
92
|
+
* **License:** MIT (see [LICENSE.txt](https://raw.github.com/AlphaHydrae/rake-version/master/LICENSE.txt))
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.1
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
module RakeVersion
|
3
|
+
|
4
|
+
class Config
|
5
|
+
|
6
|
+
attr_reader :extension
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
super
|
10
|
+
@copiers = []
|
11
|
+
@extension = 'rb'
|
12
|
+
end
|
13
|
+
|
14
|
+
def copy *args
|
15
|
+
args.unshift "src/**/*.#{@extension}" if args.empty?
|
16
|
+
@copiers << Copier.new(*args)
|
17
|
+
self
|
18
|
+
end
|
19
|
+
|
20
|
+
def copiers
|
21
|
+
Array.new @copiers
|
22
|
+
end
|
23
|
+
|
24
|
+
def extension= extension
|
25
|
+
raise "Expected extension to be alphanumerical, got #{extension.inspect}." unless extension.respond_to?(:to_s) and extension.to_s.match(/^[a-z0-9]+$/i)
|
26
|
+
@extension = extension.to_s
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
require 'find'
|
2
|
+
|
3
|
+
module RakeVersion
|
4
|
+
|
5
|
+
class Copier
|
6
|
+
|
7
|
+
def initialize *args
|
8
|
+
options = args.last.kind_of?(Hash) ? args.pop : {}
|
9
|
+
|
10
|
+
@file_patterns = args.collect{ |arg| check_file_pattern arg }
|
11
|
+
@version_pattern = Version::REGEXP
|
12
|
+
@replace_all = !!options[:all]
|
13
|
+
end
|
14
|
+
|
15
|
+
def copy version, context
|
16
|
+
find_all_files(context).each{ |f| copy_version f, version }
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
def check_file_pattern pattern
|
22
|
+
unless [ String, Regexp ].any?{ |klass| pattern.kind_of? klass }
|
23
|
+
raise BadFilePattern, "Expected file pattern to be a glob string or regexp, got #{pattern.class.name}."
|
24
|
+
end
|
25
|
+
pattern
|
26
|
+
end
|
27
|
+
|
28
|
+
def copy_version file, version
|
29
|
+
File.open(file, 'r+') do |f|
|
30
|
+
contents = f.read
|
31
|
+
return unless match? contents
|
32
|
+
f.rewind
|
33
|
+
f.truncate 0
|
34
|
+
f.write process(contents, version)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def match? contents
|
39
|
+
contents.match @version_pattern
|
40
|
+
end
|
41
|
+
|
42
|
+
def process contents, version
|
43
|
+
if @replace_all
|
44
|
+
contents.gsub(@version_pattern, version.to_s)
|
45
|
+
else
|
46
|
+
contents.sub(@version_pattern, version.to_s)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def find_all_files context
|
51
|
+
@file_patterns.collect{ |p| find_files p, context }.flatten
|
52
|
+
end
|
53
|
+
|
54
|
+
def find_files pattern, context
|
55
|
+
if pattern.kind_of? String
|
56
|
+
Dir.chdir context.root
|
57
|
+
Dir.glob(pattern).select{ |f| File.file? f }
|
58
|
+
elsif pattern.kind_of? Regexp
|
59
|
+
files = []
|
60
|
+
Find.find(context.root) do |path|
|
61
|
+
files << path if File.file?(path) and path.match(pattern)
|
62
|
+
end
|
63
|
+
files
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
|
2
|
+
module RakeVersion
|
3
|
+
|
4
|
+
class Manager
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
@copiers = []
|
8
|
+
end
|
9
|
+
|
10
|
+
def version
|
11
|
+
check_context
|
12
|
+
RakeVersion::Version.new.from_s read_version
|
13
|
+
end
|
14
|
+
|
15
|
+
def set version_string
|
16
|
+
check_context
|
17
|
+
copy save(RakeVersion::Version.new.from_s(version_string))
|
18
|
+
end
|
19
|
+
|
20
|
+
def bump type
|
21
|
+
check_context
|
22
|
+
copy save(version.bump(type))
|
23
|
+
end
|
24
|
+
|
25
|
+
def config= config
|
26
|
+
@copiers = config.copiers
|
27
|
+
self
|
28
|
+
end
|
29
|
+
|
30
|
+
def with_context context, &block
|
31
|
+
@context = context
|
32
|
+
yield self if block_given?
|
33
|
+
@context = nil
|
34
|
+
self
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def copy version
|
40
|
+
check_context
|
41
|
+
@copiers.each{ |c| c.copy version, @context }
|
42
|
+
version
|
43
|
+
end
|
44
|
+
|
45
|
+
def check_context
|
46
|
+
raise MissingContext, "A context must be given with :with_context." unless @context
|
47
|
+
end
|
48
|
+
|
49
|
+
def save version
|
50
|
+
RakeVersion.check_version version
|
51
|
+
write_version version
|
52
|
+
end
|
53
|
+
|
54
|
+
def read_version
|
55
|
+
raise MissingVersionFile, "Version file doesn't exist: #{version_file}" unless File.exist?(version_file)
|
56
|
+
File.read version_file
|
57
|
+
end
|
58
|
+
|
59
|
+
def write_version version
|
60
|
+
version.tap{ |v| File.open(version_file, 'w'){ |f| f.write version.to_s } }
|
61
|
+
end
|
62
|
+
|
63
|
+
def version_file
|
64
|
+
File.join @context.root, version_filename
|
65
|
+
end
|
66
|
+
|
67
|
+
def version_filename
|
68
|
+
@version_filename || 'VERSION'
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
|
2
|
+
module RakeVersion
|
3
|
+
|
4
|
+
class Tasks < ::Rake::TaskLib
|
5
|
+
NAMES = [ 'version', 'version:bump:major', 'version:bump:minor', 'version:bump:patch', 'version:set' ]
|
6
|
+
OTHER_NAMES = [ 'version:write' ]
|
7
|
+
|
8
|
+
def initialize options = {}, &block
|
9
|
+
@manager = RakeVersion::Manager.new
|
10
|
+
@config = RakeVersion::Config.new
|
11
|
+
yield @config if block_given?
|
12
|
+
@manager.config = @config
|
13
|
+
define options
|
14
|
+
end
|
15
|
+
|
16
|
+
def define options = {}
|
17
|
+
|
18
|
+
clear_tasks options unless options[:clear] == false
|
19
|
+
|
20
|
+
desc 'Show the current version'
|
21
|
+
task :version do |t|
|
22
|
+
handle_missing_version{ puts @manager.version.to_s }
|
23
|
+
end
|
24
|
+
|
25
|
+
namespace :version do
|
26
|
+
|
27
|
+
desc 'Set the version (rake "version:set[1.2.3]")'
|
28
|
+
task :set, :value do |t, args|
|
29
|
+
puts @manager.set(args.value.to_s)
|
30
|
+
end
|
31
|
+
|
32
|
+
namespace :bump do
|
33
|
+
|
34
|
+
[ :major, :minor, :patch ].each do |type|
|
35
|
+
desc "Bump the #{type} version"
|
36
|
+
task type do |t|
|
37
|
+
handle_missing_version{ puts @manager.bump(type).to_s }
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def task *args, &block
|
45
|
+
super *args do |t, args|
|
46
|
+
@manager.with_context context(t) do |m|
|
47
|
+
yield t, args if block_given?
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
def clear_tasks options = {}
|
53
|
+
task_names = NAMES
|
54
|
+
task_names += OTHER_NAMES unless options[:clear_strict]
|
55
|
+
task_names.each{ |task| remove_task task }
|
56
|
+
end
|
57
|
+
|
58
|
+
private
|
59
|
+
|
60
|
+
def handle_missing_version
|
61
|
+
return yield if Rake.application.options.trace
|
62
|
+
begin
|
63
|
+
yield
|
64
|
+
rescue MissingVersionFile => e
|
65
|
+
warn %|#{e.message}\nCreate it with:\n rake "version:set[1.0.0]"|
|
66
|
+
exit 1
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def remove_task task_name
|
71
|
+
Rake.application.remove_task task_name
|
72
|
+
end
|
73
|
+
|
74
|
+
def context task
|
75
|
+
RakeVersion::Context.new task.application.original_dir
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
|
2
|
+
module RakeVersion
|
3
|
+
|
4
|
+
class Version
|
5
|
+
REGEXP = /(\d+)\.(\d+)\.(\d+)(?:\-([a-z0-9\-]+(?:\.[a-z0-9\-]+)*))?(?:\+([a-z0-9\-]+(?:\.[a-z0-9\-]+)*))?/i
|
6
|
+
|
7
|
+
attr_reader :major
|
8
|
+
attr_reader :minor
|
9
|
+
attr_reader :patch
|
10
|
+
attr_reader :prerelease
|
11
|
+
attr_reader :build
|
12
|
+
|
13
|
+
def initialize
|
14
|
+
@major = 0
|
15
|
+
@minor = 0
|
16
|
+
@patch = 0
|
17
|
+
@prerelease = nil
|
18
|
+
@build = nil
|
19
|
+
end
|
20
|
+
|
21
|
+
def bump type
|
22
|
+
case type
|
23
|
+
when :major
|
24
|
+
@major += 1
|
25
|
+
@minor = 0
|
26
|
+
@patch = 0
|
27
|
+
when :minor
|
28
|
+
@minor += 1
|
29
|
+
@patch = 0
|
30
|
+
when :patch
|
31
|
+
@patch += 1
|
32
|
+
else
|
33
|
+
raise BadBumpType, "Unknown version bump type #{type.inspect}. Expecting :major, :minor or :patch."
|
34
|
+
end
|
35
|
+
self
|
36
|
+
end
|
37
|
+
|
38
|
+
def from_s s
|
39
|
+
s.to_s.match(REGEXP).tap do |m|
|
40
|
+
raise BadVersionString, "Version '#{s}' expected to have format MAJOR.MINOR.PATCH(-PRERELEASE)(+BUILD)." if m.nil?
|
41
|
+
@major = m[1].to_i
|
42
|
+
@minor = m[2].to_i
|
43
|
+
@patch = m[3].to_i
|
44
|
+
@prerelease = m[4]
|
45
|
+
@build = m[5]
|
46
|
+
end
|
47
|
+
self
|
48
|
+
end
|
49
|
+
|
50
|
+
def to_s
|
51
|
+
String.new.tap do |s|
|
52
|
+
s << "#{@major}.#{@minor}.#{@patch}"
|
53
|
+
s << "-#{@prerelease}" if @prerelease
|
54
|
+
s << "+#{@build}" if @build
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
data/lib/rake-version.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
require 'rake/tasklib'
|
3
|
+
|
4
|
+
module RakeVersion
|
5
|
+
VERSION = '2.0.1'
|
6
|
+
|
7
|
+
class Error < StandardError; end
|
8
|
+
class BadVersionString < Error; end
|
9
|
+
class MissingContext < Error; end
|
10
|
+
class MissingVersionFile < Error; end
|
11
|
+
class BadArgument < Error; end
|
12
|
+
class BadContext < BadArgument; end
|
13
|
+
class BadVersion < BadArgument; end
|
14
|
+
class BadBumpType < BadArgument; end
|
15
|
+
class BadFilePattern < BadArgument; end
|
16
|
+
class BadVersionPattern < BadArgument; end
|
17
|
+
|
18
|
+
def self.check_version o
|
19
|
+
self.check_type o, RakeVersion::Version, BadVersion
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.check_type o, expected_type, error_class = Error, name = nil
|
23
|
+
name ||= expected_type.to_s.sub(/.*::/, '')
|
24
|
+
name = name.downcase
|
25
|
+
raise error_class, "Expected #{name} to be a #{expected_type}." unless o.kind_of? expected_type
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
Dir[File.join File.dirname(__FILE__), File.basename(__FILE__, '.*'), '*.rb'].each{ |lib| require lib }
|
metadata
ADDED
@@ -0,0 +1,181 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rake-version2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- AlphaHydrae
|
8
|
+
- capripot
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '11.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '11.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.4'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-its
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jeweler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.14'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.14'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: travis-lint
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: fakefs
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.8'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.8'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: coveralls
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.8'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.8'
|
139
|
+
description: Rake tasks to manage your VERSION file. No repository management (tags,
|
140
|
+
committing, pushing), no release management.
|
141
|
+
email: capripot@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files:
|
145
|
+
- LICENSE.txt
|
146
|
+
- README.md
|
147
|
+
files:
|
148
|
+
- Gemfile
|
149
|
+
- LICENSE.txt
|
150
|
+
- README.md
|
151
|
+
- VERSION
|
152
|
+
- lib/rake-version.rb
|
153
|
+
- lib/rake-version/config.rb
|
154
|
+
- lib/rake-version/context.rb
|
155
|
+
- lib/rake-version/copier.rb
|
156
|
+
- lib/rake-version/ext.rb
|
157
|
+
- lib/rake-version/manager.rb
|
158
|
+
- lib/rake-version/tasks.rb
|
159
|
+
- lib/rake-version/version.rb
|
160
|
+
homepage: https://github.com/capripot/rake-version2
|
161
|
+
licenses:
|
162
|
+
- MIT
|
163
|
+
metadata: {}
|
164
|
+
rdoc_options: []
|
165
|
+
require_paths:
|
166
|
+
- lib
|
167
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
177
|
+
requirements: []
|
178
|
+
rubygems_version: 3.6.9
|
179
|
+
specification_version: 4
|
180
|
+
summary: Simple rake tasks for version management.
|
181
|
+
test_files: []
|