rake_leiningen 0.23.0.pre.2 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +45 -40
- 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 +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78f000a8b256cf873777e1844d9fb266b24010dd12b0791162f3169235e6ea0a
|
4
|
+
data.tar.gz: 4e39ff8652240684aa0364e9a0e146a6515c91b92d80c17922dfaf40d4b1248e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15c64e0a3c67360e8d0e123e25aea9e3c9f4110b5390c7d4fc9eff414e36bee1f8d400fafab3a1131be9b9f3f3e380aee66682ab145545177659ab0cfd8d0254
|
7
|
+
data.tar.gz: 01b02203cc2c448e19f63d7718fb14f054452203428595d85c96eee3777cf46da1518aa1564742e2094a9c63b3721416b71c2ad15dfe812332b682d6d2b01225
|
data/Gemfile.lock
CHANGED
@@ -1,48 +1,49 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_leiningen (0.
|
4
|
+
rake_leiningen (0.28.0)
|
5
5
|
rake_dependencies (~> 2, < 3)
|
6
6
|
rake_factory (>= 0.23, < 1)
|
7
|
-
ruby_leiningen (
|
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
|
-
concurrent-ruby (1.1.
|
23
|
-
diff-lcs (1.
|
24
|
-
docile (1.3.
|
25
|
-
excon (0.
|
26
|
-
fakefs (1.
|
27
|
-
faraday (1.0
|
22
|
+
concurrent-ruby (1.1.7)
|
23
|
+
diff-lcs (1.4.4)
|
24
|
+
docile (1.3.3)
|
25
|
+
excon (0.78.1)
|
26
|
+
fakefs (1.3.0)
|
27
|
+
faraday (1.1.0)
|
28
28
|
multipart-post (>= 1.2, < 3)
|
29
|
-
|
29
|
+
ruby2_keywords
|
30
|
+
gem-release (2.2.0)
|
30
31
|
hamster (3.0.0)
|
31
32
|
concurrent-ruby (~> 1.0)
|
32
|
-
i18n (1.8.
|
33
|
+
i18n (1.8.5)
|
33
34
|
concurrent-ruby (~> 1.0)
|
34
|
-
lino (1.
|
35
|
+
lino (1.5.0)
|
35
36
|
hamster (~> 3.0)
|
36
37
|
open4 (~> 1.3)
|
37
38
|
minitar (0.9)
|
38
|
-
minitest (5.14.
|
39
|
+
minitest (5.14.2)
|
39
40
|
multipart-post (2.1.1)
|
40
|
-
octokit (4.
|
41
|
+
octokit (4.19.0)
|
41
42
|
faraday (>= 0.9)
|
42
43
|
sawyer (~> 0.8.0, >= 0.5.3)
|
43
44
|
open4 (1.3.4)
|
44
|
-
public_suffix (4.0.
|
45
|
-
rake (13.0.
|
45
|
+
public_suffix (4.0.6)
|
46
|
+
rake (13.0.3)
|
46
47
|
rake_circle_ci (0.7.0)
|
47
48
|
colored2 (~> 3.1)
|
48
49
|
excon (~> 0.72)
|
@@ -65,39 +66,43 @@ GEM
|
|
65
66
|
colored2 (~> 3.1)
|
66
67
|
rake_factory (~> 0.23)
|
67
68
|
sshkey (~> 2.0)
|
68
|
-
rspec (3.
|
69
|
-
rspec-core (~> 3.
|
70
|
-
rspec-expectations (~> 3.
|
71
|
-
rspec-mocks (~> 3.
|
72
|
-
rspec-core (3.
|
73
|
-
rspec-support (~> 3.
|
74
|
-
rspec-expectations (3.
|
69
|
+
rspec (3.10.0)
|
70
|
+
rspec-core (~> 3.10.0)
|
71
|
+
rspec-expectations (~> 3.10.0)
|
72
|
+
rspec-mocks (~> 3.10.0)
|
73
|
+
rspec-core (3.10.0)
|
74
|
+
rspec-support (~> 3.10.0)
|
75
|
+
rspec-expectations (3.10.0)
|
75
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
-
rspec-support (~> 3.
|
77
|
-
rspec-mocks (3.
|
77
|
+
rspec-support (~> 3.10.0)
|
78
|
+
rspec-mocks (3.10.0)
|
78
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
79
|
-
rspec-support (~> 3.
|
80
|
-
rspec-support (3.
|
81
|
-
|
80
|
+
rspec-support (~> 3.10.0)
|
81
|
+
rspec-support (3.10.0)
|
82
|
+
ruby2_keywords (0.0.2)
|
83
|
+
ruby_leiningen (0.21.0)
|
82
84
|
activesupport (~> 6.0, >= 6.0.2)
|
83
|
-
lino (
|
85
|
+
lino (>= 1.5)
|
84
86
|
rubyzip (2.3.0)
|
85
87
|
sawyer (0.8.2)
|
86
88
|
addressable (>= 2.3.5)
|
87
89
|
faraday (> 0.8, < 2.0)
|
88
90
|
semantic (1.6.1)
|
89
|
-
simplecov (0.
|
91
|
+
simplecov (0.20.0)
|
90
92
|
docile (~> 1.1)
|
91
93
|
simplecov-html (~> 0.11)
|
92
|
-
|
94
|
+
simplecov_json_formatter (~> 0.1)
|
95
|
+
simplecov-html (0.12.3)
|
96
|
+
simplecov_json_formatter (0.1.2)
|
93
97
|
sshkey (2.0.0)
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
zeitwerk (2.3.0)
|
98
|
+
tzinfo (2.0.4)
|
99
|
+
concurrent-ruby (~> 1.0)
|
100
|
+
zeitwerk (2.4.2)
|
98
101
|
|
99
102
|
PLATFORMS
|
100
103
|
ruby
|
104
|
+
x86_64-darwin-19
|
105
|
+
x86_64-linux
|
101
106
|
|
102
107
|
DEPENDENCIES
|
103
108
|
activesupport (>= 5.2)
|
@@ -113,4 +118,4 @@ DEPENDENCIES
|
|
113
118
|
simplecov (~> 0.16)
|
114
119
|
|
115
120
|
BUNDLED WITH
|
116
|
-
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', '
|
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.28.0
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake_dependencies
|
@@ -54,16 +54,16 @@ dependencies:
|
|
54
54
|
name: ruby_leiningen
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
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: '0'
|
300
301
|
requirements: []
|
301
302
|
rubygems_version: 3.0.1
|
302
303
|
signing_key:
|