rake_leiningen 0.26.0 → 0.27.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 +21 -18
- data/Rakefile +1 -4
- data/lib/rake_leiningen/task_sets/checks.rb +1 -0
- data/lib/rake_leiningen/tasks.rb +1 -0
- data/lib/rake_leiningen/tasks/style.rb +36 -0
- data/lib/rake_leiningen/version.rb +1 -1
- data/rake_leiningen.gemspec +1 -1
- data/scripts/ci/steps/prerelease.sh +5 -0
- data/scripts/ci/steps/release.sh +5 -0
- 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: 2b139d2e8ec3d955cf95e3a2ca347029125f038514ef658efd726f5a07aecdc8
|
4
|
+
data.tar.gz: f0bf665eaf3881003c2171d40ce3dbd7156c5bda0e6c230bee517dd5ba6088e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a15d0012f67cb99fe7231b6ed115ce55c75d949b24c4ce8730ba49a96463e33a900ef04492b131918921ef3ed01384005cb0600e2b0671ca1eabdcab155a6183
|
7
|
+
data.tar.gz: 057502d5f0d1f85a0365012c8b1ed1f0f251765eacb932e4d7a4b0ae8f1e84c29c3815a21d5496f4ad0d49b578f8942251b586afd27aebe459cee001f78434c5
|
data/Gemfile.lock
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_leiningen (0.
|
4
|
+
rake_leiningen (0.27.0.pre.1)
|
5
5
|
rake_dependencies (~> 2, < 3)
|
6
6
|
rake_factory (>= 0.23, < 1)
|
7
|
-
ruby_leiningen (>= 0.
|
7
|
+
ruby_leiningen (>= 0.21)
|
8
8
|
semantic (~> 1.6.1)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (6.0
|
13
|
+
activesupport (6.1.0)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
-
i18n (>=
|
16
|
-
minitest (
|
17
|
-
tzinfo (~>
|
18
|
-
zeitwerk (~> 2.
|
15
|
+
i18n (>= 1.6, < 2)
|
16
|
+
minitest (>= 5.1)
|
17
|
+
tzinfo (~> 2.0)
|
18
|
+
zeitwerk (~> 2.3)
|
19
19
|
addressable (2.7.0)
|
20
20
|
public_suffix (>= 2.0.2, < 5.0)
|
21
21
|
colored2 (3.1.2)
|
22
22
|
concurrent-ruby (1.1.7)
|
23
23
|
diff-lcs (1.4.4)
|
24
|
-
docile (1.3.
|
25
|
-
excon (0.78.
|
26
|
-
fakefs (1.
|
24
|
+
docile (1.3.3)
|
25
|
+
excon (0.78.1)
|
26
|
+
fakefs (1.3.0)
|
27
27
|
faraday (1.1.0)
|
28
28
|
multipart-post (>= 1.2, < 3)
|
29
29
|
ruby2_keywords
|
@@ -43,7 +43,7 @@ GEM
|
|
43
43
|
sawyer (~> 0.8.0, >= 0.5.3)
|
44
44
|
open4 (1.3.4)
|
45
45
|
public_suffix (4.0.6)
|
46
|
-
rake (13.0.
|
46
|
+
rake (13.0.3)
|
47
47
|
rake_circle_ci (0.7.0)
|
48
48
|
colored2 (~> 3.1)
|
49
49
|
excon (~> 0.72)
|
@@ -80,7 +80,7 @@ GEM
|
|
80
80
|
rspec-support (~> 3.10.0)
|
81
81
|
rspec-support (3.10.0)
|
82
82
|
ruby2_keywords (0.0.2)
|
83
|
-
ruby_leiningen (0.
|
83
|
+
ruby_leiningen (0.21.0)
|
84
84
|
activesupport (~> 6.0, >= 6.0.2)
|
85
85
|
lino (>= 1.5)
|
86
86
|
rubyzip (2.3.0)
|
@@ -88,18 +88,21 @@ GEM
|
|
88
88
|
addressable (>= 2.3.5)
|
89
89
|
faraday (> 0.8, < 2.0)
|
90
90
|
semantic (1.6.1)
|
91
|
-
simplecov (0.
|
91
|
+
simplecov (0.20.0)
|
92
92
|
docile (~> 1.1)
|
93
93
|
simplecov-html (~> 0.11)
|
94
|
+
simplecov_json_formatter (~> 0.1)
|
94
95
|
simplecov-html (0.12.3)
|
96
|
+
simplecov_json_formatter (0.1.2)
|
95
97
|
sshkey (2.0.0)
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
zeitwerk (2.4.1)
|
98
|
+
tzinfo (2.0.4)
|
99
|
+
concurrent-ruby (~> 1.0)
|
100
|
+
zeitwerk (2.4.2)
|
100
101
|
|
101
102
|
PLATFORMS
|
102
103
|
ruby
|
104
|
+
x86_64-darwin-19
|
105
|
+
x86_64-linux
|
103
106
|
|
104
107
|
DEPENDENCIES
|
105
108
|
activesupport (>= 5.2)
|
@@ -115,4 +118,4 @@ DEPENDENCIES
|
|
115
118
|
simplecov (~> 0.16)
|
116
119
|
|
117
120
|
BUNDLED WITH
|
118
|
-
2.
|
121
|
+
2.2.3
|
data/Rakefile
CHANGED
@@ -72,8 +72,5 @@ task :release do
|
|
72
72
|
end
|
73
73
|
|
74
74
|
def bump_version_for(version_type)
|
75
|
-
sh "gem bump --version #{version_type}
|
76
|
-
"&& bundle install " +
|
77
|
-
"&& export LAST_MESSAGE=\"$(git log -1 --pretty=%B)\" " +
|
78
|
-
"&& git commit -a --amend -m \"${LAST_MESSAGE} [ci skip]\""
|
75
|
+
sh "gem bump --version #{version_type}"
|
79
76
|
end
|
data/lib/rake_leiningen/tasks.rb
CHANGED
@@ -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 Style < RakeFactory::Task
|
10
|
+
include Mixins::Directoried
|
11
|
+
|
12
|
+
default_name :style
|
13
|
+
default_description "Make all clojure files conform to a style."
|
14
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
15
|
+
t.ensure_task_name ? [t.ensure_task_name] : []
|
16
|
+
}
|
17
|
+
|
18
|
+
parameter :mode
|
19
|
+
parameter :paths
|
20
|
+
|
21
|
+
parameter :directory, default: '.'
|
22
|
+
|
23
|
+
parameter :ensure_task_name, default: 'leiningen:ensure'
|
24
|
+
|
25
|
+
action do |t|
|
26
|
+
puts "Styling all clojure files..."
|
27
|
+
|
28
|
+
in_directory(t.directory) do
|
29
|
+
RubyLeiningen.cljstyle(
|
30
|
+
mode: t.mode,
|
31
|
+
paths: t.paths)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
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.21'
|
30
30
|
spec.add_dependency 'semantic', '~> 1.6.1'
|
31
31
|
|
32
32
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
@@ -10,6 +10,11 @@ PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
|
|
10
10
|
cd "$PROJECT_DIR"
|
11
11
|
|
12
12
|
./go version:bump[pre]
|
13
|
+
|
14
|
+
bundle install
|
15
|
+
LAST_MESSAGE="$(git log -1 --pretty=%B)"
|
16
|
+
git commit -a --amend -m "${LAST_MESSAGE} [ci skip]"
|
17
|
+
|
13
18
|
./go release
|
14
19
|
|
15
20
|
git status
|
data/scripts/ci/steps/release.sh
CHANGED
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.27.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-
|
11
|
+
date: 2020-12-23 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.21'
|
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.21'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: semantic
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -269,6 +269,7 @@ files:
|
|
269
269
|
- lib/rake_leiningen/tasks/pedantise.rb
|
270
270
|
- lib/rake_leiningen/tasks/release.rb
|
271
271
|
- lib/rake_leiningen/tasks/start.rb
|
272
|
+
- lib/rake_leiningen/tasks/style.rb
|
272
273
|
- lib/rake_leiningen/tasks/test.rb
|
273
274
|
- lib/rake_leiningen/version.rb
|
274
275
|
- rake_leiningen.gemspec
|
@@ -294,9 +295,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
294
295
|
version: 2.6.0
|
295
296
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
296
297
|
requirements:
|
297
|
-
- - "
|
298
|
+
- - ">"
|
298
299
|
- !ruby/object:Gem::Version
|
299
|
-
version:
|
300
|
+
version: 1.3.1
|
300
301
|
requirements: []
|
301
302
|
rubygems_version: 3.0.1
|
302
303
|
signing_key:
|