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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b3242a986b7518363aa51e7ce4e69ac5a0bfc16
4
- data.tar.gz: 5a650c4939439f11a1da7e804c5a671016b1f88e
3
+ metadata.gz: 99c974595b112fea65f60044e91909cac772e974
4
+ data.tar.gz: 94a9c735852addc68db0b00c4d5e92c10242bf47
5
5
  SHA512:
6
- metadata.gz: 16d7f23c235f4e8351d7c3ae3958efe1b8af19436bb0be705da165a7d258a09a4e177432958d1d591b5fabb9ecfe08b217cb2fb9af26617dd6548592c853161e
7
- data.tar.gz: 38adfc8012d670761b9687ef40047e8474e8b1257628eed5291fdf492e7d406802c1d27bf6fe3992793c64fdbf522dbb49bd893a5933993756fa3a0437ee1be8
6
+ metadata.gz: e6100f5be5c8e15102f6986f0e37ec542f2e5b23f35575f04e2a7223dcc171121e89c6f02d92334d9f23d51ff8fd0ea1359763e794d16908a5318441394d8006
7
+ data.tar.gz: 8eaa8133b4b8f133ee0c10d5945c95006f114bb436cf9c5137a7f44bcb6a650cb2ea7e6b8cffaf5fa40557664dbf9764303a3688be4503289db759e981bcdce5
@@ -1,3 +1,3 @@
1
1
  module AppVersionTasks
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -1,32 +1,32 @@
1
1
 
2
2
  namespace :version do
3
3
  desc 'report the current version'
4
- task current: :environment do
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: :environment do
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: :environment do
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: :environment do
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: :environment do
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.1.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-09-27 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git