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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 738b02c01ab2fb2bef3e8d5476cda01b21a9f895d31f4134fd9948eb81d4cfc3
4
- data.tar.gz: 4741c54056ab3ec2e1e510c6a237251d28a9bb11ad4677206bd799459216eb46
3
+ metadata.gz: b0fabf1c25eb2be9aa8c08fde2ccd9aac2b026ac542576613c697e4566b8dc1e
4
+ data.tar.gz: 525ecd463800188b18e4d90c5e10eacfea87972fdd3db1151390dbf09c2c51df
5
5
  SHA512:
6
- metadata.gz: c904c38d3f6288af26b76a3d18d913fcb5111e590b0a699ef1fe848c6fe09784860d763b0dbd44c9f73d701b2b66e1242aace05dcc8394c202caad430c3bcc7d
7
- data.tar.gz: 22913a4c2f7332b4cef43553185015279ab402c2bdfd5bce73ebf273ed7aa089e3e2f0f2abf42e3de7937a4b3d02f6d75af49c6e887cc2162f9adf3b011fb358
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
@@ -1,4 +1,4 @@
1
1
  module TcravitRubyLib
2
- VERSION_DATA = [0, 2, 9]
2
+ VERSION_DATA = [0, 2, 12]
3
3
  VERSION = VERSION_DATA.join(".")
4
4
  end
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  s.add_dependency 'simple-password-gen', '~> 0.1'
22
+ s.add_dependency 'git'
22
23
 
23
24
  s.add_development_dependency 'rspec', '~> 3.7'
24
25
  s.add_development_dependency 'rake', '~> 12.3'
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.9
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