rake_leiningen 0.6.0 → 0.7.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: b8390e7a7fff1461a27ec0d1ad9bb90535b627925b5ce5a891c783598e77e56a
4
- data.tar.gz: be99c1f4f02efb971405045c4868fb27b333f6a9d09f4ad6311b66448d4679f1
3
+ metadata.gz: e00544a55d89086e2b70a4604d15a23656efc21ac95a93ed330f4f37398f7f5b
4
+ data.tar.gz: 909f8db5148c7e89199e0d899e120e9e95a165c950bbd42955e8c74759f53db2
5
5
  SHA512:
6
- metadata.gz: fc26465bd55b0dedb46ad7ec389cd3489c0bc7e5555d6545e428db6db2490aa16ab428cf8a6fe24d26d7050402f6045614a0bbc6008315cf43ca09f6968b688a
7
- data.tar.gz: 77db1e3d700687703b9d1f8924e1289247be307f2c42f31c57972f3df133ecf8803375885140414f5adab27988d5eda100f4caba3418d63fb5e6dc124d70e412
6
+ metadata.gz: b641e2159bcaa16d5f492c03dabd347352f5044e5fb6ce4d3d9131d23e023680319587b95a9fe2e6e7c7f5ef4f26946b45545215ccd7bb88c7142aef3ccc43da
7
+ data.tar.gz: 41d8ff6cf4d2ac2f769b90a3d71edeb0897baafca18cada2e4cfb05fc875c6c1d0853e17cadf0220cc9aa361136d8cde582cc6d4dc7c10917527e542e0504694
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_leiningen (0.6.0)
4
+ rake_leiningen (0.7.0.pre.1)
5
5
  rake_dependencies (~> 1.10)
6
6
  rake_factory (>= 0.17)
7
7
  ruby_leiningen (~> 0.5)
@@ -14,6 +14,7 @@ module RakeLeiningen
14
14
 
15
15
  parameter :profile
16
16
  parameter :directory, default: '.'
17
+ parameter :fix, default: false
17
18
 
18
19
  parameter :ensure_task_name, default: 'leiningen:ensure'
19
20
 
@@ -29,9 +30,11 @@ module RakeLeiningen
29
30
  task Tasks::Optimise,
30
31
  name: ->(ts) { ts.optimise_task_name }
31
32
  task Tasks::Idiomise,
32
- name: ->(ts) { ts.idiomise_task_name }
33
+ name: ->(ts) { ts.idiomise_task_name },
34
+ replace: ->(ts) { ts.fix }
33
35
  task Tasks::Format,
34
- name: ->(ts) { ts.format_task_name }
36
+ name: ->(ts) { ts.format_task_name },
37
+ mode: ->(ts) { ts.fix ? :fix : :check }
35
38
  task Tasks::Pedantise,
36
39
  name: ->(ts) { ts.pedantise_task_name }
37
40
  task Tasks::Check,
@@ -1,3 +1,3 @@
1
1
  module RakeLeiningen
2
- VERSION = '0.6.0'
2
+ VERSION = '0.7.0.pre.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_leiningen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
@@ -233,9 +233,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
233
  version: 2.6.0
234
234
  required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  requirements:
236
- - - ">="
236
+ - - ">"
237
237
  - !ruby/object:Gem::Version
238
- version: '0'
238
+ version: 1.3.1
239
239
  requirements: []
240
240
  rubygems_version: 3.0.1
241
241
  signing_key: