gem4rake 1.2 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NOTICE +1 -1
- data/lib/gem4rake.rb +5 -4
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90008f55a819a6ae6ec986dfd97b94ecdf80f85071168875c0169808553c6945
|
4
|
+
data.tar.gz: 6748bd59dd466565e54d90b657163949990a1b602ab2a3161086b22435fa83d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 467411d02a7202017ef4c0c6daea5d2dff61d015a411aba291d7a65d08b0298677dff4aec4fd1c18a20200a0cf5a56ce57c884087196417e20f278344c9ff26c
|
7
|
+
data.tar.gz: 5c44cf1059904ea7014c8f7cdad5af47eef3e0500bac1f7c1fba77de55119f6da66626db014b93fca252500b08fcad9b526effb33b3da09a7d6ad845fd34ba25
|
data/NOTICE
CHANGED
data/lib/gem4rake.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'rake/tasklib'
|
2
4
|
|
3
5
|
# Rake tasks to assist developing Ruby Gems.
|
@@ -24,7 +26,7 @@ require 'rake/tasklib'
|
|
24
26
|
#
|
25
27
|
# = Notes:
|
26
28
|
#
|
27
|
-
# If you got permission denied errors, you may need: `echo gem: --user-install
|
29
|
+
# If you got permission denied errors, you may need: `echo gem: --user-install > ~/.gemrc`
|
28
30
|
#
|
29
31
|
class Gem4Rake < ::Rake::TaskLib
|
30
32
|
# Initialize Rake tasks to assist developing Ruby Gems.
|
@@ -32,7 +34,7 @@ class Gem4Rake < ::Rake::TaskLib
|
|
32
34
|
@name = File.basename(Dir.getwd) # Get Gem's name from CWD basename.
|
33
35
|
|
34
36
|
desc "Install #{@name}-#{version}.gem"
|
35
|
-
task :
|
37
|
+
task install: :build do
|
36
38
|
sh "gem install #{@name}-#{version}.gem"
|
37
39
|
end
|
38
40
|
|
@@ -47,7 +49,7 @@ class Gem4Rake < ::Rake::TaskLib
|
|
47
49
|
end
|
48
50
|
|
49
51
|
desc "Push #{@name}-#{version}.gem"
|
50
|
-
task :
|
52
|
+
task push: :build do
|
51
53
|
sh "gem push #{@name}-#{version}.gem"
|
52
54
|
end
|
53
55
|
|
@@ -61,5 +63,4 @@ class Gem4Rake < ::Rake::TaskLib
|
|
61
63
|
rm Dir.glob("#{@name}-*.gem")
|
62
64
|
end
|
63
65
|
end
|
64
|
-
|
65
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem4rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vasily Korytov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '14'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,10 +29,10 @@ dependencies:
|
|
29
29
|
version: '10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '14'
|
33
33
|
description: Tasks for developing Ruby Gems. Gem and .spec names must match directory
|
34
34
|
basename
|
35
|
-
email:
|
35
|
+
email: v.korytov@outlook.com
|
36
36
|
executables: []
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
@@ -51,15 +51,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '2.3'
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
|
-
|
62
|
-
rubygems_version: 2.7.6
|
61
|
+
rubygems_version: 3.0.3
|
63
62
|
signing_key:
|
64
63
|
specification_version: 4
|
65
64
|
summary: Rake tasks to assist developing Ruby Gems
|