gem4rake 1.2 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/NOTICE +1 -1
  3. data/lib/gem4rake.rb +5 -4
  4. metadata +7 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22f464d2a3e182831218b8aa967a78973a6bc8ca40d098c45e2ce0100923f835
4
- data.tar.gz: '086a7222e41050cac087428c700c6bb6ef072308ceea45d8d37ec4b683ac5929'
3
+ metadata.gz: 90008f55a819a6ae6ec986dfd97b94ecdf80f85071168875c0169808553c6945
4
+ data.tar.gz: 6748bd59dd466565e54d90b657163949990a1b602ab2a3161086b22435fa83d1
5
5
  SHA512:
6
- metadata.gz: 2e32d63f648eec88b89fac06c8038a8e9ff98251b68ec7a506808d1055464afaad5556ab380bc05b64655432cb17ee64d4bd3888406c8b630d94e42c4727fb03
7
- data.tar.gz: a81838b2b595a8ceef46e1d1448e4987b5719e61ca94c0a748fd3003ded8107012238eadf8595869f332d16add896a8e69e04e664eba0cf7e0450038a3f5576d
6
+ metadata.gz: 467411d02a7202017ef4c0c6daea5d2dff61d015a411aba291d7a65d08b0298677dff4aec4fd1c18a20200a0cf5a56ce57c884087196417e20f278344c9ff26c
7
+ data.tar.gz: 5c44cf1059904ea7014c8f7cdad5af47eef3e0500bac1f7c1fba77de55119f6da66626db014b93fca252500b08fcad9b526effb33b3da09a7d6ad845fd34ba25
data/NOTICE CHANGED
@@ -1,6 +1,6 @@
1
1
  gem4rake: https://github.com/chillum/gem4rake
2
2
 
3
- Copyright 2015-2017 Vasily Korytov
3
+ Copyright 2015-2019 Vasily Korytov
4
4
 
5
5
  Licensed under the Apache License, Version 2.0 (the "License");
6
6
  you may not use this software except in compliance with the License.
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 >~/.gemrc`
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 :install => :build do
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 :push => :build do
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.2'
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: 2018-08-08 00:00:00.000000000 Z
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: '13'
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: '13'
32
+ version: '14'
33
33
  description: Tasks for developing Ruby Gems. Gem and .spec names must match directory
34
34
  basename
35
- email: vasily.korytov@icloud.com
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: 1.9.2
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
- rubyforge_project:
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