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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 183845c7bbc1c77e51d38e7ab329eb91d1c205dfb29381c6e17d2a5a0e95d05d
4
- data.tar.gz: 0510f74959bc6db0f2324a84a8bf50157cafa24a329ac8ea69d240b2022324d5
3
+ metadata.gz: 78f000a8b256cf873777e1844d9fb266b24010dd12b0791162f3169235e6ea0a
4
+ data.tar.gz: 4e39ff8652240684aa0364e9a0e146a6515c91b92d80c17922dfaf40d4b1248e
5
5
  SHA512:
6
- metadata.gz: a721bd2f50bf26f8ac84b2553cfdfda2b138a0d7a3006aec9a9bf3a4450dc11e3e58ac5ae12665d0393459da4211537d8df9c593e0c86420ec7e24ff011db1e0
7
- data.tar.gz: 7039fd3ca3b3ac372c01d0f30e7294ac87eddb0a462bebfd572dc54b01d85f0e0f3e35ac1f519c18940cf55f1156ebbadb5f76d3a27ecfa1a0033a1958dbe5fb
6
+ metadata.gz: 15c64e0a3c67360e8d0e123e25aea9e3c9f4110b5390c7d4fc9eff414e36bee1f8d400fafab3a1131be9b9f3f3e380aee66682ab145545177659ab0cfd8d0254
7
+ data.tar.gz: 01b02203cc2c448e19f63d7718fb14f054452203428595d85c96eee3777cf46da1518aa1564742e2094a9c63b3721416b71c2ad15dfe812332b682d6d2b01225
@@ -1,48 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_leiningen (0.23.0.pre.2)
4
+ rake_leiningen (0.28.0)
5
5
  rake_dependencies (~> 2, < 3)
6
6
  rake_factory (>= 0.23, < 1)
7
- ruby_leiningen (~> 0.17)
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.3.1)
13
+ activesupport (6.1.0)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 0.7, < 2)
16
- minitest (~> 5.1)
17
- tzinfo (~> 1.1)
18
- zeitwerk (~> 2.2, >= 2.2.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.6)
23
- diff-lcs (1.3)
24
- docile (1.3.2)
25
- excon (0.73.0)
26
- fakefs (1.2.2)
27
- faraday (1.0.1)
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
- gem-release (2.1.1)
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.3)
33
+ i18n (1.8.5)
33
34
  concurrent-ruby (~> 1.0)
34
- lino (1.3.0)
35
+ lino (1.5.0)
35
36
  hamster (~> 3.0)
36
37
  open4 (~> 1.3)
37
38
  minitar (0.9)
38
- minitest (5.14.1)
39
+ minitest (5.14.2)
39
40
  multipart-post (2.1.1)
40
- octokit (4.18.0)
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.5)
45
- rake (13.0.1)
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.9.0)
69
- rspec-core (~> 3.9.0)
70
- rspec-expectations (~> 3.9.0)
71
- rspec-mocks (~> 3.9.0)
72
- rspec-core (3.9.2)
73
- rspec-support (~> 3.9.3)
74
- rspec-expectations (3.9.2)
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.9.0)
77
- rspec-mocks (3.9.1)
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.9.0)
80
- rspec-support (3.9.3)
81
- ruby_leiningen (0.17.0)
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 (~> 1.1)
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.18.5)
91
+ simplecov (0.20.0)
90
92
  docile (~> 1.1)
91
93
  simplecov-html (~> 0.11)
92
- simplecov-html (0.12.2)
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
- thread_safe (0.3.6)
95
- tzinfo (1.2.7)
96
- thread_safe (~> 0.1)
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.1.4
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
@@ -6,6 +6,7 @@ require_relative '../tasks/idiomise'
6
6
  require_relative '../tasks/format'
7
7
  require_relative '../tasks/pedantise'
8
8
  require_relative '../tasks/check'
9
+ require_relative '../tasks/style'
9
10
 
10
11
  module RakeLeiningen
11
12
  module TaskSets
@@ -8,3 +8,4 @@ require_relative 'tasks/build'
8
8
  require_relative 'tasks/release'
9
9
  require_relative 'tasks/start'
10
10
  require_relative 'tasks/test'
11
+ require_relative 'tasks/style'
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RakeLeiningen
2
- VERSION = '0.23.0.pre.2'
2
+ VERSION = '0.28.0'
3
3
  end
@@ -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.17'
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
@@ -12,6 +12,11 @@ cd "$PROJECT_DIR"
12
12
  git pull
13
13
 
14
14
  ./go version:bump[minor]
15
+
16
+ bundle install
17
+ LAST_MESSAGE="$(git log -1 --pretty=%B)"
18
+ git commit -a --amend -m "${LAST_MESSAGE} [ci skip]"
19
+
15
20
  ./go release
16
21
 
17
22
  git status
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.23.0.pre.2
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-06-09 00:00:00.000000000 Z
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.17'
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.17'
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: 1.3.1
300
+ version: '0'
300
301
  requirements: []
301
302
  rubygems_version: 3.0.1
302
303
  signing_key: