app_version_tasks 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app_version_tasks/version.rb +1 -1
- data/lib/tasks/app_version_tasks.rake +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99c974595b112fea65f60044e91909cac772e974
|
4
|
+
data.tar.gz: 94a9c735852addc68db0b00c4d5e92c10242bf47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6100f5be5c8e15102f6986f0e37ec542f2e5b23f35575f04e2a7223dcc171121e89c6f02d92334d9f23d51ff8fd0ea1359763e794d16908a5318441394d8006
|
7
|
+
data.tar.gz: 8eaa8133b4b8f133ee0c10d5945c95006f114bb436cf9c5137a7f44bcb6a650cb2ea7e6b8cffaf5fa40557664dbf9764303a3688be4503289db759e981bcdce5
|
@@ -1,32 +1,32 @@
|
|
1
1
|
|
2
2
|
namespace :version do
|
3
3
|
desc 'report the current version'
|
4
|
-
task current:
|
4
|
+
task current: do
|
5
5
|
ver = AppVersionTasks::SemanticVersion.new
|
6
6
|
puts ver.version
|
7
7
|
end
|
8
8
|
|
9
9
|
desc 'add and push a release tag for the current version'
|
10
|
-
task release:
|
10
|
+
task release: do
|
11
11
|
ver = AppVersionTasks::SemanticVersion.new
|
12
12
|
puts ver.release
|
13
13
|
end
|
14
14
|
|
15
15
|
namespace :bump do
|
16
16
|
desc 'bump and push the major version (x.0.0)'
|
17
|
-
task major:
|
17
|
+
task major: do
|
18
18
|
ver = AppVersionTasks::SemanticVersion.new
|
19
19
|
puts ver.bump(:major)
|
20
20
|
end
|
21
21
|
|
22
22
|
desc 'bump and push the minor version (0.x.0)'
|
23
|
-
task minor:
|
23
|
+
task minor: do
|
24
24
|
ver = AppVersionTasks::SemanticVersion.new
|
25
25
|
puts ver.bump(:minor)
|
26
26
|
end
|
27
27
|
|
28
28
|
desc 'bump and push the patch version (0.0.x)'
|
29
|
-
task patch:
|
29
|
+
task patch: do
|
30
30
|
ver = AppVersionTasks::SemanticVersion.new
|
31
31
|
puts ver.bump(:patch)
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_version_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darren L. Weber, Ph.D.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|