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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b85fb0c5d791ef32eb29c69056f1a61cf431401f960d6a39270673d39af162c
4
- data.tar.gz: a029196bcf45faac8ea6872dbb7ba00b0912d5e040cde35afabfea0df5155584
3
+ metadata.gz: 13d53fae390ecf9170a798a43066b1bc6358e15a3e726d5dc836cb77c4dc7278
4
+ data.tar.gz: 0b8b89c236347ad708fcbf35213a1e19bd650eae731f1f6755f854d8e8efb450
5
5
  SHA512:
6
- metadata.gz: 4480a5e32754a847b456a0a17764b2928af0bc9340e82ab95aa3cfd1d365bb94cb1c3ea04a2dacae5aae086716fe8c5a2247ca117f981083cff293d830576b91
7
- data.tar.gz: 2d25385ed2534fe894689bdc30df6f93ca722c412d5cde3e67db6c2aa671c4bd18f3e5bb92491c0a61364b92332f82b9aa593db9d3592ead33a581b88f2be090
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.12.0)
5
- rake_dependencies (>= 1.10)
6
- rake_factory (>= 0.17)
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.14.0)
35
+ rake_dependencies (2.1.0)
36
36
  hamster (~> 3.0)
37
37
  minitar (~> 0.9)
38
- rake_factory (>= 0.11)
38
+ rake_factory (~> 0.23)
39
39
  rubyzip (>= 1.3)
40
- rake_factory (0.21.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: ->(ts) { ts.lint_task_name }
29
+ name: RakeFactory::DynamicValue.new { |ts| ts.lint_task_name }
30
30
  task Tasks::Optimise,
31
- name: ->(ts) { ts.optimise_task_name }
31
+ name: RakeFactory::DynamicValue.new { |ts| ts.optimise_task_name }
32
32
  task Tasks::Idiomise,
33
- name: ->(ts) { ts.idiomise_task_name },
34
- replace: ->(ts) { ts.fix }
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: ->(ts) { ts.format_task_name },
37
- mode: ->(ts) { ts.fix ? :fix : :check }
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: ->(ts) { ts.pedantise_task_name }
39
+ name: RakeFactory::DynamicValue.new { |ts| ts.pedantise_task_name }
40
40
  task Tasks::Check,
41
- name: ->(ts) { ts.check_task_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 :build
13
13
  default_description "Build standalone uberjar."
14
- default_prerequisites ->(t) {
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 :check
13
13
  default_description "Perform all checks against clojure files."
14
- default_prerequisites ->(t) {
14
+ default_prerequisites RakeFactory::DynamicValue.new { |t|
15
15
  [
16
16
  t.lint_task_name,
17
17
  t.optimise_task_name,
@@ -11,7 +11,7 @@ module RakeLeiningen
11
11
 
12
12
  default_name :format
13
13
  default_description "Format all clojure files."
14
- default_prerequisites ->(t) {
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 :idiomise
13
13
  default_description "Transform all clojure files to be more idiomatic."
14
- default_prerequisites ->(t) {
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 :lint
13
13
  default_description "Lint all clojure files."
14
- default_prerequisites ->(t) {
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 ->(t) {
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 ->(t) {
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 :start
13
13
  default_description "Run the application."
14
- default_prerequisites ->(t) {
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 ->(t) {
13
+ default_description RakeFactory::DynamicValue.new { |t|
14
14
  "Run #{t.type ? "all #{t.type}" : "all"} tests."
15
15
  }
16
- default_prerequisites ->(t) {
16
+ default_prerequisites RakeFactory::DynamicValue.new { |t|
17
17
  t.ensure_task_name ? [t.ensure_task_name] : []
18
18
  }
19
19
 
@@ -1,3 +1,3 @@
1
1
  module RakeLeiningen
2
- VERSION = '0.12.0'
2
+ VERSION = '0.13.0.pre.1'
3
3
  end
@@ -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', '>= 1.10'
28
- spec.add_dependency 'rake_factory', '>= 0.17'
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.12.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-05 00:00:00.000000000 Z
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: '1.10'
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: '1.10'
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.17'
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.17'
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: '0'
254
+ version: 1.3.1
242
255
  requirements: []
243
256
  rubygems_version: 3.0.1
244
257
  signing_key: