tcravit_ruby_lib 0.2.9 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tcravit_ruby_lib/tasks/release_tasks.rake +37 -0
- data/lib/tcravit_ruby_lib/version.rb +1 -1
- data/tcravit_ruby_lib.gemspec +1 -0
- metadata +16 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0fabf1c25eb2be9aa8c08fde2ccd9aac2b026ac542576613c697e4566b8dc1e
|
4
|
+
data.tar.gz: 525ecd463800188b18e4d90c5e10eacfea87972fdd3db1151390dbf09c2c51df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b37d0fe1ad31a56313804d69ad2d09a50a4b8b01e08f349f4b38401f071fd7205d9711475e540419a58992cac65e6df3ce7f841bcaf7acb45b08f7c782d8a006
|
7
|
+
data.tar.gz: a15d0a2bf2127f2fbf3918e4f4e5114f8cd96b3555868ff16d334683525f7357e204f82837821bf43734bceaec11f1eb58d872b4f3d1f51ab4a62faf4c6fb071
|
@@ -0,0 +1,37 @@
|
|
1
|
+
############################################################################
|
2
|
+
# Rake tasks for versioning a Gem
|
3
|
+
#
|
4
|
+
# Version 1.0, 2018-02-01, tammycravit@me.com
|
5
|
+
############################################################################
|
6
|
+
# Copyright 2018, Tammy Cravit.
|
7
|
+
#
|
8
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
# you may not use this file except in compliance with the License.
|
10
|
+
# You may obtain a copy of the License at
|
11
|
+
#
|
12
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
#
|
14
|
+
# Unless required by applicable law or agreed to in writing, software
|
15
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
+
# See the License for the specific language governing permissions and
|
18
|
+
# limitations under the License.
|
19
|
+
############################################################################
|
20
|
+
|
21
|
+
require 'rake'
|
22
|
+
require 'git'
|
23
|
+
|
24
|
+
namespace :release do
|
25
|
+
desc "Prepare for release by incrementing the build number and checking in version.rb"
|
26
|
+
task :prepare do
|
27
|
+
begin
|
28
|
+
Rake::Task["version:bump:build"].invoke
|
29
|
+
g = Git.open(Rake.original_dir)
|
30
|
+
g.add(File.join(Rake.original_dir, "lib", File.basename(Rake.original_dir), "version.rb"))
|
31
|
+
g.commit("Bump version (via release:prepare rake task)")
|
32
|
+
puts "Committed version.rb to git"
|
33
|
+
rescue
|
34
|
+
puts "Rake task release:prepare failed!"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/tcravit_ruby_lib.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tcravit_ruby_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tammy Cravit
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: git
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rspec
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,6 +116,7 @@ files:
|
|
102
116
|
- lib/tcravit_ruby_lib/on_execute.rb
|
103
117
|
- lib/tcravit_ruby_lib/rake_tasks.rb
|
104
118
|
- lib/tcravit_ruby_lib/tasks/bump_ver.rake
|
119
|
+
- lib/tcravit_ruby_lib/tasks/release_tasks.rake
|
105
120
|
- lib/tcravit_ruby_lib/utility.rb
|
106
121
|
- lib/tcravit_ruby_lib/version.rb
|
107
122
|
- spec/app_banner_spec.rb
|