rake_leiningen 0.18.0 → 0.19.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/lib/rake_leiningen/tasks/release.rb +36 -0
- data/lib/rake_leiningen/tasks.rb +1 -0
- data/lib/rake_leiningen/version.rb +1 -1
- data/lib/rake_leiningen.rb +4 -0
- data/rake_leiningen.gemspec +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2693cee5fc9fb0cb8d25c8d21196247b0fcd9c2eb8bb6c4841ee51c17d084fbe
|
4
|
+
data.tar.gz: 39187c63a959b45887e88574b9ccabeee2b0505fc5da17eb1003ae3a9d63ecbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77cfebbd1f68b41618f56f0816114f30fbc038e8ed96c4004ede6a5f0dceb4b211aa7b1299840866d06919f31301c87fc3203a86d27ae9aee6234e74ced85473
|
7
|
+
data.tar.gz: d29ee85924b093b6871382d5ca9ed0063f5878d7722d2a2fddf166b3f02b225a1d950ad5a16215d5975cf6c6bae75b120bf880f12840bc70aa07becb2b371d5e
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_leiningen (0.
|
4
|
+
rake_leiningen (0.19.0.pre.1)
|
5
5
|
rake_dependencies (~> 2, < 3)
|
6
6
|
rake_factory (>= 0.23, < 1)
|
7
|
-
ruby_leiningen (~> 0.
|
7
|
+
ruby_leiningen (~> 0.11)
|
8
8
|
semantic (~> 1.6.1)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (6.0.2.
|
13
|
+
activesupport (6.0.2.2)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 0.7, < 2)
|
16
16
|
minitest (~> 5.1)
|
@@ -22,8 +22,8 @@ GEM
|
|
22
22
|
concurrent-ruby (1.1.6)
|
23
23
|
diff-lcs (1.3)
|
24
24
|
docile (1.3.2)
|
25
|
-
excon (0.
|
26
|
-
fakefs (1.
|
25
|
+
excon (0.73.0)
|
26
|
+
fakefs (1.1.0)
|
27
27
|
faraday (1.0.0)
|
28
28
|
multipart-post (>= 1.2, < 3)
|
29
29
|
gem-release (2.1.1)
|
@@ -56,12 +56,12 @@ GEM
|
|
56
56
|
rake_factory (0.27.0)
|
57
57
|
activesupport (>= 4)
|
58
58
|
rake (~> 13.0)
|
59
|
-
rake_github (0.
|
59
|
+
rake_github (0.5.0)
|
60
60
|
colored2 (~> 3.1)
|
61
61
|
octokit (~> 4.16)
|
62
62
|
rake_factory (~> 0.23)
|
63
63
|
sshkey (~> 2.0)
|
64
|
-
rake_ssh (0.
|
64
|
+
rake_ssh (0.4.0)
|
65
65
|
colored2 (~> 3.1)
|
66
66
|
rake_factory (~> 0.23)
|
67
67
|
sshkey (~> 2.0)
|
@@ -78,7 +78,7 @@ GEM
|
|
78
78
|
diff-lcs (>= 1.2.0, < 2.0)
|
79
79
|
rspec-support (~> 3.9.0)
|
80
80
|
rspec-support (3.9.2)
|
81
|
-
ruby_leiningen (0.
|
81
|
+
ruby_leiningen (0.11.0)
|
82
82
|
activesupport (~> 6.0, >= 6.0.2)
|
83
83
|
lino (~> 1.1)
|
84
84
|
rubyzip (2.3.0)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'rake_factory'
|
2
|
+
require 'ruby_leiningen'
|
3
|
+
require 'ruby_leiningen/plugins'
|
4
|
+
|
5
|
+
require_relative '../mixins/directoried'
|
6
|
+
|
7
|
+
module RakeLeiningen
|
8
|
+
module Tasks
|
9
|
+
class Release < RakeFactory::Task
|
10
|
+
include Mixins::Directoried
|
11
|
+
|
12
|
+
default_name :release
|
13
|
+
default_description "Release library."
|
14
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
15
|
+
t.ensure_task_name ? [t.ensure_task_name] : []
|
16
|
+
}
|
17
|
+
|
18
|
+
parameter :level
|
19
|
+
parameter :profile
|
20
|
+
|
21
|
+
parameter :directory, default: '.'
|
22
|
+
|
23
|
+
parameter :ensure_task_name, default: 'leiningen:ensure'
|
24
|
+
|
25
|
+
action do |t|
|
26
|
+
puts "Releasing library..."
|
27
|
+
|
28
|
+
in_directory(t.directory) do
|
29
|
+
RubyLeiningen.release(
|
30
|
+
level: t.level,
|
31
|
+
profile: t.profile)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/lib/rake_leiningen/tasks.rb
CHANGED
data/lib/rake_leiningen.rb
CHANGED
@@ -12,6 +12,10 @@ module RakeLeiningen
|
|
12
12
|
RakeLeiningen::Tasks::Build.define(opts, &block)
|
13
13
|
end
|
14
14
|
|
15
|
+
def self.define_release_task(opts = {}, &block)
|
16
|
+
RakeLeiningen::Tasks::Release.define(opts, &block)
|
17
|
+
end
|
18
|
+
|
15
19
|
def self.define_start_task(opts = {}, &block)
|
16
20
|
RakeLeiningen::Tasks::Start.define(opts, &block)
|
17
21
|
end
|
data/rake_leiningen.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.add_dependency 'rake_dependencies', '~> 2', '< 3'
|
28
28
|
spec.add_dependency 'rake_factory', '>= 0.23', '< 1'
|
29
|
-
spec.add_dependency 'ruby_leiningen', '~> 0.
|
29
|
+
spec.add_dependency 'ruby_leiningen', '~> 0.11'
|
30
30
|
spec.add_dependency 'semantic', '~> 1.6.1'
|
31
31
|
|
32
32
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_leiningen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake_dependencies
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0.
|
59
|
+
version: '0.11'
|
60
60
|
type: :runtime
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0.
|
66
|
+
version: '0.11'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: semantic
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -267,6 +267,7 @@ files:
|
|
267
267
|
- lib/rake_leiningen/tasks/lint.rb
|
268
268
|
- lib/rake_leiningen/tasks/optimise.rb
|
269
269
|
- lib/rake_leiningen/tasks/pedantise.rb
|
270
|
+
- lib/rake_leiningen/tasks/release.rb
|
270
271
|
- lib/rake_leiningen/tasks/start.rb
|
271
272
|
- lib/rake_leiningen/tasks/test.rb
|
272
273
|
- lib/rake_leiningen/version.rb
|
@@ -293,9 +294,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
293
294
|
version: 2.6.0
|
294
295
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
295
296
|
requirements:
|
296
|
-
- - "
|
297
|
+
- - ">"
|
297
298
|
- !ruby/object:Gem::Version
|
298
|
-
version:
|
299
|
+
version: 1.3.1
|
299
300
|
requirements: []
|
300
301
|
rubygems_version: 3.0.1
|
301
302
|
signing_key:
|