ruby_leiningen 0.19.0 → 0.20.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 +13 -12
- data/Rakefile +1 -4
- data/lib/ruby_leiningen/commands/plugins/cljstyle.rb +13 -0
- data/lib/ruby_leiningen/version.rb +1 -1
- data/scripts/ci/steps/prerelease.sh +5 -0
- data/scripts/ci/steps/release.sh +5 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00b70c38cd754da90a447b5afadda27a36b48cc5e2c03704b991b95d2a0387ca
|
4
|
+
data.tar.gz: 9cc8447859796905d74544d295223b8acc2e5233f76148603baf8898e596ad2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 195a3a0572dbdb3a70970be7aad487a6a874e79774e0af7920d5796e7670703992ed018eecb691687fbf24f5f81fad2d58a0a8d965f4bbd6cb9c8fbb7bf1cfeb
|
7
|
+
data.tar.gz: c7957756a1adeb7f41c397a31fc7b59b28fffa32f8f4b1a5699fa976f789029f7ca3e555009b0e634e3524ad6e4c4acfdf9f6224289241727a866a114f4f87a7
|
data/Gemfile.lock
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_leiningen (0.
|
4
|
+
ruby_leiningen (0.20.0.pre.1)
|
5
5
|
activesupport (~> 6.0, >= 6.0.2)
|
6
6
|
lino (>= 1.5)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (6.0
|
11
|
+
activesupport (6.1.0)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>=
|
14
|
-
minitest (
|
15
|
-
tzinfo (~>
|
16
|
-
zeitwerk (~> 2.
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
zeitwerk (~> 2.3)
|
17
17
|
addressable (2.7.0)
|
18
18
|
public_suffix (>= 2.0.2, < 5.0)
|
19
19
|
colored2 (3.1.2)
|
20
20
|
concurrent-ruby (1.1.7)
|
21
21
|
diff-lcs (1.4.4)
|
22
|
-
excon (0.78.
|
22
|
+
excon (0.78.1)
|
23
23
|
faraday (1.1.0)
|
24
24
|
multipart-post (>= 1.2, < 3)
|
25
25
|
ruby2_keywords
|
@@ -74,13 +74,14 @@ GEM
|
|
74
74
|
addressable (>= 2.3.5)
|
75
75
|
faraday (> 0.8, < 2.0)
|
76
76
|
sshkey (2.0.0)
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
zeitwerk (2.4.1)
|
77
|
+
tzinfo (2.0.4)
|
78
|
+
concurrent-ruby (~> 1.0)
|
79
|
+
zeitwerk (2.4.2)
|
81
80
|
|
82
81
|
PLATFORMS
|
83
82
|
ruby
|
83
|
+
x86_64-darwin-19
|
84
|
+
x86_64-linux
|
84
85
|
|
85
86
|
DEPENDENCIES
|
86
87
|
bundler (~> 2.0)
|
@@ -93,4 +94,4 @@ DEPENDENCIES
|
|
93
94
|
ruby_leiningen!
|
94
95
|
|
95
96
|
BUNDLED WITH
|
96
|
-
2.
|
97
|
+
2.2.2
|
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
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require_relative '../../commands'
|
2
|
+
|
3
|
+
RubyLeiningen::Commands.define_custom_command("cljstyle") do |config, opts|
|
4
|
+
mode = opts[:mode] || :check
|
5
|
+
paths = opts[:paths] || []
|
6
|
+
|
7
|
+
config.on_command_builder do |command|
|
8
|
+
command = command.with_subcommand(mode.to_s)
|
9
|
+
paths.inject(command) do |c, path|
|
10
|
+
c.with_argument(path)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -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: ruby_leiningen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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-
|
11
|
+
date: 2020-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lino
|
@@ -188,6 +188,7 @@ files:
|
|
188
188
|
- lib/ruby_leiningen/commands/mixins/profile.rb
|
189
189
|
- lib/ruby_leiningen/commands/plugins/bikeshed.rb
|
190
190
|
- lib/ruby_leiningen/commands/plugins/cljfmt.rb
|
191
|
+
- lib/ruby_leiningen/commands/plugins/cljstyle.rb
|
191
192
|
- lib/ruby_leiningen/commands/plugins/eastwood.rb
|
192
193
|
- lib/ruby_leiningen/commands/plugins/eftest.rb
|
193
194
|
- lib/ruby_leiningen/commands/plugins/kibit.rb
|
@@ -220,9 +221,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
221
|
version: '2.6'
|
221
222
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
223
|
requirements:
|
223
|
-
- - "
|
224
|
+
- - ">"
|
224
225
|
- !ruby/object:Gem::Version
|
225
|
-
version:
|
226
|
+
version: 1.3.1
|
226
227
|
requirements: []
|
227
228
|
rubygems_version: 3.0.1
|
228
229
|
signing_key:
|