rake_leiningen 0.12.0 → 0.13.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 +6 -6
- data/lib/rake_leiningen/kernel_extensions.rb +1 -0
- data/lib/rake_leiningen/task_sets/checks.rb +8 -8
- data/lib/rake_leiningen/tasks/build.rb +1 -1
- data/lib/rake_leiningen/tasks/check.rb +1 -1
- data/lib/rake_leiningen/tasks/format.rb +1 -1
- data/lib/rake_leiningen/tasks/idiomise.rb +1 -1
- data/lib/rake_leiningen/tasks/lint.rb +1 -1
- data/lib/rake_leiningen/tasks/optimise.rb +1 -1
- data/lib/rake_leiningen/tasks/pedantise.rb +1 -1
- data/lib/rake_leiningen/tasks/start.rb +1 -1
- data/lib/rake_leiningen/tasks/test.rb +2 -2
- data/lib/rake_leiningen/version.rb +1 -1
- data/rake_leiningen.gemspec +2 -2
- metadata +23 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d53fae390ecf9170a798a43066b1bc6358e15a3e726d5dc836cb77c4dc7278
|
4
|
+
data.tar.gz: 0b8b89c236347ad708fcbf35213a1e19bd650eae731f1f6755f854d8e8efb450
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 438159f9b0dedf0f162fa9fa9c567b814573ef580de94b4a773651a62304721dfd1eada5464ae46be5915321ceb87898a5c4a3376ac2f9a76ba785dd520142f5
|
7
|
+
data.tar.gz: ad3b673e74196c04997b3045a63f77dc35c5dbd0be55e207382a1e0704df6ae3113cc2d9655f73437eb2a25a901d866c34121a38e051671d39074bcef1e48998
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_leiningen (0.
|
5
|
-
rake_dependencies (
|
6
|
-
rake_factory (>= 0.
|
4
|
+
rake_leiningen (0.13.0.pre.1)
|
5
|
+
rake_dependencies (~> 2, < 3)
|
6
|
+
rake_factory (>= 0.23, < 1)
|
7
7
|
ruby_leiningen (~> 0.5)
|
8
8
|
semantic (~> 1.6.1)
|
9
9
|
|
@@ -32,12 +32,12 @@ GEM
|
|
32
32
|
minitest (5.14.0)
|
33
33
|
open4 (1.3.4)
|
34
34
|
rake (13.0.1)
|
35
|
-
rake_dependencies (1.
|
35
|
+
rake_dependencies (2.1.0)
|
36
36
|
hamster (~> 3.0)
|
37
37
|
minitar (~> 0.9)
|
38
|
-
rake_factory (
|
38
|
+
rake_factory (~> 0.23)
|
39
39
|
rubyzip (>= 1.3)
|
40
|
-
rake_factory (0.
|
40
|
+
rake_factory (0.23.0)
|
41
41
|
activesupport (>= 4)
|
42
42
|
rake (~> 13.0)
|
43
43
|
rspec (3.9.0)
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'rake_factory/kernel_extensions'
|
@@ -26,19 +26,19 @@ module RakeLeiningen
|
|
26
26
|
parameter :check_task_name, :default => :check
|
27
27
|
|
28
28
|
task Tasks::Lint,
|
29
|
-
name:
|
29
|
+
name: RakeFactory::DynamicValue.new { |ts| ts.lint_task_name }
|
30
30
|
task Tasks::Optimise,
|
31
|
-
name:
|
31
|
+
name: RakeFactory::DynamicValue.new { |ts| ts.optimise_task_name }
|
32
32
|
task Tasks::Idiomise,
|
33
|
-
name:
|
34
|
-
replace:
|
33
|
+
name: RakeFactory::DynamicValue.new { |ts| ts.idiomise_task_name },
|
34
|
+
replace: RakeFactory::DynamicValue.new { |ts| ts.fix }
|
35
35
|
task Tasks::Format,
|
36
|
-
name:
|
37
|
-
mode:
|
36
|
+
name: RakeFactory::DynamicValue.new { |ts| ts.format_task_name },
|
37
|
+
mode: RakeFactory::DynamicValue.new { |ts| ts.fix ? :fix : :check }
|
38
38
|
task Tasks::Pedantise,
|
39
|
-
name:
|
39
|
+
name: RakeFactory::DynamicValue.new { |ts| ts.pedantise_task_name }
|
40
40
|
task Tasks::Check,
|
41
|
-
name:
|
41
|
+
name: RakeFactory::DynamicValue.new { |ts| ts.check_task_name }
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
@@ -11,7 +11,7 @@ module RakeLeiningen
|
|
11
11
|
|
12
12
|
default_name :idiomise
|
13
13
|
default_description "Transform all clojure files to be more idiomatic."
|
14
|
-
default_prerequisites
|
14
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
15
15
|
t.ensure_task_name ? [t.ensure_task_name] : []
|
16
16
|
}
|
17
17
|
|
@@ -11,7 +11,7 @@ module RakeLeiningen
|
|
11
11
|
|
12
12
|
default_name :optimise
|
13
13
|
default_description "Warn on reflection for all clojure files."
|
14
|
-
default_prerequisites
|
14
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
15
15
|
t.ensure_task_name ? [t.ensure_task_name] : []
|
16
16
|
}
|
17
17
|
|
@@ -11,7 +11,7 @@ module RakeLeiningen
|
|
11
11
|
|
12
12
|
default_name :pedantise
|
13
13
|
default_description "Hunt for 'bad' code in all clojure files."
|
14
|
-
default_prerequisites
|
14
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
15
15
|
t.ensure_task_name ? [t.ensure_task_name] : []
|
16
16
|
}
|
17
17
|
|
@@ -10,10 +10,10 @@ module RakeLeiningen
|
|
10
10
|
include Mixins::Directoried
|
11
11
|
|
12
12
|
default_name :test
|
13
|
-
default_description
|
13
|
+
default_description RakeFactory::DynamicValue.new { |t|
|
14
14
|
"Run #{t.type ? "all #{t.type}" : "all"} tests."
|
15
15
|
}
|
16
|
-
default_prerequisites
|
16
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
17
17
|
t.ensure_task_name ? [t.ensure_task_name] : []
|
18
18
|
}
|
19
19
|
|
data/rake_leiningen.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.required_ruby_version = '>= 2.6.0'
|
26
26
|
|
27
|
-
spec.add_dependency 'rake_dependencies', '
|
28
|
-
spec.add_dependency 'rake_factory', '>= 0.
|
27
|
+
spec.add_dependency 'rake_dependencies', '~> 2', '< 3'
|
28
|
+
spec.add_dependency 'rake_factory', '>= 0.23', '< 1'
|
29
29
|
spec.add_dependency 'ruby_leiningen', '~> 0.5'
|
30
30
|
spec.add_dependency 'semantic', '~> 1.6.1'
|
31
31
|
|
metadata
CHANGED
@@ -1,43 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_leiningen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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-02-
|
11
|
+
date: 2020-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake_dependencies
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '3'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rake_factory
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
39
|
+
version: '0.23'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
47
|
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
49
|
+
version: '0.23'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '1'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: ruby_leiningen
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,6 +211,7 @@ files:
|
|
199
211
|
- config/secrets/rubygems/credentials
|
200
212
|
- go
|
201
213
|
- lib/rake_leiningen.rb
|
214
|
+
- lib/rake_leiningen/kernel_extensions.rb
|
202
215
|
- lib/rake_leiningen/mixins/directoried.rb
|
203
216
|
- lib/rake_leiningen/task_sets.rb
|
204
217
|
- lib/rake_leiningen/task_sets/checks.rb
|
@@ -236,9 +249,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
249
|
version: 2.6.0
|
237
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
251
|
requirements:
|
239
|
-
- - "
|
252
|
+
- - ">"
|
240
253
|
- !ruby/object:Gem::Version
|
241
|
-
version:
|
254
|
+
version: 1.3.1
|
242
255
|
requirements: []
|
243
256
|
rubygems_version: 3.0.1
|
244
257
|
signing_key:
|